header {
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4%;
    height: 90px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-section img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.logo-text {
    margin-left: 12px;
}

.logo-text h1 {
    font-size: 24px;
    color: #003366;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text p {
    color: #00A651;
    font-size: 13px;
    font-weight: 600;
    margin-top: 3px;
    text-align: left;
    white-space: nowrap;
}

/* DESKTOP NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar a:hover {
    color: #00A651;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #00A651;
    left: 0;
    bottom: -6px;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.book-header-btn {
    background: linear-gradient(135deg, #00A651, #003366);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.book-header-btn::after {
    display: none !important;
}

/* PURE CSS HAMBURGER (Hidden on Desktop) */
.menu-toggle {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #003366;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger to 'X' animation */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* TABLET & MOBILE (991px and down) */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex; /* Shows hamburger */
    }

    .navbar {
        position: fixed;
        top: 90px;
        right: -100%; /* Hidden by default */
        width: 270px;
        height: calc(100vh - 90px);
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px 25px;
        gap: 20px;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    .navbar.active {
        right: 0; /* Slides in from right */
    }

    .navbar a {
        font-size: 15px;
        width: 100%;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar a::after {
        display: none;
    }

    .book-header-btn {
        background: #00A651;
        color: #fff !important;
        text-align: center;
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    header {
        height: 75px;
        padding: 0 15px;
    }

    .logo-section img {
        width: 48px;
        height: 48px;
    }

    .logo-text h1 {
        font-size: 17px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .navbar {
        top: 75px;
        height: calc(100vh - 75px);
        width: 240px;
    }
}