/* ============================================
   OPTINEX - Premium SEO Agency Styles
   Domain: optinex.agency
   Target: MENA Region, Dubai-first
   ============================================ */

/* CSS Custom Properties */
:root {
    --gold: #BFA181;
    --gold-light: #D4C4A8;
    --gold-dark: #8B7355;
    --gold-gradient: linear-gradient(135deg, #BFA181 0%, #D4C4A8 50%, #8B7355 100%);
    --cream: #F5F0E8;
    --black: #0C0C0C;
    --dark: #141414;
    --charcoal: #1C1C1C;
    --gray: #B5B5B5;
    --light: #E0E0E0;
    --white: #FAFAFA;
    --accent: #C9B99A;

    /* Shadows */
    --shadow-gold: 0 0 40px rgba(191, 161, 129, 0.15);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(191, 161, 129, 0.3);

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing System */
    --section-spacing-desktop: 140px;
    --section-spacing-tablet: 100px;
    --section-spacing-mobile: 80px;
    --container-padding: 50px;
}

.reveal {
    opacity: 0;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--black);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

/* Custom Scrollbar - Webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 1000000;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 1000001;
}

.cursor.hover {
    transform: scale(2.5);
    background: rgba(191, 161, 129, 0.1);
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--white);
    letter-spacing: 15px;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.loader-logo span {
    color: var(--gold);
}

.loader-bar {
    width: 200px;
    height: 1px;
    background: rgba(191, 161, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gold);
    animation: load 2s ease forwards;
}

@keyframes load {
    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(12, 12, 12, 0.8), transparent);
    pointer-events: none;
    z-index: 999;
}

.nav {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    width: 100%;
    max-width: 1600px;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.nav.scrolled {
    mix-blend-mode: normal;
    background: rgba(8, 8, 8, 0.85);
    /* Slightly more transparent for glass effect */
    backdrop-filter: blur(30px);
    /* Deeper blur */
    -webkit-backdrop-filter: blur(30px);
    padding: 15px 50px;
    /* Tighter padding for scalability */
    border-bottom: 1px solid rgba(191, 161, 129, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Added depth */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    mix-blend-mode: difference;
}

.logo span {
    color: var(--gold);
}

.logo:hover {
    color: var(--gold);
}



.nav.scrolled .logo {
    mix-blend-mode: normal;
    transform: scale(0.9);
    /* Scale down logo */
    transform-origin: left center;
}

.nav-center {
    display: flex;
    gap: 50px;
    margin: 0 auto;
}

/* Apply blend mode only to direct anchor children, not to dropdown container */
.nav-center>a {
    mix-blend-mode: difference;
}

.nav.scrolled .nav-center>a {
    mix-blend-mode: normal;
}

.nav-center a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
    position: relative;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-center a:hover {
    opacity: 1;
    color: var(--gold);
}

.nav-center a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-contact {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Force grayscale AA to prevent subpixel weight shift on hover */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.4s var(--transition-smooth);
    will-change: transform;
    z-index: -1;
}

.nav-contact:hover {
    color: var(--black);
    border-color: var(--white);
}

.nav-contact:hover::before {
    transform: translateX(0);
}

/* ============================================
   MEGA MENU - Complete Redesign
   ============================================ */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    mix-blend-mode: difference;
}

.nav.scrolled .nav-dropdown-trigger {
    mix-blend-mode: normal;
}

.dropdown-arrow {
    font-size: 8px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.mega-menu {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 92%;
    max-width: 920px;
    /* Multiple background layers to ensure opacity */
    background-color: #050505;
    background-image: linear-gradient(#050505, #050505);
    border: 1px solid rgba(191, 161, 129, 0.25);
    border-radius: 12px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 1px rgba(191, 161, 129, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 9999;
    /* Force hardware acceleration and new stacking context */
    isolation: isolate;
    mix-blend-mode: normal;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Gold accent line at top */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
    border-radius: 2px;
}

/* Hover bridge */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 40px;
    /* Reduced from 100px to prevent accidental bottom triggers */
    /* Increased from 25px to ensure bridge works even when nav shrinks */
    background: transparent;
    /* Debug: set to red to visualize if needed */
    z-index: 10000;
    /* Ensure it's on top */
}

.nav-item-dropdown:hover::after {
    display: block;
}

/* ROBUSTNESS: Trigger zone removed to prevent blocking overlapping links */
/* .mega-menu::after was causing the sticky hover issue */

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 28px 24px 20px;
    /* Extra opaque layer to block content bleeding */
    position: relative;
    background-color: #050505;
    background-image: linear-gradient(#050505, #050505);
    border-radius: 10px;
    z-index: 1;
}

.mega-menu-column {
    padding: 0 20px;
    border-right: 1px solid rgba(191, 161, 129, 0.12);
}

.mega-menu-column:first-child {
    padding-left: 8px;
}

.mega-menu-column:nth-child(4) {
    border-right: none;
    padding-right: 8px;
}

.mega-menu-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(191, 161, 129, 0.15);
}

.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    /* Prevent wrapping which breaks layout */
}

.mega-menu-list li a:hover {
    color: #fff;
    background: rgba(191, 161, 129, 0.12);
    /* padding-left: 14px; - Removed to prevent layout shift */
    padding-left: 10px;
    /* Keep original padding */
    transform: translateX(4px);
    /* Use transform for movement instead */
}

.mega-icon {
    color: var(--gold);
    font-size: 8px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.mega-menu-list li a:hover .mega-icon {
    opacity: 1;
}

/* CTA Section */
.mega-menu-cta {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(191, 161, 129, 0.1);
}

.mega-menu-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(191, 161, 129, 0.06);
    padding: 16px 24px;
    border-radius: 10px;
    border: 1px solid rgba(191, 161, 129, 0.12);
}

.mega-menu-cta-content h5 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    margin: 0;
}

.mega-menu-cta-content p {
    font-size: 13px;
    color: #888;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

.mega-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--gold);
    color: #0d0d0d;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mega-menu-button:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(191, 161, 129, 0.25);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark);
    z-index: 1000;
    padding: 100px 40px 40px;
    transition: right 0.5s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    /* Enable scrolling for tall content */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* iOS Momentum Scrolling */
    /* Ensure scrollbar doesn't overlap content visually */
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    padding: 15px 0;
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--gold);
    padding-left: 10px;
}



.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
    /* Create stacking context to prevent text from bleeding through mega menu */
    isolation: isolate;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image removed */
    background: var(--black);
    z-index: -1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
    /* Slight transparency to blend with black bg */
}

/* Hero Architectural Refinements */
.hero-bg-text {
    position: absolute;
    font-family: 'Playfair Display', serif;
    /* Fluid Typography: Scales smoothly from 150px (mobile) to 400px (desktop) */
    font-size: clamp(150px, 25vw, 400px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(191, 161, 129, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    /* Reduced opacity on mobile to prevent clash */
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-bg-text {
        font-size: clamp(100px, 20vw, 200px);
        opacity: 0.4;
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 40%;
    top: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 60%;
    top: 90%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    left: 80%;
    top: 30%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    left: 90%;
    top: 70%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    /* Match container area */
    width: 100%;
    margin: 0 auto;
    /* Center within hero */
    /* Mobile Safe Zone: Prevent left edge clipping */
    padding: 0 50px;
    box-sizing: border-box;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    /* Vertical Rhythm: 1x Spacing */
    margin-bottom: 30px;
    /* opacity: 0; - Removed for GSAP compatibility */
    /* animation: slideUp 1s ease 2.5s forwards; - Handled by GSAP */
    /* Optically centered on mobile if needed, but keeping left align for architecture */
}

.hero-label-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.hero-label-text {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    /* Fluid Typography: Scales from 42px (mobile) to 130px (desktop) */
    font-size: clamp(42px, 8vw, 130px);
    font-weight: 400;
    line-height: 1.1;
    /* Tighter leading for headings */
    /* Vertical Rhythm: 2x Spacing */
    margin-bottom: 40px;
    overflow: hidden;
    /* Prevent horizontal overflow on mobile from long words */
    word-wrap: break-word;
    max-width: 55%;
    /* Constrain title to the "small red box" area */
}

.line {
    display: block;
    width: 100%;
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 25px;
        /* Increase safe zone */
        width: 100%;
        text-align: center;
        /* Force centering for mobile */
    }

    .hero-label {
        /* Center the label flex container */
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero h1 {
        /* Slightly reduce font size for very narrow screens */
        font-size: clamp(36px, 12vw, 50px);
        margin-bottom: 25px;
        max-width: 100%;
        /* Reset max-width for mobile */
    }

    /* Hero Bottom Mobile Refactor moved to end of section for cascade */
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bottom {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* opacity: 0; - Removed to fix visibility */
    /* animation: fadeIn 1s ease 3s forwards; - Handled by GSAP */
    /* pointer-events: none; - Removed to allow interaction */
}

/* LEFT SIDE: Scroll */
.hero-scroll-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Independent positioning relative to hero-bottom flex container, 
       but since hero-bottom is full width, it sits on the left naturally as first child */
    pointer-events: auto;
}

.hero-scroll-left span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light);
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* RIGHT SIDE: Cluster */
.hero-right-cluster {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    /* Space between description text and HQ strip */
    text-align: right;
    pointer-events: auto;
}

.hero-description-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align Text & CTA to right */
    max-width: 350px;
}

.hero-description {
    text-align: right;
    /* Align text right */
}

.hero-description p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--light);
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: gap 0.3s ease;
    padding: 10px 0;
}

.hero-location-strip {
    position: absolute;
    right: 50px;
    /* Align with page padding */
    top: 45%;
    /* Vertically centered-ish */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    z-index: 10;
}

.hero-location-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--light);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid rgba(191, 161, 129, 0.1);
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
    overflow: hidden;
    background: var(--charcoal);
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
}

.marquee-item {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    white-space: nowrap;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 80px;
}

.marquee-item::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23BFA181'%3E%3Cpath d='M12 2L2 12l10 10 10-10L12 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   FEATURED IN MARQUEE
   ============================================ */
.featured-row {
    display: flex;
    align-items: baseline;
    /* Align text baselines */
    gap: 40px;
    /* Restore gap */
    padding: 50px 0 20px;
    /* Move "a bit below" */
    border-top: 1px solid rgba(191, 161, 129, 0.1);
    margin-top: 40px;
    width: 100%;
    max-width: 1400px;
    /* Force alignment with grid */
    margin-left: auto;
    margin-right: auto;
}

.featured-in-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.9;
    /* Increased visibility */
    white-space: nowrap;
    /* Static "Left Rectangle" */
    width: 150px;
    text-align: left;
    margin: 0;
    padding-left: 10px;
    position: relative;
    top: -5px;
    /* Fine-tune baseline match */
}

.featured-marquee {
    flex: 1;
    /* "Longest Rec" - take remaining space */
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.featured-content {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.featured-item {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--light);
    opacity: 0.8;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

.featured-item:hover {
    color: var(--gold);
    opacity: 1;
}

/* ============================================
   TRUST SIGNALS SECTION
   ============================================ */
.trust-signals {

    /* Accessibility Focus */
    *:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 4px;
    }
}

/* ============================================
   TRUST SIGNALS SECTION
   ============================================ */
.trust-signals {
    padding: 100px 50px;
    background: var(--black);
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
}

.trust-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.trust-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 40px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
    padding: 20px 30px;
    border: 1px solid rgba(191, 161, 129, 0.1);
}

.trust-logo:hover {
    opacity: 1;
    color: var(--white);
    border-color: rgba(191, 161, 129, 0.3);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: var(--section-spacing-desktop) 50px;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(191, 161, 129, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background: var(--black);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-card:hover {
    background: var(--charcoal);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-spacing-desktop) 50px;
    position: relative;
}

.about-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 150px;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 150px;
}

.section-number {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(191, 161, 129, 0.3);
    line-height: 1;
    margin-bottom: 30px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
}

.about-title em {
    font-style: italic;
    color: var(--gold);
}

.about-right {
    padding-top: 60px;
}

.about-text {
    font-size: 18px;
    line-height: 2;
    color: var(--light);
    margin-bottom: 50px;
}

.about-text strong {
    color: var(--white);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-top: 50px;
    border-top: 1px solid rgba(191, 161, 129, 0.1);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
}

/* Mega Menu Icons */
.mega-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: var(--gold);
    vertical-align: middle;
}

.mega-icon svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.about-feature:hover .about-feature-icon {
    background: var(--gold);
    color: var(--black);
}

.about-feature h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-spacing-desktop) 50px;
    background: var(--dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Reverted to original subtle gradient */
    background: radial-gradient(ellipse at 50% 0%, rgba(191, 161, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 100px;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
}

.services-desc {
    max-width: 400px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--light);
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 300px 60px;
    gap: 60px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
    cursor: pointer;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    will-change: padding, background;
}

.service-item::before {
    content: '';
    position: absolute;
    left: -50px;
    right: -50px;
    top: 0;
    bottom: 0;
    background: var(--charcoal);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    padding-left: 30px;
    padding-right: 30px;
}

.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gold);
}

.service-name {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.service-item:hover .service-name {
    color: var(--gold);
}

.service-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.service-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    transition: all 0.3s ease;
    transform: rotate(-45deg);
}

.service-item:hover .service-arrow {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--section-spacing-desktop) 50px;
    position: relative;
    overflow: hidden;
}

.process::before {
    display: none;
}

.process-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 120px;
}

.process-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 30px;
}

.process-subtitle {
    font-size: 16px;
    color: var(--light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Increased gap for glass cards */
    position: relative;
}

/* Gold Thread Connector Line (Desktop) */
.process-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    /* Aligns with icon center */
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(191, 161, 129, 0) 0%,
            rgba(191, 161, 129, 0.3) 20%,
            rgba(191, 161, 129, 0.3) 80%,
            rgba(191, 161, 129, 0) 100%);
    z-index: 0;
}

.process-card {
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 30px;
    /* Adjusted padding */
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(191, 161, 129, 0.15);
    border-radius: 8px;
    z-index: 1;
    /* Ensure card stays above connector line */
}

/* Hover effect: Lift + Glow */
.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(191, 161, 129, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Remove old hover underline */
.process-card::before {
    display: none;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--dark);
    /* Covers the connector line */
    border: 1px solid rgba(191, 161, 129, 0.3);
    border-radius: 50%;
    /* Circular icons */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--gold);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(191, 161, 129, 0.3);
}

.process-icon svg {
    width: 28px;
    height: 28px;
}

.process-step {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.process-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.process-text {
    font-size: 14px;
    color: var(--light);
    line-height: 1.7;
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */
.case-studies {
    padding: var(--section-spacing-desktop) 50px;
    background: var(--charcoal);
}

.case-studies-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.case-studies-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
}

.case-studies-title em {
    font-style: italic;
    color: var(--gold);
}

.case-studies-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.case-studies-link:hover {
    gap: 15px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-card {
    background: var(--dark);
    padding: 50px 40px;
    border: 1px solid rgba(191, 161, 129, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(191, 161, 129, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.case-study-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.case-study-card:hover::before {
    opacity: 1;
}

.case-study-industry {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.case-study-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.case-study-results {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(191, 161, 129, 0.1);
}

.case-study-metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.case-study-value {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--gold);
}

.case-study-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries {
    padding: var(--section-spacing-desktop) 50px;
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.industries-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.industries-header {
    text-align: center;
    margin-bottom: 80px;
}

.industries-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 20px;
}

.industries-title em {
    font-style: italic;
    color: var(--gold);
}

.industries-subtitle {
    font-size: 16px;
    color: var(--light);
    max-width: 600px;
    margin: 0 auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 40px;
    text-align: left;
    border: 1px solid rgba(191, 161, 129, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    min-height: 380px;
    /* Ensure space for hover text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Card Hover Lines */
.industry-card::before,
.industry-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.6s ease;
}

.industry-card::before {
    top: 0;
    left: 0;
}

.industry-card::after {
    bottom: 0;
    right: 0;
}

.industry-card:hover::before,
.industry-card:hover::after {
    width: 100%;
}

.industry-card:hover {
    background: rgba(25, 25, 25, 0.9);
    border-color: rgba(191, 161, 129, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.industry-icon-wrapper {
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: rgba(191, 161, 129, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-icon-wrapper {
    background: rgba(191, 161, 129, 0.15);
    transform: scale(1.1);
}

.industry-svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
    transition: all 0.4s ease;
}

.industry-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--white);
}

.industry-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Hover Content Architecture */
.industry-card-initial {
    transition: opacity 0.4s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-start;  Keep original alignment */
}

.industry-card-hover {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    padding: 40px;
    /* Match card padding */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.industry-card:hover .industry-card-initial {
    opacity: 0;
}

.industry-card:hover .industry-card-hover {
    opacity: 1;
    pointer-events: auto;
}

.industry-card-hover p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--white);
    text-align: left;
}

.industry-card-hover strong {
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        padding: 40px 30px;
        text-align: center;
    }
}

/* Industry Card Backgrounds */
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: all 0.6s ease;
    z-index: 0;
    filter: grayscale(100%) contrast(120%);
    mix-blend-mode: overlay;
}

.industry-card:hover::before {
    opacity: 0.25;
    transform: scale(1.05);
    filter: grayscale(0%) contrast(110%);
}

/* Specific Backgrounds (Premium Abstract Images) */
.industry-real-estate::before {
    background-image: url('../images/industries/real-estate-bg.webp');
}

.industry-ecommerce::before {
    background-image: url('../images/industries/ecommerce-bg.webp');
}

.industry-finance::before {
    background-image: url('../images/industries/finance-bg.webp');
}

.industry-healthcare::before {
    background-image: url('../images/industries/healthcare-bg.webp');
}

.industry-hospitality::before {
    background-image: url('../images/industries/hospitality-bg.webp');
}

.industry-professional::before {
    background-image: url('../images/industries/professional-bg.webp');
}

/* Ensure content stays on top */
.industry-card>* {
    position: relative;
    z-index: 2;
}

/* Remove hover lines from previous step as we are using bg images now for interactions */
.industry-card::after {
    display: none;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
    padding: var(--section-spacing-desktop) 50px;
    background: var(--black);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(191, 161, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.why-us-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.why-us-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
    align-items: end;
}

.why-us-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
}

.why-us-title em {
    font-style: italic;
    color: var(--gold);
}

.why-us-intro {
    font-size: 16px;
    color: var(--light);
    line-height: 1.8;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-us-card {
    background: var(--charcoal);
    padding: 50px 40px;
    border-left: 2px solid var(--gold);
    transition: all 0.4s ease;
}

.why-us-card:hover {
    background: var(--dark);
    transform: translateX(10px);
}

.why-us-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.why-us-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.why-us-card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    padding: var(--section-spacing-desktop) 50px;
    background: var(--charcoal);
}

.team-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 100px;
}

.team-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 20px;
}

.team-title em {
    font-style: italic;
    color: var(--gold);
}

.team-subtitle {
    font-size: 16px;
    color: var(--light);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(191, 161, 129, 0.15);
    transition: all 0.4s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    background: rgba(191, 161, 129, 0.08);
    /* Warm glow on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.4);
    /* Dark glass center */
    border: 1px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--gold);
    position: relative;
    box-shadow: 0 0 20px rgba(191, 161, 129, 0.1);
    /* Subtle avatar glow */
    transition: all 0.4s ease;
}

/* Double ring effect using pseudo-element */
.team-avatar::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px rgba(191, 161, 129, 0.4);
}

.team-card:hover .team-avatar::after {
    border-color: var(--gold);
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    opacity: 0.5;
}

.team-name {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.team-role {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.team-bio {
    font-size: 13px;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}



.team-credential {
    font-size: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    color: var(--light);
    letter-spacing: 1px;
}

/* ============================================
   AWARDS SECTION
   ============================================ */
.awards {
    padding: var(--section-spacing-desktop) 50px 50px;
    /* Reduced bottom padding to 50px */
    background: var(--dark);
    border-top: 1px solid rgba(191, 161, 129, 0.1);
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
}

.awards-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.awards-header {
    text-align: center;
    margin-bottom: 80px;
}

.awards-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 15px;
}

.awards-subtitle {
    font-size: 14px;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.award-card {
    background: rgba(8, 8, 8, 0.6);
    /* Glass effect base */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px 20px 30px;
    /* Added explicit bottom padding */
    text-align: center;
    border: 1px solid rgba(191, 161, 129, 0.15);
    /* Subtle gold border */
    transition: all 0.4s ease;
    border-radius: 8px;
    /* Slight rounding for modern feel */
    min-height: 250px;
    /* Standardize height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align top */
}

.award-card:hover {
    border-color: var(--gold);
    background: rgba(191, 161, 129, 0.08);
    /* Warm glow on hover */
    transform: translateY(-5px);
    /* Lift instead of scale for cleaner motion */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.award-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.award-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(191, 161, 129, 0.3));
    /* Glow for icon */
}

.award-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    /* Cleaner tech font */
}

.award-year {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.awards-featured {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(191, 161, 129, 0.1);
}

.featured-in-label {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.featured-logo {
    font-size: 16px;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.featured-logo:hover {
    opacity: 1;
    color: var(--white);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial {
    padding: var(--section-spacing-desktop) 50px;
    background: var(--dark);
    position: relative;
}

.testimonial-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.testimonial-stars span {
    color: var(--gold);
    font-size: 20px;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 60px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.testimonial-author-name {
    font-size: 18px;
    font-weight: 500;
}

.testimonial-author-role {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
}

.testimonial-nav button {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    background: transparent;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav button:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 200px 50px;
    background: var(--black);
}

.faq-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* FAQ Header-Grid Split Layout */
.faq-main-header {
    text-align: left;
    margin-bottom: 60px;
    padding-bottom: 0;
    width: 100%;
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--white);
}

.faq-description {
    font-size: 16px;
    color: var(--light);
    line-height: 1.6;
    max-width: 600px;
    margin-top: 20px;
    /* description sits in header now */
}

/* Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 100px;
    align-items: start;
}

.faq-left {
    position: sticky;
    top: 150px;
    height: auto;
}

/* Support Card Styling */
.faq-support-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(191, 161, 129, 0.2);
    padding: 40px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

/* Support Team Avatars (Face Pile) */
.support-team {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 25px;
    padding-left: 24px;
    /* Offset for the overlap to center visual weight */
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #111;
    /* Dark border to separate faces */
    object-fit: cover;
    margin-left: -24px;
    /* Stack effect 40% */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.agent-avatar:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 10;
    border-color: var(--gold);
}

.faq-support-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 400;
}

.faq-support-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--light);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--gold);
    color: var(--black);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* .faq-title style merged above */
/* .faq-subtitle replaced by .faq-description */

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
}

.faq-question {
    width: 100%;
    padding: 30px 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    font-size: 24px;
    color: var(--gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-left {
        position: static;
        text-align: center;
    }

    .faq-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .faq-subtitle {
        margin: 0 auto;
    }

    .faq-support-card {
        display: none;
        /* Optional: Hide on mobile to save space, or keep it? Keeping it is better for CRO */
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    .support-team {
        justify-content: center;
        padding-left: 0;
    }
}

.faq-content {
    overflow: hidden;
    padding-bottom: 0;
    transition: padding 0.4s ease-out;
}

.faq-item.active .faq-content {
    padding-bottom: 30px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--light);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: var(--section-spacing-desktop) 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(191, 161, 129, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(191, 161, 129, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 50px;
}

.cta-title em {
    font-style: italic;
    color: var(--gold);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 25px 60px;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s var(--transition-smooth);
    z-index: -1;
}

.cta-button:hover {
    gap: 30px;
}

.cta-button:hover::before {
    left: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 200px 50px;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.contact::before {
    display: none;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
}

.contact-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-left p {
    font-size: 16px;
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--gold);
    color: var(--black);
}

.contact-info-text h4 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-info-text p {
    font-size: 18px;
    color: var(--white);
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 20px;
    background: var(--dark);
    border: 1px solid rgba(191, 161, 129, 0.2);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--black);
    box-shadow: var(--shadow-glow);
}

.form-group textarea {
    min-height: 150px;
    resize: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23BFA181' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-submit {
    padding: 22px 50px;
    background: var(--gold);
    border: none;
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s var(--transition-smooth);
    z-index: -1;
}

.form-submit:hover::before {
    left: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--section-spacing-desktop) 50px 50px;
    background: var(--black);
    border-top: 1px solid rgba(191, 161, 129, 0.1);
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-tagline {
    font-size: 14px;
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item span {
    color: var(--gold);
}

.footer-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-icon svg {
    width: 100%;
    height: 100%;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-links h4 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Newsletter */
.footer-newsletter {
    padding: 50px 0;
    border-top: 1px solid rgba(191, 161, 129, 0.1);
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
    margin-bottom: 50px;
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.newsletter-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.newsletter-text p {
    font-size: 14px;
    color: var(--gray);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    background: var(--charcoal);
    border: 1px solid rgba(191, 161, 129, 0.2);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form button {
    padding: 18px 35px;
    background: var(--gold);
    border: none;
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--white);
}

/* Trust Badges Footer */
.footer-trust {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
    margin-bottom: 40px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-badge-icon {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(191, 161, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 14px;
}

/* Regional Offices */
.footer-offices {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(191, 161, 129, 0.1);
    margin-bottom: 40px;
}

.footer-office {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-office span {
    color: var(--gold);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a,
.footer-copyright {
    font-size: 13px;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(191, 161, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(191, 161, 129, 0.1);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 25px;
    background: var(--dark);
    border-top: 1px solid rgba(191, 161, 129, 0.2);
    z-index: 998;
}

.mobile-cta a {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: var(--black);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE - LAPTOP (1280px - 1440px)
   ============================================ */
@media (max-width: 1440px) {
    .nav {
        padding: 25px 40px;
    }

    .nav-center {
        gap: 30px;
    }

    .nav-center a {
        font-size: 11px;
    }

    .hero {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: clamp(40px, 7vw, 90px);
        margin-bottom: 30px;
    }

    .hero-bg-text {
        font-size: 18vw;
    }

    .hero-location-strip {
        right: 20px;
    }

    .hero-location-text {
        font-size: 10px;
    }

    .hero-bottom {
        bottom: 40px;
        left: 40px;
        right: 40px;
    }

    .hero-description p {
        font-size: 13px;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .service-item {
        gap: 40px;
        grid-template-columns: 70px 1fr 260px 40px;
    }

    .stats-grid,
    .process-grid {
        gap: 1px;
    }

    .process-card,
    .stat-card {
        padding: 40px 30px;
    }
}

/* Height-based query for ANY screen with limited vertical space (Laptops, non-fullscreen) */
@media (max-height: 950px) {
    .hero h1 {
        font-size: clamp(40px, 8vh, 80px);
        /* Scales with viewport height */
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .hero-bg-text {
        font-size: 25vh;
        /* Strictly height-dependent */
    }

    .hero-bottom {
        bottom: 30px;
        padding-bottom: 0;
        /* Ensure no extra space pushes it up */
    }


}

@media (max-height: 700px) {
    .hero h1 {
        font-size: clamp(30px, 6vh, 50px);
        margin-bottom: 15px;
    }

    .hero-description p {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .hero-bottom {
        bottom: 15px;
    }

    .nav {
        padding: 10px 30px;
        height: 70px;
        /* Force smaller nav height */
    }
}



@media (max-width: 1280px) {
    .nav-center {
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   RESPONSIVE - TABLET & SMALL LAPTOP
   ============================================ */
@media (max-width: 1200px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-card:last-child {
        grid-column: span 2;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {

    /* Navigation */
    .nav-center {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-contact {
        display: none;
    }

    /* Grids */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-left {
        position: relative;
        top: 0;
        text-align: center;
    }

    .about-title {
        font-size: 48px;
    }

    .about-right {
        padding-top: 0;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .services-desc {
        max-width: 100%;
    }

    .service-item {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 15px 20px;
        align-items: center;
    }

    .service-num {
        display: none;
    }

    .service-name {
        grid-row: 1;
        grid-column: 1;
    }

    .service-arrow {
        grid-row: 1;
        grid-column: 2;
        transition: transform 0.3s ease;
    }

    .service-desc {
        grid-row: 2;
        grid-column: 1 / -1;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
        margin: 0;
    }

    .service-item.active .service-desc {
        max-height: 200px;
        opacity: 1;
        margin-top: 10px;
    }

    .service-item.active .service-arrow {
        transform: rotate(45deg);
    }

    /* Disable desktop hover effects on mobile */
    .service-item:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .service-item:hover::before {
        opacity: 0;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-study-card:last-child {
        grid-column: span 1;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-us-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .awards-featured {
        flex-wrap: wrap;
        gap: 40px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .nav {
        padding: 20px 25px;
    }

    .nav.scrolled {
        padding: 15px 25px;
    }

    /* Layout Constraints */
    .hero,
    .stats,
    .about,
    .services,
    .process,
    .testimonial,
    .cta,
    .contact,
    .footer,
    .trust-signals,
    .case-studies,
    .faq,
    .why-us,
    .team,
    .awards,
    .industries,
    .marquee-section {
        padding: var(--section-spacing-mobile) 20px;
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Hero */
    .hero h1 {
        font-size: clamp(28px, 10vw, 50px);
    }

    .hero-bg-text {
        font-size: 15vw;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 30px;
        left: 20px;
        right: 20px;
        bottom: 30px;
        align-items: flex-start;
    }

    .hero-description {
        text-align: left;
        max-width: 100%;
        margin-right: 0;
    }

    .hero-scroll {
        display: none;
    }

    .hero-location-strip {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-location-text {
        font-size: 8px;
        letter-spacing: 2px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 56px;
    }

    /* Typography */
    .about-title,
    .services-title,
    .process-title,
    .contact-left h2,
    .case-studies-title,
    .faq-title,
    .why-us-title,
    .team-title,
    .awards-title,
    .industries-title {
        font-size: 36px;
    }

    .section-number {
        font-size: 80px;
    }

    /* About */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Services */
    .service-item {
        padding: 25px 0;
    }

    .service-name {
        font-size: 24px;
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Trust Logos */
    .trust-logos {
        gap: 30px;
        flex-wrap: wrap;
        /* Ensure wrapping */
    }

    .trust-logo {
        padding: 15px 20px;
        font-size: 12px;
        flex: 1 1 40%;
        /* Allow to shrink/grow */
    }

    /* Case Studies */
    .case-study-results {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    /* Footer */
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-trust,
    .footer-offices {
        flex-wrap: wrap;
        gap: 20px;
    }

    .newsletter-wrapper {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

    /* New Sections Mobile */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Utilities */
    .cursor,
    .cursor-dot {
        display: none !important;
        /* Force hide custom cursor on mobile */
    }

    body {
        cursor: auto;
    }

    .mobile-cta {
        display: block;
    }

    .footer {
        padding-bottom: 100px;
        /* Space for mobile CTA */
    }
}

@media (max-width: 480px) {

    .industries-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-main {
        text-align: center;
    }

    .footer-brand {
        margin: 0 auto;
    }

    .trust-logo {
        flex: 1 1 100%;
    }

    .hero h1 {
        font-size: 36px;
    }

    /* Hero Mobile Refinement (Final & Specific) */
    body section.hero {
        padding: 0 20px !important;
    }

    body section.hero div.hero-bottom {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        transform: translate(0, 0) !important;
        width: 100% !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 40px 0 20px !important;
        gap: 20px !important;
        text-align: center !important;
        margin: 0 !important;
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
        display: flex !important;
    }

    body section.hero div.hero-bottom div.hero-description {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        float: none !important;
        /* Just in case */
    }

    body section.hero div.hero-bottom div.hero-description p {
        text-align: center !important;
        margin: 0 auto 30px !important;
        max-width: 100% !important;
        display: block !important;
    }

    .hero-scroll {
        display: none !important;
    }

    .hero-cta {
        justify-content: center !important;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    mix-blend-mode: difference;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav.scrolled .lang-switch {
    mix-blend-mode: normal;
}

.lang-switch:hover {
    color: var(--gold);
    opacity: 1;
    background: rgba(191, 161, 129, 0.1);
}

.lang-text {
    font-family: 'Times New Roman', 'Traditional Arabic', serif;
    font-size: 15px;
    font-weight: 600;
}

/* Mobile Language Switcher */
.mobile-lang-switch {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-switch a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Times New Roman', serif;
    font-size: 20px;
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-lang-switch a:hover {
    opacity: 0.8;
}

/* Mobile Lang Updates */
.mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Mega Menu Accordion Styles */
.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.mobile-nav-header a {
    padding: 0;
    /* Remove default padding for link in header context */
    flex: 1;
}

.mobile-submenu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-nav-item.active .mobile-submenu-toggle {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background: rgba(0, 0, 0, 0.3);
}

.mobile-nav-item.active .mobile-submenu {
    max-height: 1000px;
    /* Arbitrary large number for slide down */
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 40px !important;
    /* Indented */
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-group-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    padding: 20px 20px 10px 40px;
    opacity: 0.8;
}

.mobile-lang-switch a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-lang-switch a.active {
    color: var(--gold);
}

.mobile-lang-switch .separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Flag Icons */
.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    /* Fix vertical alignment issues in flex container */
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* ============================================
   REUSABLE COMPONENTS
   ============================================ */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--black);
}

.btn-secondary:hover::before {
    width: 100%;
}

.section-cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   FORM FEEDBACK & MODALS
   ============================================ */

/* Validation Styles */
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
    border-color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.03) !important;
    box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.2);
}

.validation-message {
    color: #ff4d4d;
    font-size: 11px;
    margin-top: 5px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    display: block;
}

.form-group.invalid .validation-message {
    opacity: 1;
    transform: translateY(0);
}

/* Global Form Errors */
.form-error {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: currentColor;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Modal - Premium Design */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: #0a0a0a;
    border: 1px solid var(--gold);
    padding: 60px 40px;
    border-radius: 2px;
    text-align: center;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(40px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.success-modal-overlay.active .success-modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #555;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--gold);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    color: #000;
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: iconPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
}

@keyframes iconPop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 500;
}

.success-modal p {
    color: #888;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.modal-action {
    min-width: 200px;
}

/* ============================================
   MULTILINGUAL: Language switcher enabled
   Arabic site is now available at /ar/
   ============================================ */