/* Define the color scheme using CSS variables */
    :root {
        --primary-color: #0077b6;
        --secondary-color: #00b4d8;
        --white: #ffffff;
        --text-color: #0077b6;
        --grey-text-color: #555555;
        --light-border: #e6e6e6;
        --shadow: rgba(0, 0, 0, 0.1);
        --accent-cyan: #00c6ff;

    }

    /* Header styles */
    header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 1%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.5); 
        box-sizing: border-box;
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    }

    .logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo img {
        height: auto;
        width: 10rem;
    }

    /* Desktop Navigation Styles */
    nav a {
        color: var(--grey-text-color);
        font-size: 1.1rem;
        text-decoration: none;
        font-weight: bold;
        margin-left: .25rem;
        padding: 8px 15px;
        border-radius: 20px;
        position: relative;
        transition: color 0.3s ease;
    }

    /* Two-line hover effect */
    nav a::before,
    nav a::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 0%;
        height: 4px;
        background: var(--primary-color);
        border-radius: 4px;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    nav a::before { top: 0; }
    nav a::after { bottom: 0; }

    nav a:hover {
        color: var(--primary-color);
    }

    nav a:hover::before,
    nav a:hover::after {
        width: 70%;
    }

    nav a.active {
        color: var(--white);
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

    /* Burger Menu Button Styles */
    .burger {
        display: none;
        width: 48px;
        height: 48px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1100;
        background: none;
        border: none;
        outline: none;
        position: relative;
    }

    .burger .bar {
        position: absolute;
        left: 10px;
        right: 10px;
        height: 3px;
        border-radius: 2px;
        background: var(--primary-color);
        transition: transform 0.4s cubic-bezier(0.2, 1, 0.4, 1), opacity 0.3s;
    }

    .burger .bar1 { top: 14px; }
    .burger .bar2 { top: 22px; }
    .burger .bar3 { top: 30px; }

    .burger.active .bar1 {
        top: 22px;
        transform: rotate(45deg);
    }
    .burger.active .bar2 {
        opacity: 0;
        transform: scaleX(0.2);
    }
    .burger.active .bar3 {
        top: 22px;
        transform: rotate(-45deg);
    }

    /* --- Mobile Responsive Styles --- */
    @media (max-width: 960px) {
    .burger {
        display: flex;
    }
    header {
        position: fixed;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 35vw;
        max-width: 300px;
        height: 100vh;
        /* ✅ Stronger blur + translucent glass */
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(24px) saturate(200%);
        -webkit-backdrop-filter: blur(24px) saturate(200%);
        box-shadow: -4px 0 32px rgba(31, 38, 135, 0.2);
        border-left: 1px solid rgba(255, 255, 255, 0.25);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px 30px;
        transition: right 0.4s cubic-bezier(0.2, 1, 0.4, 1);
    }

    nav.open {
        right: 0;
    }

    nav a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 16px 0;
        margin: 0 0 25px 0;
        border-radius: 0;
        color: var(--secondary-color);
        position: relative;
    }

    /* nav a::before{
      display: none;
    } */

    /* ✅ Fixed top & bottom lines (always visible) */
    
    nav a::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 70%;   /* always visible */
        height: 3px;
        background: var(--secondary-color);
        border-radius: 4px;
        transform: translateX(-50%);
    }

    nav a::after {
        bottom: 0;
    }

    /* No hover effects needed */
    nav a:hover {
        color: var(--secondary-color);
    }
}