* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../images/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background:
    /* Degradado vertical con opacidad variable */
    linear-gradient(to bottom,
        rgba(0, 144, 177, 0.02) 0%,   /* Arriba claro y muy transparente */
        rgba(48, 82, 154, 0.8) 100%         /* Abajo más oscuro pero aún deja ver la imagen */
    ),
    /* Degradado horizontal de colores */
    linear-gradient(90deg,
        rgba(48, 82, 154, 0.7) 0%,      /* Color 1 con opacidad */
        rgba(0, 144, 177, 0.5) 50%,     /* Color 2 con opacidad */
        rgba(0, 122, 63, 0.8) 100%      /* Color 3 con opacidad */
    );

}

/* Banners superiores */
.banner {
    position: absolute;
    background: #30529A;
    padding: 20px 45px;
    color: #fff;
    z-index: 2;
    opacity: .8;
}

.banner-left {
    top: 60px;
    left: 0px;
    text-align: left;
    border-radius:  0 45px 45px 0;
}

.banner-left h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.banner-left p {
    font-size: 2.4rem;
    font-weight: 600;
}

.banner-right {
    top: 60px;
    right: 0;
    text-align: center;
    border-radius:   45px 0 0 45px;
}

.banner-right h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.flags {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.flags img {
    height: 30px;
    width: auto;
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .flags {
        justify-content: flex-start; /* Alineación a la izquierda */
        gap: 6px;
    }
    .flags img {
        height: 24px; /* Reduce tamaño en tablet */
    }
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .flags {
        justify-content: center; /* Centra las banderas */
        gap: 5px;
    }
    .flags img {
        height: 20px; /* Más pequeñas en móvil */
    }
    .banner-left {
    top: 30px;
    left: 0px;
    text-align: left;
    border-radius:  0 45px 45px 0;
}

.banner-left h1 {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
}

.banner-left p {
    font-size: 3rem;
    font-weight: 600;
}

.banner-right {
    top: 120px;
    right: 0;
    text-align: center;
    border-radius:   45px 0 0 45px;
}

.banner-right h2 {
    font-size: 2.5rem;
    font-weight: 700;
}
}

/* Contenido central */
.center-content {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
}

.dates {
    font-size: 6.5rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
}

.big {
    font-size: 6rem;
}

.month {
    background: #2ea44f;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 2rem;
    font-weight: 700;
    margin-left: 5px;
    position: relative;
    top: -75px; /* Sube el mes hacia la fecha */
}

/* Responsive */
@media (max-width: 1024px) {
    .dates {
        font-size: 5rem;
    }
    .big {
        font-size: 4.5rem;
    }
    .month {
        font-size: 1.8rem;
        padding: 5px 12px;
        top: -8px;
    }
}

@media (max-width: 768px) {
    .dates {
        font-size: 4rem;
    }
    .big {
        font-size: 3.5rem;
    }
    .month {
        font-size: 1.6rem;
        padding: 4px 10px;
        top: -6px;
    }
}

@media (max-width: 480px) {
    .dates {
        font-size: 3rem;
    }
    .big {
        font-size: 2.5rem;
    }
    .month {
        font-size: 1.4rem;
        padding: 3px 8px;
        top: -5px;
    }
}


.title-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 25px auto;
  text-align: center;
  padding: 0 30px; /* Espaciado lateral para pantallas grandes */
  box-sizing: border-box;
}

.title-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 30px;
  box-sizing: border-box;
}

.title-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .title-image-container {
    padding: 0 15px;
  }
}


    
.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: #fff;
    color: #2e6ab8;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #f1f1f1;
}

/* Logo inferior derecho */
.bottom-right {
    position: absolute;
    bottom: 45px;
    right: 45px;
    z-index: 2;
}

.bottom-right img {
    max-width: 180px;
    width: 150%;
}

/* Responsividad */
@media (max-width: 768px) {
    .banner-left h1 {
        font-size: 1.6rem;
    }
    .banner-left p {
        font-size: 0.9rem;
    }
    .banner-right h2 {
        font-size: 1rem;
    }
    .dates {
        font-size: 2rem;
    }
    .big {
        font-size: 2.5rem;
    }
   
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .bottom-right img {
        max-width: 100px;
    }
}



.features {
    padding: 60px 45px;
    font-family: 'Montserrat', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 75px 15px;
    border: 1.2px solid #007A3F;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.feature-card img {
    height: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #0090B1; /* azul principal */
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: #555;
    font-size: 0.95rem;
}

/* --- About section --- */
.about {
    padding: 70px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.about h2 {
    color: #0090B1;
    font-size: 2rem;
    margin-bottom: 60px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    
}

.about-image {
   
    width: 100%;
}
.about-image img {
    max-width: 600px;
    height: auto;
    width: 100%;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
    margin-left: 60px;
    line-height: 1.6;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #3cb371; /* verde */
    color: #3cb371;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 60px;
}
.btn-outline1 {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #0090B1;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin-top: 45px;
}

.btn-outline:hover {
    background: #3cb371;
    color: white;
}
.btn-outline1:hover {
    background: #3cb371;
    color: white;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .btn-outline1 {
    
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 25px;
}
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
    .btn-outline {
        margin-left: 0;
    }
    .about-text p {
    
    margin-left: 0;
    
}
.about h2 {
    color: #0090B1;
    font-size: 1.5rem;
    margin-bottom: 40px;
}
.feature-card {
    text-align: center;
    padding: 30px 15px;
    border: 1.2px solid #007A3F;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

}





.speakers {
    background: #E1E1E1;
    padding: 120px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.speakers h2 {
    color: #0072a8; /* azul */
    font-size: 1.8rem;
    margin-bottom: 90px;
}



.speaker-card {
    text-align: center;
}

/* Imagen circular con borde separado */
.speaker-image {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 1px solid #007A3F; /* Borde verde */
    padding: 12px; /* Espacio interno */
    background: transparent; /* Fondo blanco para que se vea el espacio */
    box-sizing: border-box;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Bandera */
.flag {
    position: absolute;
    top: -0px;
    right: -0px;
    width: 50px;
    height: 50px;
    z-index: 10;
}

.flag img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    
}

/* Overlay */
.overlay-speakers {
    position: absolute;
    top: 12px; /* Ajuste para no tapar el padding */
    left: 12px;
    width: calc(100% - 24px); /* Respeta el padding */
    height: calc(100% - 24px);
    background: linear-gradient(
        rgba(48, 82, 154, 0.8) 0%,      /* Color 1 con opacidad */
        rgba(0, 144, 177, 0.8) 50%,     /* Color 2 con opacidad */
        rgba(0, 122, 63, 0.8) 100%      /* Color 3 con opacidad */
    );
    color: #fff;
    display: flex;
    text-transform: uppercase;
    align-items: center;
    font-weight: 500;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 50%;
}

.speaker-image:hover .overlay-speakers {
    opacity: 1;
}

/* Info */
.speaker-info h3 {
    color: #007A3F; /* verde */
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.social-icons {
    margin-bottom: 8px;
}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
}

.social-icons img {
    width: 24px;
}

/* ✅ RESPONSIVE */
@media (max-width: 1200px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .speakers h2 {
    color: #0072a8; /* azul */
    font-size: 1.6rem;
}
}

@media (max-width: 992px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .speakers h2 {
    color: #0072a8; /* azul */
    font-size: 1.5rem;
}
}

@media (max-width: 768px) {
    .speakers h2 {
        font-size: 1.4rem;
    }
    .speaker-image {
        width: 220px;
        height: 220px;
        padding: 15px;
    }
    .flag {
        width: 40px;
        height: 40px;
        top: 5px;
        right: 5px;
    }

    .speakers {
    background: #E1E1E1;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.speakers h2 {
    color: #0072a8; /* azul */
    margin-bottom: 45px;
}
}

@media (max-width: 576px) {
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .speaker-image {
        width: 220px;
        height: 220px;
        padding: 15px;
    }
    .flag {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }

       .speakers {
    background: #E1E1E1;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.speakers h2 {
    color: #0072a8; /* azul */
    margin-bottom: 45px;

}

}







/* Sección principal */


.faq-section {
  text-align: center;
  padding: 4rem 1rem;
}

.faq-section h2 {
    color: #0072a8; /* azul */
    font-size: 1.8rem;
    margin-bottom: 50px;
}

.faq-section {
    max-width: 1100px;
    margin: 120px auto;
    padding: 0 20px;
    
}

/* Carrusel */


.speakers-carousel {
  overflow: hidden;
  width: 100%;

}

.speakers-track {
  display: flex;
}

.speaker-card {
  flex: 0 0 calc(100% / 5); /* 4 tarjetas por vista */
  box-sizing: border-box;
  padding: 15px;
}

/* Tablet: 2 visibles */
@media (max-width: 1024px) {
  .speaker-card {
    flex: 0 0 50%;
  }
  .faq-section h2 {
    color: #0072a8; /* azul */
    font-size: 1.6rem;

}
}


/* Móvil: 1 visible */
@media (max-width: 600px) {
  .speaker-card {
    flex: 0 0 100%;
  }
  .faq-section h2 {
    color: #0072a8; /* azul */
    font-size: 1.4rem;
}

}













/* Contenedor */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Item */
.faq-item {
    border: 1.5px solid #d6f3d6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    border-color: #4cd964;
}

/* Botón pregunta */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    background: #f9f9f9;
}

/* Izquierda con ícono y texto */
.faq-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Ícono verde circular */
.faq-icon {
    background: #0090B1;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Flecha derecha */
.faq-toggle {
    font-size: 1.2rem;
    color: #333;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Texto */
.faq-text {
    color: #222;
    text-align: left;
}

/* Respuesta oculta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
    color: #444;
    font-size: 0.95rem;
    text-align: justify;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 22px 20px;
}
.faq-toggle img{
        width: 20px;
    }

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }
    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    .faq-answer {
        font-size: 0.9rem;
    }
    .faq-toggle img{
        width: 15px;
    }
}

@media (max-width: 480px) {
    .faq-text {
        font-size: 0.9rem;
    }
    .faq-toggle img{
        width: 15px;
    }
}


.main-footer {
  background: linear-gradient(90deg,
        rgba(48, 82, 154, 1) 0%,      /* Color 1 con opacidad */
        rgba(0, 144, 177, 1) 50%,     /* Color 2 con opacidad */
        rgba(0, 122, 63, 1) 100%      /* Color 3 con opacidad */
    );
  color: #fff;
  padding: 15px 20px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Para que se ajuste en pantallas pequeñas */
}

.footer-left p {
  margin: 0;
  font-size: 14px;
}

.footer-right {
  display: flex;
  gap: 20px; /* Espacio entre enlaces */
}

.footer-right a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #ffd700; /* Efecto hover */
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-right {
    flex-direction: column;
    gap: 5px;
  }
}



