﻿/* =====================================================
   SERVICES PAGE STYLESHEET (services.css)
   FinLex International Advisory — Luxury Editorial Design
===================================================== */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f4f4f1;
    color: #111;
    overflow-x: hidden;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: #111111;
    color: #fff;
}

/* THEME PALETTE & VARIABLES */
:root {
    --black: #050c17;
    --navy: #071527;
    --navy-surface: #0d1f36;
    --navy-elevated: #112744;
    --white: #ffffff;
    --paper: #f8f9fa;
    --paper-card: #ffffff;
    --grey: #5a6679;
    --grey-light: #8c9ba5;
    --line: rgba(7, 21, 39, 0.08);
    --dark-line: rgba(255, 255, 255, 0.12);
    --container: min(1280px, calc(100% - 80px));
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
    --primary: #071527;
    --primary-surface: #0d1f36;
    --primary-elevated: #112744;
    
    /* Institutional Gold & Navy Palette */
    --gold: #c5a059;
    --gold-light: #dfb76c;
    --gold-dim: rgba(197, 160, 89, 0.12);
    --gold-glow: rgba(197, 160, 89, 0.25);
    --gold-border: rgba(197, 160, 89, 0.35);
    --accent-bronze: #c5a059;
    --accent-bronze-dim: rgba(197, 160, 89, 0.12);
    --accent-bronze-glow: rgba(197, 160, 89, 0.25);
    
    --accent-sage: #c5a059;
    --accent-sage-dim: rgba(197, 160, 89, 0.12);
    --accent-sage-glow: rgba(197, 160, 89, 0.25);
    
    --accent-wine: #c5a059;
    --accent-wine-dim: rgba(197, 160, 89, 0.12);
    --accent-wine-glow: rgba(197, 160, 89, 0.25);
    
    --accent-indigo: #c5a059;
    --accent-indigo-dim: rgba(197, 160, 89, 0.12);
    --accent-indigo-glow: rgba(197, 160, 89, 0.25);
    
    --accent-terracotta: #c5a059;
    --accent-terracotta-dim: rgba(197, 160, 89, 0.12);
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    letter-spacing: .18em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--grey);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.section-index {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-index span:first-child {
    font-weight: 600;
    color: var(--black);
}

.section-index span:last-child {
    color: var(--grey);
}

.section-index.light span:first-child {
    color: #fff;
}

.section-index.light span:last-child {
    color: rgba(255, 255, 255, .5);
}

/* =====================================================
   PRELOADER
===================================================== */

.preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    color: white;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    width: 190px;
    text-align: center;
}
.loader-logo {
    width: 102px;
    height: 102px;
    margin: auto;
    overflow: hidden;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;
    top: 0px;
    left: 0;

    width: 100%;
    height: 92px;

    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    
    z-index: 1000;

    color: #fff;

    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    transition:
        background .5s var(--ease),
        color .5s var(--ease),
        height .5s var(--ease),
        transform .5s var(--ease);
}

.navbar.scrolled {
    height: 93px;

    background: var(--primary);
    backdrop-filter: blur(18px);

    color: var(--paper);

    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
}

/* =====================================================
   DESKTOP HEADER LOGO — PROMINENT, BOLD & PRESTIGIOUS
===================================================== */
.brand-logo.desktop {
    display: flex;
    align-items: center;
    height: 82px;
    width: auto;
}

.brand-logo.desktop img {
    height: 78px;
    max-height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: height 0.35s var(--ease), max-height 0.35s var(--ease);
}

.navbar.scrolled .brand-logo.desktop {
    height: 64px;
}

.navbar.scrolled .brand-logo.desktop img {
    height: 60px;
    max-height: 62px;
}

/* Mobile Header Logo */
.brand-logo.mobile {
    display: none;
    align-items: center;
    height: 48px;
    width: auto;
}

.brand-logo.mobile img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 35px;
    /* border: 1px solid red; */
}

.desktop-nav a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    letter-spacing: .07em;
    text-transform: uppercase;

    padding: 8px 0;

    overflow: hidden;
    /* border: 1px solid red; */
}

.desktop-nav a span {
    /* border: 1px solid green; */
    padding-top: 5px;
    min-height: 100%;
    font-size: 11px;
    opacity: .45;
    transform: translateY(-2px);
}

.desktop-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: currentColor;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform .45s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid rgba(255,255,255,.35);
    padding: 11px 15px;

    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;

    transition:
        background .4s ease,
        color .4s ease,
        border .4s ease;
}

.navbar.scrolled .nav-cta {
    border-color: #111;
    background-color: white;
    color: var(--black);
}
.navbar.scrolled .nav-cta:hover {
    border-color: #f8f8f8;
    background-color: rgb(8, 8, 8);
    color: var(--paper);
}

.nav-cta i {
    font-style: normal;
    font-size: 13px;

    transition: transform .4s var(--ease);
}

.nav-cta:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.nav-cta:hover i {
    transform: translate(3px,-3px);
}

.menu-button {
    display: none;
    color: inherit;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    position: fixed;
    inset: 0;

    background: var(--primary);

    z-index: 2000;

    padding: 28px 24px;

    display: flex;
    flex-direction: column;

    transform: translateY(-100%);
    visibility: hidden;

    transition:
        transform .6s var(--ease),
        visibility .6s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255,255,255,.1);

    color: rgba(255,255,255,.5);

    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mobile-menu-top button {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #fff;

    font-size: 9px;
    letter-spacing: .1em;
}

.mobile-links {
    display: flex;
    flex-direction: column;

    margin-top: 45px;
}

.mobile-links a {
    display: flex;
    align-items: baseline;
    gap: 20px;

    padding: 19px 0;

    border-bottom: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.55);

    transition: color .3s ease;
}

.mobile-links a small {
    width: 24px;

    font-size: 9px;
    color: rgba(255,255,255,.25);
}

.mobile-links a span {
    font-family: "Manrope", sans-serif;

    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.mobile-links a.active,
.mobile-links a:hover {
    color: #fff;
}

.mobile-links a.active small {
    color: var(--accent-bronze);
}
.mobile-links a.active span {
    color: var(--accent-bronze);
}

.mobile-menu-footer {
    margin-top: auto;

    padding-top: 25px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-size: 10px;
    line-height: 1.6;

    color: rgba(255,255,255,.4);
}


/* =====================================================
   HERO SECTION
===================================================== */
.page-hero {
    position: relative;
    background: var(--primary);
    color: #fff;
    padding: 160px 0 100px;
    overflow: hidden;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 30%, rgba(184, 147, 100, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 20% 80%, rgba(57, 81, 116, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(18, 19, 26, 0.5) 0%, rgba(18, 19, 26, 1) 100%);
    z-index: 1;
}


.page-hero-container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    padding: 6px 14px;
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    /* background: rgba(255, 255, 255, 0.04); */
    border-radius: 100px;
    width: fit-content;
}

.hero-tag-badge {
    width: 6px;
    height: 6px;
    background: var(--accent-bronze);
    border-radius: 50%;
}

.page-hero-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5.5vw, 48px);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 500;
}

.page-hero-title span {
    display: block;
    color: rgba(255, 255, 255, .55);
}

.page-hero-lead {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .72);
    max-width: 780px;
}

/* INTERACTIVE CATEGORY FILTER TABS */
.filter-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .3s var(--ease);
}

.filter-pill:hover,
.filter-pill.active {
    background: #fff;
    color: #111;
    border-color: #fff;
    transform: translateY(-2px);
}

/* =====================================================
   SERVICES INTERACTIVE CAROUSEL & TRACK
===================================================== */
.services-main-section {
    position: relative;
    background: #f4f4f1;
    padding: 120px 0;
    z-index: 10;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.services-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
}

.section-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -.05em;
    line-height: 1.05;
    font-weight: 500;
    margin-top: 16px;
}

.section-title span {
    display: block;
    color: var(--grey);
}

.carousel-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-counter {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    display: flex;
    color: var(--grey);
}

.carousel-counter strong {
    color: #111;
    font-size: 16px;
}

.carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s var(--ease);
    color: #111;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.06);
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* CAROUSEL TRACK & SCULPTED CARDS */
.services-carousel-viewport {
    position: relative;
    overflow: hidden;
    padding: 15px 0 35px;
}

.services-track {
    display: flex;
    gap: 28px;
    transition: transform .6s var(--ease);
}

/* SIMPLE MODERN SERVICE CARDS */
.service-card-sculpted {
    flex: 0 0 calc(33.333% - 19px);
    min-width: 330px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(7, 21, 39, 0.03);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.service-card-sculpted::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}

.service-card-sculpted:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(7, 21, 39, 0.08);
    border-color: rgba(197, 160, 89, 0.35);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.service-num-badge {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--gold);
}

.service-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.service-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
}

.service-title {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--navy);
}

.service-question {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--grey);
    margin-bottom: 22px;
}

.service-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
}

.deliverable-chip {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 100px;
    background: #f8f9fa;
    color: var(--navy);
    border: 1px solid var(--line);
}

.service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--navy);
    transition: all .3s var(--ease);
}

.service-action-btn:hover {
    background: var(--primary);
    color: var(--gold);
    border-color: var(--gold);
}

.service-action-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform .3s ease;
}

.service-action-btn:hover svg {
    transform: translateX(4px);
}

/* =====================================================
   STRATEGIC APPROACH (DARK LUXURY DUAL-TONE)
===================================================== */
.strategic-section {
    position: relative;
    background: var(--primary);
    color: #fff;
    padding: 130px 0;
    z-index: 10;
    overflow: hidden;
}

.strategic-grid-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-end;
    margin-bottom: 70px;
}

.strategic-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    letter-spacing: -.05em;
    line-height: 1.05;
    margin-top: 16px;
    font-weight: 500;
}

.strategic-title span {
    display: block;
    color: var(--gold);
}

.strategic-lead {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    border-left: 2px solid var(--gold);
    padding-left: 22px;
}

.strategic-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.strategic-card {
    background: var(--accent-bronze);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
}

.strategic-card:hover {
    transform: translateY(-6px);
    background: var(--accent-bronze);
    border-color: var(--gold);
}

.strategic-card-num {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--paper);
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.strategic-card h4 {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 14px;
}

.strategic-card p {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

/* =====================================================
   THE FINLEX ADVANTAGE (POLYGONAL PILLARS)
===================================================== */
.why-finlex-section {
    position: relative;
    background: var(--paper);
    padding: 120px 0;
    z-index: 10;
}

.pillars-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.finlex-pillar-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    box-shadow: 0 4px 20px rgba(7, 21, 39, 0.03);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.finlex-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(7, 21, 39, 0.06);
    border-color: rgba(197, 160, 89, 0.35);
}

.pillar-index {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .08em;
    opacity: 1;
}

.pillar-heading {
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 10px;
    color: var(--navy);
}

.finlex-pillar-card p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--grey);
}

/* =====================================================
   CTA BANNER
===================================================== */
.cta-banner-section {
    position: relative;
    background: var(--accent-bronze);
    padding: 100px 0 120px;
    z-index: 10;
}

.cta-box-sculpted {
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    padding: 70px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.cta-box-sculpted::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.16) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box-sculpted2 {
    background: var(--primary);
    color: #ffffff;
    border-radius: 20px;
    padding: 70px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.cta-box-sculpted2::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.16) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 3.5vw, 46px);
    letter-spacing: -.04em;
    line-height: 1.1;
    font-weight: 500;
    margin-top: 14px;
}

.cta-content .eyebrow2 {
    color: var(--gold) !important;
}

.cta-title2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    letter-spacing: -.03em;
    line-height: 1.35;
    font-weight: 500;
    margin-top: 14px;
    color: #ffffff;
}

.cta-title span {
    display: block;
    color: var(--gold);
}

.cta-title2 span {
    display: block;
    color: var(--gold);
}

.cta-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--gold);
    color: #050c17;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 8px;
    transition: all .35s var(--ease);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: #050c17;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-primary svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #fff;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 8px;
    transition: all .35s var(--ease);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: var(--primary);

    color: #fff;

    padding: 0px 0 30px 40px ;

    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;
    padding-bottom: 60px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;
    margin-top: 0px;
}

.footer-brand img {
    width: 286px;
    height: 186px;

    object-fit: contain;

    border-radius: 4px;
}

.footer-brand span {
    font-family: "Manrope", sans-serif;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .16em;
    color: #fff;
}

.footer-tagline {
    margin-top: 8px;

    font-size: 13px;

    color: rgba(255,255,255,.6);
}

.footer-cta-quick {
    text-align: right;
    height: 100%;
    padding-top: 50px;
}

@media (max-width: 600px) {
    .footer-top :first-child {
        width: 100%;

    }
    .footer-tagline {
        display: flex;
        justify-content: center;
    }
}

.footer-cta-quick span {
    display: block;

    font-size: 9px;

    letter-spacing: .14em;

    text-transform: uppercase;

    color: var(--gold);
    font-weight: 600;
}

.footer-cta-quick a {
    display: block;

    margin-top: 4px;

    font-family: "Manrope", sans-serif;

    font-size: 18px;

    font-weight: 600;

    color: #fff;
    transition: color .3s ease;
}

.footer-cta-quick a:hover {
    color: var(--gold);
}

.footer-middle {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding: 60px 0;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-column span {
    display: block;

    margin-bottom: 22px;

    font-size: 13px;

    letter-spacing: .15em;

    text-transform: uppercase;

    color: var(--gold);
    font-weight: 600;
}

.footer-column a {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
    transition: color .3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-column p {
    font-size: 12px;

    line-height: 1.8;

    color: rgba(255,255,255,.6);
}

.footer-column a {
    display: block;

    margin-bottom: 12px;

    font-size: 12px;

    color: rgba(255,255,255,.75);

    transition: color .25s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-disclaimer-box {
    padding: 30px 0;

    font-size: 13px;

    line-height: 1.7;

    color: rgba(255,255,255,.4);

    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-disclaimer-box strong {
    color: rgba(255,255,255,.6);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding-top: 30px;

    font-size: 10px;

    color: rgba(255,255,255,.4);
}

/* =====================================================
   RESPONSIVE (TABLET & MOBILE)
===================================================== */
@media (max-width: 1080px) {
    .service-card-sculpted {
        flex: 0 0 calc(50% - 14px);
    }

    .pillars-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    :root {
        --container: calc(100% - 40px);
    }

    .navbar {
        padding: 0 20px;
        height: 93px;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .menu-button {
        width: 40px;
        height: 40px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        cursor: pointer;
        color: inherit;
    }

    .menu-button span {
        width: 24px;
        height: 1.5px;

        background: currentColor;

        display: block;
        margin-left: auto;
        transition: background .4s var(--ease);
    }

    .page-hero {
        padding: 130px 0 80px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .strategic-grid-intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .strategic-cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-box-sculpted {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
        padding: 45px 30px;
    }
    .cta-box-sculpted2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
        padding: 45px 30px;
    }
}

@media (max-width: 1100px) {
    .footer-middle {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .service-card-sculpted {
        flex: 0 0 calc(100% - 10px);
    }

    .finlex-pillar-card p {
        font-size: 1rem;
    }
    .strategic-closing-copy p {
        font-size: 1rem;
    }
    .strategic-lead {
        font-size: 1rem;
    }
    .pillars-grid-4 {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 5px 0 30px;
    }

    .footer-top {
        flex-direction: column;

        gap: 25px;

        padding-bottom: 40px;
    }

    .footer-cta-quick {
        text-align: left;
    }

    .footer-middle {
        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;

        padding: 45px 0;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }
}

@media (max-width: 600px) {
    :root {
        --container: calc(100% - 30px);
    }

    .services-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-middle {
        grid-template-columns: 1fr;
    }

    .footer-column:first-child {
        grid-column: auto;
    }
}


/* =====================================================
   NEXT-GEN MOTION / FIXED HERO OVERRIDES
   ===================================================== */
html, body {
    min-height: 100%;
}

body {
    position: relative;
    isolation: isolate;
}


.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(184,147,100,.10) 0%, rgba(184,147,100,.035) 35%, transparent 70%);
    filter: blur(12px);
    mix-blend-mode: multiply;
}

/* The hero is now a true fixed visual layer. All following sections
   occupy normal document flow and slide above it. */
.page-hero {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
    min-height: 620px;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 0;
    border-radius: 0;
    border: 0;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8,9,12,.22) 0%, rgba(8,9,12,.34) 46%, rgba(8,9,12,.88) 100%);
}

.page-hero-bg {
    position: absolute;
    inset: -5%;
    z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(11,12,15,.28), rgba(11,12,15,.72)),
        url("./assets/services-hero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    will-change: transform;
}

.page-hero-container {
    width: var(--container);
    /* margin-inline: auto; */
    position: relative;
    z-index: 4;
    gap: 24px;
    padding-top: 50px;
    will-change: transform, opacity;
}

.page-hero-title {
    max-width: 920px;
    text-wrap: balance;
}

.page-hero-lead {
    max-width: 690px;
}

.hero-tag,
.filter-pill {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Hero creates the document's first 100vh of scroll distance. */
.page-hero + .services-main-section {
    margin-top: 100svh;
}

/* Sections deliberately sit above the fixed hero. */
.services-main-section,
.strategic-section,
.why-finlex-section,
.cta-banner-section,
.footer {
    position: relative;
    z-index: 10;
}

/* Glass service cards */
.service-card-sculpted {
    background: rgba(255,255,255,.76);
    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
    box-shadow: 0 20px 60px rgba(17,17,17,.07), inset 0 1px 0 rgba(255,255,255,.85);
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card-sculpted::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 40%);
    opacity: .8;
}

.service-card-sculpted.is-active {
    border-color: rgba(17,17,17,.18);
}

.service-icon-box,
.deliverable-chip,
.service-action-btn,
.carousel-btn {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-action-btn {
    position: relative;
    overflow: hidden;
}

.service-action-btn::before,
.btn-primary::before,
.btn-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-105%);
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
    transition: transform .65s var(--ease);
}

.service-action-btn:hover::before,
.btn-primary:hover::before,
.btn-secondary:hover::before {
    transform: translateX(105%);
}

/* Dark glass strategy cards */
.strategic-card {
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px rgba(0,0,0,.14);
    transform-style: preserve-3d;
    will-change: transform;
}

.finlex-pillar-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.word-reveal {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: .04em;
}

/* Give the pinned strategic section enough room for the scroll story. */
.strategic-section {
    min-height: 145vh;
}

.strategic-section .container {
    min-height: 100%;
}

/* Keep pinned elements from visually colliding with the navbar. */
.strategic-grid-intro,
.why-finlex-section .container > div:first-child {
    will-change: transform;
}

@media (max-width: 1100px) {
    .page-hero-title {
        font-size: clamp(42px, 7vw, 66px);
    }

    .service-card-sculpted {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .cursor-glow {
        display: none;
    }

    .page-hero {
        min-height: 560px;
        align-items: flex-end;
        padding-bottom: 70px;
    }

    .page-hero + .services-main-section {
        margin-top: 100svh;
    }

    .page-hero-container {
        padding-top: 80px;
        gap: 18px;
    }

    .page-hero-title {
        font-size: clamp(38px, 10vw, 58px);
        line-height: 1.02;
    }

    .page-hero-lead {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 560px;
    }

    .filter-pills-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: calc(100vw - 30px);
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .filter-pills-row::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .services-main-section {
        padding: 82px 0;
    }

    .services-top-bar {
        margin-bottom: 28px;
    }

    .service-card-sculpted {
        flex: 0 0 calc(100% - 4px);
        padding: 30px 24px;
        border-radius: 24px;
    }

    .strategic-section {
        min-height: auto;
        padding: 90px 0;
    }

    .strategic-grid-intro {
        margin-bottom: 45px;
    }

    .strategic-cards-grid {
        gap: 16px;
    }

    .strategic-card {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .why-finlex-section {
        padding: 90px 0;
    }

    .cta-banner-section {
        padding: 70px 0 85px;
    }

    .cta-box-sculpted {
        border-radius: 24px;
        padding: 38px 24px;
    }
    .cta-box-sculpted2 {
        border-radius: 24px;
        padding: 38px 24px;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .footer {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 100svh;
        padding-bottom: 54px;
    }

    .page-hero-bg {
        background-position: 62% center;
    }

    .hero-tag {
        font-size: 8px;
        letter-spacing: .13em;
    }

    .page-hero-lead {
        max-width: 100%;
    }

    .carousel-actions {
        width: 100%;
        justify-content: space-between;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
    }

    .section-title {
        font-size: clamp(31px, 9vw, 42px);
    }

    .service-title {
        font-size: 21px;
    }

    .service-desc {
        font-size: 11px;
    }

    .footer-middle {
        gap: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .page-hero-bg {
        transform: none;
    }
}


/* =====================================================
   FINAL STABILITY LAYER
   Keeps the existing visual design while removing the
   layout conflicts caused by mixed fixed/pinned transforms.
===================================================== */

html {
    scroll-behavior: auto;
}

body {
    overflow-x: clip;
}

/* The hero is a fixed visual layer. The main content gets
   exactly one viewport of normal document space before it. */
.page-hero {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100svh !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

main {
    position: relative;
    z-index: 1;
    padding-top: 100svh;
}

.page-hero-bg {
    inset: -3% !important;
    background-image:
        linear-gradient(180deg, rgba(8, 9, 12, .30), rgba(8, 9, 12, .78)),
        url("./assets/services-hero.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    will-change: transform;
}

.page-hero::after {
    z-index: 2 !important;
    background: linear-gradient(180deg, rgba(8,9,12,.18), rgba(8,9,12,.38) 45%, rgba(8,9,12,.88) 100%) !important;
}

.page-hero-container {
    height: 100%;
    width: var(--container) !important;
    max-width: none;
    padding-top: 0 !important;
    padding-bottom: clamp(55px, 8vh, 90px) !important;
    justify-content: center;
}

/* Do not let the old margin-based hero spacer fight main padding. */
.page-hero + .services-main-section {
    margin-top: 0 !important;
}

/* Remove the old grid effect completely. */
.hero-grid-lines {
    display: none !important;
}

/* Sections remain in normal flow and naturally cover the hero. */
.services-main-section,
.strategic-section,
.why-finlex-section,
.cta-banner-section,
.footer {
    position: relative !important;
    z-index: 5 !important;
}

/* Never animate the carousel track through two different systems. */
.services-track {
    transition: none !important;
    will-change: transform;
}

.service-card-sculpted {
    min-width: 0;
}

.service-card-sculpted[hidden] {
    display: none !important;
}

.carousel-btn:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
    transform: none !important;
}

/* Keep the reveal system from creating invisible content if JS is slow. */
.gsap-service-card,
.strategic-card,
.gsap-reveal-pillar {
    backface-visibility: hidden;
}


.navbar.nav-hidden {
    transform: translateY(-110%) !important;
}

@media (max-width: 992px) {
    main {
        padding-top: 100svh;
    }

    .page-hero-container {
        padding-bottom: 60px !important;
    }

    .services-top-bar {
        align-items: flex-start;
    }

    .cta-box-sculpted {
        width: 100%;
    }
    .cta-box-sculpted2 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero-container {
        padding-bottom: 45px !important;
        gap: 18px;
    }

    .page-hero-title {
        font-size: clamp(36px, 10vw, 56px) !important;
        line-height: 1.04 !important;
    }

    .page-hero-lead {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    .filter-pills-row {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap !important;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-pills-row::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .services-carousel-viewport {
        overflow: hidden;
    }

    .services-track {
        gap: 16px;
    }

    .service-card-sculpted {
        flex: 0 0 calc(100% - 2px) !important;
        width: calc(100% - 2px);
    }

    .strategic-grid-intro {
        display: block;
    }

    .strategic-grid-intro > div + div {
        margin-top: 28px;
    }

    .strategic-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .pillars-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .cta-box-sculpted {
        align-items: flex-start;
    }
    .cta-box-sculpted2 {
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero-bg {
        background-position: 58% center !important;
    }

    .page-hero-container {
        padding-bottom: 32px !important;
    }

    .hero-tag {
        font-size: 1rem;
    }

    .services-main-section {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .service-card-sculpted {
        padding: 28px 22px;
    }

    .strategic-section,
    .why-finlex-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .cta-banner-section {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .footer {
        padding-top: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    .page-hero-bg,
    .page-hero-title,
    .page-hero-lead,
    .hero-tag,
    .filter-pills-row,
    .services-track {
        transform: none !important;
    }

}

/* =====================================================
   SMOOTH GSAP MOTION LAYER
   Kept separate from the structural styles so animation
   never changes the document flow.
===================================================== */
.page-hero,
.page-hero-bg,
.page-hero-container,
.page-hero-title,
.page-hero-lead,
.hero-tag,
.filter-pills-row,
.services-main-section,
.services-carousel-viewport,
.services-track,
.service-card-sculpted,
.strategic-grid-intro,
.strategic-card,
.finlex-pillar-card,
.cta-box-sculpted,
.footer-top,
.footer-middle,
.footer-disclaimer-box,
.footer-bottom {
    will-change: transform, opacity;
}

.page-hero-bg {
    transform: scale(1.04);
    transform-origin: center center;
}

.page-hero-title,
.page-hero-lead,
.hero-tag,
.filter-pills-row {
    backface-visibility: hidden;
    transform: translateZ(0);
}

.services-carousel-viewport {
    transform-origin: center center;
}

.services-track {
    transition: none !important;
    will-change: transform;
}

.service-card-sculpted,
.strategic-card,
.finlex-pillar-card,
.cta-box-sculpted,
.cta-box-sculpted2 {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.service-card-sculpted[hidden] {
    display: none !important;
}

.carousel-btn:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.navbar {
    transition: transform .55s cubic-bezier(.22,1,.36,1),
                background .35s ease,
                border-color .35s ease;
    will-change: transform;
}

.navbar.nav-hidden {
    transform: translateY(-110%) !important;
}

@media (hover: hover) and (pointer: fine) {
    .service-card-sculpted,
    .strategic-card,
    .finlex-pillar-card {
        transition: box-shadow .45s ease,
                    border-color .45s ease,
                    background .45s ease;
    }

    .service-card-sculpted:hover,
    .strategic-card:hover,
    .finlex-pillar-card:hover {
        box-shadow: 0 24px 60px rgba(0,0,0,.10);
    }
}

@media (max-width: 768px) {
    .page-hero-bg {
        transform: scale(1.02);
    }

    .services-carousel-viewport {
        overflow: hidden;
    }

    .services-track {
        touch-action: pan-y;
    }

    .service-card-sculpted,
    .strategic-card,
    .finlex-pillar-card,
    .cta-box-sculpted,
    .cta-box-sculpted2 {
        will-change: transform, opacity;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero-bg,
    .page-hero-title,
    .page-hero-lead,
    .hero-tag,
    .filter-pills-row,
    .services-track,
    .service-card-sculpted,
    .strategic-card,
    .finlex-pillar-card,
    .cta-box-sculpted,
    .cta-box-sculpted2 {
        transform: none !important;
        transition: none !important;
    }
}




/* =====================================================
   CONTENT FIT — IMMIGRATION & GLOBAL MOBILITY
   Keeps existing page layout and animations intact.
===================================================== */

.service-card-sculpted {
    min-height: 560px;
}

.service-card-sculpted .service-question {
    font-size: 1rem;
    line-height: 1.7;
}

.service-card-sculpted .service-desc {
    font-size: 1rem;
    line-height: 1.8;
}

.strategic-card {
    min-height: 250px;
}

.strategic-card h4 {
    font-size: 18px;
    line-height: 1.5;
}

.strategic-closing-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 55px;
}

.strategic-closing-copy p {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255,255,255,.68);
}


@media (max-width: 992px) {

    .service-card-sculpted {
        min-height: 0;
    }

    .strategic-closing-copy {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


@media (max-width: 768px) {

    .service-card-sculpted {
        min-height: 0;
    }

    .strategic-card {
        min-height: 0;
    }

    .strategic-card h4 {
        font-size: 17px;
    }

    .strategic-closing-copy {
        margin-top: 38px;
    }

}













/* =====================================================
   TOP INTRO PARAGRAPHS
===================================================== */

.services-top-bar > div > p {
    position: relative;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin: 0 0 18px;
    padding: 22px 28px 22px 48px;

    background:
        linear-gradient(
            90deg,
            rgba(143, 29, 44, 0.055) 0%,
            rgba(255, 255, 255, 0.95) 32%,
            #ffffff 100%
        );

    border: 1px solid rgba(30, 30, 30, 0.10);
    border-left: 4px solid #8f1d2c;

    color: #292929;

    font-size: 14px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.045);
}


/* Small editorial bullet */
.services-top-bar > div > p::before {
    content: "";
    position: absolute;

    left: 22px;
    top: 27px;

    width: 7px;
    height: 7px;

    background: #8f1d2c;
    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(143, 29, 44, 0.08);
}


/* Second paragraph */
.services-top-bar > div > p + p {
    background:
        linear-gradient(
            90deg,
            rgba(30, 30, 30, 0.035) 0%,
            rgba(255, 255, 255, 0.96) 32%,
            #ffffff 100%
        );

    border-left-color: #5d6470;
}


/* Second paragraph bullet */
.services-top-bar > div > p + p::before {
    background: #5d6470;

    box-shadow:
        0 0 0 4px rgba(93, 100, 112, 0.08);
}


/* Space after the two intro boxes */
.services-top-bar > div > p:last-of-type {
    margin-bottom: 34px;
}


/* Subtle hover */
.services-top-bar > div > p:hover {
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);

    border-left-color: #6f1725;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .services-top-bar > div > p {
        padding: 18px 18px 18px 40px;

        font-size: 1rem;
        line-height: 1.8;

        margin-bottom: 13px;

        border-left-width: 3px;
    }

    .services-top-bar > div > p::before {
        left: 17px;
        top: 23px;

        width: 6px;
        height: 6px;
    }

    .services-top-bar > div > p:last-of-type {
        margin-bottom: 28px;
    }

    .services-top-bar > div > p:hover {
        box-shadow:
            0 8px 22px rgba(0, 0, 0, 0.05);
    }
}

.mobile {
    display: none;
}

.desktop {
    display: flex;
}
@media (max-width: 500px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: flex;
        height: 88px;
        width: 78px;
    }
    .navbar {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}















/* ==========================================================================
   INTERACTIVE MATCHER TOOL & PROGRAMS AT A GLANCE STYLES (services.css)
   ========================================================================== */

/* MATCHER TOOL CONTAINER */
.matcher-container {
    max-width: 820px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(7, 21, 39, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.25);
    overflow: hidden;
}

.matcher-header {
    background: var(--navy);
    padding: 32px 36px;
    text-align: center;
    color: #ffffff;
    border-bottom: 4px solid var(--gold);
}

.matcher-header h3 {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.matcher-header p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
}

.matcher-body {
    padding: 36px;
}

.matcher-step {
    margin-bottom: 28px;
}

.matcher-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 12px;
}

.matcher-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.matcher-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.matcher-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.matcher-btn:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}

.matcher-btn.active {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.matcher-btn strong {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    color: var(--navy);
    font-weight: 700;
}

.matcher-btn span {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.45;
}

.matcher-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.matcher-calc-btn {
    background: var(--navy);
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(7, 21, 39, 0.2);
}

.matcher-calc-btn:hover {
    background: var(--navy-elevated);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
    transform: translateY(-2px);
}

/* LEAD PANEL */
.lead-panel {
    display: none;
    padding: 36px;
}

.lead-panel.active {
    display: block;
}

.lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.lead-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.25s ease;
}

.lead-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

/* RESULT PANEL */
.result-panel {
    display: none;
    padding: 36px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.result-panel.active {
    display: block;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.result-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--gold-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-transform: uppercase;
}

.result-title {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 6px;
}

.result-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}

.result-country-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.result-country-card h5 {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.result-country-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.reset-tool-btn {
    background: none;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-tool-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* PROGRAMS AT A GLANCE TABS */
.programs-nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin: 40px 0 30px 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.programs-nav-tabs::-webkit-scrollbar {
    display: none;
}

.program-tab-btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--grey);
    background: #ffffff;
    border: 1px solid var(--line);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.program-tab-btn:hover {
    color: var(--navy);
    border-color: var(--gold);
}

.program-tab-btn.active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    box-shadow: 0 4px 15px rgba(7, 21, 39, 0.15);
}

.program-tab-content {
    display: none;
}

.program-tab-content.active {
    display: block;
}

/* PROGRAM CARDS GRID */
.program-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.program-item-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s var(--ease);
    position: relative;
}

.program-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(7, 21, 39, 0.09);
    border-color: var(--gold-border);
}

.program-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.program-country-title {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.program-metric-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 12px;
}

.program-detail-block {
    margin-bottom: 12px;
}

.program-detail-block strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 2px;
}

.program-detail-block p {
    font-size: 13px;
    color: var(--grey);
    line-height: 1.6;
}

.program-country-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    transition: color 0.25s ease;
}

.program-country-link:hover {
    color: var(--gold);
}

/* NOMAD MAP HERO */
.nomad-map-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--line);
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.nomad-map-box img {
    margin: 0 auto;
    border-radius: 12px;
    max-height: 480px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .matcher-grid-3,
    .matcher-grid-2,
    .lead-form-grid {
        grid-template-columns: 1fr;
    }
    .matcher-body,
    .lead-panel,
    .result-panel {
        padding: 24px;
    }
    .program-cards-grid {
        grid-template-columns: 1fr;
    }
}





/* FIX: Decision matcher section visibility and background */
#decision-tool,
#programs-at-a-glance,
#faq-section,
#blog-section {
    display: block !important;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 400px;
    padding: 80px 0 !important;
    background-color: #f1f5f9 !important;
    color: #071527;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 1;
}

#decision-tool > .container {
    position: relative;
    z-index: 2;
}

#decision-tool .matcher-container {
    position: relative;
    display: block;
    width: 100%;
    opacity: 1;
    visibility: visible;
}
