:root {
    /* Global Reset */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

:root {

    /* The Elite Palette - Logo Matching Gold */
    --obsidian: #050505;
    --obsidian-alt: #0C0C0C;
    --obsidian-light: #1A1A1A;
    --gold: #C5A059;
    --gold-bright: #E8D2A6;
    --gold-deep: #A67C37;
    --gold-glow: rgba(197, 160, 89, 0.3);
    --white: #F8F8F8;
    --white-muted: rgba(248, 248, 248, 0.6);
    --white-soft: rgba(248, 248, 248, 0.8);
    --gray: #999999;
    --glass-bg: rgba(20, 20, 20, 0.6);
    /* Translucent */
    --glass-border: rgba(255, 255, 255, 0.08);
    /* iPhone-style thin border */
    --gold-gradient: linear-gradient(135deg, #A67C37 0%, #C5A059 50%, #E8D2A6 100%);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --line-gold: rgba(197, 160, 89, 0.08);
}


/* Elite Typography */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Strict overflow control */
}

body {
    background-color: var(--obsidian);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}



/* iPhone Floating Blobs Background */
.glass-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: blobMove 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 60%;
    width: 400px;
    height: 400px;
    animation-duration: 25s;
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

h1,
h2,
h3,
h4 {
    font-weight: 300;
    /* Sophisticated Light weight */
    letter-spacing: 0.15em;
    text-transform: uppercase;
}



/* iPhone UI Mesh Background */
.luxury-texture::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, rgba(197, 160, 89, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(30, 30, 30, 1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(197, 160, 89, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 15, 15, 1) 0px, transparent 50%),
        var(--obsidian);
    z-index: -2;
}



/* iPhone "Liquid Glass" Cards */
.glass-card,
.discovery-block,
.megamenu,
.capability-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(40px) saturate(200%) brightness(120%);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(120%);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

/* Fluid iOS Transitions */
:root {
    --transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn:active {
    transform: scale(0.96);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.05) !important;
}






/* Architectural Lines Utility */
.arch-line-v {
    position: absolute;
    width: 1px;
    height: 100%;
    background: var(--line-gold);
    z-index: 0;
    pointer-events: none;
}

.arch-line-h {
    position: absolute;
    height: 1px;
    width: 100%;
    background: var(--line-gold);
    z-index: 0;
    pointer-events: none;
}


@media (max-width: 768px) {
    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.border-gold {
    border: 1px solid var(--gold);
}

.section-padding {
    padding: 100px 0;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .responsive-grid div[style*="order"] {
        order: 0 !important;
    }
}

/* Buttons */
/* Elite Buttons */
.btn {
    padding: 1.25rem 3.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    transition: var(--transition);
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--obsidian);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-gold:hover::before {
    width: 300%;
    height: 500%;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--obsidian);
    box-shadow: 0 10px 30px var(--gold-glow);
}


/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Safer than vw for scrollbar compatibility */

    z-index: 1000;

    background: rgba(5, 5, 5, 0.2);
    /* Darker, more transparent to match Obsidian */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtler hairline */
    transition: var(--transition);
    border-radius: 0 !important;
    /* Force sharp corners */
}


header.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.95);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.nav-links {
    gap: 2.5rem;
    margin: 0;
}

.header-cta {
    flex-shrink: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white-soft);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    /* Subtle Glassy Underline */
    transition: var(--transition);
}


.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Simple Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 300px;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-top: 2px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 0 0 8px 8px;
    z-index: 9999;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown li a {
    display: block;
    padding: 1rem 2rem;
    color: rgba(248, 248, 248, 0.85);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.dropdown li a:hover {
    background: rgba(197, 160, 89, 0.08);
    color: var(--gold);
    padding-left: 2.5rem;
}

.dropdown li a:hover::before {
    width: 1.5rem;
}

@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }

    header .container {
        height: 80px;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Editorial Layouts */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.visual-stack {
    grid-column: 1 / span 7;
    position: relative;
}

.editorial-content {
    grid-column: 8 / span 5;
    padding-left: 5rem;
}

.editorial-title {
    font-size: 3.5rem;
    line-height: 1.1;
}

@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .visual-stack,
    .editorial-content {
        grid-column: span 1;
        padding-left: 0;
    }

    .editorial-title {
        font-size: 2.5rem;
    }

    .faded-bg-text {
        font-size: 5rem !important;
        bottom: -20px !important;
        left: -20px !important;
    }

    .visual-stack img {
        height: 400px !important;
    }

    .visual-stack div[style*="border"] {
        top: -15px !important;
        left: -15px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
}


/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--white-soft);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Video Texture Overlay */
.video-texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}



/* Zigzag Layout */
.zigzag-section {
    padding: 120px 0;
}

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 120px;
}

.zigzag-row:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-image {
    flex: 1;
    position: relative;
}

.zigzag-image::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--gold);
    z-index: -1;
    opacity: 0.3;
}

.zigzag-row:nth-child(even) .zigzag-image::after {
    left: -20px;
    right: 20px;
}

.zigzag-content {
    flex: 1;
}

@media (max-width: 992px) {
    .zigzag-row {
        flex-direction: column !important;
        gap: 3rem;
        margin-bottom: 80px;
    }

    .zigzag-image::after {
        display: none;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .whatsapp-float {
        display: none;
        /* Hide on mobile since we have mobile bottom nav */
    }
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--glass-border);
    z-index: 2000;
    padding: 10px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white-soft);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--gold);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: 70px;
    }
}


@media (max-width: 500px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .subtitle {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards Luxury Redesign */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Sharper architecture */
    transition: var(--transition);
    background: var(--obsidian-alt);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--glass-border);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(197, 160, 89, 0.05),
            transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
    opacity: 0;
}

.service-card:hover::after {
    left: 100%;
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 160, 89, 0.05);
}

.service-card img {
    height: 350px;
    /* Consistent height */
    width: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-info {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(5px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border-top: 1px solid var(--glass-border);
}

.service-card:hover .service-info {
    background: rgba(255, 255, 255, 0.03);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.service-info:hover {
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--gold-bright);
}

/* Process Timeline */
.process-timeline {
    background: var(--obsidian-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.process-step {
    position: relative;
    padding-top: 2rem;
}

.process-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
}

.process-step h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Trust Bar */
.trust-bar {
    background: var(--obsidian-alt);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}


.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--gray);
}

@media (max-width: 768px) {
    .stat-item h3 {
        font-size: 2.2rem;
    }

    .trust-bar .container {
        gap: 2rem !important;
        justify-content: center !important;
    }
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Discovery Block Luxury Redesign */
/* Discovery Block Luxury Redesign - Hardened Fix */
.discovery-block {
    position: relative;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.03) !important;
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    text-align: center;
    /* Standard centering for content */
}

/* Ensure the accent line is strictly on the left or right, never centered */
.discovery-block::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: var(--gold-gradient) !important;
    opacity: 0.8 !important;
    transform: none !important;
    z-index: 10 !important;
}

/* On right for even rows if in a zigzag context, otherwise strictly left */
.zigzag-row:nth-child(even) .discovery-block::before {
    left: auto !important;
    right: 0 !important;
}

/* Suppress any potential centered after/before residues */
.discovery-block::after {
    display: none !important;
}


.capability-card:hover {
    background: #222;
    transform: translateX(10px);
}

.capability-card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
}

.capability-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--white-soft);
}

/* FAQ Section */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--obsidian-light);
    margin-bottom: 1.5rem;
    padding: 2.5rem;
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-transform: none;
    letter-spacing: 1px;
}

.faq-item p {
    color: var(--gray);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Service Hero Specific */
.service-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), var(--obsidian));
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

/* Footer Styling */
footer {
    background: var(--obsidian-alt);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-heading {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white-soft);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom a {
    color: var(--white-soft);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links a {
    color: var(--gold);
    font-size: 1.3rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--gold-bright);
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE & MOBILE OPTIMIZATION
   ========================================= */

/* --- Tablet & Small Laptop (Max Width: 1024px) --- */
@media (max-width: 1024px) {

    /* Navigation: Switch to Hamburger */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(50px) saturate(200%);
        -webkit-backdrop-filter: blur(50px) saturate(200%);
        flex-direction: column;
        justify-content: flex-start;
        /* Start from top so we can scroll */
        align-items: center;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
        display: flex !important;
        gap: 2rem !important;
        padding-top: 120px;
        /* Clear the header */
        padding-bottom: 150px;
        /* Space for bottom nav and scroll end */
        overflow-y: auto;
        /* Enable vertical scrolling for tall menus */
        -webkit-overflow-scrolling: touch;
    }


    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        /* Larger touch targets */
        font-weight: 300;
        letter-spacing: 2px;
    }

    header .btn-gold {
        display: none !important;
    }

    header {
        background: rgba(5, 5, 5, 0.85) !important;
        /* Darker background for mobile readability */
        backdrop-filter: blur(30px);
    }

    header .container {
        height: 70px;
        padding: 0 1.5rem;
    }


    .logo img {
        height: 40px;
        /* Slightly smaller logo for better balance */
    }

    .mobile-menu-toggle {
        padding: 15px;
        /* Larger touch target */
        margin-right: -15px;
        /* Alignment fix */
    }


    /* Layout: Stack Zigzag Rows early for Tablet Portrait */
    .zigzag-row {
        flex-direction: column !important;
        gap: 3rem !important;
        margin-bottom: 6rem !important;
        text-align: center;
    }

    .zigzag-image {
        width: 100% !important;
        height: 400px;
        /* Constrain height */
        order: -1 !important;
    }

    .zigzag-content {
        width: 100% !important;
        padding: 0 1rem !important;
    }

    .discovery-block {
        margin-top: 2rem;
        text-align: center;
        padding: 2rem !important;
        width: 100%;
        box-sizing: border-box;
    }

    .discovery-block h4 {
        font-size: 1.1rem !important;
        line-height: 1.5;
        margin-bottom: 2rem !important;
        text-align: center;
    }

    /* Fix Button Wrapping Issue */
    .discovery-block .btn-outline {
        display: inline-block;
        width: auto;
        min-width: 200px;
        padding: 1rem 2rem !important;
        white-space: nowrap;
        border: 1px solid var(--gold);
        /* Ensure solid border */
        text-align: center;
    }


    /* Typography Adjustments */
    h1 {
        font-size: 3.5rem !important;
    }

    h2 {
        font-size: 2.5rem !important;
    }

    /* Grid Adjustments */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .trust-bar .flex {
        gap: 2rem;
    }
}

/* --- Mobile (Max Width: 768px) --- */
@media (max-width: 768px) {

    /* Layout Tweaks */
    .section-padding {
        padding: 60px 0;
    }

    /* Hero Typography */
    h1 {
        font-size: 2.6rem !important;
        /* Slightly smaller to prevent overflow */
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        padding: 0 1rem;
        /* Ensure text doesn't touch edges */
    }


    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .subtitle {
        font-size: 0.65rem !important;
        letter-spacing: 0.3em !important;
        display: block;
        margin-bottom: 1.5rem;
    }

    /* Card Padding - Mobile Optimization */
    .glass-card,
    .capability-card,
    .discovery-block {
        padding: 1.8rem !important;
    }

    .faq-item {
        padding: 1.8rem !important;
    }

    /* Trust Bar Stacking */
    .trust-bar .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem !important;
    }

    .trust-bar div[style*="width: 1px"] {
        width: 40px !important;
        height: 1px !important;
        /* Rotate dividers */
        margin: 0 auto;
    }

    /* Forms */
    .inquiry-form {
        padding: 2rem 1.5rem !important;
    }

    /* Footer Stacking */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Dropdown Mobile Reset */
    .has-dropdown .dropdown {
        position: relative;
        top: 0;
        display: none;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;
        margin-top: 1rem;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }

    .dropdown li {
        text-align: center;
        padding: 0.5rem 0;
    }

    /* Remove heavy architecture lines on mobile */
    /* Refined Architectural Lines for Mobile */
    .arch-line-h,
    .glass-blobs {
        display: none;
        /* Keep horizontal lines and blobs hidden to reduce noise */
    }

    .arch-line-v {
        display: block !important;
        opacity: 0.15 !important;
        background: rgba(255, 255, 255, 0.15);
    }

    /* Force side lines to edges for framing */
    .hero .arch-line-v:first-child {
        left: 15px !important;
    }

    .hero .arch-line-v:nth-child(2) {
        right: 15px !important;
        left: auto !important;
    }
}

/* Mobile Only Utilities */
.show-mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .show-mobile-only {
        display: block;
    }
}

.hide-mobile {
    display: block;
}

@media (max-width: 1024px) {
    .hide-mobile {
        display: none !important;
    }

    /* Mobile Video Fallback Swap */
    .desktop-video {
        display: none !important;
    }

    .mobile-hero-bg {
        display: block !important;
    }
}


/* Small Mobile Optimization (Minimizing Breakage on iPhone SE / Small Androids) */
@media (max-width: 375px) {
    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .container {
        padding: 0 1rem !important;
    }

    .discovery-block .btn-outline {
        min-width: 100% !important;
        padding: 0.8rem 0 !important;
        font-size: 0.75rem !important;
    }
}