* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b0b2e;
    color: white;
}

/* HERO */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top, #4a00e0, #0b0b2e);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 900px;
}

.small-text {
    font-size: 28px;
    font-weight: 300;
}

.brand {
    font-size: 90px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.icon-item {
    background: #f4c430;
    color: #000;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
}

.hero-description {
    max-width: 750px;
    margin: 25px auto;
    line-height: 1.6;
    font-size: 18px;
    color: #e0e0e0;
      text-align: justify;      /* ← JUSTIFICADO */
    text-justify: inter-word; /* ← mejora el espaciado */
}

.btn-primary {
    display: inline-block;
    margin-top: 25px;
    background: #f4c430;
    color: #000;
    padding: 15px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}
/* FUNDADOR */
.founder {
    background: #0b0b2e;
    padding: 80px 20px;
}

.founder-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.founder-video iframe {
    width: 100%;
    max-width: 500px;
    height: 280px;
    border-radius: 15px;
}

.founder-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.founder-info h4 {
    color: #f4c430;
    margin-bottom: 15px;
}

.founder-info p {
    line-height: 1.6;
    color: #ddd;
}

/* EQUIPO */
.team {
    background: #070720;
    padding: 80px 20px;
    text-align: center;
}

.team h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.team-grid {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.team-card {
    background: #1a1a40;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.hero-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
}
.hero-circle .circle {
    width: 80px;  /* Tamaño de la imagen */
    height: 80px;
    border-radius: 50%;  /* Hacer la imagen circular */
    overflow: hidden;
    border: 3px solid #1976d2; /* Borde de la imagen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Agregar sombra */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el círculo */
}
.circle {
    width: 90px;
    height: 90px;
    background: #f4c430;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.circle img {
    width: 45px;
    height: 45px;
}
/* FUNDADOR MAQUETADO */
.founder-hero {
    background: linear-gradient(to right, #05051a, #0b0b2e);
    padding: 100px 40px;
}

.founder-hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* TEXTO */
.founder-message {
    flex: 1;
}

.founder-message p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.7;
    color: #e6e6e6;
}

/* PERFIL */
.founder-profile {
    text-align: center;
    max-width: 320px;
}

.founder-profile img {
    width: 260px;
    height: auto;
}

/* NOMBRE */
.founder-name {
    margin-top: 20px;
    background: #4b2bd6;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
}

/* CARGO */
.founder-role {
    margin-top: 15px;
    color: #ddd;
    font-size: 16px;
}

.founder-role span {
    display: block;
    margin-top: 5px;
    font-style: italic;
    letter-spacing: 1px;
}
/* VIDEO + EQUIPO EN LA MISMA SECCION */
.video-team-container {
    margin-top: 100px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

/* VIDEO */
.video-box {
    flex: 1;
    min-width: 300px;
    max-width: 520px;
    border-radius: 20px;
    overflow: hidden;
}

.video-box iframe {
    width: 100%;
    height: 300px;
}

/* EQUIPO */
.team {
    flex: 1;
    text-align: center;
    background: transparent; 
    padding: 0;                
}

/* GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* PERSONAS (solo círculos, sin bloque) */
.team-card {
    background: rgba(255, 255, 255, 0.12); /* solo el círculo */
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: scale(1.05);
}
.section-label {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    color: #e6e6e6;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
/* =========================
   MEJORAS RESPONSIVE (MÓVIL)
   ========================= */
@media (max-width: 768px) {

    /* HERO GENERAL */
    .hero {
        padding: 30px 15px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    /* TITULO */
    .small-text {
        font-size: 22px;
    }

    .brand {
        font-size: 56px;
        line-height: 1.1;
    }

    /* ICONOS */
    .hero-icons {
        gap: 25px;
        margin: 25px 0;
    }

    .circle {
        width: 70px;
        height: 70px;
    }

    .circle img {
        width: 34px;
        height: 34px;
    }

    /* TEXTO PRINCIPAL */
    .hero-description {
        font-size: 16px;
        line-height: 1.6;
        text-align: left; /* mejor lectura en móvil */
        margin: 20px auto;
    }

    /* FUNDADOR */
    .founder-hero-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .founder-message p {
        font-size: 18px;
        font-style: italic;
    }

    .founder-profile img {
        width: 200px;
    }

    .founder-name {
        font-size: 16px;
        padding: 10px 16px;
    }

    .founder-role {
        font-size: 14px;
    }

    /* BOTON */
    .btn-primary {
        font-size: 16px;
        padding: 14px 28px;
        margin-top: 30px;
    }

    /* VIDEO + EQUIPO */
    .video-team-container {
        flex-direction: column;
        gap: 50px;
        margin-top: 70px;
    }

    /* VIDEO */
    .video-box {
        max-width: 100%;
    }

    .video-box iframe {
        height: 220px;
    }

    /* TITULOS DE SECCION */
    .section-label {
        font-size: 20px;
        text-align: center;
    }

    /* EQUIPO */
    .team {
        text-align: center;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        justify-items: center;
    }

    .team-card {
        width: 90px;
        height: 90px;
        font-size: 13px;
    }
}
/* CONTENEDOR DEL BOTÓN */
.btn-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

/* MANO FLOTANTE */
.hand-float {
    position: absolute;
    right: -17px;        /* sale del botón */
    top: 96%;
    transform: translateY(-50%);
    width: 42px;
    height: auto;
    pointer-events: none; /* no interfiere con el click */
    animation: clickHint 1.4s infinite;
}

/* ANIMACIÓN CLICK */
@keyframes clickHint {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.1);
        opacity: 0.85;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hand-float {
        right: -20px;
        width: 32px;
    }
}
@media (max-width: 768px) {
    .hand-float {
        right: -20px;
        width: 32px;
    }
}
/* MIEMBRO DEL EQUIPO */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* FOTO CIRCULAR */
.team-member img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER SUAVE */
.team-member:hover img {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(244, 196, 48, 0.6);
}

/* NOMBRE */
.team-member span {
    font-size: 14px;
    color: #e6e6e6;
    text-align: center;
}
@media (max-width: 768px) {
    .team-member img {
        width: 90px;
        height: 90px;
    }

    .team-member span {
        font-size: 13px;
    }
}
/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 40, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* MODAL CONTENIDO */
.modal-content {
    background: #0b0b2e;
    max-width: 700px;
    width: 90%;
    padding: 40px;
    border-radius: 20px;
    color: #e6e6e6;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

/* CERRAR */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #f4c430;
}

/* TEXTO */
.modal-content h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.modal-content h4 {
    color: #f4c430;
    margin-bottom: 20px;
}

.modal-text {
    line-height: 1.7;
    font-size: 16px;
}

.modal-text ul {
    margin-left: 20px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #ffffff;
    color: #000;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.team-member {
    cursor: pointer;
}
.modal-photo {
    width: 100px; 
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.criteria-logo {
    max-width: 100%;
    height: auto; /* Mantiene la proporción de la imagen */
}
/* ===== MODAL INFO ===== */
.info-modal {
    background: #0b0b2e;
    color: #fff;
}

/* TITULO */
.info-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #f4c430;
}

/* GRID 13 CUADROS */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* CARD */
.info-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

/* HOVER */
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(244, 196, 48, 0.5);
}
/* ===== MODAL PERFIL EQUIPO ===== */
.profile-modal {
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    position: relative;
}

/* BOTÓN CERRAR (X ROJA) */
.profile-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #ff2d2d;
    cursor: pointer;
}

/* HEADER */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* FOTO */
.profile-photo {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

/* NOMBRE */
.profile-info h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

/* ROL (ROSADO) */
.profile-info h4 {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4b2bd6; /* 🔵 NUEVO COLOR */
}


/* TEXTO */
.modal-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.modal-text img.modal-photo {
    display: none; 
}
.hero-video {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    background: #000;
}
/* GRID DE PROGRAMAS */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* BOTÓN DE PROGRAMA */
.program-btn {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-btn img {
    width: 100%;
    display: block;
}

/* HOVER PREMIUM */
.program-btn:hover {
    transform: translateY(-6px) scale(1.03);
}
/* MODAL DEL PDF */
.pdf-modal {
    background: #fff;
    max-width: 1100px;
    width: 95%;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cerrar modal */
.modal-close {
    color: red;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Título */
.pdf-title {
    text-align: center;
    font-size: 26px;
    color: #4b2bd6;
}

/* Visor de PDF */
.pdf-viewer {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    border: none;
    background: #f2f2f2;
}

/* Botones de acción */
.pdf-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botón de descarga */
.btn-download {
    background: #4b2bd6;
    color: #fff;
    padding: 14px 26px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
}

/* Botón WhatsApp */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 14px 26px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .pdf-viewer {
        height: 320px;
    }
}
/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b0b2e;
    color: white;
}

/* MODAL DE TESTIMONIOS */
#testimonialsModal {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#testimonialContainer {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    position: relative;
    text-align: center;
    overflow: hidden;
}

#testimonialVideo {
    width: 100%;
    height: 400px; /* Tamaño fijo para el video */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: contain; /* Ajusta el video sin distorsionarlo */
}

#navigationButtons {
    margin-top: 10px;
}

#closeModal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}
/* ============ MODAL DE TESTIMONIOS ============ */
#testimonialsModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

#testimonialContainer {
    background-color: #000;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
}

.testimonial-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 25;
}

.video-wrapper {
    position: relative;
    background: #000;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#testimonialVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.arrow-button:hover {
    background: rgba(244, 196, 48, 0.8);
    border-color: #f4c430;
    transform: translateY(-50%) scale(1.1);
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 30;
}

.close-button:hover {
    background: rgba(255, 59, 48, 0.9);
    transform: rotate(90deg) scale(1.1);
    color: white;
}

.testimonial-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: #000;
    border-top: 1px solid #262626;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #262626;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background: #f4c430;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .video-wrapper {
        height: 400px;
    }
    
    .arrow-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .left-arrow {
        left: 10px;
    }
    
    .right-arrow {
        right: 10px;
    }
}