:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.12);
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #4f46e5, #06b6d4);
    --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 50%, #24243e 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #e2e8f0;
    --bg-white: #ffffff;
    --bg-light: #f1f5f9;
    --border-color: rgba(148, 163, 184, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-dark-bg: rgba(15, 23, 42, 0.6);
    --glass-dark-border: rgba(255, 255, 255, 0.08);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.w-100 { width: 100%; justify-content: center; }

/* ============================================
   BUTTONS - Glassmorphic & Gradient
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
    color: white;
}

.btn-outline {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
}

/* ============================================
   HEADER - Glassmorphic Navigation
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 0 1rem 0 1.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

header.scrolled .nav-wrapper {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    color: var(--text-dark);
}

.nav-links a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.header-cta .btn-primary {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 50px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(79,70,229,0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(79, 70, 229, 0.15);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    border: 1px solid rgba(6, 182, 212, 0.25);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.15;
}

.hero-content h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0.85;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-btns .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.hero-btns .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-stat {
    position: absolute;
    background: var(--glass-dark-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-dark-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 5s ease-in-out infinite;
}

.floating-stat i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: rgba(6, 182, 212, 0.15);
    padding: 0.8rem;
    border-radius: 12px;
}

.floating-stat h4 {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    color: #ffffff;
}

.floating-stat p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

.stat-1 { bottom: 8%; left: -8%; }
.stat-2 { top: 15%; right: -8%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ============================================
   PROGRAM CARDS - Glass Style
   ============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.program-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(79, 70, 229, 0.15);
}

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.program-card:hover .icon-wrapper {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.program-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.program-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.read-more:hover {
    gap: 0.9rem;
    color: var(--primary-hover);
}

/* ============================================
   SCROLLER / MARQUEE
   ============================================ */
.scroller-container {
    overflow: hidden;
    padding: 1rem 0 2rem;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.scroller-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.scroller-track.reverse {
    animation: scroll-reverse 35s linear infinite;
}

.scroller-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes scroll-reverse {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

.scroller-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
    white-space: nowrap;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.scroller-item:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Student Cards */
.student-card {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-left: 5px solid transparent;
    border-image: var(--gradient-primary) 1;
    border-image-slice: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.student-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

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

.student-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.student-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.student-card .package {
    background: var(--gradient-primary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    align-self: flex-start;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
}

.info-item h4 {
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: var(--bg-white);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,70,229,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section .subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    position: relative;
}

.cta-section .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 80px 0 20px;
}

footer .logo {
    color: white;
}

footer .logo i {
    -webkit-text-fill-color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.scroll-top {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.scroll-top:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal-text, .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.active.reveal-text, .active.reveal-up, .active.reveal-right {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container, .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features li {
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

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

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links, .header-cta .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stat-1, .stat-2 {
        display: none;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

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