/*==============================================================
 NOVA EDUSPACE — IMAGE-REFERENCE FOOTER
 CSS-only ambience, animated stars/orbs and vector waves. No grid.
==============================================================*/
.nova-footer.nf-premium {
    --nf-cyan: #15d8f6;
    --nf-blue: #367dff;
    --nf-purple: #974cff;
    --nf-white: #f4f8ff;
    --nf-muted: #a9bad3;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 720px;
    overflow: hidden;
    color: var(--nf-white);
    background:
        radial-gradient(ellipse at 12% 38%, rgba(12,130,210,.10), transparent 34%),
        radial-gradient(ellipse at 91% 28%, rgba(105,45,210,.11), transparent 33%),
        linear-gradient(115deg, #020a17 0%, #041126 48%, #07091a 100%);
    border-top: 1px solid rgba(21,216,246,.28);
    font-family: inherit;
}
.nova-footer.nf-premium *,
.nova-footer.nf-premium *::before,
.nova-footer.nf-premium *::after { box-sizing: border-box; }
.nova-footer.nf-premium a { -webkit-tap-highlight-color: transparent; }

/* Background: plain deep space, no dotted/grid pattern */
.nf-space-effects { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.nf-space-effects::before {
    content:""; position:absolute; inset:0;
    background:
        radial-gradient(circle at 12% 37%, rgba(50,172,255,.09), transparent 1.2px),
        radial-gradient(circle at 76% 26%, rgba(155,91,255,.10), transparent 1.6px);
    opacity:.45;
}
.nf-space-effects::after {
    content:""; position:absolute; width:580px; height:240px; top:-175px; right:-70px;
    border:1px solid rgba(36,157,255,.17); border-radius:50%; transform:rotate(-12deg);
    box-shadow:0 0 30px rgba(48,98,255,.04);
}
.nf-star { position:absolute; display:block; z-index:1; line-height:1; font-weight:400; color:var(--nf-cyan); text-shadow:0 0 8px rgba(21,216,246,.85),0 0 22px rgba(21,216,246,.42); animation:nfStarDrift 5.2s ease-in-out infinite; will-change:transform,opacity; }
.nf-star--a { left:7%; top:31%; font-size:20px; }
.nf-star--b { left:24%; top:57%; color:#b897ff; font-size:25px; animation-delay:-1.7s; }
.nf-star--c { right:17%; top:28%; font-size:17px; animation-delay:-3.1s; }
.nf-star--d { right:6%; bottom:22%; color:#b897ff; font-size:21px; animation-delay:-2.4s; }
.nf-star--e { left:34%; top:24%; font-size:14px; animation-delay:-.8s; }
.nf-star--f { left:51%; bottom:17%; color:#b897ff; font-size:22px; animation-delay:-2.6s; }
.nf-star--g { right:33%; top:64%; font-size:15px; animation-delay:-3.8s; }
.nf-star--h { left:15%; bottom:18%; color:#b897ff; font-size:16px; animation-delay:-1.2s; }
.nf-star--i { left:64%; top:20%; font-size:13px; animation-delay:-4.3s; }
.nf-star--j { right:25%; bottom:26%; color:#b897ff; font-size:14px; animation-delay:-2.1s; }
.nf-orb { position:absolute; display:block; border-radius:50%; background:var(--nf-cyan); box-shadow:0 0 12px 3px rgba(21,216,246,.38); animation:nfOrbFloat 8.5s ease-in-out infinite alternate; }
.nf-orb--a { width:8px; height:8px; left:31%; top:31%; }
.nf-orb--b { width:7px; height:7px; left:18%; bottom:19%; background:#9b4fff; box-shadow:0 0 13px 3px rgba(151,76,255,.5); animation-delay:-3s; }
.nf-orb--c { width:12px; height:12px; right:12%; top:25%; background:#3f85ff; box-shadow:0 0 17px 5px rgba(63,133,255,.5); animation-delay:-5s; }
.nf-orb--d { width:9px; height:9px; right:20%; bottom:21%; animation-delay:-2s; }
.nf-orbit { position:absolute; width:240px; height:76px; border:1px solid rgba(21,216,246,.11); border-radius:50%; pointer-events:none; }
.nf-orbit--a { top:-38px; right:-55px; transform:rotate(-15deg); }
.nf-orbit--b { bottom:75px; left:28%; width:200px; border-color:rgba(151,76,255,.17); transform:rotate(-12deg); }

/* Vector wave dividers */
.nf-wave { position:absolute; left:0; width:100%; overflow:visible; pointer-events:none; z-index:-1; }
.nf-wave--top { top:0; height:178px; }
.nf-wave--bottom { bottom:54px; height:108px; }
.nf-wave path { fill:none; stroke-linecap:round; }
.nf-wave-line { stroke:url(#nfTopGradient); stroke-width:1.35; opacity:.9; }
.nf-wave--bottom .nf-wave-line { stroke:url(#nfBottomGradient); }
.nf-wave-line--soft { stroke-width:4; opacity:.17; filter:blur(3px); }
.nf-wave-line--secondary { stroke-width:.8; opacity:.68; }
.nf-wave-dash { stroke:rgba(39,200,255,.72); stroke-width:1.1; stroke-dasharray:3 13 38 17; opacity:.65; animation:nfWaveTravel 24s linear infinite; }

/* Main columns: sized to resemble the 2048 x 720 reference */
.nf-footer-content {
    position:relative; z-index:1; width:min(1810px,calc(100% - 120px)); margin:0 auto;
    padding:92px 0 64px; display:grid;
    grid-template-columns:1.43fr .68fr .82fr .78fr 1.38fr;
    column-gap:clamp(25px,2.7vw,58px); align-items:start;
}

/* Brand, built from type + CSS shapes only */
.nf-brand { min-width:0; min-height:285px; padding-right:clamp(20px,2.6vw,50px); border-right:1px solid rgba(109,158,217,.24); }
.nf-brand-lockup { display:flex; flex-direction:column; align-items:flex-start; width:fit-content; color:var(--nf-white); text-decoration:none; }
.nf-brand-emblem { position:relative; display:block; width:138px; height:100px; margin-left:7px; }
.nf-emblem-letter { position:absolute; left:16px; top:4px; color:#f8fbff; font-size:103px; line-height:.98; font-weight:850; letter-spacing:-12px; text-shadow:0 0 24px rgba(45,174,255,.12); }
.nf-emblem-orbit { position:absolute; z-index:1; width:113px; height:36px; left:8px; top:22px; border-top:2px solid var(--nf-cyan); border-radius:50%; transform:rotate(-42deg); filter:drop-shadow(0 0 4px rgba(21,216,246,.55)); }
.nf-emblem-rocket { position:absolute; z-index:2; right:0; top:5px; color:#a85aff; font-size:30px; line-height:1; transform:rotate(-42deg); text-shadow:0 0 12px rgba(151,76,255,.7); }
.nf-emblem-book { position:absolute; left:20px; bottom:4px; width:79px; height:13px; border-bottom:2px solid var(--nf-cyan); border-radius:50%; transform:rotate(-3deg); }
.nf-emblem-book::before,.nf-emblem-book::after { content:""; position:absolute; bottom:0; width:39px; height:9px; border-top:1px solid #d7ecff; border-radius:50%; }
.nf-emblem-book::before { left:0; transform:rotate(9deg); }
.nf-emblem-book::after { right:0; transform:rotate(-9deg); }
.nf-emblem-star { position:absolute; z-index:2; color:var(--nf-cyan); animation:nfStarDrift 4s ease-in-out infinite; }
.nf-emblem-star--one { top:-5px; right:18px; font-size:20px; }
.nf-emblem-star--two { top:42px; right:-2px; color:#bd8bff; font-size:14px; animation-delay:-2s; }
.nf-brand-wordmark { display:block; margin-top:4px; font-size:clamp(25px,1.85vw,35px); font-weight:800; letter-spacing:-1.25px; line-height:1.1; white-space:nowrap; }
.nf-brand-wordmark strong { background:linear-gradient(90deg,#21d7f5 0%,#578dff 55%,#ab54ff 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.nf-brand-tagline { display:flex; align-items:center; gap:8px; margin-top:9px; color:#c6d5e8; font-size:12px; letter-spacing:.45px; white-space:nowrap; }
.nf-brand-tagline i { display:block; width:23px; height:1px; background:#738cae; }
.nf-brand-description { max-width:340px; margin:21px 0 0; color:var(--nf-muted); font-size:15px; line-height:1.62; }

/* Navigation */
.nf-footer-links { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.nf-footer-links h3,.nf-connect h3 { position:relative; display:flex; align-items:center; gap:10px; margin:4px 0 26px; color:#f5f8ff; font-size:22px; line-height:1.2; font-weight:750; letter-spacing:-.45px; }
.nf-footer-links h3::after { content:""; position:absolute; left:0; bottom:-12px; width:48px; height:3px; border-radius:5px; background:linear-gradient(90deg,var(--nf-cyan),var(--nf-purple)); transition:width .3s ease; }
.nf-footer-links:hover h3::after { width:72px; }
.nf-footer-links a { position:relative; margin-bottom:16px; color:#c2d1e6; font-size:18px; line-height:1.35; text-decoration:none; white-space:nowrap; transition:color .22s ease,transform .22s ease; }
.nf-footer-links a::before { content:"›"; display:inline-block; width:0; overflow:hidden; color:var(--nf-cyan); font-size:23px; vertical-align:-1px; opacity:0; transition:width .22s ease,margin-right .22s ease,opacity .22s ease; }
.nf-footer-links a:hover { color:#fff; transform:translateX(2px); }
.nf-footer-links a:hover::before { width:14px; margin-right:5px; opacity:1; }

/* Newsletter and social links */
.nf-connect { min-width:0; min-height:285px; padding-left:clamp(20px,2.2vw,43px); border-left:1px solid rgba(109,158,217,.24); }
.nf-connect h3 { margin-bottom:18px; }
.nf-mail-symbol { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border:1px solid rgba(21,216,246,.35); border-radius:11px; background:linear-gradient(140deg,rgba(21,216,246,.17),rgba(151,76,255,.18)); color:var(--nf-cyan); font-size:22px; }
.nf-connect > p { max-width:370px; margin:0 0 23px; color:var(--nf-muted); font-size:16px; line-height:1.6; }
.nf-newsletter-form { display:flex; align-items:center; gap:6px; width:100%; max-width:430px; padding:5px; border:1px solid rgba(21,216,246,.65); border-radius:999px; background:rgba(1,8,22,.64); transition:border-color .25s ease,box-shadow .25s ease; }
.nf-newsletter-form:focus-within { border-color:var(--nf-cyan); box-shadow:0 0 20px rgba(21,216,246,.13); }
.nf-newsletter-form input { width:100%; min-width:0; height:44px; padding:0 15px; border:0; outline:0; color:#fff; background:transparent; font-family:inherit; font-size:15px; }
.nf-newsletter-form input::placeholder { color:#8498b3; opacity:1; }
.nf-newsletter-form button { display:grid; flex:0 0 58px; place-items:center; width:58px; height:42px; border:0; border-radius:999px; color:#fff; background:linear-gradient(110deg,#12cfee,#307dff 56%,#9949ff); box-shadow:0 0 16px rgba(57,125,255,.18); cursor:pointer; font-size:28px; transition:transform .25s ease,box-shadow .25s ease; }
.nf-newsletter-form button:hover { transform:translateX(2px); box-shadow:0 0 25px rgba(91,96,255,.42); }
.nf-socials { display:flex; align-items:center; gap:17px; margin-top:29px; }
.nf-socials a { display:grid; place-items:center; width:58px; height:58px; border:1px solid rgba(21,147,255,.75); border-radius:50%; color:#f5f9ff; background:rgba(3,16,36,.62); box-shadow:inset 0 0 13px rgba(26,105,208,.08); text-decoration:none; font-weight:750; font-size:25px; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease; }
.nf-socials a:nth-child(2) { border-color:rgba(151,76,255,.85); }
.nf-socials a:nth-child(4) { font-size:20px; }
.nf-socials a:hover { transform:translateY(-5px); background:rgba(21,216,246,.09); border-color:var(--nf-cyan); box-shadow:0 0 22px rgba(21,216,246,.2); }
.nf-instagram-glyph { position:relative; display:block; width:21px; height:21px; border:2px solid currentColor; border-radius:6px; }
.nf-instagram-glyph::before { content:""; position:absolute; width:8px; height:8px; border:2px solid currentColor; border-radius:50%; left:4.5px; top:4.5px; }
.nf-instagram-glyph::after { content:""; position:absolute; width:3px; height:3px; top:3px; right:3px; background:currentColor; border-radius:50%; }
.nf-youtube-glyph { display:grid; place-items:center; width:24px; height:17px; border-radius:5px; background:currentColor; color:#071426; font-size:11px; padding-left:2px; }
.nf-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Bottom bar */
.nf-footer-bottom { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:22px; width:min(1810px,calc(100% - 120px)); min-height:86px; margin:auto auto 0; padding:20px 0 28px; border-top:1px solid rgba(91,152,217,.30); color:#c3d0e5; font-size:16px; }
.nf-footer-bottom p { margin:0; }
.nf-footer-motto { display:flex; align-items:center; gap:12px; color:#c0cee2; white-space:nowrap; }
.nf-footer-motto span { color:var(--nf-cyan); font-size:22px; animation:nfStarDrift 4s ease-in-out infinite; }
.nf-footer-motto i,.nf-footer-legal i { display:inline-block; width:1px; height:17px; background:rgba(141,171,209,.65); }
.nf-footer-legal { display:flex; align-items:center; gap:20px; white-space:nowrap; }
.nf-footer-legal a { color:#c3d0e5; text-decoration:none; transition:color .2s ease; }
.nf-footer-legal a:hover { color:var(--nf-cyan); }

@keyframes nfStarDrift { 0%,100% { transform:translate3d(0,0,0) rotate(0deg) scale(.9); opacity:.68; } 50% { transform:translate3d(0,-8px,0) rotate(22deg) scale(1.14); opacity:1; } }
@keyframes nfOrbFloat { 0% { transform:translate3d(0,0,0) scale(.9); opacity:.65; } 100% { transform:translate3d(24px,-17px,0) scale(1.1); opacity:1; } }
@keyframes nfWaveTravel { from { stroke-dashoffset:0; } to { stroke-dashoffset:-600; } }

@media (max-width:1450px) {
    .nova-footer.nf-premium { min-height:660px; }
    .nf-footer-content,.nf-footer-bottom { width:min(1340px,calc(100% - 70px)); }
    .nf-footer-content { grid-template-columns:1.3fr .72fr .82fr .82fr 1.25fr; column-gap:25px; padding-top:92px; }
    .nf-brand { padding-right:22px; }
    .nf-connect { padding-left:22px; }
    .nf-footer-links h3,.nf-connect h3 { font-size:19px; }
    .nf-footer-links a { font-size:15px; margin-bottom:14px; }
    .nf-brand-wordmark { font-size:26px; }
    .nf-brand-description { font-size:13px; }
    .nf-connect > p { font-size:14px; }
    .nf-socials { gap:10px; }
    .nf-socials a { width:44px; height:44px; font-size:20px; }
    .nf-footer-bottom { font-size:13px; }
}
@media (max-width:1000px) {
    .nova-footer.nf-premium { min-height:0; }
    .nf-footer-content { width:calc(100% - 56px); grid-template-columns:1.2fr 1fr 1fr; gap:38px 28px; padding:86px 0 72px; }
    .nf-brand { min-height:0; padding-right:20px; }
    .nf-connect { grid-column:1/-1; min-height:0; padding:28px 0 0; border-left:0; border-top:1px solid rgba(109,158,217,.24); }
    .nf-connect > p,.nf-newsletter-form { max-width:500px; }
    .nf-footer-bottom { width:calc(100% - 56px); flex-wrap:wrap; min-height:76px; }
    .nf-footer-motto { order:3; width:100%; }
    .nf-wave--bottom { bottom:85px; }
}
@media (max-width:620px) {
    .nova-footer.nf-premium { min-height:0; }
    .nf-wave--top { height:125px; }
    .nf-wave--bottom { height:80px; bottom:102px; }
    .nf-footer-content { width:calc(100% - 38px); grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 22px; padding:76px 0 76px; }
    .nf-brand { grid-column:1/-1; border-right:0; padding-right:0; }
    .nf-brand-emblem { transform:scale(.82); transform-origin:left top; margin-bottom:-16px; }
    .nf-brand-wordmark { font-size:27px; }
    .nf-brand-description { max-width:440px; margin-top:15px; }
    .nf-footer-links h3,.nf-connect h3 { font-size:17px; margin-bottom:23px; }
    .nf-footer-links a { font-size:14px; white-space:normal; margin-bottom:13px; }
    .nf-connect { grid-column:1/-1; padding-top:25px; }
    .nf-connect > p { font-size:13px; }
    .nf-newsletter-form input { font-size:13px; }
    .nf-socials { margin-top:22px; gap:12px; }
    .nf-socials a { width:43px; height:43px; font-size:19px; }
    .nf-footer-bottom { width:calc(100% - 38px); align-items:flex-start; flex-direction:column; gap:13px; padding:18px 0 24px; font-size:12px; }
    .nf-footer-motto { order:0; white-space:normal; flex-wrap:wrap; gap:8px; }
    .nf-footer-legal { gap:12px; font-size:12px; flex-wrap:wrap; }
}
@media (prefers-reduced-motion:reduce) {
    .nova-footer.nf-premium *, .nova-footer.nf-premium *::before, .nova-footer.nf-premium *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/*==============================================================
  REFINED SPACING + THIN WAVY EDGE BORDERS
  Keep the same content layout; remove excess top/bottom whitespace.
==============================================================*/
.nova-footer.nf-premium {
    min-height: 0 !important;
    font-family: inherit;
}
.nf-space-effects {
    z-index: 0;
}
.nf-space-effects::before {
    content: none !important;
    background: none !important;
}
.nf-space-effects::after,
.nf-orbit {
    display: none !important;
}
.nf-wave {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}
.nf-wave--top {
    top: 0;
    height: 42px;
}
.nf-wave--bottom {
    bottom: 64px;
    height: 34px;
}
.nf-wave path {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.nf-wave-line {
    stroke: url(#nfTopGradient);
    stroke-width: 1.35;
    opacity: .92;
}
.nf-wave--bottom .nf-wave-line {
    stroke: url(#nfBottomGradient);
}
.nf-wave-line--soft {
    stroke-width: 4;
    opacity: .16;
    filter: blur(2.5px);
}
.nf-wave-dash {
    stroke: rgba(39, 200, 255, .7);
    stroke-width: .9;
    stroke-dasharray: 3 12 30 16;
    opacity: .55;
    animation: nfWaveTravel 28s linear infinite;
}
.nf-footer-content {
    position: relative;
    z-index: 2;
    padding-top: 58px !important;
    padding-bottom: 34px !important;
}
.nf-footer-bottom {
    position: relative;
    z-index: 2;
    min-height: 64px !important;
    padding-top: 15px !important;
    padding-bottom: 17px !important;
    margin-top: auto;
}
.nf-brand,
.nf-connect {
    min-height: 0;
}

@media (max-width: 1450px) {
    .nova-footer.nf-premium { min-height: 0 !important; }
    .nf-footer-content { padding-top: 58px !important; padding-bottom: 32px !important; }
}
@media (max-width: 1000px) {
    .nf-footer-content { padding-top: 54px !important; padding-bottom: 32px !important; }
    .nf-wave--bottom { bottom: 78px; }
}
@media (max-width: 620px) {
    .nf-wave--top { height: 34px; }
    .nf-wave--bottom { height: 28px; bottom: 94px; }
    .nf-footer-content { padding-top: 48px !important; padding-bottom: 30px !important; }
    .nf-footer-bottom { padding-top: 15px !important; padding-bottom: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .nf-wave-dash { animation: none !important; }
}


/* OFFICIAL NOVA EDUSPACE FOOTER LOGO */

.nf-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    text-decoration: none;
}

.nf-brand-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.nf-brand-tagline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #c6d5e8;
    font-size: 12px;
    letter-spacing: .45px;
    white-space: nowrap;
}

.nf-brand-tagline i {
    display: block;
    width: 23px;
    height: 1px;
    background: #738cae;
}

@media (max-width: 620px) {
    .nf-brand-logo {
        width: 230px;
    }
}
.nf-footer-credit {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2px;
    transform: translateX(-25px);
}

.nf-footer-credit strong {
    color: #70d9ff;
    font-weight: 500;
}

.nf-footer-bottom p {
    font-size: 10px;
}

.nf-footer-credit strong {
    font-size: 9px;
    font-weight: 500;
    color: #70d9ff;
}
.nf-footer-bottom {
    min-height: 55px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-sizing: border-box;
}