header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 10px 40px;
    background: var(--white-color);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;

    /* Add a super soft, elegant shadow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    min-height: 70px;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff99, transparent);
    opacity: 0.3;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(46, 204, 113, 0.5));
}

.tagline {
    margin: 0;
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--logo-color);
    border-radius: 3px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: var(--black-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--logo-color);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--logo-color);
    text-shadow: none;
}

nav a:hover::after {
    width: 100%;
}