/*
 * Shared layout fixes: keep the footer below the page content and inside
 * the GSAP ScrollSmoother content area.
 */
html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
}

body > form {
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#scrollSmoother-wrapper {
    position: relative;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
}

#scrollSmoother-container {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
}

.main {
    flex: 1 0 auto;
    width: 100%;
}

.footer {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    background-color: #e9f8ff;
}

.footer-wrapper {
    width: 100%;
}

@media (max-width: 767px) {
    .footer .footer-right,
    .footer .footer-col-four {
        margin-inline-start: 0;
    }

    .footer .footer-copyright-wrap {
        justify-content: center;
        text-align: center;
        row-gap: 12px;
    }
}


/* Sticky header support with GSAP ScrollSmoother */
.header-sticky-spacer {
    display: block;
    width: 100%;
    height: 0;
}

.header.fixed-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
}

/* Homepage hero slider (kept on Default.aspx, not in Site.Master) */
.home-hero-slider {
    position: relative;
    width: 100%;
    min-height: clamp(520px, 68vw, 760px);
    overflow: hidden;
    background: #152b3c;
    isolation: isolate;
}
.home-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity .8s ease, transform 5s ease, visibility .8s ease;
    background-size: cover;
    background-position: center;
}
.home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}
.home-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 22, 35, .82) 0%, rgba(5, 22, 35, .48) 48%, rgba(5, 22, 35, .08) 100%);
    z-index: 0;
}
.home-hero-content {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
    padding: 110px 0;
    color: #fff;
}
.home-hero-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: #f1c27d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.home-hero-title {
    max-width: 760px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 700;
    line-height: 1.08;
}
.home-hero-description {
    max-width: 590px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.88);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.75;
}
.home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border-radius: 50px;
    background: #be9a5e;
    color: #152b3c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .25s ease, transform .25s ease;
}
.home-hero-cta:hover { background: #fff; color: #152b3c; transform: translateY(-2px); }
.home-hero-controls {
    position: absolute;
    z-index: 3;
    right: max(24px, calc((100% - 1320px) / 2));
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.home-hero-arrow {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(0,0,0,.16);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: .2s ease;
}
.home-hero-arrow:hover { background: #be9a5e; border-color: #be9a5e; color: #152b3c; }
.home-hero-dots { display: flex; gap: 8px; margin: 0 8px; }
.home-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.home-hero-dot.is-active { width: 28px; background: #be9a5e; }
@media (max-width: 767px) {
    .home-hero-slider { min-height: 610px; }
    .home-hero-slide::before { background: linear-gradient(90deg, rgba(5,22,35,.78), rgba(5,22,35,.3)); }
    .home-hero-content { width: calc(100% - 36px); padding: 90px 0 130px; }
    .home-hero-title { font-size: clamp(38px, 11vw, 56px); }
    .home-hero-controls { right: 18px; bottom: 25px; }
    .home-hero-arrow { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero-slide, .home-hero-cta, .home-hero-dot { transition: none; }
}

/* Global Consultants header branding */
.header {
    background-color: #e9f8ff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.header.fixed-header {
    background-color: #e9f8ff !important;
    backdrop-filter: none;
}
.header .logo img {
    display: block;
    width: 145px;
    height: 104px;
    max-width: 145px !important;
    object-fit: contain;
}
.mobile-menu__logo img,
.search_logo img {
    background-color: #e9f8ff;
    object-fit: contain;
    max-width: 150px;
}
@media (max-width: 991px) {
    .header { padding-top: 6px !important; padding-bottom: 6px !important; }
    .header .logo img { width: 112px; height: 82px; max-width: 112px !important; }
}

/* Mobile navigation must sit above the sticky header at every scroll position. */
@media (max-width: 991px) {
    .side-overlay {
        z-index: 12000 !important;
    }

    .mobile-menu,
    .mobile-menu.active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        z-index: 12001 !important;
        background-color: #ffffff !important;
    }

    /* Keep the sticky header beneath the menu and its backdrop. */
    .header,
    .header.fixed-header {
        z-index: 1050 !important;
    }
}
