/* ====== Header ====== */
header {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
    box-shadow: 2px 0px 4px rgba(0, 0, 0, .1);
    z-index: 9999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--light-blue);
    text-align: center;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}


header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 15px;
    position: relative;
}

header nav ul li::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0px;
    height: 1px;
    background-color: var(--light-blue);
    transition: all 0.2s;
}

header nav ul li:hover::after {
    width: 100%;
}

header nav ul li:hover a {
    color: var(--blue);
}

header nav a {
    color: var(--title-color);
    font-weight: 500;
}

.contact-number {
    color: var(--light-blue);
    font-weight: bold;
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: var(--title-color);
    border-radius: 5px;
}

header nav.open {
    right: 0;
}





@media (max-width: 768px) {
    .header-inner {
        padding: 1.5rem 0.5rem;
    }

    .logo {
        position: absolute;
        left: 45%;
    }

    nav {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background: var(--white);
        padding-top: 60px;
        transition: right 0.3s;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        z-index: 9998;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 15px 20px;
    }

    .menu-toggle {
        display: flex;
    }

}