:root {
    /* Colores principales inspirados en EGAP */
    --primary: #3a2727;
    --primary-dark: #291717;
    --secondary: #ff0068;
    --accent-red: #50ae3a;
    --dark: #0a0a0a;
    --gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Bordes y sombras */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

p {
    margin-bottom: var(--spacing-sm);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: var(--spacing-xl) 0;
}

/* Botones mejorados */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 51, 133, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    box-shadow: 0 6px 25px rgba(255, 51, 133, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ff3385;
    color: #ff3385;
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.3);
}

/* Header mejorado */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

header.hide {
    transform: translateY(-100%);
}

.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: var(--spacing-md);
}

.contact-info a,
.contact-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.contact-info a:hover,
.contact-link:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a,
.social-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-links a::before,
.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.social-links a:hover::before,
.social-link:hover::before {
    transform: scale(1);
}

.social-links a:hover,
.social-link:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 4px 12px rgba(255, 0, 104, 0.4);
    color: var(--white);
}

.social-links a i,
.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-main {
    padding: 18px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 65px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.logo img {
    height: 65px;
    margin-right: 12px;
}

.logo-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-right: 12px;
    box-shadow: var(--shadow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

/* Navegación mejorada */
.nav {
    display: flex;
    align-items: center;
    /*gap: var(--spacing-md);*/
}

nav a,
.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 16px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.nav-icon {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover .nav-icon,
.nav-link:hover .nav-icon {
    opacity: 1;
    transform: translateX(0);
}

nav a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 16px;
    right: 16px;
    height: 2px;
    /*background: linear-gradient(90deg, var(--primary), var(--secondary));*/
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover,
.nav-link:hover {
    color: var(--primary);
    background-color: rgba(58, 39, 39, 0.05);
}

nav a:hover::after,
.nav-link:hover::after,
nav a.active::after,
.nav-link.active::after {
    transform: scaleX(1);
}

nav a.active,
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background-color: rgba(58, 39, 39, 0.08);
}

nav a.active .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Botón CTA especial en navegación */
.nav-link.btn-cta {
    background: linear-gradient(135deg, var(--secondary), #ff3385);
    color: white !important;
    padding: 12px 24px;
    font-weight: 600;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(255, 0, 104, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.btn-cta::after {
    display: none;
}

.nav-link.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 104, 0.4);
    background: linear-gradient(135deg, #ff3385, var(--secondary));
}

.nav-link.btn-cta i {
    opacity: 1;
    transform: translateX(0);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-item-dropdown .nav-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

.nav-item-dropdown button.nav-link {
    background: none;
    border: none;
    font-family: inherit;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: translateX(0) rotate(180deg) !important;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 260px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    padding: 8px 0;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item i {
    font-size: 0.9rem;
    color: var(--secondary);
    width: 18px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(58, 39, 39, 0.05);
    color: var(--primary);
    padding-left: 24px;
}

.dropdown-item.active {
    background-color: rgba(58, 39, 39, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.dropdown-item.active i {
    color: var(--primary);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Accesibilidad - Focus visible solo con teclado */
body:not(.keyboard-navigation) *:focus {
    outline: none;
}

body.keyboard-navigation *:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Skip to main content link para accesibilidad */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    z-index: 10001;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
}

/* Botón menú móvil mejorado */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}

.hamburger-icon .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon .line {
    background-color: var(--primary);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon .line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay del menú móvil */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section mejorado */
.hero {
    margin-top: 130px;
    /*background-color: var(--white);*/
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("{{ asset('img/bg.png') }}");

}

.hero-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns {
    display: flex;
    gap: var(--spacing-sm);
    animation: fadeInUp 1.2s ease;
}

.btn-hero {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.3);
}

.btn-hero:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 51, 133, 0.5);
}

.hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
}

/* Features mejoradas */
.features {
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}

/* Nuevo layout de features en tres columnas */
.features-threegrid {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.features-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-card {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow);
}

.stat-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
    transform: scale(1.03);
}

.stat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(33, 58, 135, 0.6), rgba(58, 39, 39, 0.45));
}

.stat-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px;
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    color: var(--secondary);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

.features-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.features-image img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.features-right {
    flex: 1;
    padding: 10px 20px;
}

.features-right h2 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
}

.features-right .accent {
    color: var(--secondary);
    display: block;
    font-weight: 600;
}

@media (max-width: 992px) {
    .features-threegrid {
        flex-direction: column;
    }

    .stat-card {
        height: 160px;
    }

    .features-image img {
        max-width: 100%;
    }
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(33, 58, 135, 0.3);
}

/* About Section mejorada */
.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Programs mejorados */
.programs {
    background-color: var(--light-gray);
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-image {
    height: 489px;
    overflow: hidden;
    position: relative;
}

.program-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.15);
}

.program-content {
    padding: var(--spacing-lg);
}

.program-duration {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.program-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.program-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.program-features i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Learning Grid */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.learning-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.learning-item:hover {
    background-color: var(--light-gray);
    border-left-color: var(--secondary);
    transform: translateX(5px);
}

.learning-item i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Investment mejorado */
.investment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.investment-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 168, 75, 0.1), transparent);
    transition: left 0.5s;
}

.investment-card:hover::before {
    left: 100%;
}

.investment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}

.investment-price {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--spacing-sm) 0;
}

/* Schedule mejorado */
.schedule {
    background-color: var(--light-gray);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tab-btn {
    padding: 12px 28px;
    background-color: var(--white);
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.tab-content {
    display: none;
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.schedule-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid #eee;
}

.schedule-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Contact mejorado */
.contact-content {
    display: flex;
    gap: var(--spacing-xl);
}

.contact-info-section {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 58, 135, 0.1);
}

/* Footer mejorado */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--dark));
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition);
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-image {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-about p {
    color: #ccc;
    line-height: 1.8;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--secondary);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.95rem;
}

/* Responsive mejorado */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .hero {
        margin-top: 150px;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    /* Ajustar top bar en tablets */
    .contact-info {
        gap: var(--spacing-sm);
    }

    .email-text {
        display: none;
    }

    .contact-info a[href^="mailto"]::after {
        content: 'Email';
        margin-left: 5px;
    }
}

@media (max-width: 768px) {

    /* Ocultar top bar en móvil */
    .top-bar {
        display: none;
    }

    /* Mostrar botón de menú móvil */
    .mobile-menu-btn {
        display: flex;
    }

    /* Navegación móvil mejorada */
    nav,
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;    
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        padding: 10px;
        overflow-y: auto;
        overflow-x: visible;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }

    nav.active,
    .nav.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    /* Enlaces de navegación móvil */
    nav a,
    .nav-link {
        width: 100%;
        padding: 16px 20px;
        border-radius: var(--border-radius);
        font-size: 1rem;
        justify-content: flex-start;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        margin-bottom: 4px;
    }

    nav a:hover,
    .nav-link:hover {
        background-color: rgba(58, 39, 39, 0.08);
        border-left-color: var(--primary);
    }

    nav a.active,
    .nav-link.active {
        background-color: rgba(58, 39, 39, 0.1);
        border-left-color: var(--secondary);
    }

    /* Iconos siempre visibles en móvil */
    .nav-icon {
        opacity: 1;
        transform: translateX(0);
    }

    /* Botón CTA en móvil */
    .nav-link.btn-cta {
        margin: var(--spacing-md) 0 0 0;
        justify-content: center;
        font-size: 1.05rem;
        padding: 16px 20px;
    }

    nav a::after,
    .nav-link::after {
        display: none;
    }

    /* Dropdown móvil */
    .nav-item-dropdown {
        width: 100%;
        display: block;
        margin-bottom: 4px;
    }

    .nav-item-dropdown .nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        margin-bottom: 0;
    }

    .nav-item-dropdown .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 0 12px 12px 0;
        margin: 0;
        margin-left: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        padding: 0;
        border-left: 3px solid var(--secondary);
        border: none;
        border-left: 3px solid var(--secondary);
    }

    .nav-item-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 8px 0;
        margin-top: 4px;
    }

    .nav-item-dropdown .dropdown-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        font-size: 0.9rem;
        background: transparent;
        border-radius: 8px;
        margin: 2px 8px 2px 0;
        width: calc(100% - 8px);
        border-left: none;
        transition: all 0.2s ease;
    }

    .dropdown-item:hover {
        background: rgba(255, 0, 104, 0.08);
    }

    .dropdown-item.active {
        background: rgba(255, 0, 104, 0.12);
        font-weight: 600;
    }

    .dropdown-item i {
        color: var(--secondary);
        width: 18px;
        text-align: center;
        flex-shrink: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
        gap: 8px;
    }

    nav li {
        margin: 0;
        width: 100%;
    }

    .hero-btns {
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        margin-top: 85px;
        padding: var(--spacing-md) 0;
    }

    .hero-content {
        flex-direction: column-reverse;
    }

    .hero-text {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    /* Nuevos componentes responsive */
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-benefits {
        grid-template-columns: 1fr;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .about-image-secondary {
        display: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        flex-direction: column;
    }

    .learning-grid {
        grid-template-columns: 1fr;
    }
}

/* Animaciones adicionales */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Utilidades */
.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* ==================== NUEVOS COMPONENTES HOME ==================== */

/* CTA Banner - Llamada a postular */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.cta-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.95rem;
}

.cta-benefits i {
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cta-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.cta-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), #ff3385);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
    color: white;
}

.cta-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.cta-card p {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.btn-cta-primary,
.btn-cta-secondary {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: white;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.3);
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 51, 133, 0.5);
}

.btn-cta-secondary {
    background: #25D366;
    color: white;
}

.btn-cta-secondary:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.cta-divider {
    position: relative;
    text-align: center;
    margin: var(--spacing-md) 0;
}

.cta-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.cta-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.cta-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spacing-md);
    color: var(--gray);
    font-size: 0.85rem;
}

.cta-info i {
    color: var(--secondary);
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
}

/* About Home - SEO Optimizado */
.about-home {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.section-header.centered {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image-section {
    position: relative;
}

.about-image-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-content i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.badge-text strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}

.badge-text span {
    font-size: 0.85rem;
    color: var(--gray);
}

.about-image-secondary {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 50%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.about-image-secondary img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.features-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #e0e0e0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 104, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.about-cta {
    margin-top: var(--spacing-lg);
}

/* Cursos Home */
.courses-home {
    padding: var(--spacing-xl) 0;
    background: white;
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.course-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.course-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: var(--spacing-sm);
}

.course-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.course-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
}

.course-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.course-meta {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.course-teacher,
.course-level {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
}

.course-teacher i,
.course-level i {
    color: var(--secondary);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.course-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.btn-course {
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-course:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.courses-empty {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.empty-icon {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
}

.courses-empty h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.courses-cta {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: white;
    padding: 16px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.3);
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 51, 133, 0.5);
}

.courses-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 0, 104, 0.05), rgba(58, 39, 39, 0.05));
}

.decoration-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
}

.decoration-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
}

/* Galería Home */
.gallery-home {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-bottom: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(58, 39, 39, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
}

.gallery-content i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.gallery-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.gallery-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.gallery-video-overlay {
    background: linear-gradient(to top, rgba(255, 0, 104, 0.9) 0%, rgba(58, 39, 39, 0.7) 100%);
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: var(--spacing-sm);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.gallery-categories {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.categories-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.categories-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.category-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.category-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.category-item i {
    color: var(--secondary);
}

.category-item:hover i {
    color: white;
}

.gallery-social-cta {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.social-cta-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.social-cta-content p {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 2;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-modal-close:hover {
    transform: scale(1.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

/* ============================================
   HOME COMPLETE COMPONENT STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 39, 39, 0.85) 0%, rgba(212, 165, 116, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 2rem 0;
}

.hero-tag {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.play-button-wrapper {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 3;
}

.play-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.play-btn:hover {
    transform: scale(1.1);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-red) 0%, #3a8c2a 100%);
    padding: 2rem 0;
    color: white;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* About Home Section */
.about-home-section {
    padding: 5rem 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--border-radius-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--accent-red);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-title .highlight {
    color: var(--accent-red);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-features li i {
    color: var(--accent-red);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), #3a8c2a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.program-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.program-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex: 1;
}

.program-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.program-highlights li i {
    color: var(--accent-red);
}

/* Courses Home Section */
.courses-home-section {
    padding: 5rem 0;
}

.course-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-badge.featured {
    background: var(--secondary);
}

.course-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.course-duration {
    color: var(--gray);
}

.course-price {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1.1rem;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.course-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex: 1;
}

.course-footer {
    margin-top: auto;
}

/* Gallery Section */
.gallery-home-section {
    padding: 5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: white;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .play-button-wrapper {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .cta-content {
        text-align: center;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-badge {
        position: static;
        margin-top: 2rem;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .play-button-wrapper {
        display: none;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .final-cta-content h2 {
        font-size: 1.75rem;
    }

    .final-cta-content p {
        font-size: 1rem;
    }
}

/* =====================================================
   HERO SECTION MODERN REDESIGN
   ===================================================== */

.hero-section-modern {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 39, 39, 0.9) 0%, rgba(80, 174, 58, 0.85) 100%);
    z-index: 2;
}

.hero-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 39, 39, 0.85) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 2;
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(80, 174, 58, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }

    50% {
        transform: translate(0, 100px) rotate(180deg);
    }

    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

/* Content */
.hero-content-modern {
    position: relative;
    z-index: 10;
    color: white;
}

/* Badge */
.hero-badge-wrapper {
    margin-bottom: 2rem;
    animation: slideInDown 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-badge i {
    color: #ff6b35;
    animation: pulse 2s infinite;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Title */
.hero-title-modern {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.text-gradient {
    background: linear-gradient(135deg, #50ae3a 0%, #7fd85f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle-modern {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 51, 133, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 51, 133, 0.6);
    color: white;
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

/* Stats */
.hero-stats-modern {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: slideInUp 1s ease-out 0.8s both;
}

.stat-card {
    display: block;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1;
    min-width: 150px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(4) {
    animation-delay: 1.2s;
}

.stat-card:nth-child(6) {
    animation-delay: 1.4s;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #50ae3a, #3a8c2a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.stat-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.25rem 0 0;
    line-height: 1.3;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Video Preview */
.hero-video-preview {
    position: relative;
    z-index: 10;
    animation: slideInRight 1s ease-out 0.6s both;
}

.video-preview-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.video-preview-wrapper:hover {
    transform: scale(1.05);
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}

.play-btn-modern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(80, 174, 58, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.play-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #50ae3a, #3a8c2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(80, 174, 58, 0.5);
    transition: all 0.3s ease;
}

.play-btn-modern:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(80, 174, 58, 0.7);
}

.play-icon i {
    color: white;
    font-size: 1.5rem;
    margin-left: 5px;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.video-preview-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-preview-badge i {
    color: #50ae3a;
    font-size: 1.1rem;
}

.video-preview-badge span {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 28px;
        opacity: 0;
    }
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Video Modal Modern */
.video-modal-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-modern.show {
    opacity: 1;
}

.video-modal-modern .video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.video-modal-modern .video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal-modern.show .video-modal-content {
    transform: scale(1);
}

.video-modal-modern .video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.video-modal-modern .video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-modal-modern .video-wrapper {
    width: 100%;
    height: 100%;
}

.video-modal-modern .video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Tablets y pantallas medianas */
@media (max-width: 1200px) {
    .hero-title-modern {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .hero-subtitle-modern {
        font-size: 1.1rem;
    }

    .hero-stats-modern {
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-section-modern {
        min-height: 80vh;
    }

    .hero-title-modern {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle-modern {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }

    .hero-stats-modern {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-card {
        min-width: 100%;
    }

    .stat-divider {
        display: none;
    }

    .hero-cta-group {
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }

    .shape {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .hero-section-modern {
        min-height: auto;
        padding: 0;
    }

    .hero-section-modern .row {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .hero-title-modern {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle-modern {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-badge-wrapper {
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats-modern {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .stat-card {
        gap: 0.75rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .stat-info h3 {
        font-size: 1.75rem;
    }

    .stat-info p {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .video-modal-modern .video-modal-content {
        width: 95%;
    }

    .video-modal-modern .video-modal-close {
        top: -45px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hero-background {
        background-position: center center;
    }

    .hero-overlay-gradient {
        background: linear-gradient(135deg, rgba(58, 39, 39, 0.97) 0%, rgba(80, 174, 58, 0.9) 100%);
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .hero-section-modern .row {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .hero-title-modern {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle-modern {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.45rem 0.9rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-stats-modern {
        padding: 1rem;
        gap: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .stat-info p {
        font-size: 0.75rem;
    }

    .video-modal-modern .video-modal-content {
        width: 98%;
        border-radius: 12px;
    }

    .video-modal-modern .video-modal-close {
        top: -40px;
        width: 32px;
        height: 32px;
    }
}

/* Landscape en móviles */
@media (max-width: 992px) and (orientation: landscape) {
    .hero-section-modern {
        min-height: auto;
    }

    .hero-section-modern .row {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .hero-stats-modern {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 150px;
    }

    .scroll-indicator {
        display: none;
    }
}




/* Fix para que el video preview se vea correctamente */
.hero-section-modern .row {
    position: relative;
    z-index: 10;
}

.hero-section-modern .container {
    position: relative;
    z-index: 10;
}

.video-preview-wrapper {
    position: relative;
    z-index: 1;
}

.play-btn-modern {
    z-index: 5;
}

/* =====================================================
   ABOUT SECTION MODERN REDESIGN
   ===================================================== */

.about-home-section-modern {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.about-background-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(80, 174, 58, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-home-section-modern .container {
    position: relative;
    z-index: 1;
}

/* Image Grid */
.about-image-grid {
    position: relative;
    height: 600px;
}

.about-main-image {
    position: relative;
    width: 85%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-main-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 39, 39, 0.3) 0%, rgba(80, 174, 58, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-main-image:hover .image-overlay {
    opacity: 1;
}

.about-small-images {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 50%;
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.small-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.small-image:hover {
    transform: translateY(-10px);
}

.small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Experience Badge */
.about-experience-badge {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #50ae3a 0%, #3a8c2a 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(80, 174, 58, 0.4);
    z-index: 4;
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 10px));
    }
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-label {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-top: 0.25rem;
}

/* Pattern Dots */
.about-pattern-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #50ae3a 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 1;
}

/* Content */
.about-content-modern {
    padding-left: 2rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-tag-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #50ae3a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-tag-modern i {
    font-size: 1rem;
}

.section-title-modern {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-highlight {
    color: #50ae3a;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #50ae3a, #3a8c2a);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.about-description-modern {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2.5rem;
}

/* Features Modern */
.about-features-modern {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(80, 174, 58, 0.15);
}

.feature-icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #50ae3a, #3a8c2a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* CTA Buttons */
.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-about-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 51, 133, 0.3);
    transition: all 0.3s ease;
}

.btn-about-primary:hover {
    background: linear-gradient(135deg, #ff0068, #ff3385);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 51, 133, 0.5);
    color: white;
}

.btn-about-primary i {
    transition: transform 0.3s ease;
}

.btn-about-primary:hover i {
    transform: translateX(5px);
}

.btn-about-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #ff3385;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid #ff3385;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-about-secondary:hover {
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 133, 0.3);
}

/* Stats Row */
.about-stats-row {
    margin-top: 5rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(80, 174, 58, 0.1), rgba(58, 140, 42, 0.1));
    color: #50ae3a;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-image-grid {
        height: 500px;
    }

    .about-content-modern {
        padding-left: 1rem;
    }
}

@media (max-width: 992px) {
    .about-home-section-modern {
        padding: 4rem 0;
    }

    .about-image-grid {
        height: 450px;
        margin-bottom: 3rem;
    }

    .about-content-modern {
        padding-left: 0;
    }

    .section-title-modern {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }

    .about-description-modern {
        font-size: 1rem;
    }

    .about-stats-row {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .about-home-section-modern {
        padding: 3rem 0;
    }

    .about-image-grid {
        height: 400px;
    }

    .about-main-image {
        width: 100%;
        height: 70%;
    }

    .about-small-images {
        width: 60%;
        bottom: -20px;
        right: -10px;
    }

    .about-experience-badge {
        padding: 1.5rem;
        top: 20px;
        right: 20px;
        transform: none;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-label {
        font-size: 0.8rem;
    }

    .about-features-modern {
        gap: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .feature-text h4 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .about-cta {
        flex-direction: column;
    }

    .btn-about-primary,
    .btn-about-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .about-image-grid {
        height: 350px;
    }

    .about-main-image {
        height: 65%;
    }

    .about-small-images {
        width: 70%;
    }

    .about-experience-badge {
        padding: 1.25rem;
    }

    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .badge-number {
        font-size: 1.75rem;
    }

    .section-title-modern {
        font-size: 1.5rem;
    }

    .about-description-modern {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .about-stats-row {
        padding: 1.5rem 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Animation para AOS (opcional) */
[data-aos='fade-right'] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos='fade-right'].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos='fade-left'] {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos='fade-left'].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* =================================================================
   ABOUT & PROGRAMS PAGE STYLES
   ================================================================= */

/* Hero Sections for Pages */
.about-page-hero,
.programs-page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 130px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Page Content Sections */
.about-page-content,
.programs-page-content {
    padding: var(--spacing-xl) 0;
    background-color: #f8f9fa;
}

.about-content-card,
.programs-content-card {
    background: white;
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.content-section {
    margin-bottom: var(--spacing-lg);
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--secondary);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.content-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: var(--spacing-lg) 0;
}

/* About Story Section */
.about-story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge-about {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 51, 133, 0.4);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.2;
}

.story-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    line-height: 1.6;
    font-size: 1rem;
}

.about-list li i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon-about {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

/* Educational Features */
.educational-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.educational-feature:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.feature-icon-ed {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content-ed h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-content-ed p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    border-color: #ff3385;
    box-shadow: 0 10px 30px rgba(255, 51, 133, 0.15);
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Teachers Highlights */
.teachers-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.teacher-highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.teacher-highlight-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Certification Badges */
.certification-badge {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
}

.certification-badge:hover {
    border-color: #ff3385;
    box-shadow: 0 10px 30px rgba(255, 51, 133, 0.15);
    transform: translateY(-5px);
}

.cert-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ff3385, #ff0068);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 900;
}

.certification-badge h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.certification-badge p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Job Placement Box */
.job-placement-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    padding: var(--spacing-md);
    border: 2px solid #e0e0e0;
}

.placement-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.placement-header i {
    font-size: 3rem;
    color: #ff3385;
    margin-bottom: 0.5rem;
}

.placement-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.placement-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.placement-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.placement-benefits li:last-child {
    border-bottom: none;
}

.placement-benefits li i {
    color: #ff3385;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Facility Cards */
.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.facility-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.facility-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-content {
    padding: var(--spacing-md);
}

.facility-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facility-content h4 i {
    color: #ff3385;
}

.facility-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .about-page-hero,
    .programs-page-hero {
        min-height: 50vh;
        margin-top: 85px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-content-card,
    .programs-content-card {
        padding: var(--spacing-md);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .teachers-highlights {
        gap: 1rem;
    }
}