@import url("https://fonts.googleapis.com/css2?family=Mukta:wght@200;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@100;300;400;600&family=Mukta:wght@200;400;500&display=swap");

* {
  margin: 0px;
  padding: 0px;
}

.no-padding {
  padding: 0px;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.bg-dark-green {
  background: #00425e;
}

.highlight h4.bg-dark {
  background: #000;
  color: #fff;
  padding: 0.35rem 0.75rem;
}

.bg-green {
  background: #007369;
  color: #fff;
  padding: 0.2em;
}

.green {
  color: #007369;
}

body {
  font-family: "Antonio", sans-serif;
  color: #000000;
  font-size: 18px;
  box-sizing: content-box;
}

.navbar {
  -webkit-box-shadow: 0px 11px 29px 5px rgba(0, 0, 0, 0.38);
  box-shadow: 0px 11px 29px 5px rgba(0, 0, 0, 0.38);
}

nav {
  background: #102738;
}

.nav-link {
  text-transform: uppercase;
  font-family: "Antonio", sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* Prevent text wrapping */
  border: 0;
}

.hero-title {
  margin: 1rem auto;
}

h1,
h2,
h3 {
  font-family: "Antonio", sans-serif;
  font-weight: 800;
  padding: 1rem 0em;
}

h4 {
  margin: 1em 0em;
}

h2.date {
  color: #fff;
  font-size: 2em;
  margin: 1em 0em;
}

.nav-link.active {
  background: #6996cc;
}

h3.title-agenda {
  text-transform: uppercase;
  font-weight: 800;
  font-family: "Antonio", sans-serif;
  margin-top: 1em;
  font-weight: 600;
  margin-bottom: 1em;
  font-size: 2em;
  color: #102738;
}

h3.title-agenda span {
  font-size: 0.65em;
  text-transform: none;
}

#introducao {
  margin: 3em auto;
}

.powered-by-header {
  position: absolute;
  bottom: 2em;
  right: 1em;
}

.powered-by-header img {
  width: 16em;
}

video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.header {
  background-size: cover;
  min-height: 80vh;
  position: relative;
  color: #fff;
  top: 0;
  left: 0;
  padding: 2em 0em;
}

.logo-header {
  width: 450px;
  margin: 1em 0em;
}

.header h3 {
  font-family: "Antonio", sans-serif;
  font-size: 1.5em;
}

/*
  .header::after{
    content: '';
    color: #FFF;
    background: rgb(2,0,36);
    background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0.5032387955182073) 34%, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    top: 0;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
  
  }
  
  .header::before{
    content: '';
    color: #FFF;
    background:url(images/corners.svg) no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left:0;
  
  }
  */

ul.destaques-grid {
  list-style: none;
}

.destaques-grid .content {
  padding: 1em 0.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

.destaques-grid:nth-child {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.destaques-grid .content h3 {
  color: #fff;
  font-size: 1.5em;
  display: block;
  margin: 0em;
}

.destaques-grid .content h3 .dias {
  font-size: 2em;
}

.destaques-grid>div {
  background: rgb(16, 109, 81);
}

.destaques-grid>div:nth-child(1),
.destaques-grid>div:nth-child(4) {
  background: rgb(43 186 139);
}

.form input {
  border-radius: 0;
  margin: 0.5em 0;
}

.inverted h3 {
  color: #fff;
}

.logo img {
  width: 200px;
}

.highlight {
  background: url(images/alfandega-do-porto.jpg) fixed #102738;
  background-blend-mode: overlay;
}

.highlight-overlay {
  background-color: rgb(0 140 114 / 40%);
  content: "";
  padding: 6em 0em;
}

.highlight .col2 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  top: 0px;
  left: 0px;
}

.dias {
  font-size: 0.5em;
}

.themes-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight h3,
.highlight h4 {
  color: #fff;
  font-family: "Antonio", sans-serif;
  text-transform: uppercase;
  font-size: 2em;
  line-height: inherit;
  display: grid;
  line-height: 1.2;
  padding: 0;
  margin: 0;
}

.highlight h4 {
  font-size: 1.8em;
}

.shortcut-footer {
  position: fixed;
  left: 0;
  bottom: -1px;
  width: 14em;
  z-index: 2;
  max-width: 50%;
}

.parceiros-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style: none;
}

.parceiros-container .parceiros {
  margin: 10px;
  padding: 1em;
}

.parceiros-container .parceiros img {
  width: 100%;
}

.contactos {
  background: url(images/alfandega-do-porto.jpg) #102738;
  background-blend-mode: overlay;
  position: relative;
}

.color-filter {
  position: absolute;
  background-color: rgb(0 56 64 / 60%);
  inset: 0;
}

.oradores-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.orador {
  /* width: calc(30.3333% - 10px); */
  /* Remover esta linha */
  margin: 10px;
  padding: 1em;
  text-align: center;
}

.orador h4 {
  font-family: "Antonio", sans-serif;
  font-size: 1.4em;
  margin: 0.5em 0em;
}

.orador img {
  width: 100%;
  border-radius: 8em;
  /* background: 008c72; */
  background: linear-gradient(90deg,
      rgb(0, 140, 114) 0%,
      rgba(0, 55, 64) 80%);
  padding: 0.5em;
}

span.cargo {
  font-size: 0.9em;
  letter-spacing: 0.015em;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer {
  display: flex;
  bottom: 0;
  padding: 0em;
  width: 100%;
}

.footer ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer li {
  list-style: none;
}

ul.menu {
  display: inline-flex;
  list-style: none;
}

.schedule.container {
  margin: 0;
}

.schedule ul {
  margin-bottom: 0em;
  margin-left: 0.5em;
}

.schedule li {
  padding: 0.3em 0.3em;
  list-style: none;
  border-top: 1px solid #ddd;
}

.schedule li:first-child {
  border-top: 0px;
}

.schedule li:hover {
  background: #99999914;
}

.schedule li .time {
  width: 50%;
  font-weight: 600;
  font-size: 1.5rem;

  /* Fallback: Set a background color. */
  background-color: rgb(25 115 105);

  /* Create the gradient. */
  background-image: linear-gradient(90deg,
      rgb(25 115 105) 0%,
      rgba(8, 15, 46, 1) 68%);

  /* Set the background size and repeat properties. */
  background-size: 100%;
  background-repeat: repeat;

  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  background-clip: text;
}

.schedule li .title {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0.1em 0em;
}

.schedule li .speaker {
  font-size: 0.5em;
  font-weight: 800;
  color: #00425e;
}

.schedule li span.position {
  display: block;
  font-weight: 400;
  font-size: 14.4px;
}

.schedule h5 {
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.5em;
}

.schedule .oradores li {
  border: 0px;
  list-style: none;
  margin-left: 0em;
  padding-left: 0.5em;
}

.schedule .oradores li::before {
  padding-right: 0.5em;
  content: "\00BB";
  color: #00a575;
}

.schedule .oradores li:hover {
  background: none;
}

.schedule .oradores img {
  border-radius: 15em;
  width: 10%;
}

.schedule i {
  color: #fff;
  font-size: 0.7em;
  background: #00a575;
  padding: 0.2em 0.3em;
  display: table;
  margin-top: 0.2em;
}

.sponsors h4 {
  text-transform: uppercase;
  font-family: "Antonio", sans-serif;
  padding: 2em;
}

.sponsors {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.sponsors img {
  width: 100%;
  height: auto;
}

.sub-program .title {
  font-size: 0.25em;
  margin-left: 11em;
}

.title span {
  text-transform: uppercase;
  color: #000;
  display: block;
}

.sub-program .speaker {
  margin-left: 0em;
}

.sub-program li .speaker {
  margin-left: 11em;
  font-size: 0.25em !important;
  margin-top: 0em;
}

.sub-program li span.position {
  font-size: 0.8em;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.btn-primary,
.btn-download {
  font-family: "Antonio", sans-serif;
  border-radius: 0;
  background: #102738;
  border: 0;
  transition: 500ms background-color ease-in-out;
}

.btn-primary:hover,
.btn-primary a:hover,
.btn-primary a:active,
.btn-download:hover,
.btn-download a:hover,
.btn-download a:active {
  background: #102738;
  color: #fff !important;
  /* transition: 500ms color ease-in-out; */
}

.btn-download {
  display: flex;
  background: #102738;
  color: #fff;
  max-width: fit-content;
  margin: 0 auto;
  gap: 0.5rem;
}

.btn-download:after {
  content: "";
  background: url(images/download.svg) no-repeat;
  padding: 1rem;
}

.btn-download:hover {
  background: #005e6b;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  width: fit-content;
  row-gap: 1rem;
  margin: 0 auto;
}

.section-wrapper {
  background: #102738;
  padding: 3em 0em;
  text-align: center;
  color: #ffffff;
}

.section-wrapper:has(h2) {
  padding: 1rem 0 3rem;
}

.contact-info {
  font-size: 1.5em;
  color: white;
}

.contact-info a {
  color: #31e89c;
}

@media screen and (min-width: 768px) {
  .hero-btns {
    display: flex;
    flex-direction: row;
    width: fit-content;
    column-gap: 0.75rem;
    margin: 0 auto;
  }
}

.unit_name {
  display: none !important;
}

span.imagecredit {
  position: absolute;
  bottom: 0;
  color: #fff;
  right: 0;
  padding: 1em;
  font-style: italic;
}

@media screen and (max-width: 500px) {
  .logo img {
    width: 120px;
  }

  .logo-header {
    width: 100%;
    margin: 2em 0em;
  }

  h3.title-agenda {
    font-size: 1.2em;
  }

  .orador {
    width: calc(46.3333% - 10px);
    margin: 10px;
    padding: 1em;
    text-align: center;
  }

  .footer {
    padding: 0px;
  }

  .footer img {
    width: 100%;
  }

  .header {
    background-position: center center;
    height: auto;
  }

  .header-right-img {
    margin: auto;
  }

  .schedule.container,
  .sub-program .title {
    margin-left: 0em !important;
    display: block;
  }

  .schedule li .speaker,
  .schedule h5 {
    margin-left: 0em;
  }

  .schedule li .time {
    width: 100%;
    display: block;
  }

  .highlight {
    padding: 0em 0em;
  }

  .highlight .container {
    padding: 2em;
  }

  .highlight h3 {
    font-size: 1.5em;
  }

  .highlight::after {
    width: 60%;
    height: 60%;
  }

  .parceiros-container .parceiros {
    width: calc(22.3333% - 10px);
    padding: 0.5em;
  }

}

/* YT video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Splide */

#main-carousel,
#thumbnail-carousel {
  width: 80%;
  max-width: 974px;
  margin: 0 auto;
}

#main-carousel {
  margin: 0 auto 20px;
}

#thumbnail-carousel .splide__slide img {
  cursor: pointer;
}

.splide__track--nav>.splide__list>.splide__slide.is-active {
  border: 3px solid #102738;
}

.splide__arrow svg {
  fill: #102738;
}

.splide__track--fade>.splide__list>.splide__slide {
  background-position: center 35% !important;
}


/* Programa Styles */
#programa .title-agenda {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #003366;
  letter-spacing: 1px;
}

#programa .schedule h3 {
  font-size: 1.5rem;
  color: #102738;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

#programa .schedule ul {
  list-style: none;
  padding-left: 0;
}

#programa .schedule li {
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
  border-left: 5px solid #102738;
  position: relative;
}

#programa .schedule li:hover {
  box-shadow: 0 4px 16px 0 rgba(0, 95, 163, 0.08);
}

#programa .schedule .time {
  font-size: 1.1rem;
  font-weight: bold;
  color: #102738;
  background: #e3f1fa;
  border-radius: 5px;
  padding: 0.2rem 0.7rem;
  margin-right: 1rem;
  display: inline-block;
  min-width: 70px;
  text-align: center;
  /* REMOVE text fill/clip for gradient text */
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  -moz-background-clip: initial;
  -moz-text-fill-color: initial;
}

#programa .schedule .title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
}

#programa .schedule .oradores {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

#programa .schedule .oradores li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0.2rem 0;
  margin-bottom: 0.1rem;
  font-size: 1rem;
  color: #333;
  border-left: none;
  font-weight: normal;
}

#programa .schedule .orador-nome {
  font-weight: bold;
  display: inline;
}

#programa .schedule .orador-cargo {
  font-weight: normal;
  font-size: 0.95em;
  color: #555;
  margin-left: 0.3em;
  display: inline;
}

#programa .schedule h5 {
  font-size: 1rem;
  color: #102738;
  margin: 0.5rem 0 0.2rem 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  #programa .schedule li {
    padding: 1rem 0.7rem;
  }

  #programa .title-agenda {
    font-size: 1.5rem;
  }

  #programa .schedule h3 {
    font-size: 1.1rem;
  }
}

/* Galeria Styles */
#galeria {
    padding: 50px 0;
}

#main-carousel .splide__slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

#thumbnail-carousel {
    margin-top: 20px;
}

#thumbnail-carousel .splide__slide {
    opacity: 0.6;
    transition: opacity 0.3s;
}

#thumbnail-carousel .splide__slide.is-active {
    opacity: 1;
}

#thumbnail-carousel .splide__slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.btn-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-download:hover {
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
    #main-carousel .splide__slide img {
        height: 250px;
    }
    
    #thumbnail-carousel .splide__slide img {
        height: 60px;
    }
}
