.header-link {
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: black;
}


nav {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

nav .dropdown-content a {
  color: #2B0C33 !important;
}

nav>a.header-link {
  color: #2B0C33;
  text-decoration: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #F9F8F2;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}


.content-section.reverse {
  flex-direction: row-reverse;
}

/* Para pantallas tablet (ancho máximo de 1024px) */




nav {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.descripcion {
  font-size: clamp(16px, 1.5vw, 30px);
  width: 80%;
}


.dropdown {
  position: relative;
  margin-right: 20px;
  align-items: center;
  display: flex;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.dropdown-content,
.dropdown-content-ini {
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 1000;
  display: none;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  border: solid 2px #9d3ba3;
}

.dropdown-content-ini {
  left: -100px;
}


.dropdown-content a,
.dropdown-content-ini a {
  color: rgb(63, 11, 63);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  z-index: 10;
}

.dropdown-content a:hover,
.dropdown-content-ini a:hover {
  background-color: #f1f1f1;
}

.dropdown.open .dropdown-content,
.dropdown-ini.open .dropdown-content-ini {
  display: block;
}

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

.header-image {
  height: 50px;
  display: block;
}

#profile {
  cursor: pointer;
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
}

.logo {
  width: 150px;
  height: auto;
  cursor: pointer;
}

.dropdown-ini {
  display: flex;
  align-items: center;
  height: 50px;
  margin-right: 40px;
  font-size: 20px;
  position: relative;
  cursor: pointer;
  font-weight: bold;
}

/* Estilos generales */
.content-container {
  display: flex;
  align-items: center;
  margin-top: -30px;
  margin-bottom: -20px;
}


.slogan,
.slogan2 {
  font-size: 3.5vw;
  width: 90%;
  margin-top: -20px;
}

.slogan1 {
  font-size: 3vw;
  width: 90%;
  margin-top: 50px;
}

.gif {
  width: 90%;
  max-width: 100%;
  display: block;
  margin: 40px auto 0;
  height: auto;
}

@media (min-width: 1025px) {
  .illustration {
    width: 35%;
    display: block;
    margin-top: 60px;
    left: 20px;
    z-index: 100;
    padding-bottom: -50px;
    margin-right: 60px;
  }

  .gif {
    width: 35%;
    display: block;
    margin-top: 60px;
    left: 20px;
    z-index: 100;
    margin-right: 60px;
  }
}


/* Para pantallas más pequeñas (móviles) */
@media (max-width: 1024px) {
  .content-container {
    flex-direction: column;
    margin-top: 0px !important;
    padding-top: 0px !important;
  }

  .text-left-ini {
    margin-left: 0 !important; /* Centrado real */
    width: 100% !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .illustration {
    width: 90%;
    margin-top: 40px;
    padding-bottom: 0;
    left: 0;
    margin-right: 0;
    margin-bottom: -2px; /* Superposición mínima de -2px */
    z-index: 100;
    position: relative;
  }

  .slogan,
  .slogan1 {
    font-size: 30px;
    margin-top: 40px;
    width: 95% !important;
  }

  .slogan2 {
    font-size: 30px;
    margin-top: 70px;
  }

  .descripcion {
    width: 95% !important;
    margin-bottom: 25px !important;
  }

  .pageTitle {
    font-size: 30px;
  }
}

.title-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

/* ==== SECCIÓN KPIs ==== */
.kpi-section {
  padding: 30px 10% 30px 10%;
  background-color: #2B0C33;
}

.kpi-container {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
}

.kpi-item {
  padding: 30px 20px;
  border-radius: 12px;
  flex: 1 1 200px;
  text-align: center;
}

.kpi-number {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  z-index: 100;
}

.kpi-label {
  margin-top: 8px;
  font-size: 1.3rem;
  color: #F9F8F2;
  z-index: 1000;
  position: relative;
}

@media (max-width: 1024px) {
  .kpi-section {
    padding: 40px 10%;
  }

  .kpi-container {
    flex-wrap: wrap;
    /* Permitimos que se ajusten en la línea */
    overflow-x: hidden;
    /* Quitamos el scroll horizontal */
    gap: 16px;
    /* Reducimos el espacio */
    margin: 20px 5%;
  }

  .kpi-item {
    flex: 1 1 calc((100% - 32px) / 3);
    /* Cada una ocupa un tercio menos gap */
    min-width: auto;
    /* Ya no imponemos un ancho mínimo fijo */
    padding: 20px 10px;
    /* Padding más compacto */
  }

  .kpi-number {
    font-size: 2.5rem;
    /* Reducimos ligeramente */
  }

  .kpi-label {
    font-size: 1rem;
    /* Texto más pequeño */
  }
}


.text-left-ini {
  text-align: left;
  /* Alinea el texto a la izquierda */
  opacity: 0;
  /* Inicialmente oculto */
  transform: translateY(50px);
  /* Mueve hacia abajo */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  /* Animación suave */
}

.text-left-ini.visible {
  opacity: 1;
  /* Aparece */
  transform: translateY(0);
  /* Vuelve a su posición original */
}

.hero-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 90%;
  margin-top: 15px;
}

.hero-join {
  background-color: white !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
  padding: 12px 25px !important;
  min-width: 200px !important;
  flex: 0 1 auto !important;
  width: fit-content !important;
}

.hero-join.btn-map {
  color: #92419F !important;
  border: 2px solid #92419F !important;
}

.hero-join.btn-map .material-icons {
  color: #92419F !important;
}

.hero-join.btn-shop {
  color: #2B0C33 !important;
  border: 2px solid #2B0C33 !important;
}

.hero-join.btn-shop .material-icons {
  color: #2B0C33 !important;
}

.hero-join.btn-events {
  color: #6a1b9a !important;
  border: 2px solid #6a1b9a !important;
}

.hero-join.btn-events .material-icons {
  color: #6a1b9a !important;
}

.hero-join .material-icons {
  font-size: 24px !important;
  margin-right: 10px !important;
  margin-left: 0 !important;
}

@media (max-width: 600px) {
  .hero-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 15px 0 0 0;
  }
  .hero-join {
    min-width: 175px !important;
    width: 175px !important; /* Más presencia y ancho */
    padding: 0 8px !important;
    font-size: 13px !important; /* Texto más legible */
    white-space: nowrap !important;
    line-height: 1 !important;
    height: 50px !important; /* Un pelín más altas también */
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 175px !important;
    margin: 0 !important;
    letter-spacing: -0.2px; /* Ajuste fino para que quepa todo */
  }
  .hero-join .material-icons {
    font-size: 16px !important;
    margin-right: 4px !important;
  }
}

.button-join {
  flex: 1 1 0;
  background-color: #92419F;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white;
  border-radius: 30px;
  border: 2px solid transparent;
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  min-width: 180px;
  width: 80%;
  max-width: 400px;
  box-sizing: border-box;
}

.button-join .material-icons {
  margin-left: 8px;
  font-size: clamp(16px, 4vw, 20px);
  color: white;
}



.texto {
  font-size: 18px;
}

/* Estilo para NUESTROS VALORES */
.carousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  overflow: hidden;
}

.selected-language {
  color: #2B0C33;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease, background-color 0.5s ease;
  width: 100%;
}

.carousel-item {
  position: relative;
  flex: 1 0 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Contenedor de la imagen */
.image-container {
  position: relative;
  width: 100%;
}

/* Imagen con filtro oscuro */
.image-container img {
  width: 100%;
  height: auto;
  max-height: 380px;
  display: block;
  filter: brightness(50%);
  /* Filtro oscuro para la imagen */
}

/* Contenedor para el texto superpuesto sobre la imagen */
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  /* Fondo negro semitransparente */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Ajustes de texto */
.text-overlay p:first-of-type {
  font-size: calc(1.5rem + 2px);
}

.text-overlay p:nth-of-type(2) {
  font-size: calc(1rem + 2px);
}

/* Flechas laterales */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* Puntos del carrusel */
.carousel-dots {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: rgb(92, 92, 92);
}

/* Ajuste en dispositivos móviles */
@media (max-width: 600px) {
  .carousel-item {
    padding: 10px;
  }

  .container {
    width: 100%;
    padding: 10px;
  }

  .carousel {
    max-width: 100%;
  }
}


/*ESTILO PARA AGENDA 2030*/
.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 10px 0;
  width: 100% !important;
}

.card {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: 250px;
  perspective: 1000px;
  margin: 0 auto;
  border: #ffffff 4px solid;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.card-back {
  position: absolute;
  width: 87%;
  height: 87%;
  backface-visibility: hidden;
  top: 0;
  left: 0px;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-back {
  background-color: #000000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  font-size: 0.9em;
  padding: 10px;
}

.container {
  text-align: center;
  margin-top: 5px;
}

.button-container {
  margin-top: 10px;
}



/* Para pantallas de iPad o tabletas (entre 768px y 1296px) */
@media screen and (min-width: 1025px) and (max-width: 1296px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Para pantallas de móviles (menos de 768px) */
@media screen and (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.pageDescription-text {
  background-color: rgb(206, 255, 206);
  font-size: 18px;
  padding: 20px;
  color: rgb(0, 72, 0);
  border-radius: 20px;
}

/*Estilos para móvil: banner de lanzamiento, navegación, etc*/
#openMenu,
#mobileMenu {
  display: none;
}

/* === MÓVIL: ≤768px === */
@media (max-width: 1024px) {

  /* Muestra el icono hamburguesa */
  #openMenu {
    display: block !important;
    font-size: 35px;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 20px;
    color: #2B0C33;
    z-index: 1001;
  }

  /* El contenedor del menú inicialmente oculto */
  #mobileMenu {
    display: block;
    /* ahora siempre existe en el DOM */
    visibility: hidden;
    /* invisible hasta que tenga .open */
  }

  /* Cuando abra (añadas la clase .open desde JS) que sea visible */
  #mobileMenu.open {
    visibility: visible;
  }
}

/* Menu modal que ocupa toda la pantalla */
.menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 10000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
}

/* Botón de cerrar el menú */
.close-menu {
  font-size: 40px;
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 20px);
  right: 20px;
  cursor: pointer;
}

/* Links en el menú en formato vertical */
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  /* Espacio debajo del botón cerrar */
  margin-right: 0px;
}

.mobile-nav a,
.mobile-nav #profile {
  font-size: 24px;
  color: black;
  margin-bottom: 20px;
  text-decoration: none;
}

/* Estilos para los enlaces del menú */
.header-link {
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: black;
}

nav {
  display: flex;
  align-items: center;
  margin-right: 60px;
  /* Margen a la derecha para separación */
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: #eee;
}

.faq-answer {
  display: none;
  padding: 0 15px 15px;
  color: #555;
}

.faq-answer.show {
  display: block;
}




/* ==== SECCIÓN PILARES ==== */
#pillarsSection {
  padding: 60px 5%;
  background-color: #92419f;
}

.pillars-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: white;
}

/* GRID (escritorio) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pillar-card {
  background: #F9F8F2;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pillar-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.pillar-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.pillar-card ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
}

.pillar-card ul li {
  margin-bottom: 4px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pillar-card ul li strong {
  font-weight: 600;
}

/* Grid específica para la segunda sección (huecos) */
.custom-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* ===== Scroll-carrusel en tablet/móvil ===== */
@media (max-width: 1024px) {

  /* Ambas secciones usarán .pillars-grid como scroll horizontal */
  .pillars-grid,
  .custom-grid-6 {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .pillar-card {
    max-width: 300px;
  }

  .pillars-title {
    padding-right: 10px;
    padding-left: 10px;
  }
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

.pillars-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.pillar-card {
  min-width: 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
  background: #F9F8F2;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.pillars-grid,
.custom-grid-6 {
  padding-inline: 5%;
}

.desktop-only {
  display: block;
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }
}


.scroll-dots {
  text-align: center;
  margin-top: 12px;
}

.scroll-dots button {
  background-color: #777777;
  border: none;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.scroll-dots button.active {
  background-color: #ffffff;
}

.scroll-dots.mobile-only {
  display: none;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.scroll-dots.mobile-only button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.3s;
  cursor: pointer;
}

.scroll-dots.mobile-only button.active {
  background-color: #ffffff;
}

/* Solo mostrar en móvil */
@media (max-width: 1024px) {
  .scroll-dots.mobile-only {
    display: flex;
  }
}





/* HEADER MÓVIL */
@media (max-width: 1024px) {

  /* 1) Oculta la navegación de escritorio */
  header {
    display: none !important;
  }
  header>nav {
    display: none !important;
  }

  /* 2) Muestra la cabecera móvil (logo + menú icon) */
  .header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px !important;
    background-color: #F9F8F2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3) Selector de idioma móvil */
  .dropdown-ini {
    display: flex !important;
    align-items: center !important;
    margin-right: 12px !important;
    height: auto !important;
  }

  /* 4) Asegúrate de que el icono de menú está visible y bien posicionado */
  .menumobile {
    display: flex !important;
    align-items: center !important;
    font-size: 32px !important;
    margin-left: 0 !important;
    cursor: pointer !important;
  }
}

@media (max-width: 1024px) {
  #promo-bar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  /* Si quieres que el header suba también */
  #header-container {
    margin-top: 0 !important;
  }
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right {
  margin-left: auto;
}

/* Nav Dropdown Desktop */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0 15px;
    font-weight: bold;
    font-size: 16px;
    color: black;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 5px;
    border: 2px solid #92419F;
    padding: 10px 0;
    margin-top: 15px; /* Spacing from header */
}

/* Invisible bridge so mouse doesn't leave hover area */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    color: #2B0C33 !important;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.nav-dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Barris Vius Banner Section */
.barris-vius-banner {
    padding: 60px 10% 80px 10%;
    background-color: #92419F;
    display: flex;
    justify-content: center;
}

.bv-banner-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(146, 65, 159, 0.1);
    max-width: 1100px;
    width: 100%;
    border: 1px solid rgba(146, 65, 159, 0.1);
}

.bv-banner-content {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bv-banner-content h2 {
    color: #2B0C33;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 10px;
}

.bv-banner-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.bv-banner-image-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.bv-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.bv-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #92419F;
    color: white;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
    align-self: flex-start;
}

.bv-btn:hover {
    background-color: #7a3585;
    transform: scale(1.05);
    color: white;
}

@media (max-width: 768px) {
    .barris-vius-banner {
        padding: 40px 5% 60px 5%;
    }
    .bv-banner-content {
        padding: 30px 20px;
        min-width: 100%;
    }
    .bv-banner-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    .bv-banner-content p {
        text-align: center;
    }
    .bv-banner-image-container {
        min-width: 100%;
    }
    .bv-banner-image {
        min-height: 250px;
    }
    .bv-btn {
        align-self: center;
        width: 100%;
        box-sizing: border-box;
    }
}
/* Fullscreen Carousel Styles */
.fs-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  height: 70vh;
  background-color: #92419F; /* fallback */
  scrollbar-width: none; /* Firefox */
  position: relative;
}
.fs-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.fs-slide {
  flex: 0 0 100vw;
  height: 70vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  background-color: #92419F;
  color: #F9F8F2;
}

.fs-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* subtle border right to separate from content if needed */
  border-right: 2px solid rgba(255,255,255,0.1);
}

.fs-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
  box-sizing: border-box;
}

.fs-content h2 {
  font-size: 3rem;
  font-family: 'Cooper Medium', serif;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #F9F8F2;
}

.fs-content p {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.fs-cta-wrapper {
  margin-top: 20px;
}

.fs-cta {
  display: inline-block;
  background: #F9F8F2;
  color: #2b0c33;
  padding: 15px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fs-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .fs-carousel-container, .fs-carousel, .fs-slide {
    height: 90vh;
  }
  
  .fs-slide {
    flex-direction: column;
  }
  
  .fs-image {
    flex: 0 0 25vh; /* Image takes less space on mobile */
    border-right: none;
    border-bottom: 2px solid rgba(255,255,255,0.1);
  }
  
  .fs-content {
    flex: 1;
    padding: 6%;
    justify-content: flex-start;
    padding-top: 6%;
    overflow-y: auto; /* Allow scrolling if text is still too long */
    padding-bottom: 50px; /* Space for dots */
  }
  
  .fs-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .fs-content p {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .fs-cta-wrapper {
    margin-top: 15px;
    text-align: center;
  }
}

/* Carousel Controls */
.fs-carousel-container {
  position: relative;
  width: 100vw;
  height: 70vh;
}

.fs-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 10;
}

.fs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.fs-dot.active {
  background: rgba(255, 255, 255, 1);
}

.fs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.fs-arrow:hover {
  background: rgba(0,0,0,0.6);
}
.fs-arrow-left {
  left: 20px;
}
.fs-arrow-right {
  right: 20px;
}
@media (max-width: 768px) {
  .fs-arrow { display: none; } /* Hide arrows on mobile, keep dots */
  .press-logos {
    flex-wrap: nowrap !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }
  .press-logos::-webkit-scrollbar {
    display: none !important;
  }
  .press-logos a {
    flex: 0 0 auto !important;
  }
  .press-logos img {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
  }
}
