/* ==========================================================================
   ACERCA DE - ESTILO PREMIUM
   ========================================================================== */

/* Variables premium */
:root {
    /* Colores premium */
    --educacion-primary: #0056b3;
    --educacion-primary-dark: #003d82;
    --educacion-secondary: #4d94ff;
    --educacion-accent: #28a745;
    --educacion-accent-light: #20c997;
    --educacion-light: #f8f9fa;
    --educacion-dark: #1a1a1a;
    --educacion-gray: #6c757d;
    --educacion-white: #ffffff;
    
    /* Gradientes premium */
    --educacion-gradient: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    --educacion-gradient-light: linear-gradient(135deg, #4d94ff 0%, #1a75ff 100%);
    --educacion-gradient-accent: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    
    /* Sombras premium */
    --educacion-shadow: 0 15px 35px rgba(0, 86, 179, 0.15);
    --educacion-shadow-hover: 0 25px 50px rgba(0, 86, 179, 0.25);
    --educacion-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    /* Tipografía premium */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--educacion-dark);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

/* ==========================================================================
   NAVBAR FLOTANTE PREMIUM
   ========================================================================== */
.floating-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 12px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 95%;
    max-width: 1200px;
    min-width: 300px;
}

.floating-navbar.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
}

.floating-navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 10px 30px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--educacion-dark);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-img {
    height: 35px;
    width: auto;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--educacion-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--educacion-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 0;
    background: var(--educacion-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login {
    background: var(--educacion-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.5);
    background: var(--educacion-gradient-light);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--educacion-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   HERO ACERCA DE PREMIUM
   ========================================================================== */
.educacion-hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 2000px;
    padding: 0 2rem;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-content {
    max-width: 800px;
    color: white;
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    margin-left: 19%;
    margin-top: 9%;
}

.hero-title {
    font-size: 6.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.8rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin: 5rem 0;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 250px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--educacion-secondary);
    opacity: 0.9;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 2.5rem;
    justify-content: flex-start;
    animation: fadeInUp 1s ease 1s both;
}

/* ==========================================================================
   CONTENEDORES POR SECCIÓN
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.categorias-educacion,
.destacado-diplomados,
.beneficios-generales,
.testimonios-educacion
 {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--educacion-dark);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--educacion-gradient);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 2.2rem;
    color: var(--educacion-primary);
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.section-decoration {
    width: 80px;
    height: 3px;
    background: rgba(0, 86, 179, 0.2);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   CATEGORÍAS DE EDUCACIÓN (Misión y Visión)
   ========================================================================== */
.categorias-educacion {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.categoria-card {
    background: white;
    border-radius: 20px;
    padding: 4rem 3rem;
    text-decoration: none;
    color: var(--educacion-dark);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.categoria-card.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.categoria-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--educacion-shadow-hover);
}

.categoria-diplomados {
    border-color: var(--educacion-primary);
}

.categoria-diplomados:hover {
    border-color: var(--educacion-primary-dark);
}

.categoria-cursos {
    border-color: var(--educacion-accent);
}

.categoria-cursos:hover {
    border-color: #1e7e34;
}

.categoria-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(77, 148, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.categoria-diplomados .categoria-icon {
    color: var(--educacion-primary);
}

.categoria-cursos .categoria-icon {
    color: var(--educacion-accent);
}

.categoria-card:hover .categoria-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--educacion-gradient);
    color: white;
}

.categoria-content {
    flex: 1;
}

.categoria-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.categoria-description {
    font-size: 1.5rem;
    color: var(--educacion-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.categoria-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--educacion-dark);
}

.info-item i {
    opacity: 0.7;
}

/* ==========================================================================
   DR. OROZCO SECTION
   ========================================================================== */
.destacado-diplomados {
    background: white;
    position: relative;
}

.destacado-diplomados::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--educacion-gradient);
}

.doctor-profile {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--educacion-shadow);
    border: 2px solid rgba(0, 86, 179, 0.1);
}

.doctor-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.doctor-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.doctor-image:hover img {
    transform: scale(1.05);
}

.doctor-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.doctor-badge {
    background: var(--educacion-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.doctor-role {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--educacion-dark);
    line-height: 1.4;
    border-left: 4px solid var(--educacion-primary);
    padding-left: 2rem;
}

.doctor-description {
    margin-bottom: 3rem;
}

.doctor-description p {
    font-size: 1.6rem;
    color: var(--educacion-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    background: var(--educacion-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--educacion-accent);
}

/* ==========================================================================
   DIPLOMAS MINI GRID
   ========================================================================== */
.diplomas-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.diploma-mini-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.diploma-mini-card.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.diploma-mini-card:hover {
    border-color: var(--educacion-primary);
    transform: translateY(-5px);
    box-shadow: var(--educacion-shadow);
}

.diploma-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--educacion-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.diploma-mini-card:hover::before {
    transform: scaleY(1);
}

.diploma-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.diploma-mini-badge {
    background: rgba(0, 86, 179, 0.1);
    color: var(--educacion-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diploma-mini-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0, 86, 179, 0.2);
    line-height: 1;
}

.diploma-mini-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--educacion-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.diploma-mini-description {
    font-size: 1.4rem;
    color: var(--educacion-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ==========================================================================
   BENEFICIOS GENERALES (Valores)
   ========================================================================== */
.beneficios-generales {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.beneficio-general {
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.beneficio-general.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.beneficio-general:hover {
    border-color: var(--educacion-primary);
    transform: translateY(-10px);
    box-shadow: var(--educacion-shadow-hover);
}

.beneficio-general::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--educacion-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.beneficio-general:hover::before {
    transform: scaleX(1);
}

.beneficio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(77, 148, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    color: var(--educacion-primary);
    font-size: 3rem;
    border: 2px solid rgba(0, 86, 179, 0.2);
    transition: all 0.3s ease;
}

.beneficio-general:hover .beneficio-icon {
    background: var(--educacion-gradient);
    color: white;
    transform: rotateY(180deg);
}

.beneficio-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--educacion-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.beneficio-description {
    font-size: 1.5rem;
    color: var(--educacion-gray);
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIOS (Enfoque Único)
   ========================================================================== */
.testimonios-educacion {
    background: white;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.testimonio-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.testimonio-card.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.testimonio-card:hover {
    border-color: var(--educacion-primary);
    transform: translateY(-5px);
    box-shadow: var(--educacion-shadow);
}

.testimonio-content {
    position: relative;
    margin-bottom: 3rem;
}

.testimonio-quote {
    font-size: 4rem;
    color: var(--educacion-primary);
    opacity: 0.2;
    margin-bottom: 2rem;
}

.testimonio-text {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--educacion-dark);
    font-style: italic;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 86, 179, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--educacion-dark);
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 1.4rem;
    color: var(--educacion-primary);
    font-weight: 600;
}


/* ==========================================================================
   BOTONES PREMIUM
   ========================================================================== */
.btn-destacado {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--educacion-gradient);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-destacado:hover {
    background: var(--educacion-gradient-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
    border-color: white;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    color: var(--educacion-primary);
    padding: 2rem 4rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-cta-primary:hover {
    background: var(--educacion-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    border-color: white;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    color: white;
    padding: 2rem 4rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 3px solid white;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   FOOTER PREMIUM
   ========================================================================== */
.footer {
    background: var(--educacion-dark);
    color: white;
}

.footer .section-container {
    max-width: 1400px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
}

.footer-section p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--educacion-primary);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5.5rem;
    }
    
    .doctor-profile {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .doctor-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .categorias-educacion,
    .destacado-diplomados,
    .beneficios-generales,
    .testimonios-educacion,
    .cta-educacion {
        padding: 8rem 0;
    }
    
    .section-title {
        font-size: 3.8rem;
    }
    
    .hero-content {
        margin-left: 5%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Navbar responsive */
    .floating-navbar {
        padding: 10px 20px;
        width: 90%;
        border-radius: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 85%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
        flex-direction: column;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 12px 0;
        text-align: center;
        width: 100%;
        display: block;
    }

    .hamburger-btn {
        display: flex;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero responsive */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.8rem;
    }
    
    .categorias-grid,
    .beneficios-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .diplomas-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-profile {
        padding: 2rem;
    }
    
    .educacion-hero {
        height: auto;
        min-height: 600px;
        text-align: center;
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn-destacado,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .categorias-educacion,
    .destacado-diplomados,
    .beneficios-generales,
    .testimonios-educacion,
    .cta-educacion {
        padding: 6rem 0;
    }
}

@media (max-width: 480px) {
    .floating-navbar {
        padding: 8px 15px;
        width: 92%;
        border-radius: 12px;
        top: 15px;
    }
    
    .nav-logo span {
        font-size: 0.9rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .btn-login {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        top: 65px;
        width: 90%;
        padding: 20px;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 10px 0;
    }
    
    body {
        padding-top: 65px;
    }
    
    .educacion-hero {
        margin-top: -65px;
        padding-top: 65px;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .categoria-card,
    .beneficio-general,
    .testimonio-card,
    .diploma-mini-card {
        padding: 3rem 2rem;
    }
    
    .doctor-badges {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .cta-description {
        font-size: 1.6rem;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        max-width: 400px;
    }
}

/* Móvil pequeño */
@media (max-width: 360px) {
    .floating-navbar {
        padding: 6px 12px;
    }
    
    .nav-logo span {
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 25px;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .nav-logo {
        gap: 8px;
    }
}

/* Para pantallas muy pequeñas, ocultar texto del logo */
@media (max-width: 320px) {
    .nav-logo span {
        display: none;
    }
    
    .floating-navbar {
        padding: 8px 15px;
    }
}

/* Asegurar que el navbar sea visible en dispositivos con notch */
@media (max-width: 768px) and (orientation: portrait) {
    .floating-navbar {
        top: max(15px, env(safe-area-inset-top));
    }
}

/* Mejorar visibilidad en modo oscuro */
@media (prefers-color-scheme: dark) {
    .floating-navbar {
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        color: #ecf0f1;
    }
    
    .nav-logo {
        color: #ecf0f1;
    }
    
    .hamburger-btn span {
        background-color: #ecf0f1;
    }
}

/* Mejorar accesibilidad para reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .floating-navbar,
    .nav-menu a,
    .btn-login,
    .categoria-card,
    .beneficio-general,
    .testimonio-card,
    .diploma-mini-card {
        transition: none;
    }
    
    .hamburger-btn span {
        transition: none;
    }
    
    .categoria-card,
    .beneficio-general,
    .testimonio-card,
    .diploma-mini-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   EFECTOS ESPECIALES DE ANIMACIÓN
   ========================================================================== */
.categoria-card:nth-child(1) { animation-delay: 0.1s; }
.categoria-card:nth-child(2) { animation-delay: 0.2s; }

.diploma-mini-card:nth-child(1) { animation-delay: 0.1s; }
.diploma-mini-card:nth-child(2) { animation-delay: 0.2s; }

.beneficio-general:nth-child(1) { animation-delay: 0.1s; }
.beneficio-general:nth-child(2) { animation-delay: 0.2s; }
.beneficio-general:nth-child(3) { animation-delay: 0.3s; }
.beneficio-general:nth-child(4) { animation-delay: 0.4s; }
.beneficio-general:nth-child(5) { animation-delay: 0.5s; }
.beneficio-general:nth-child(6) { animation-delay: 0.6s; }

.testimonio-card:nth-child(1) { animation-delay: 0.1s; }
.testimonio-card:nth-child(2) { animation-delay: 0.2s; }
.testimonio-card:nth-child(3) { animation-delay: 0.3s; }