* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #02050f;
    color: #333;
    /* Allow scrolling now */
    height: auto;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
}

/* FIXED BACKGROUND CANVAS */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: #02050f;
    overflow: hidden;
}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #02050f;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}
.dark-overlay.active {
    opacity: 1;
}

/* Concentric background rings */
.bg-rings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.ring-1 { width: 45vw; height: 45vw; }
.ring-2 { width: 60vw; height: 60vw; }
.ring-3 { width: 75vw; height: 75vw; }

/* Add a subtle vignette */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

/* --- TOP NAVIGATION HEADER (LANDER STYLE) --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(2, 5, 15, 0.8) 0%, rgba(2, 5, 15, 0) 100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
    padding: 0.8rem 4rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-header .header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff; /* White logo text by default */
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.main-header.scrolled .logo-text {
    color: #0f172a; /* Dark text on white scroll */
}

.logo-text .gold-text {
    color: #1d438a; /* Dark Blue O */
}

/* Centered Navigation Capsule */
.nav-capsule {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    background: rgba(15, 23, 42, 0.65); /* Dark capsule by default */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.6rem 2.2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: all 0.4s ease;
}

.main-header.scrolled .nav-capsule {
    background: rgba(15, 23, 42, 0.05); /* Light capsule on white scroll */
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.nav-capsule a {
    text-decoration: none;
    color: #94a3b8; /* Slate light gray */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.main-header.scrolled .nav-capsule a {
    color: #4b5563; /* Darker gray for light background */
}

.nav-capsule a:hover, .nav-capsule a.active {
    color: #ffffff; /* White on hover */
}

.main-header.scrolled .nav-capsule a:hover, 
.main-header.scrolled .nav-capsule a.active {
    color: #1d438a; /* Gold on light background scroll */
}

/* CTA Button Styling */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
}

.lang-switcher {
    position: relative;
    pointer-events: auto;
}

.btn-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-header.scrolled .btn-lang {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.main-header.scrolled .btn-lang:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.lang-globe {
    opacity: 0.8;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 6px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1100;
}

.main-header.scrolled .lang-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: block;
    padding: 8px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.main-header.scrolled .lang-option {
    color: #4b5563;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.main-header.scrolled .lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
}

.lang-option.active {
    color: #1d438a !important;
    background: rgba(29, 67, 138, 0.08);
}


.btn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-header.scrolled .btn-cta {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.main-header.scrolled .btn-cta:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.04);
}

.cta-icon {
    transition: transform 0.3s ease;
}

.btn-cta:hover .cta-icon {
    transform: translate(1px, -1px);
}

/* --- SPLIT HERO SECTION --- */
.split-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    padding: 0 4rem;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
    padding-top: 11rem;
}

.hero-blank-right {
    flex: 1;
}

.badge {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #2d6bef;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.badge .line {
    width: 40px;
    height: 2px;
    background: #2d6bef;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.hero-content h1 .gold-text {
    color: #ffffff; /* Make gold text white in hero */
}

.description {
    font-size: 1.15rem;
    color: #cbd5e1; /* Light slate for readability on dark background */
    line-height: 1.6; /* Balanced readability */
    max-width: 520px;
    margin-bottom: 0.5rem;
}

/* Letter animations */
.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    will-change: transform, opacity;
}

/* --- EXPLORE MORE BUTTON --- */
.hero-explore-btn-wrap {
    margin-top: 2.5rem;
    pointer-events: auto;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 1.1rem 2.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Shimmer layer */
.btn-explore::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.btn-explore span,
.btn-explore svg {
    position: relative;
    z-index: 1;
}

.btn-explore:hover::before {
    opacity: 1;
}

.btn-explore:hover {
    border-color: rgba(29, 67, 138, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(29, 67, 138, 0.45), 0 0 0 1px rgba(29, 67, 138, 0.2);
    color: #ffffff;
}

.btn-explore:active {
    transform: translateY(-1px);
}

.explore-arrow {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-explore:hover .explore-arrow {
    transform: translateY(5px);
}

@media (max-width: 600px) {
    .btn-explore {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
}


.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(17, 44, 98, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #112c62 0%, #1d438a 50%, #295bb8 100%);
    box-shadow: 0 8px 25px rgba(29, 67, 138, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: #fff;
    color: #333333;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.btn-outline:hover {
    transform: translateY(-2px);
}

/* --- FEATURES CARD --- */
.features-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 4rem;
    margin-top: -5rem;
}

.features-card {
    background: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    padding: 3rem 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.f-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.f-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1d438a;
}

.f-col h4 {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 0.5rem;
}

.f-col p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

/* --- STATS ROW --- */
.stats-wrapper {
    position: relative;
    z-index: 10;
    padding: 4rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 15px;
    padding: 2rem 4rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.s-col {
    display: flex;
    align-items: center;
    gap: 15px;
}

.s-icon {
    font-size: 2.5rem;
    color: #1d438a;
}

.s-text h2 {
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 0.2rem;
}

.s-text p {
    font-size: 0.9rem;
    color: #666;
}

/* --- SCROLLABLE PAGE CONTENT --- */
.page-content {
    position: relative;
    z-index: 10;
    /* Adding some margin so the hero scrolls away naturally before opaque content covers it */
    margin-top: 8vh;
}

/* --- LOGISTICS AUTO-SCROLLING MARQUEE --- */
.logistics-marquee {
    width: 100%;
    overflow: hidden;
    background: #ffffff !important;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 12;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee-slide 45s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    gap: 2.5rem;
    padding-right: 2.5rem; /* Match gap for seamless transition boundary */
}

.marquee-group span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 900;
    color: #000000; /* Bold black letters */
    text-transform: uppercase;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}

.marquee-dot {
    width: 16px;
    height: 16px;
    background-color: #1d438a; /* Dark blue dot */
    border-radius: 50%;
    display: inline-block;
    margin: 0;
    box-shadow: none;
    flex-shrink: 0;
}

@keyframes marquee-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.content-section {
    padding: 8rem 4rem;
    background: rgba(255, 255, 255, 0.85); /* Glassmorphism background */
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.dark-section {
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.dark-section .section-header .subtitle {
    color: #aaa;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.scroll-reveal, .card-reveal, .timeline-item, .section-header-modern {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Stagger card reveals */
.about-grid.in-view .about-card:nth-child(1) { transition-delay: 0.1s; }
.about-grid.in-view .about-card:nth-child(2) { transition-delay: 0.3s; }

.services-card:nth-child(1) { transition-delay: 0.1s; }
.services-card:nth-child(2) { transition-delay: 0.25s; }
.services-card:nth-child(3) { transition-delay: 0.4s; }

.timeline-container.in-view .timeline-item:nth-child(1) { transition-delay: 0.05s; }
.timeline-container.in-view .timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-container.in-view .timeline-item:nth-child(3) { transition-delay: 0.15s; }
.timeline-container.in-view .timeline-item:nth-child(4) { transition-delay: 0.2s; }
.timeline-container.in-view .timeline-item:nth-child(5) { transition-delay: 0.25s; }
.timeline-container.in-view .timeline-item:nth-child(6) { transition-delay: 0.3s; }
.timeline-container.in-view .timeline-item:nth-child(7) { transition-delay: 0.35s; }
.timeline-container.in-view .timeline-item:nth-child(8) { transition-delay: 0.4s; }

.markets-container.in-view .markets-panel:nth-child(1) { transition-delay: 0.1s; }
.markets-container.in-view .markets-panel:nth-child(2) { transition-delay: 0.3s; }

/* In-view trigger classes */
.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- MODERN SECTIONS SYSTEM --- */
.mid-section {
    padding: 4.5rem 4rem;
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.section-light {
    background: #ffffff !important;
    color: #1a1a1a;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section-dark {
    background: #060a15;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header-modern {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.section-badge {
    display: inline-block;
    color: #1d438a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.section-badge::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #1d438a;
    margin: 0.5rem auto 0 auto;
}

.section-dark .section-badge {
    color: #4e84ff;
}

.section-dark .section-badge::after {
    background: #4e84ff;
}

.section-header-modern h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.section-header-modern .subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

.section-light .section-header-modern h2 {
    color: #111111;
}

.section-light .section-header-modern .subtitle {
    color: #666666;
}

.section-dark .section-header-modern h2 {
    color: #ffffff;
}

.section-dark .section-header-modern .subtitle {
    color: #b0b8c9;
}

.gold-text {
    color: #4e84ff;
}

/* --- ABOUT SECTION STYLES --- */
.about-hanging-row {
    margin: 2rem auto 4rem auto;
    max-width: 800px;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.about-center-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: visible;
}



.hanging-container-img {
    width: 720px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateY(-280px) rotate(-3deg); /* Initial offset with slight hanging tilt */
    opacity: 0;
    transition: transform 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 1.8s ease; /* Springy bounce */
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
}

/* Trigger state when visible */
.about-hanging-row.in-view .hanging-container-img {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}



.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .about-hanging-row {
        margin: 2rem auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hanging-container-img {
        transform: translateY(-100px); /* Smaller drop on mobile */
    }
}

.about-card {
    background: #ffffff;
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1d438a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    border-color: rgba(29, 67, 138, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-watermark {
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-size: 6.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
}

.about-card:hover .card-watermark {
    color: rgba(29, 67, 138, 0.04);
}

.about-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.about-card p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* --- SERVICES SECTION STYLES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-card {
    background: rgba(15, 23, 42, 0.45); /* Dark translucent slate glass */
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    /* 3D Entry State (overridden when in-view) */
    opacity: 0;
    transform: translateY(80px) rotateX(15deg) scale(0.95);
    transform-origin: bottom center;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s ease, 
                box-shadow 0.5s ease, 
                background 0.5s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.services-card.in-view {
    opacity: 1 !important;
    transform: translateY(0) rotateX(0) scale(1) !important;
}

.services-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(29, 67, 138, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.services-card:hover {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(29, 67, 138, 0.5); /* Glowing Gold Border */
    transform: translateY(-8px) scale(1.02) !important; /* Lifts card */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(29, 67, 138, 0.2), 
                inset 0 0 15px rgba(29, 67, 138, 0.15);
}

.services-card:hover::after {
    opacity: 1;
}

.services-card .card-icon-container {
    height: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
}

/* Glowing shape redesigned with a premium golden look */
.services-card .glow-shape {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(29, 67, 138, 0.04);
    border: 1px solid rgba(29, 67, 138, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 12px rgba(29, 67, 138, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-card:hover .glow-shape {
    background: rgba(29, 67, 138, 0.12);
    border-color: rgba(29, 67, 138, 0.8);
    box-shadow: 0 0 25px rgba(29, 67, 138, 0.35), inset 0 0 12px rgba(29, 67, 138, 0.2);
}

.services-card .icon-svg {
    width: 38px;
    height: 38px;
    transition: all 0.5s ease;
}

.services-card:hover .icon-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(29, 67, 138, 0.8));
}

.services-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.services-card p {
    font-size: 1rem;
    color: #a4adc1;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* --- WORKFLOW SECTION STYLES (SERPENTINE TIMELINE) --- */

/* Section wrapper */
#workflow {
    overflow: hidden;
}

/* Outer container — simple block, no positioning needed */
.timeline-serpentine-container {
    max-width: 1100px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
}

/* Inner wrapper scoping SVG to step rows only */
.timeline-steps-only {
    position: relative;
}

/* SVG wrap — full height of .timeline-steps-only only */
.serpentine-svg-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.serpentine-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.serpentine-path {
    fill: none;
    stroke: #1d438a;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 2200;
    stroke-dashoffset: 2200;
    opacity: 0.35;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-serpentine-container.in-view .serpentine-path {
    stroke-dashoffset: 0;
}

/* Mobile straight line — scoped inside .timeline-steps-only */
.timeline-mobile-line {
    display: none;
    position: absolute;
    top: 0;
    left: 28px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #1d438a, rgba(29, 67, 138, 0.15));
    z-index: 1;
}

/* Each row: 3-column grid — left-card | center-node | right-card */
.timeline-step-row {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    align-items: center;
    min-height: 200px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step-row.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance delays — keyed to data-step attr (avoids nth-child mis-count) */
.timeline-step-row[data-step="1"] { transition-delay: 0.05s; }
.timeline-step-row[data-step="2"] { transition-delay: 0.12s; }
.timeline-step-row[data-step="3"] { transition-delay: 0.19s; }
.timeline-step-row[data-step="4"] { transition-delay: 0.26s; }
.timeline-step-row[data-step="5"] { transition-delay: 0.33s; }
.timeline-step-row[data-step="6"] { transition-delay: 0.4s; }
.timeline-step-row[data-step="7"] { transition-delay: 0.47s; }
.timeline-step-row[data-step="8"] { transition-delay: 0.54s; }

/* ----  TIMELINE CARD ---- */
.timeline-card {
    background: #ffffff;
    border: 1px solid rgba(29, 67, 138, 0.1);
    border-radius: 18px;
    padding: 1.8rem 2rem;
    box-shadow: 0 8px 32px rgba(29, 67, 138, 0.05);
    position: relative;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.timeline-card:hover {
    box-shadow: 0 20px 50px rgba(29, 67, 138, 0.12);
    border-color: rgba(29, 67, 138, 0.25);
    transform: translateY(-4px);
}

/* Large step number */
.timeline-card .step-num {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: #1d438a;
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.timeline-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
}

.timeline-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* LEFT card: text left-aligned, connector on the right */
.card-left {
    text-align: left;
    margin-right: 0;
}

/* Step num on right side card is right-aligned */
.card-right {
    text-align: left;
}

/* Horizontal connector lines from card to node */
.card-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -36px;
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, rgba(29, 67, 138, 0.3), rgba(29, 67, 138, 0.06));
    transform: translateY(-50%);
}

.card-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -36px;
    width: 36px;
    height: 1px;
    background: linear-gradient(to left, rgba(29, 67, 138, 0.3), rgba(29, 67, 138, 0.06));
    transform: translateY(-50%);
}

/* Empty column placeholder for alternating layout */
.card-empty {
    /* no styles needed — grid placeholder */
}

/* ---- CENTRAL NODE WRAPPER ---- */
.timeline-node-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

/* The glowing node ring */
.timeline-node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #1d438a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9), 0 4px 20px rgba(29, 67, 138, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
}

.timeline-node-icon svg {
    width: 26px;
    height: 26px;
    stroke: #1d438a;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.4s ease;
}

.timeline-step-row:hover .timeline-node-icon {
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    border-color: #1d438a;
    box-shadow: 0 0 0 8px rgba(29, 67, 138, 0.08), 0 8px 30px rgba(29, 67, 138, 0.35);
    transform: scale(1.12);
}

.timeline-step-row:hover .timeline-node-icon svg {
    stroke: #ffffff;
}

/* ---- WORKFLOW FEATURES TRUST GRID ---- */
.workflow-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(29, 67, 138, 0.08);
}

.workflow-feature-card {
    background: #ffffff;
    border: 1px solid rgba(29, 67, 138, 0.08);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.workflow-feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.workflow-feature-card:nth-child(1) { transition-delay: 0.1s; }
.workflow-feature-card:nth-child(2) { transition-delay: 0.2s; }
.workflow-feature-card:nth-child(3) { transition-delay: 0.3s; }
.workflow-feature-card:nth-child(4) { transition-delay: 0.4s; }

.workflow-feature-card:hover {
    box-shadow: 0 16px 40px rgba(29, 67, 138, 0.1);
    border-color: rgba(29, 67, 138, 0.2);
}

.wf-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(29, 67, 138, 0.06);
    border: 1px solid rgba(29, 67, 138, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.workflow-feature-card:hover .wf-icon-wrap {
    background: linear-gradient(135deg, #0a1c3f 0%, #1d438a 100%);
    border-color: #1d438a;
}

.wf-icon-wrap svg {
    width: 24px;
    height: 24px;
    stroke: #1d438a;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.4s ease;
}

.workflow-feature-card:hover .wf-icon-wrap svg {
    stroke: #ffffff;
}

.workflow-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.workflow-feature-card p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.55;
    margin: 0;
}

/* ---- RESPONSIVE COLLAPSE (≤ 900px) ---- */
@media (max-width: 900px) {
    .serpentine-svg-wrap {
        display: none;
    }

    .timeline-mobile-line {
        display: block;
    }

    .timeline-step-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
        padding-left: 64px;
        padding-bottom: 2.5rem;
        position: relative;
    }

    /* On mobile all nodes sit absolute-left */
    .timeline-node-wrapper {
        position: absolute;
        left: -2px;
        top: 1.4rem;
        transform: none;
    }

    /* Hide empty column on mobile */
    .card-empty {
        display: none;
    }

    /* Force cards to full width and natural order */
    .card-left,
    .card-right {
        grid-column: 1 / -1;
        text-align: left;
        margin: 0;
    }

    /* Remove connector pseudo-elements on mobile */
    .card-left::after,
    .card-right::before {
        display: none;
    }

    .workflow-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .workflow-features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- MARKETS SECTION STYLES (STICKY SCROLL SHOWCASE) --- */
.sticky-scroll-container {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.scroll-left-col {
    display: flex;
    flex-direction: column;
}

.sticky-header-wrapper {
    margin-bottom: 2.5rem;
}

.sticky-header-wrapper h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.sticky-header-wrapper .subtitle {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.6;
}

.sticky-scroll-block {
    background: #ffffff;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sticky-scroll-block:last-child {
    margin-bottom: 2rem;
}

.sticky-scroll-block:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 67, 138, 0.25);
    box-shadow: 0 20px 45px rgba(29, 67, 138, 0.06);
}

.block-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
}

.sticky-scroll-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

.block-desc {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Chips container & Light Theme Chips */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.market-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}

.market-chip::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #1d438a;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-chip:hover {
    background: rgba(29, 67, 138, 0.08);
    border-color: rgba(29, 67, 138, 0.45);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 67, 138, 0.1);
}

.market-chip:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 8px #1d438a;
}

/* Right Side: Sticky Visual Container */
.sticky-right-col {
    position: sticky;
    top: 10rem;
    height: calc(100vh - 14rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-image-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.sticky-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.sticky-img.active {
    opacity: 1;
    z-index: 2;
}

@media (max-width: 900px) {
    .sticky-scroll-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sticky-right-col {
        position: relative;
        top: 0;
        height: 380px;
        order: -1; /* Display image first on mobile */
    }
    .sticky-scroll-block {
        margin-bottom: 2.5rem;
    }
    .sticky-scroll-block:last-child {
        margin-bottom: 0;
    }
    .about-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mid-section {
        padding: 3.5rem 2rem;
    }
}

/* --- REQUEST A QUOTE SECTION --- */
.request-quote-section {
    position: relative;
    background: #ffffff !important;
    padding: 6rem 0;
    overflow: hidden;
}

/* ---- Soft wavy top divider (5 parallel lines) ---- */
.quote-waves-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    pointer-events: none;
    z-index: 0;
}

.quote-waves-bg svg {
    width: 100%;
    height: 100%;
}

.wave-line {
    fill: none;
    stroke: #1d438a;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wl-1 { stroke-width: 1.0; opacity: 0.06; }
.wl-2 { stroke-width: 1.4; opacity: 0.09; }
.wl-3 { stroke-width: 1.8; opacity: 0.12; }
.wl-4 { stroke-width: 1.4; opacity: 0.09; }
.wl-5 { stroke-width: 1.0; opacity: 0.06; }

.quote-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quote-text-col {
    text-align: left;
    position: relative;
    z-index: 2;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-text-col .section-badge,
.quote-text-col h2,
.quote-text-col .subtitle,
.quote-text-col .btn-phone-animated {
    position: relative;
    z-index: 3;
}

.quote-globe-bg-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 560px;
    height: 560px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-text-col h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.quote-text-col .subtitle {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.quote-globe-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.quote-globe-container {
    width: 560px;
    height: 560px;
    position: absolute;
    z-index: 1;
}

/* Pulsing Phone Button */
.btn-phone-animated {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 16px 36px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(17, 44, 98, 0.2);
    z-index: 2;
}

/* Icon wrapper — clips and swaps two SVG icons */
.btn-phone-icon-wrap {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.btn-phone-icon-wrap .icon-phone,
.btn-phone-icon-wrap .icon-connect {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Default: phone visible, connect hidden below */
.btn-phone-icon-wrap .icon-phone {
    transform: translateY(0);
    opacity: 1;
}
.btn-phone-icon-wrap .icon-connect {
    transform: translateY(100%);
    opacity: 0;
}

/* Hover: phone slides up and out, connect slides in */
.btn-phone-animated:hover .icon-phone {
    transform: translateY(-100%);
    opacity: 0;
}
.btn-phone-animated:hover .icon-connect {
    transform: translateY(0);
    opacity: 1;
}

/* Text wrapper — clips a 1-line viewport, slides between two spans */
.btn-phone-text-wrap {
    position: relative;
    height: 1.3em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.btn-phone-text-wrap .phone-default,
.btn-phone-text-wrap .phone-hover {
    display: block;
    white-space: nowrap;
    line-height: 1.3em;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Default state: number is visible (at Y=0), "Connect Us" sits below */
.btn-phone-text-wrap .phone-default {
    transform: translateY(0);
}
.btn-phone-text-wrap .phone-hover {
    transform: translateY(0);
    position: absolute;
    top: 100%;
    left: 0;
}

/* Hover state: number slides up, "Connect Us" slides into view */
.btn-phone-animated:hover .phone-default {
    transform: translateY(-100%);
}
.btn-phone-animated:hover .phone-hover {
    transform: translateY(-100%);
}

/* Button glow on hover */
.btn-phone-animated:hover {
    background: linear-gradient(135deg, #112c62 0%, #1d438a 50%, #295bb8 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 30px rgba(29, 67, 138, 0.35);
}

/* Pulsing rings around the button */
.btn-phone-animated::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 40px;
    border: 2px solid #112c62;
    opacity: 0.6;
    z-index: -1;
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.25, 1.4);
        opacity: 0;
    }
}

/* --- NEW REDESIGNED MEGA FOOTER (DARK THEME) --- */
.mega-footer {
    position: relative;
    background: #0b0f19;
    color: #cbd5e1;
    padding: 6rem 4rem 7rem 4rem;
    overflow: hidden;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr;
    gap: 6rem;
    padding-bottom: 4rem;
}

.footer-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-area {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 68px;
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
}

.footer-logo span:not(.gold-text) {
    font-size: 0.8rem;
    color: #1d438a;
    vertical-align: super;
    margin-left: 5px;
    font-weight: 800;
}

.footer-logo h2 span.gold-text {
    color: #1d438a !important; /* Dark Blue O */
    font-size: 2rem !important;
    vertical-align: baseline !important;
    margin-left: 0 !important;
    font-weight: 700 !important;
}

.footer-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 440px;
}

/* Right Nav and Subscription Column */
.footer-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2.5rem;
}

.footer-nav-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-nav-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
}

.footer-nav-stack a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 0;
    white-space: nowrap;
}

.footer-nav-stack a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1d438a;
    transition: width 0.3s ease;
}

.footer-nav-stack a:hover {
    color: #1d438a;
}

.footer-nav-stack a:hover::after {
    width: 100%;
}

/* Footer Subscription Block */
.footer-subscribe-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    max-width: 360px;
}

.subscribe-text {
    font-size: 0.95rem;
    color: #a4adc1;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: right;
    line-height: 1.4;
}

.footer-subscribe-form {
    width: 100%;
}

.subscribe-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 0;
    transition: border-color 0.3s ease;
    width: 100%;
}

.subscribe-input-wrapper:focus-within {
    border-color: #1d438a;
}

.subscribe-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    padding: 4px 10px 4px 0;
    width: 100%;
    outline: none;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.subscribe-btn {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.subscribe-btn:hover {
    color: #1d438a;
    transform: translateX(3px) scale(1.05);
}

/* Footer Bottom Area */
.footer-bottom-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.legal-left {
    color: #64748b;
}

.legal-right {
    display: flex;
    gap: 2.5rem;
}

.legal-right a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.legal-right a:hover {
    color: #1d438a;
}

/* Fixed Background Watermark with Outline and Metallic Shine */
.footer-watermark-fixed {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(80px, 16vw, 240px);
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(29, 67, 138, 0.15);
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    
    background: linear-gradient(
        to right,
        rgba(29, 67, 138, 0.1) 0%,
        rgba(29, 67, 138, 0.1) 35%,
        rgba(235, 209, 151, 0.8) 50%,
        rgba(29, 67, 138, 0.1) 65%,
        rgba(29, 67, 138, 0.1) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: outlineShine 8s linear infinite;
}

@keyframes outlineShine {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

/* --- RESPONSIVE MEDIA QUERIES FOR QUOTE & FOOTER --- */
@media (max-width: 900px) {
    .quote-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .quote-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .quote-text-col .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .quote-globe-container {
        width: 320px;
        height: 320px;
        max-width: 100%;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-left-col {
        align-items: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-desc {
        text-align: center;
    }
    .footer-right-col {
        align-items: center;
        gap: 2.5rem;
    }
    .footer-nav-container {
        align-items: center;
    }
    .footer-nav-stack {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav-stack a::after {
        left: 0;
        transform: none;
    }
    .footer-subscribe-section {
        align-items: center;
    }
    .subscribe-text {
        text-align: center;
    }
    .footer-legal {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .legal-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

/* --- PREMIUM LOGO INTRO PRELOADER --- */
#intro-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    pointer-events: all;
}

/* Background curtain columns */
.preloader-columns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

.preloader-col {
    flex: 1;
    height: 100%;
    background: #ffffff; /* Pure white background */
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
    transform: translateY(0);
}

/* Staggered drop transitions - waterfall effect */
#intro-preloader.animate-drop .preloader-col:nth-child(1) { transform: translateY(100%); transition-delay: 0.1s; }
#intro-preloader.animate-drop .preloader-col:nth-child(2) { transform: translateY(100%); transition-delay: 0.25s; }
#intro-preloader.animate-drop .preloader-col:nth-child(3) { transform: translateY(100%); transition-delay: 0.4s; }
#intro-preloader.animate-drop .preloader-col:nth-child(4) { transform: translateY(100%); transition-delay: 0.55s; }
#intro-preloader.animate-drop .preloader-col:nth-child(5) { transform: translateY(100%); transition-delay: 0.7s; }

/* Centered Logo Wrap */
.preloader-logo-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#intro-preloader.show-logo .preloader-logo-wrap {
    opacity: 1;
    transform: scale(1);
}

#intro-preloader.hide-logo .preloader-logo-wrap {
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    padding: 1.5rem 3rem;
    overflow: hidden;
}

.preloader-logo-img {
    height: 90px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.preloader-logo-text {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a; /* Slate black text logo */
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.preloader-logo-text .gold-text {
    color: #1d438a !important; /* Dark Blue O */
}

.preloader-logo-text .gold-dot {
    color: #1d438a;
    text-shadow: none;
}

/* Glare shine effect - premium gold shine */
.glare-effect {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(29, 67, 138, 0) 0%,
        rgba(29, 67, 138, 0.1) 20%,
        rgba(29, 67, 138, 0.8) 50%,
        rgba(29, 67, 138, 0.1) 80%,
        rgba(29, 67, 138, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

#intro-preloader.glare-active .glare-effect {
    left: 200%;
    transition: left 1.5s cubic-bezier(0.3, 0.1, 0.3, 1.0);
}

/* --- PARTICLE DASHBOARD STYLE --- */
.particle-dashboard {
    position: absolute;
    bottom: 4rem;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 100;
    pointer-events: auto;
    width: 100%;
    max-width: 320px;
}

#info {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Space Mono', monospace;
    letter-spacing: 1px;
    color: #ffffff;
    padding: 8px 16px;
    background-color: rgba(15, 23, 42, 0.65);
    border-radius: 30px;
    display: inline-block;
    text-shadow: 0 0 6px rgba(29, 67, 138, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: rgba(15, 23, 42, 0.65);
    padding: 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    width: 100%;
}

#shape-btn {
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 30px;
    padding: 10px 24px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(17, 44, 98, 0.2);
    width: 100%;
}

#shape-btn:hover {
    background: linear-gradient(135deg, #112c62 0%, #1d438a 50%, #295bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 67, 138, 0.35);
}

#shape-btn:active {
    transform: translateY(0);
}

#color-picker {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.color-option:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.color-option.active {
    transform: scale(1.2);
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

canvas#webglCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    .particle-dashboard {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 2rem auto 0 auto;
        pointer-events: auto;
    }
}

/* --- MARKETS SECTION STICKY SPLIT LAYOUT --- */
#markets {
    overflow: visible !important;
}

.markets-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start; /* Align items to top so sticky positioning is active */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.markets-text-col {
    position: sticky;
    top: 12rem; /* Stick to viewport during parent scroll */
    text-align: left;
    height: fit-content;
    align-self: start;
}

.markets-text-col .section-badge::after {
    margin: 0.5rem 0 0 0; /* Left align underline dot */
}

.markets-text-col h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.markets-text-col .subtitle {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
}

.markets-gallery-col {
    position: relative;
}

.markets-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 3.5rem; /* Spacing between the vertically scrolling images */
}

.vertical-img-wrapper {
    position: relative;
    width: 100%;
    height: 480px; /* Tall height for scrolling depth */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8fafc;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-img-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(29, 67, 138, 0.25);
}

.vertical-img-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .markets-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .markets-text-col {
        position: relative;
        top: 0;
    }
    .vertical-img-wrapper {
        height: 320px;
    }
    /* Disable hover animations on mobile touch to prevent shaking/stuttering */
    .vertical-img-wrapper:hover {
        transform: none !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
        border-color: rgba(0, 0, 0, 0.05) !important;
    }
    .vertical-img-wrapper:hover img {
        transform: none !important;
    }
}

/* --- PAGE HERO BANNER --- */
.page-banner {
    position: relative;
    width: 100%;
    min-height: 55vh; /* Dedicated page header banner height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 4rem 4rem;
    z-index: 2;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-content .section-badge {
    color: #ffffff;
}

.banner-content .section-badge::after {
    background: #ffffff;
}

.banner-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* --- CONTACT US PAGE LAYOUT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #ffffff;
    border: 1px solid rgba(29, 67, 138, 0.12);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(29, 67, 138, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card:hover {
    border-color: rgba(29, 67, 138, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(29, 67, 138, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(29, 67, 138, 0.05);
    border: 1px solid rgba(29, 67, 138, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.info-text p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.premium-form {
    background: #ffffff;
    border: 1px solid rgba(29, 67, 138, 0.12);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(29, 67, 138, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: #f8fafc;
    border: 1px solid rgba(29, 67, 138, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #1d438a;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(29, 67, 138, 0.1);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(17, 44, 98, 0.2);
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #112c62 0%, #1d438a 50%, #295bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 67, 138, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .premium-form {
        padding: 2rem;
    }
}

/* --- SERVICES BACKGROUND PATHS --- */
.services-bg-paths {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

.services-bg-paths svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-dark .section-container {
    position: relative;
    z-index: 2;
}

/* --- HAMBURGER MENU --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.main-header.scrolled .hamburger-line {
    background-color: #0f172a;
}

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

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

@media (max-width: 900px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-capsule {
        position: fixed;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(29, 67, 138, 0.05);
    border: 1px solid rgba(29, 67, 138, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text {
    min-width: 0;
    flex: 1;
}

.info-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.info-text p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}
.info-card {
    background: #ffffff;
    border: 1px solid rgba(29, 67, 138, 0.12);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(29, 67, 138, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    box-sizing: border-box;
}

.premium-form {
    background: #ffffff;
    border: 1px solid rgba(29, 67, 138, 0.12);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(29, 67, 138, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: #f8fafc;
    border: 1px solid rgba(29, 67, 138, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: #1d438a;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(29, 67, 138, 0.1);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0a1c3f 0%, #112c62 50%, #1d438a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(17, 44, 98, 0.2);
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #112c62 0%, #1d438a 50%, #295bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 67, 138, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .premium-form {
        padding: 2rem;
    }
}

/* --- SERVICES BACKGROUND PATHS --- */
.services-bg-paths {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

.services-bg-paths svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-dark .section-container {
    position: relative;
    z-index: 2;
}

/* --- HAMBURGER MENU --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.main-header.scrolled .hamburger-line {
    background-color: #0f172a;
}

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

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

.mobile-only {
    display: none !important;
}

@media (max-width: 900px) {
    .main-header {
        padding: 1rem 1.5rem;
    }
    
    .main-header.scrolled {
        padding: 0.8rem 1.5rem;
    }

    .hamburger-menu {
        display: none !important;
    }

    .main-header.scrolled .hamburger-menu.active .hamburger-line {
        background-color: #ffffff;
    }

    .btn-cta {
        display: none;
    }

    .main-header .header-container {
        position: relative;
        justify-content: space-between;
    }

    .logo {
        position: static;
        flex: 1;
        z-index: 1;
        display: flex;
        align-items: center;
    }

    .logo img {
        position: relative;
    }

    .logo-text {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        font-size: 1.25rem;
        letter-spacing: 1px;
        opacity: 0;
        max-width: 0;
        margin-left: 0;
        animation: mobileLogoLoop 8s infinite ease-in-out;
    }

    @keyframes mobileLogoLoop {
        0%, 100% {
            max-width: 0;
            opacity: 0;
            margin-left: 0;
        }
        5%, 45% {
            max-width: 150px;
            opacity: 1;
            margin-left: 8px;
        }
        50%, 95% {
            max-width: 0;
            opacity: 0;
            margin-left: 0;
        }
    }

    .nav-capsule {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background: #0f172a !important;
        border-radius: 0;
        padding: 6rem 2rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border: none;
        z-index: 1005;
        overflow-y: auto;
    }

    .main-header.scrolled .nav-capsule a {
        color: #94a3b8 !important;
    }

    .main-header.scrolled .nav-capsule a:hover,
    .main-header.scrolled .nav-capsule a.active {
        color: #ffffff !important;
    }

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

    .nav-capsule a {
        font-size: 1.4rem;
        margin: 0.8rem 0;
        text-align: center;
    }

    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-capsule .lang-switcher {
        margin-top: 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .main-header.scrolled .nav-capsule .btn-lang {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

    .main-header.scrolled .nav-capsule .lang-dropdown {
        background: rgba(15, 23, 42, 0.95);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .main-header.scrolled .nav-capsule .lang-option {
        color: #94a3b8;
    }

    .nav-capsule .lang-dropdown {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        right: auto;
        bottom: 100%;
        top: auto;
        margin-bottom: 8px;
    }
    .nav-capsule .lang-switcher.open .lang-dropdown {
        transform: translateX(-50%) translateY(0);
    }

    .quote-split-layout {
        padding: 0 1rem;
    }
    .quote-text-col h2 {
        font-size: 2.2rem;
    }
    .quote-text-col .subtitle {
        font-size: 1.05rem;
        padding: 0 0.5rem;
    }
}

@media (min-width: 901px) {
    .mobile-only,
    .nav-capsule .mobile-only {
        display: none !important;
    }
}

/* Contact Modal */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 5, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.contact-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.contact-modal-content {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.contact-modal-overlay.active .contact-modal-content {
    transform: translateY(0);
}
.close-modal-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    z-index: 100;
    transition: all 0.3s ease;
}
.close-modal-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}
