/* ===== Top Bar (Ada-like) ===== */
.as-topbar {
    background: #020617;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
  

}

.as-topbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
}

.as-topbar-left {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
}

.as-topbar-text {
    flex: 1;
    text-align: center;
    opacity: 0.9;
}
/* Subtle clickable topbar link */
.as-topbar-note-link {
    color: #fff;                 /* light blue like Ada */
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.18s ease, color 0.18s ease;
}

.as-topbar-note-link:hover {
    opacity: 1;
    color: #93c5fd ;                 /* brighter on hover */
    text-decoration: underline;
}



/* ===== Main Header – Ada-style pill nav ===== */

/* Sticky container for the pill bar, sits under the topbar */
.as-main-header {
    background: transparent;
    padding: 16px 0 22px;
    position: sticky;
    top: 40px; /* approx. topbar height */
    z-index: 900;
}

/* Pill card that holds logo + menu + CTA */
.as-header-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 24px;
    background: #fff;         /* 🔥 fully transparent */
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Left: logo */
.as-header-logo img {
    height: 40px;
    display: block;
}

/* Center: menu */
.as-header-nav {
    flex: 1;
}

.as-header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.as-header-menu li a {
    text-decoration: none;
    color: #020617;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    position: relative;
    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}

.as-header-menu li a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    margin: 0 auto;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.18s ease;
}

.as-header-menu li a:hover,
.as-header-menu li.current-menu-item a {
    color: #0f62fe;
    background-color: rgba(15, 97, 254, 0.06);
}

.as-header-menu li a:hover::after,
.as-header-menu li.current-menu-item a::after {
    width: 20px;
}

/* Right: CTA button */
.as-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.as-header-cta {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    padding: 10px 22px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: none;
    box-shadow: none;   /* shadow removed */
    transition:
        transform 0.16s ease,
        filter 0.16s ease;
}
.as-header-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #4a8bff, #9a60ff); /* slightly brighter gradient */
    color: #ffffff; /* keep text white */
    box-shadow: 0 6px 18px rgba(99, 121, 255, 0.25); /* soft glow */
}
.site-footer,
.as-footer {
    margin-top: 48px;   /* tweak 64–96px if you want more/less gap */
}


/* ===== Responsive tweaks ===== */

@media (max-width: 992px) {
    .as-topbar-text {
        font-size: 12px;
    }

    .as-header-container {
        padding: 8px 16px;
        gap: 20px;
    }

    .as-header-menu {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .as-topbar-inner {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .as-topbar-left {
        order: 1;
    }

    .as-topbar-text {
        order: 3;
        font-size: 11px;
    }

    .as-topbar-btn {
        order: 2;
    }

    .as-header-container {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .as-header-logo img {
        height: 32px;
    }

    .as-header-nav {
        flex: 1 0 100%;
        order: 3;
    }

    .as-header-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .as-header-right {
        order: 2;
    }

    .as-main-header {
        top: 48px; /* slightly lower on small screens */
    }
}
