*, *::before, *::after { padding: 0; margin: 0; box-sizing: border-box; }

:root {
    --blue-deep:   #050d1f;
    --blue-dark:   #0a1835;
    --blue-mid:    #0d2966;
    --blue-core:   #1547c8;
    --blue-bright: #2d6df6;
    --blue-glow:   #4d8fff;
    --blue-ice:    #a8c8ff;
    --blue-frost:  #deeaff;
    --white:       #f4f8ff;
    --accent:      #00e5ff;
    --accent2:     #ff6b35;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--blue-deep);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 999; opacity: .4;
}

/* ─── NAVBAR ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 60px;
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
    background: rgba(5,13,31,0.75);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(77,143,255,0.15);
    transition: background .3s;
}
nav.scrolled { background: rgba(5,13,31,0.95); }

.nav-logo {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: inherit;
}
.nav-logo-icon img {
    width: 60px;
    height: auto;
    display: grid;
    place-items: center;
}

.hamburger { display: none; }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.5px; }
.nav-logo-text span { font-size: .7rem; color: var(--blue-ice); letter-spacing: .05em; font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    text-decoration: none; color: var(--blue-frost);
    font-size: .9rem; font-weight: 400; letter-spacing: .03em;
    padding: 8px 16px; border-radius: 8px;
    transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(77,143,255,0.12);
    color: var(--white);
}
.nav-cta {
    background: var(--blue-core) !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(21,71,200,.5);
}
.nav-cta:hover { background: var(--blue-bright) !important; }




/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 60px 80px;
    position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 65% 40%, rgba(21,71,200,.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 15% 70%, rgba(0,229,255,.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 85% 80%, rgba(77,143,255,.1) 0%, transparent 50%),
        var(--blue-deep);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(77,143,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77,143,255,.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,229,255,.08); border: 1px solid rgba(0,229,255,.25);
    padding: 6px 16px; border-radius: 999px;
    font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 30px;
    animation: fadeUp .8s ease both;
}
.hero-badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 800; line-height: .95; letter-spacing: -2px;
    margin-bottom: 28px;
    animation: fadeUp .9s .1s ease both;
}
.hero-title .line-two { color: var(--blue-glow); }
.hero-title .word-accent {
    position: relative; display: inline-block;
    background: linear-gradient(120deg, var(--blue-bright), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem; line-height: 1.7; color: var(--blue-frost);
    max-width: 520px; font-weight: 300;
    margin-bottom: 48px;
    animation: fadeUp 1s .2s ease both;
}

.hero-actions {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    animation: fadeUp 1s .35s ease both;
}
.btn-primary {
    padding: 16px 36px; border-radius: 12px;
    background: var(--blue-core);
    color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 500;
    border: none; cursor: pointer; text-decoration: none;
    box-shadow: 0 0 30px rgba(21,71,200,.6), inset 0 1px 0 rgba(255,255,255,.1);
    transition: transform .2s, box-shadow .2s, background .2s;
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover {
    background: var(--blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(45,109,246,.7);
}
.btn-ghost {
    padding: 15px 30px; border-radius: 12px;
    background: transparent;
    color: var(--blue-frost); font-size: 1rem; font-weight: 400;
    border: 1px solid rgba(168,200,255,.25); cursor: pointer; text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover {
    border-color: var(--blue-glow);
    color: var(--white);
    background: rgba(77,143,255,.07);
}

.hero-stats {
    position: relative; z-index: 1;
    display: flex; gap: 60px; margin-top: 80px; flex-wrap: wrap;
    animation: fadeUp 1s .5s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 800;
    line-height: 1; color: var(--white);
    background: linear-gradient(90deg, var(--white), var(--blue-ice));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .8rem; color: var(--blue-ice); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

/* decorative floating card */
.hero-card {
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
    z-index: 1; display: flex; flex-direction: column; gap: 16px;
    animation: floatCards 1.2s .4s ease both;
}
@keyframes floatCards { from{opacity:0;transform:translateY(calc(-50% + 40px))} to{opacity:1;transform:translateY(-50%)} }
.glass-card {
    background: rgba(13,41,102,.5);
    border: 1px solid rgba(77,143,255,.2);
    backdrop-filter: blur(16px);
    border-radius: 20px; padding: 24px 28px;
    width: 280px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.glass-card-sm {
    width: 240px; padding: 18px 22px;
    margin-left: 40px;
}
.card-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-ice); margin-bottom: 10px; }
.card-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.card-sub { font-size: .82rem; color: var(--blue-frost); margin-top: 4px; }
.card-tag {
    display: inline-block; margin-top: 12px;
    padding: 4px 12px; border-radius: 999px; font-size: .75rem;
    background: rgba(0,229,255,.1); color: var(--accent); border: 1px solid rgba(0,229,255,.2);
}
.card-avatars { display: flex; margin-top: 12px; }
.avatar {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid var(--blue-dark); margin-left: -8px;
    display: grid; place-items: center; font-size: .7rem; font-weight: 600;
}
.avatar:first-child { margin-left: 0; }
.av1{background:linear-gradient(135deg,#1547c8,#4d8fff)}
.av2{background:linear-gradient(135deg,#00e5ff,#1547c8)}
.av3{background:linear-gradient(135deg,#ff6b35,#c81547)}
.av4{background:linear-gradient(135deg,#1547c8,#00e5ff)}
.av5{background:linear-gradient(135deg,#4d8fff,#ff6b35); font-size:.65rem; color:#fff;}

@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* ─── SECTION COMMON ─── */
section { padding: 120px 60px; }
.section-tag {
    display: inline-block; font-size: .75rem; letter-spacing: .15em;
    text-transform: uppercase; color: var(--accent);
    padding: 6px 14px; border-radius: 4px;
    background: rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.15);
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800; line-height: 1.05; letter-spacing: -1px;
    margin-bottom: 20px;
}
.section-desc { font-size: 1.05rem; color: var(--blue-frost); line-height: 1.7; max-width: 540px; font-weight: 300; }

/* ─── ABOUT ─── */
#about {
    background: #ffffff;
    border-top: none;
    border-bottom: none;
}
#about .section-tag {
    background: rgba(21,71,200,.07);
    border-color: rgba(21,71,200,.2);
    color: var(--blue-core);
}
#about .section-title { color: #0a1835; }
#about .section-desc { color: #2d4070; }
#about .about-list li { color: #2d4070; }
#about .about-list li::before { color: var(--blue-core); }
#about .btn-ghost {
    color: var(--blue-core);
    border-color: rgba(21,71,200,.3);
}
#about .btn-ghost:hover {
    background: rgba(21,71,200,.06);
    border-color: var(--blue-core);
    color: var(--blue-mid);
}
#about .about-ring { border-color: rgba(21,71,200,.2); }
#about .about-ring::before { border-color: rgba(21,71,200,.1); }
#about .about-ring::after { border-color: rgba(0,180,220,.08); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
    position: relative; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
}
.about-ring {
    width: 320px; height: 320px; border-radius: 50%;
    border: 1px solid rgba(77,143,255,.2);
    display: grid; place-items: center; position: relative;
}
.about-ring::before {
    content: ''; position: absolute; inset: -20px; border-radius: 50%;
    border: 1px dashed rgba(77,143,255,.1);
    animation: spin 20s linear infinite;
}
.about-ring::after {
    content: ''; position: absolute; inset: -50px; border-radius: 50%;
    border: 1px dashed rgba(0,229,255,.07);
    animation: spin 35s linear infinite reverse;
}
@keyframes spin { to{transform: rotate(360deg)} }
.about-center img {
    width: 200px; height: 200px; border-radius: 50%;
    background: white;
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 3rem; font-weight: 800;
    box-shadow: 0 0 60px rgba(120, 120, 120, 0.5);
    position: relative; z-index: 1;
}
.about-orbit {
    position: absolute; top: 10px; right: 10px;
    width: 56px; height: 56px; 
    border-radius: 50%;
    background: rgba(0,229,255,.15); 
    border: 1px solid rgba(0,229,255,.3);
    display: grid; 
    place-items: center; 
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--blue-core);
}
.orbit1{
    animation: orbit1 8s linear infinite;
}
.orbit2{
    animation: orbit2 8s linear infinite;
}
.orbit3{
    animation: orbit3 8s linear infinite;
}

@keyframes orbit1 {
    from{transform: rotate(0deg) translateX(190px) rotate(0deg)}
    to{transform: rotate(360deg) translateX(190px) rotate(-360deg)}
}
@keyframes orbit2 {
    from{transform: rotate(0deg) translateX(150px) rotate(0deg)}
    to{transform: rotate(360deg) translateX(150px) rotate(-360deg)}
}
@keyframes orbit3 {
    from{transform: rotate(0deg) translateX(110px) rotate(0deg)}
    to{transform: rotate(360deg) translateX(110px) rotate(-360deg)}
}



.about-list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.about-list li {
    display: flex; align-items: flex-start; gap: 14px;
    font-size: .95rem; color: var(--blue-frost); line-height: 1.5;
}
.about-list li::before {
    content: '→'; color: var(--accent); font-size: .9rem; margin-top: 2px; flex-shrink: 0;
}

/* ─── PROGRAMS ─── */
#programs { background: var(--blue-deep); }
.programs-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; gap: 40px; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
    background: rgba(13,41,102,.3);
    border: 1px solid rgba(77,143,255,.12);
    border-radius: 20px; padding: 36px 32px;
    transition: transform .3s, border-color .3s, background .3s;
    cursor: default; position: relative; overflow: hidden;
}
.program-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(21,71,200,.15), transparent);
    opacity: 0; transition: opacity .3s;
}
.program-card:hover { transform: translateY(-6px); border-color: rgba(77,143,255,.3); }
.program-card:hover::before { opacity: 1; }
.program-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-core));
    display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(21,71,200,.3);
}
.program-card h3 {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
    margin-bottom: 12px; color: var(--white);
}
.program-card p { font-size: .88rem; color: var(--blue-frost); line-height: 1.65; font-weight: 300; }
.program-tag {
    display: inline-block; margin-top: 20px; padding: 4px 12px;
    border-radius: 999px; font-size: .72rem; letter-spacing: .06em;
    background: rgba(77,143,255,.1); color: var(--blue-ice);
    border: 1px solid rgba(77,143,255,.15);
}
.program-card.featured {
    background: linear-gradient(135deg, rgba(21,71,200,.4), rgba(13,41,102,.6));
    border-color: rgba(77,143,255,.3);
}
.program-card.featured .program-icon {
    background: linear-gradient(135deg, var(--blue-core), var(--accent));
    box-shadow: 0 0 30px rgba(0,229,255,.3);
}

/* ─── NEWS / EVENTS ─── */
#news { background: #f0f5ff; border-top: 1px solid rgba(21,71,200,.08); }
#news .section-tag {
    background: rgba(21,71,200,.07);
    border-color: rgba(21,71,200,.2);
    color: var(--blue-core);
}
#news .section-title { color: #0a1835; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 60px; }
.news-card {
    background: #ffffff;
    border: 1px solid rgba(21,71,200,.1);
    border-radius: 16px; overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    box-shadow: 0 2px 16px rgba(21,71,200,.06);
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(21,71,200,.25); box-shadow: 0 8px 32px rgba(21,71,200,.12); }
.news-card-img {
    height: 160px; position: relative; overflow: hidden;
}
.news-card-img .img-fill {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-core) 50%, var(--blue-bright) 100%);
    display: grid; place-items: center; font-size: 2.5rem;
}
.news-card-img .img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,13,31,.5), transparent);
}
.news-card-body { padding: 24px; }
.news-date { font-size: .75rem; color: #5577aa; letter-spacing: .08em; margin-bottom: 8px; text-transform: uppercase; }
.news-card-body h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; color: #0a1835; }
.news-card-body p { font-size: .84rem; color: #2d4070; line-height: 1.6; font-weight: 400; }
.news-tag {
    display: inline-block; margin-top: 14px;
    padding: 3px 10px; border-radius: 999px; font-size: .7rem;
    background: rgba(21,71,200,.08); color: var(--blue-core);
    border: 1px solid rgba(21,71,200,.18);
}

/* ─── JOIN / CTA ─── */
#join {
    background: var(--blue-deep);
    position: relative; overflow: hidden;
}
#join .cta-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(21,71,200,.3) 0%, transparent 60%),
        var(--blue-deep);
}
.cta-inner {
    position: relative; z-index: 1;
    text-align: center; max-width: 680px; margin: 0 auto;
}
.cta-inner .section-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 24px; }
.cta-inner .section-desc { margin: 0 auto 48px; font-size: 1.05rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
    background: var(--blue-dark);
    border-top: 1px solid rgba(77,143,255,.1);
    padding: 60px 60px 40px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; margin-bottom: 60px;
}
.footer-brand .nav-logo {
    margin-bottom: 18px;
}


.footer-brand p { font-size: .88rem; color: var(--blue-frost); line-height: 1.7; font-weight: 300; max-width: 280px; }
.footer-col h4 {
    font-family: var(--font-display); font-size: .85rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ice);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    text-decoration: none; color: var(--blue-frost); font-size: .88rem;
    font-weight: 300; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(77,143,255,.1); padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8rem; color: rgba(168,200,255,.5);
}
.footer-socials {
    display: flex;
    gap: 12px; 
}
.social-btn {
    width: 36px; height: 36px;
    color: var(--blue-frost);
    border: 1px solid rgba(77,143,255,.15);
    border-radius: 10px;
    background: rgba(77,143,255,.08); 

    display: grid; place-items: center;
    font-size: .85rem;
    color: white;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    text-decoration: none;
}
.social-btn:hover {
    background: rgba(77,143,255,.2);
    border-color: var(--blue-glow);
    color: var(--white); }
    
.social-btn svg{
    color: white;
}




/* ─── DIVIDER ─── */
.divider-line {
    height: 1px; background: linear-gradient(90deg, transparent, rgba(77,143,255,.2), transparent);
}





/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ─── MOBILE ─── */
@media (max-width: 900px) {
    nav { padding: 0 24px; }
    .hero-card { display: none; }
    section { padding: 80px 24px; }
    #hero { padding: 120px 24px 80px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { display: none; }
    .programs-grid { grid-template-columns: 1fr; }
    .programs-header { flex-direction: column; align-items: flex-start; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .hero-stats { gap: 32px; }

    /* BURGER */
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 80px; left: 0; right: 0; padding: 16px 24px;
        background: rgba(5,13,31,0.97);
        border-bottom: 1px solid rgba(77,143,255,.15);
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .hamburger {
        display: flex; flex-direction: column; gap: 5px;
        cursor: pointer;
        padding: 8px;
        background: none;
        border: none;
    }
    .hamburger span {
        display: block; width: 24px; height: 2px;
        background: var(--white); border-radius: 2px;
        transition: transform .3s, opacity .3s; }
}