/* ===================================================
   Sohail Academy v4.0
   Navigation Bar
=================================================== */

/* ===========================
   Navbar
=========================== */

.custom-navbar{
    background:var(--primary);
    padding:18px 0;
    min-height:100px;
    box-shadow:var(--shadow);
    transition:all .35s ease;
    z-index:9999;
}

/* ===========================
   Brand
=========================== */

.navbar-brand{
    display:flex;
    align-items:center;
    gap:18px;
}

/* ===========================
   Logo
=========================== */

.logo-box{
    width:90px;
    height:90px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}

.academy-logo{
    width:90px;
    height:90px;
    object-fit:contain;
    transition:.35s;
}

.academy-logo:hover{
    transform:scale(1.08) rotate(-4deg);
}

/* ===========================
   Brand Text
=========================== */

.brand-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    line-height:1.1;
}

.academy-title{
    margin:0;
    color:#ffffff;
    font-size:2rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.academy-tagline{
    margin-top:4px;
    color:var(--accent);
    font-size:.95rem;
    font-weight:600;
    letter-spacing:1px;
}

/* ===========================
   Navigation Links
=========================== */

.navbar-nav{
    align-items:center;
    gap:10px;
}

.nav-link{
    color:#ffffff !important;
    font-size:1rem;
    font-weight:600;
    padding:10px 18px !important;
    border-radius:50px;
    transition:.3s;
}

.nav-link:hover{
    color:var(--accent) !important;
    background:rgba(255,255,255,.08);
}

.nav-link.active{
    background:rgba(245,158,11,.15);
    color:var(--accent) !important;
}

/* ===========================
   Optional Button
=========================== */

.nav-btn{
    margin-left:20px;
    padding:11px 26px;
    border-radius:50px;
    background:var(--accent);
    color:var(--primary);
    font-weight:700;
    transition:.35s;
}

.nav-btn:hover{
    background:#ffffff;
    color:var(--primary);
    transform:translateY(-2px);
}

/* ===========================
   Navbar Toggle
=========================== */

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}

/* ===========================
   Sticky Navbar
=========================== */

.custom-navbar.scrolled{
    background:#08111F;
    padding:12px 0;
    min-height:80px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.custom-navbar.scrolled .logo-box{
    width:75px;
    height:75px;
}

.custom-navbar.scrolled .academy-logo{
    width:75px;
    height:75px;
}

.custom-navbar.scrolled .academy-title{
    font-size:1.7rem;
}

/* ===========================
   Desktop
=========================== */

@media(min-width:992px){
    .navbar{
        min-height:100px;
    }
}

/* ===========================
   Tablet
=========================== */

@media(max-width:991px){
    .custom-navbar{
        min-height:85px;
        padding:14px 0;
    }
    .logo-box{
        width:70px;
        height:70px;
    }
    .academy-logo{
        width:70px;
        height:70px;
    }
    .brand-text{
        display:none;
    }
    .navbar-collapse{
        margin-top:18px;
        padding:20px;
        border-radius:15px;
        background:var(--primary);
    }
    .navbar-nav{
        align-items:flex-start;
        gap:8px;
    }
    .nav-link{
        width:100%;
    }
}

/* ===========================
   Mobile
=========================== */

@media(max-width:576px){
    .logo-box{
        width:60px;
        height:60px;
    }
    .academy-logo{
        width:60px;
        height:60px;
    }
    .custom-navbar{
        min-height:75px;
    }
}
