/* ================= NAVBAR ================= */
.navbar {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 250;
}

/* Mobile menu hidden by default on larger screens */
.mobile-menu {
    display: none;
}

.navbar.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 280;
    background: var(--dark-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
    z-index: 200;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    ;
    width: 100%;
}

.logo img {
    height: 50px;
    transform: translateX(-40px);
}

.hamburger {
    display: none;
    /* shown only on mobile via responsive.css */
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 0;
}

.nav-links a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    display: inline-block;
    padding: 10px 12px;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--gold);
}


.services-bar {
    position: relative;
    background: transparent;
    color: #ffffff;
    border-top: none;
    border-bottom: none;
    z-index: 260;
    width: 80%;
    margin: 0 auto;
}

.services-bar-fixed {
    position: fixed;
    left: 10%;
    right: auto;
    width: 80%;
    background: var(--gold);
    color: #000000;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

.services-bar-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 6px 0;
    overflow-x: auto;
}

.services-bar-tab {
    background: transparent;
    border: 0;
    color: inherit;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.1px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.services-bar-tab:hover,
.services-bar-tab:focus {
    background: rgba(255, 255, 255, 0.14);
}

.services-bar-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: auto;
    background: #ffffff;
    color: var(--dark-blue);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    width: 280px;
    max-width: 90vw;
    padding: 8px;
    border-radius: 6px;
}

.services-bar-dropdown.open {
    display: block;
}

.services-bar-panel {
    display: none;
    padding: 4px 0;
}

.services-bar-panel.active {
    display: block;
}

.services-bar-panel a {
    display: block;
    text-decoration: none;
    color: #102a43;
    font-family: 'Georgia', serif;
    padding: 8px 10px;
    border-radius: 4px;
    margin: 2px 0;
    font-size: 16px;
    font-weight: 600;
    font-weight: 600;
    font-weight: 600;
    font-weight: 600;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.2px;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.services-bar-panel a:hover {
    color: var(--dark-blue);
    background: rgba(212, 175, 55, 0.16);
    transform: translateX(2px);
}

.nav-cta {

    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
}

.navbar.navbar-fixed .nav-links a {
    color: var(--white);
}

.navbar.navbar-fixed .hamburger {
    color: var(--white);
}

/* Services button (top navbar) */

/* Align nav items with logo on larger screens */
@media (min-width: 768px) {
    .nav-links {
        transform: translateX(0);
    }

    .nav-cta {
        transform: translateX(30px);
    }
}

/* Laptops: show all service tabs on one line by shrinking text */
@media (max-width: 992px) {

    .services-bar,
    .services-bar-fixed {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
    }

    .services-bar-tabs {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 6px 0;
        overflow: hidden;
    }

    .services-bar-tab {
        font-size: 14px;
        padding: 5px 8px;
        white-space: nowrap;
    }
}

@media (max-width: 1366px) {
    .services-bar-tab {
        font-size: 13px;
        padding: 4px 7px;
    }
}

@media (max-width: 1280px) {
    .services-bar-tab {
        font-size: 12px;
        padding: 4px 6px;
    }
}

@media (max-width: 1140px) {
    .services-bar-tab {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
}

.stats-anchor {
    position: relative;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 40, 0.65);
    /* reduced opacity so the hero image is more visible */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
}

.hero-content h6 {
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-size: 22px;
}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-content p {
    color: var(--gold);
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}