/* =========================
   HEADER / NAVBAR
========================= */

/* Fixed Navbar */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: #20363a;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

body {
    padding-top: 110px;
}

/* Full Width Container */
.nav-container {
    width: 100%;             
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;          
}

/* =========================
   LOGO SECTION
========================= */

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Logo Image */
.nav-logo img {
    height: 95px;
    width: 95px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f2e4d6;
}

/* Logo Text */
.logo-tagline {
    margin: 0;
    font-weight: 700;
    font-size: 28px;
    color: #f26522;
    position: relative;

    opacity: 0;
    animation: slideFromTop 1.2s ease forwards;
}

/* Underline */
.logo-tagline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    animation: underlineOnce 1.2s ease forwards;
}

/* Top → Bottom Animation */
@keyframes slideFromTop {
    0% {
        opacity: 0;
        transform: translateY(-60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Underline Animation */
@keyframes underlineOnce {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* =========================
   HAMBURGER MENU
========================= */

.menu-toggle {
    display: none;  
    font-size: 26px;
    color: #ffffff;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: #000;
        width: 100%;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Hover */
.menu-toggle:hover {
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.menu-toggle:active {
    transform: scale(0.95);
}
/* =========================
   MOBILE NAVIGATION
========================= */

@media (max-width: 991px) {

    
    .menu-toggle {
        display: block;
    }

    header {
        position: relative;
    }

    /* Hide menu by default */
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #1e3d3d;
        position: absolute;
        top: 100%;          
        left: 0;
        width: 100%;
        padding: 15px 0;
        text-align: center;
        z-index: 999;
    }

    
    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }
}
/* =========================
   MENU SECTION
========================= */

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    padding: 9px;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: #f26522;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

@media (max-width: 991px) {

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        flex-direction: column;

        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #1e3d3d;
        padding: 20px 0;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }
}

@media (max-width: 992px) {

    .nav-logo img {
        height: 90px;
        width: 90px;
    }

    .logo-tagline {
        font-size: 32px;
    }
}

@media (max-width: 768px) {

    .nav-logo .logo-link {
        gap: 8px;
    }

    .nav-logo img {
        height: 55px;
        width: 55px;
    }

    .logo-tagline {
        font-size: 18px;
    }
}

@media (max-width: 480px) {

    .nav-logo img {
        height: 70px;
        width: 70px;
    }

    .logo-tagline {
        font-size: 18px;
    }
}