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

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #0052a3;
    --accent-blue: #00a8e8;
    --light-blue: #e6f2ff;
    --dark-blue: #003366;
    --purple-accent: #6b46c1;
    --pink-accent: #ec4899;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --gray-light: #f8fafc;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--gray-light);
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: 0.6;
    animation: loader-ripple 2s ease-out infinite;
}

.loader div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loader-ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shine 10s linear infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.top-bar-link {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.top-bar-link:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Ensure logo looks good when navbar is scrolled */
.navbar.scrolled .logo:hover {
    background-color: rgba(0, 102, 204, 0.05);
}
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.05), transparent);
    transition: left 0.5s ease;
}

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

.logo:hover {
    transform: translateY(-2px);
    background-color: rgba(0, 102, 204, 0.03);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

/* Logo animation on load */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo {
    animation: logoFadeIn 0.8s ease-out;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.6rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item:hover > .nav-link i {
    transform: rotate(180deg);
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: rgba(0, 102, 204, 0.08);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.dropdown-menu a:hover::before {
    height: 70%;
}

.dropdown-menu a:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.dropdown-menu a i {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* Subdropdown Menu Styles */
.subdropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.5rem 0;
    margin-left: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.subdropdown-menu::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-item:hover > .subdropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.subdropdown-menu a {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.subdropdown-menu a:hover {
    padding-left: 2rem;
}

/* Dropdown Item Styles */
.dropdown-item {
    position: relative;
}

.has-dropdown > .nav-link::after,
.has-subdropdown > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.has-dropdown:hover > .nav-link::after,
.has-subdropdown:hover > a::after {
    width: 80%;
}

/* Dropdown dividers */
.dropdown-menu > li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subdropdown-menu > li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--text-white);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-left: 1rem;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    color: var(--text-white) !important;
}

.nav-button span {
    position: relative;
    z-index: 1;
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0066cc 0%, #004494 50%, #0052a3 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-up 20s infinite linear;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--accent-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: slideInLeft 1s ease-out 0.2s both;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    background: linear-gradient(90deg, var(--text-white), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-button {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-button:hover::before {
    width: 300px;
    height: 300px;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--text-white);
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wave Divider */
.wave-divider {
    position: relative;
    width: 100%;
    height: 40px;
    background: var(--gray-light);
    margin-top: -40px;
}

.wave-divider svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Description Section */
.description {
    padding: 2rem 0 1.5rem;
    background: linear-gradient(180deg, var(--gray-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.description::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.description-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.description-text {
    padding: 1.5rem;
}

.description-text .mission-statement {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 168, 232, 0.05) 100%);
    border-left: 5px solid var(--primary-blue);
    border-radius: 10px;
    position: relative;
}

.description-text .mission-secondary {
    color: #4a5568;
    line-height: 1.9;
    font-size: 1.25rem;
    font-weight: 400;
}

.description-image {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 5px;
}

.description-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
}

.description-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    border-radius: 25px;
}

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

/* Programs Section - Modern Design */
.programs {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.programs::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 204, 0.03) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.programs::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(0, 168, 232, 0.02) 0%, transparent 60%);
    transform: rotate(25deg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-blue), transparent);
    border-radius: 3px;
    animation: lineMove 3s ease-in-out infinite;
}

@keyframes lineMove {
    0%, 100% { width: 200px; opacity: 0.8; }
    50% { width: 250px; opacity: 1; }
}

.programs-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.program-card {
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.3);
    border-color: var(--accent-blue);
}

.program-card-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: 65%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.85) saturate(1.1);
}

.program-card:hover .program-card-bg {
    transform: scale(1.08) translateY(-10px);
    filter: brightness(0.95) saturate(1.2);
}

.program-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        transparent 40%, 
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.8) 65%, 
        rgba(255, 255, 255, 0.95) 75%,
        #ffffff 100%
    );
    z-index: 2;
}

.program-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2.5rem 2.5rem;
    z-index: 3;
    background: linear-gradient(to top, #ffffff 60%, transparent);
}

.program-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.program-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: iconShine 4s linear infinite;
}

.program-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.program-card:hover .program-icon-wrapper::after {
    transform: translateX(100%);
}

@keyframes iconShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.program-card:hover .program-icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--text-white);
    z-index: 1;
    position: relative;
}

.program-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-card:hover .program-title {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-description {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    letter-spacing: 0.2px;
}

.program-card:hover .program-description {
    height: auto;
    opacity: 1;
}

.program-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.program-card:hover .program-features {
    opacity: 1;
    transform: translateY(0);
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 168, 232, 0.05) 100%);
    color: var(--primary-blue);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 204, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.feature-tag i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 168, 232, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.program-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.program-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.program-button:hover::before {
    width: 300px;
    height: 300px;
}

.program-card:hover .program-button {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.program-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.program-button i {
    transition: transform 0.3s ease;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

.program-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 1.5rem;
    z-index: 4;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.3s;
}

.program-card:hover .program-stats {
    opacity: 1;
    transform: translateX(0);
}

.stat-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.program-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 1s;
    z-index: 2;
}

.program-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

@media (min-width: 969px) {
    .program-card-hover-text::after {
        content: 'EXPLORAR';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        font-size: 3rem;
        font-weight: 900;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 5px;
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 10;
        text-shadow: 0 0 30px rgba(0, 102, 204, 0.8);
        pointer-events: none;
    }

    .program-card:hover .program-card-hover-text::after {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        animation: pulse 1.5s ease-in-out infinite;
    }
}

.program-card-tap-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(0, 102, 204, 0.6);
    display: none;
    animation: tapBounce 2s ease-in-out infinite;
}

@media (max-width: 968px) {
    .program-card-tap-indicator {
        display: block;
    }
}

@keyframes tapBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--text-white);
    position: relative;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

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

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.8);
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: var(--text-white);
    transition: var(--transition);
}

.service-card:hover .service-card-content {
    background: linear-gradient(to top, rgba(0, 102, 204, 0.95) 0%, rgba(0, 102, 204, 0.7) 50%, transparent 100%);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--text-white);
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--text-white);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--text-white), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

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

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .hero {
        min-height: 60vh;
    }

    .description {
        padding: 1.5rem 0 1rem;
        margin-top: 0;
    }

    .wave-divider {
        height: 30px;
        margin-top: -30px;
    }

    .logo img {
        height: 38px;
    }

    .logo {
        padding: 0.3rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--text-white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 5rem;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        justify-content: space-between;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(240, 245, 250, 0.5);
        border-radius: 0;
        margin: 0;
        padding: 0;
        transition: all 0.3s ease;
        border: none;
    }

    .nav-item.active > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding-left: 3rem;
        font-size: 0.95rem;
    }

    .dropdown-menu a:hover {
        padding-left: 3.5rem;
        background-color: rgba(0, 102, 204, 0.1);
    }

    .subdropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(230, 235, 240, 0.5);
        margin: 0;
        padding: 0;
        transition: all 0.3s ease;
    }

    .dropdown-item.active > .subdropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 0.3rem 0;
    }

    .subdropdown-menu a {
        padding-left: 4.5rem;
        font-size: 0.9rem;
    }

    .subdropdown-menu a:hover {
        padding-left: 5rem;
    }

    .nav-link i {
        transform: rotate(-90deg);
    }

    .nav-item.active > .nav-link i,
    .dropdown-item.active > a i {
        transform: rotate(0deg);
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-button {
        margin: 1rem 2rem;
        text-align: center;
        display: inline-block;
        width: calc(100% - 4rem);
    }

    .description-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .description-text {
        padding: 1rem;
    }

    .description-text .mission-statement {
        font-size: 1rem;
        padding: 1rem;
        letter-spacing: 0.3px;
    }

    .description-text .mission-secondary {
        font-size: 1.1rem;
    }

    .programs, .services, .cta {
        padding: 3rem 0;
    }

    .programs-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .program-card {
        height: 500px;
    }

    .program-card-content {
        padding: 2.5rem 2rem 2rem;
    }

    .program-icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 1.2rem;
    }

    .program-icon {
        font-size: 2rem;
    }

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

    .program-description {
        font-size: 0.95rem;
    }

    .program-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

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

    .program-number {
        font-size: 2.5rem;
        top: 15px;
        left: 15px;
    }

    .program-stats {
        position: static;
        margin-top: 1rem;
        opacity: 1;
        transform: none;
        justify-content: center;
    }

    .stat-item {
        padding: 0.6rem 1rem;
    }

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

    .program-card::after {
        display: none;
    }

    .service-card {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding: 1rem 0;
    }

    .social-links {
        justify-content: center;
    }

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

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

    .top-bar {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }

    .top-bar-container {
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .nav-button {
        margin: 1rem 2rem;
        text-align: center;
        display: inline-block;
        width: calc(100% - 4rem);
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-brand h3 {
        font-size: 1.4rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

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

    .program-title {
        font-size: 1.4rem;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .program-icon {
        font-size: 2rem;
    }

    .program-card-content {
        padding: 2rem 1.5rem;
    }

    .service-card-content {
        padding: 2rem 1.5rem;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}