/* ================================
   EDU SHARED HEADER
================================ */

.nav{
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(16px);
    border-bottom:1px solid #e5e7eb;
    padding:14px 0;
    position:sticky;
    top:0;
    z-index:1000;
    transition:box-shadow .3s
}

.nav.scrolled{
    box-shadow:0 4px 30px rgba(0,0,0,.06)
}

.nav-in{
    max-width:1200px;
    margin:0 auto;
    padding:0 32px;
    display:flex;
    justify-content:space-between;
    align-items:center
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#1e293b
}

.brand img{
    width:42px;
    height:42px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(249,115,22,.2)
}

.brand span{
    font-size:21px;
    font-weight:900;
    letter-spacing:-.5px;
    background:linear-gradient(135deg,#f97316,#ea580c);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent
}

.nav-links{
    display:flex;
    gap:6px;
    align-items:center
}

.nav-links a{
    text-decoration:none;
    color:#64748b;
    font-size:13px;
    font-weight:600;
    padding:8px 14px;
    border-radius:8px;
    transition:all .25s
}

.nav-links a:hover{
    color:#f97316;
    background:#fff7ed
}


/* ================================
   EDU SHARED FOOTER
================================ */

.footer{
    background:#0f172a;
    color:#fff;
    padding:60px 32px 20px;
    margin-top:0
}

.footer-in{
    max-width:1200px;
    margin:0 auto
}

.footer-top{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr 1fr;
    gap:50px;
    padding-bottom:45px
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px
}

.footer-brand img{
    width:42px;
    height:42px;
    border-radius:12px
}

.footer-brand span{
    font-size:21px;
    font-weight:900;
    color:#fff
}

.footer-desc{
    color:#94a3b8;
    font-size:13px;
    line-height:1.9;
    max-width:330px
}

.footer-col h4{
    font-size:14px;
    font-weight:800;
    margin-bottom:18px;
    color:#fff
}

.footer-col a{
    display:block;
    width:max-content;
    color:#94a3b8;
    text-decoration:none;
    font-size:12px;
    padding:5px 0;
    transition:all .25s
}

.footer-col a:hover{
    color:#fb923c;
    padding-right:5px
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:20px;
    text-align:center;
    color:#64748b;
    font-size:11px
}


/* ================================
   MOBILE
================================ */

@media(max-width:900px){

    .footer-top{
        grid-template-columns:1fr 1fr;
        gap:35px
    }

}

@media(max-width:768px){

    .nav-in{
        padding:0 16px
    }

    .brand img{
        width:36px;
        height:36px
    }

    .brand span{
        font-size:18px
    }

    .nav-links{
        gap:2px
    }

    .nav-links a{
        font-size:11px;
        padding:7px 8px
    }

    .footer{
        padding:45px 20px 20px
    }

    .footer-top{
        grid-template-columns:1fr 1fr;
        gap:30px 20px
    }

}

@media(max-width:520px){

    .nav-links a{
        display:none
    }

    .footer-top{
        grid-template-columns:1fr;
        gap:28px
    }

    .footer-desc{
        max-width:100%
    }

}

/* ===== EDU FINAL LAYOUT FIX ===== */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

body > .footer,
body > footer.footer {
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.footer {
    background: #0f172a !important;
    color: #fff !important;
    padding: 55px 32px 20px !important;
}

.footer-in {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.footer-top {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr 1fr 1fr !important;
    gap: 45px !important;
    padding-bottom: 40px !important;
}

.footer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.footer-col h4 {
    display: block !important;
    margin: 0 0 15px !important;
    color: #fff !important;
}

.footer-col a {
    display: block !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    margin: 0 0 9px !important;
    padding: 3px 0 !important;
    font-size: 12px !important;
}

.footer-bottom {
    display: block !important;
    width: 100% !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    padding-top: 18px !important;
    text-align: center !important;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr !important;
    }
}

/* ===== FINAL MOBILE FOOTER FIX ===== */

.footer-top > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 600px) {

    .footer {
        padding: 45px 24px 20px !important;
    }

    .footer-top {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
        padding-bottom: 30px !important;
    }

    .footer-top > div {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .footer-brand {
        justify-content: center !important;
    }

    .footer-desc {
        max-width: 100% !important;
        text-align: center !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-col h4 {
        margin-bottom: 10px !important;
    }

    .footer-col a {
        display: block !important;
    }

    .footer-bottom {
        display: block !important;
    }
}

/* ===== EDU FOOTER DEFINITIVE FIX ===== */

.footer-top > .footer-col {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.footer-top > .footer-col a,
.footer-top > .footer-col h4 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media screen and (max-width: 600px) {

    .footer {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer-in {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer-top {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 28px !important;
    }

    .footer-top > div,
    .footer-top > .footer-col {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        overflow: visible !important;
    }

    .footer-top > .footer-col {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-top > .footer-col h4 {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px !important;
    }

    .footer-top > .footer-col a {
        display: block !important;
        width: auto !important;
        margin: 0 0 8px !important;
    }
}
