@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* ============================================================
   VICTORY COMPOSITE — Global Design System (Architectural Grade)
   ============================================================ */

/* ─── Custom Properties ─── */
:root {
    --brand: #07356B;
    --brand-light: #0d4a94;
    --brand-dark: #04244a;
    --accent-gold: #F5C342;
    --accent-gold-dark: #d49826;
    --accent-amber: #f59e0b;
    --navy: #07356B;
    --navy-light: #0f4c81;
    --navy-deep: #031b39;
    --section-bg: #F1F4F8;
    --warm-white: #ffffff;
    --warm-gray: #F1F4F8;
    --text-primary: #0a192f;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 18px rgba(0,0,0,0.09);
    --shadow-lg: 0 14px 44px rgba(0,0,0,0.13);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.18);
    --shadow-brand: 0 10px 32px rgba(168, 90, 42, 0.28);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ─── Smooth Scrollbar ─── */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: var(--warm-white);
}
::-webkit-scrollbar-thumb {
    background: #b8aba0;
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand);
}

/* ─── Body & Typography Baselines ─── */
body {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: -0.025em;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
}

::selection {
    background: var(--brand);
    color: #fff;
}

/* ─── Page Load Animation ─── */
.page-load {
    animation: pageReveal 0.8s var(--ease-out-expo) forwards;
}

@keyframes pageReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Scroll-Reveal System ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.20s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.28s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.36s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.40s; }
.reveal-stagger.revealed > *:nth-child(11) { transition-delay: 0.44s; }
.reveal-stagger.revealed > *:nth-child(12) { transition-delay: 0.48s; }
.reveal-stagger.revealed > *:nth-child(13) { transition-delay: 0.52s; }
.reveal-stagger.revealed > *:nth-child(14) { transition-delay: 0.56s; }
.reveal-stagger.revealed > *:nth-child(15) { transition-delay: 0.60s; }
.reveal-stagger.revealed > *:nth-child(16) { transition-delay: 0.64s; }
.reveal-stagger.revealed > *:nth-child(17) { transition-delay: 0.68s; }
.reveal-stagger.revealed > *:nth-child(18) { transition-delay: 0.72s; }
.reveal-stagger.revealed > *:nth-child(19) { transition-delay: 0.76s; }
.reveal-stagger.revealed > *:nth-child(20) { transition-delay: 0.80s; }

/* ─── Navbar Scroll-Shrink ─── */
.glass-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    transition: height 0.4s var(--ease-out-expo),
                box-shadow 0.4s ease,
                background 0.4s ease;
}

.glass-header.scrolled {
    height: 76px !important;
    background: #ffffff !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid #cbd5e1 !important;
}

.glass-header.scrolled img {
    transition: all 0.4s var(--ease-out-expo);
}

/* ─── Nav Link Animations ─── */
.nav-link {
    position: relative;
    color: #0f172a !important;
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent-gold));
    transition: width 0.35s var(--ease-out-expo), left 0.35s var(--ease-out-expo);
    border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.text-brand::after {
    width: 100%;
    left: 0%;
}

/* ─── Navigation Dropdown System ─── */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Invisible hover bridge to eliminate dead gap between trigger and menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 25px;
    z-index: 45;
}

.dropdown-menu-panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    padding: 8px !important;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s var(--ease-out-expo),
                transform 0.22s var(--ease-out-expo),
                visibility 0.22s;
}

/* Dropdown Chevron rotation */
.nav-dropdown .dropdown-chevron {
    transition: transform 0.25s var(--ease-out-expo);
}
.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
}

/* Open state on hover or toggle */
.nav-dropdown:hover .dropdown-menu-panel,
.nav-dropdown:focus-within .dropdown-menu-panel,
.dropdown-menu-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
}

/* Dropdown Item Styling */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    background: transparent;
    border-left: 3px solid transparent;
    transition: all 0.22s var(--ease-out-expo);
}

.dropdown-item:hover {
    background: #fbf5ef !important;
    border-left-color: #a85a2a !important;
    transform: translateX(4px);
}

.dropdown-item .item-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f6efe8;
    border: 1px solid rgba(168, 90, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a85a2a;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.dropdown-item:hover .item-icon {
    background: linear-gradient(135deg, #a85a2a 0%, #c4763e 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(168, 90, 42, 0.28);
}

.dropdown-item .item-icon svg {
    color: #a85a2a;
    transition: color 0.2s ease, stroke 0.2s ease;
}

.dropdown-item:hover .item-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.dropdown-item .item-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a !important;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.dropdown-item:hover .item-title {
    color: #a85a2a !important;
}

.dropdown-item .item-desc {
    font-size: 0.75rem;
    color: #64748b !important;
    margin-top: 2px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.dropdown-item:hover .item-desc {
    color: #475569 !important;
}

.dropdown-item .item-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.22s var(--ease-out-expo);
    color: #a85a2a;
    flex-shrink: 0;
}

.dropdown-item:hover .item-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Premium Card System ─── */
.card-premium {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo),
                box-shadow 0.5s var(--ease-out-expo),
                border-color 0.4s ease;
}
.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(168, 90, 42, 0.15);
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent-gold), var(--brand));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.card-premium:hover::before {
    opacity: 1;
    animation: gradientShift 2s linear infinite;
}

/* ─── Glass Card ─── */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s ease;
}
.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ─── Button System ─── */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(168, 90, 42, 0.2);
}
.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}
.btn-primary:active {
    transform: translateY(0);
}

/* Shimmer Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
}
.btn-primary:hover::after {
    animation: shimmer 0.8s ease forwards;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    transition: color 0.3s ease, gap 0.3s var(--ease-out-expo);
}
.btn-ghost:hover {
    color: var(--brand);
    gap: 10px;
}

@keyframes shimmer {
    to { left: 125%; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ─── Section Label ─── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brand);
}
.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent-gold));
    border-radius: 2px;
}

/* ─── Animated Counter ─── */
.counter-value {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* ─── Hero Parallax Layer ─── */
.hero-parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ─── Floating Input ─── */
.float-field {
    position: relative;
}
.float-field input,
.float-field textarea,
.float-field select {
    width: 100%;
    padding: 18px 16px 8px;
    border: 1.5px solid #e2ddd7;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    background: #fff;
    color: var(--navy);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.float-field input:focus,
.float-field textarea:focus,
.float-field select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(168, 90, 42, 0.1);
}
.float-field label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.25s var(--ease-out-expo);
    background: transparent;
    padding: 0 4px;
}
.float-field textarea ~ label {
    top: 20px;
}
.float-field input:focus ~ label,
.float-field input:not(:placeholder-shown) ~ label,
.float-field textarea:focus ~ label,
.float-field textarea:not(:placeholder-shown) ~ label,
.float-field select:focus ~ label,
.float-field select:valid ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #fff;
}

/* ─── Client Logo Marquee ─── */
.marquee-track {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── Gradient Divider ─── */
.gradient-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,90,42,0.2), transparent);
}

/* ─── Process Step Connector ─── */
.process-step {
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    left: 24px;
    width: 2px;
    height: calc(100% - 24px);
    background: linear-gradient(180deg, var(--brand), transparent);
    opacity: 0.3;
}

/* ─── Stat Card ─── */
.stat-card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}
.stat-card:hover::after {
    transform: scaleX(1);
}

/* ─── Icon Box ─── */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(168,90,42,0.08), rgba(212,168,83,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}
.card-premium:hover .icon-box,
.stat-card:hover .icon-box {
    background: linear-gradient(135deg, rgba(168,90,42,0.15), rgba(212,168,83,0.15));
    transform: scale(1.05) rotate(2deg);
}

/* ─── Hero Gradient Overlay (Deep Contrast to Prevent Text Dissolving) ─── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.94) 0%,
        rgba(15, 23, 42, 0.82) 45%,
        rgba(26, 16, 10, 0.75) 100%
    );
}

.hero-gradient-center {
    background: radial-gradient(
        circle at 50% 40%,
        rgba(15, 23, 42, 0.75) 0%,
        rgba(15, 23, 42, 0.96) 100%
    );
}

/* ─── Breadcrumb (High-Contrast Slate and Gold) ─── */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.12);
}
.breadcrumb a {
    color: #cbd5e1;
    transition: color 0.25s ease;
}
.breadcrumb a:hover {
    color: var(--accent-gold);
}
.breadcrumb .separator {
    color: #94a3b8;
    opacity: 0.7;
}
.breadcrumb .current,
.breadcrumb span:last-child {
    color: #ffffff;
    font-weight: 700;
}

/* ─── Rock-Solid Pure CSS Background Utilities (Never depend on Tailwind CDN) ─── */
.bg-navy,
[class*="bg-navy"],
section.bg-navy,
div.bg-navy,
footer.bg-navy,
header.bg-navy,
.bg-dark,
.bg-dark-slate {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

.bg-navy-light,
[class*="bg-navy-light"] {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.bg-navy-deep,
[class*="bg-navy-deep"] {
    background-color: #070c18 !important;
    color: #ffffff !important;
}

.bg-brand {
    background-color: #a85a2a !important;
    color: #ffffff !important;
}

.bg-brand-light {
    background-color: #c4763e !important;
    color: #ffffff !important;
}

.bg-warm-white {
    background-color: #faf8f5 !important;
}

.bg-warm-gray {
    background-color: #f5f2ee !important;
}

/* ─── Guaranteed Deep Dark Hero & CTA Overlays ─── */
.hero-dark-overlay,
.hero-gradient,
[class*="hero-dark-overlay"],
[class*="hero-gradient"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.96) 0%,
        rgba(15, 23, 42, 0.88) 50%,
        rgba(15, 23, 42, 0.95) 100%
    ) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.cta-dark-overlay,
[class*="cta-dark-overlay"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(26, 18, 14, 0.94) 100%
    ) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* ─── Gold Text Gradient Utility ─── */
.gold-text-gradient,
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #f59e0b 50%, #e6a86c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
}

/* ─── Light vs Dark Text Contrast System (Fixes dissolving text everywhere) ─── */
/* In LIGHT sections: make muted text readable */
body:not(.bg-navy) .text-gray-400 {
    color: #64748b;
}
body:not(.bg-navy) .text-gray-500 {
    color: #475569;
}
body:not(.bg-navy) .text-gray-600 {
    color: #334155;
}

/* In DARK sections (bg-navy, footer, dark hero): text MUST be bright and crisp */
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
section[style*="0f172a"] h1, section[style*="0f172a"] h2, section[style*="0f172a"] h3, section[style*="0f172a"] h4,
div[style*="0f172a"] h1, div[style*="0f172a"] h2, div[style*="0f172a"] h3,
.text-white {
    color: #ffffff !important;
}

.bg-navy p,
.bg-navy li,
section[style*="0f172a"] p,
section[style*="0f172a"] li,
div[style*="0f172a"] p,
footer p {
    color: #e2e8f0 !important;
}

/* Ensure secondary text in dark sections is high-contrast light silver */
.bg-navy .text-gray-400,
.bg-navy .text-gray-500,
.bg-navy .text-slate-400,
.bg-navy [class*="text-white/"],
section[style*="0f172a"] .text-gray-400,
section[style*="0f172a"] .text-gray-500,
section[style*="0f172a"] [class*="text-white/"],
div[style*="0f172a"] [class*="text-white/"],
footer .text-gray-400,
footer .text-gray-500,
footer .text-slate-400,
footer ul li a {
    color: #cbd5e1 !important;
}

footer ul li a:hover {
    color: #d4a853 !important;
}

/* Button outline contrast on dark surfaces */
.bg-navy .btn-outline,
section[style*="0f172a"] .btn-outline,
div[style*="0f172a"] .btn-outline {
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}
.bg-navy .btn-outline:hover,
section[style*="0f172a"] .btn-outline:hover,
div[style*="0f172a"] .btn-outline:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Client Logo Card */
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.35s var(--ease-out-expo);
    min-width: 170px;
    height: 76px;
    flex-shrink: 0;
}
.client-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(168, 90, 42, 0.12);
    border-color: rgba(168, 90, 42, 0.25);
}
.client-logo-card svg,
.client-logo-card img {
    max-height: 38px;
    width: auto;
    filter: grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.client-logo-card:hover svg,
.client-logo-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.04);
}

/* ─── Pulse dot ─── */
.pulse-dot {
    position: relative;
}
.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    transform: translateY(-50%);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.5); }
}

/* ─── Image Hover Zoom ─── */
.img-zoom {
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.img-zoom img {
    transition: transform 0.7s var(--ease-out-expo);
}
.img-zoom:hover img {
    transform: scale(1.06);
}

/* ─── Footer ─── */
.footer-gradient-top {
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent-gold), var(--brand-light));
}

/* ─── Skeleton Loader ─── */
@keyframes skeletonPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}
.skeleton {
    background: linear-gradient(90deg, #f0ebe5, #e8e2da, #f0ebe5);
    background-size: 200% 100%;
    animation: skeletonPulse 1.5s ease infinite;
    border-radius: var(--radius-md);
}

/* ─── Success Animation ─── */
@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.success-check {
    animation: checkmark 0.5s var(--ease-spring) forwards;
}

/* ─── Reading Time Badge ─── */
.reading-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(168, 90, 42, 0.08);
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 700;
}

/* ─── Responsive Helpers ─── */
@media (max-width: 768px) {
    .glass-header.scrolled {
        height: 66px !important;
    }

    .section-label::before {
        width: 18px;
    }
}

/* ─── Subtle Background Pattern ─── */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(168,90,42,0.04) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ─── Hover Reveal Text ─── */
.hover-reveal .reveal-text {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}
.hover-reveal:hover .reveal-text {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Timeline ─── */
.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), rgba(168,90,42,0.1));
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--brand);
    background: #fff;
    position: absolute;
    left: 18px;
    top: 4px;
    z-index: 2;
    transition: background 0.3s ease;
}
.timeline-item:hover .timeline-dot {
    background: var(--brand);
}

/* ─── Responsive fine-tuning ─── */
@media (max-width: 640px) {
    .btn-primary,
    .btn-outline {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* ─── Mobile Menu & Nav Toggle for Phone Screens ─── */
#mobile-menu.hidden {
    display: none !important;
}
#mobile-menu:not(.hidden) {
    display: block !important;
}

#nav-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    cursor: pointer;
}

@keyframes mobileMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu:not(.hidden) {
    animation: mobileMenuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

