@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #002B49;
    --bg-elevated: #f4f6f8;
    --border-color: rgba(0, 43, 73, 0.1);
    --text-primary: #002B49;
    --text-secondary: #556B7D;
    --accent: #002B49;
    --accent-hover: #001f35;
    --accent-soft: rgba(0, 43, 73, 0.05);
    --gold: #D4A017;
    --gold-hover: #B88A14;
    --gold-soft: rgba(212, 160, 23, 0.1);
    --nav-bg: #ffffff;
    --nav-top-bg: #002B49;
    --shadow-sm: 0 2px 8px rgba(0,43,73,0.04);
    --shadow-md: 0 4px 24px rgba(0,43,73,0.06);
    --shadow-lg: 0 12px 48px rgba(0,43,73,0.10);
    --shadow-xl: 0 24px 80px rgba(0,43,73,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --ease-out: cubic-bezier(0.16,1,0.3,1);
    --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Scroll Animations ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--ease-spring), transform 1.2s var(--ease-spring);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ── Navigation ── */
.navbar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    transition: all 0.35s var(--ease-out);
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.95), rgba(0, 20, 35, 0.95));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar.scrolled {
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.98), rgba(0, 15, 30, 0.98));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(212, 160, 23, 0.25);
}

.navbar-top {
    background: var(--nav-top-bg);
    color: #fff;
    font-size: 13px;
    padding: 8px 22px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.navbar-top .top-links {
    display: flex;
    gap: 16px;
}
.navbar-top a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.navbar-top a:hover {
    color: #fff;
}

.navbar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 max(22px, env(safe-area-inset-left)) 0 max(22px, env(safe-area-inset-right));
    height: 90px;
    border-bottom: 1px solid var(--border-color);
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    text-decoration: none;
    transition: transform 0.4s var(--ease-spring), opacity 0.4s;
}
.logo:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}
.logo-svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.canadian-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.logo-text { 
    display: flex; 
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 16px;
    justify-content: center;
}
.logo-title {
    font-weight: 700; 
    font-size: 20px; 
    letter-spacing: -0.5px; 
    color: #ffffff;
}
.logo-subtitle {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s;
    position: relative;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%; right: 50%;
    height: 2px;
    background: var(--gold);
    transition: left 0.3s var(--ease-out), right 0.3s var(--ease-out);
}
.nav-link:hover { color: #ffffff; }
.nav-link.active { color: #ffffff; font-weight: 600; }
.nav-link.active::after { left: 0; right: 0; }

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #ffffff;
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 10000;
}
.mobile-menu-btn svg {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-btn.open svg {
    opacity: 0;
    transform: rotate(45deg);
}
.mobile-menu-btn.open::before,
.mobile-menu-btn.open::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: #fff;
    top: 50%;
    left: 50%;
}
.mobile-menu-btn.open::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-menu-btn.open::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ── Page Sections ── */
.page-section {
    display: none;
    min-height: 100vh;
    padding-top: 52px;
}
.page-section.active {
    display: block;
    animation: sectionReveal 0.7s var(--ease-out);
}
@keyframes sectionReveal {
    from { opacity:0; }
    to   { opacity:1; }
}

/* ── Section Backgrounds ── */
.bg-light-blue {
    background-color: #DCEAF2;
}
.bg-mesh {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 43, 73, 0.04) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(212, 160, 23, 0.04) 0%, transparent 40%);
}
.bg-gradient-blue {
    background: linear-gradient(145deg, #ffffff 0%, rgba(0, 43, 73, 0.05) 100%);
}
.bg-gradient-gold {
    background: linear-gradient(145deg, #ffffff 0%, rgba(212, 160, 23, 0.06) 100%);
}
.bg-gradient-slate {
    background: linear-gradient(145deg, #fbfbfb 0%, #f0f3f6 100%);
}


.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ── Typography ── */
h1,h2,h3,h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-primary);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 22px 0;
    text-align: left;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 22px 10px;
}
.hero-content { max-width: 800px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0A1128;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .desktop-badge-right {
        position: static !important;
        margin-bottom: 20px;
        text-align: center;
        display: flex;
        justify-content: center;
    }
}
.badge .dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(197, 168, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

.hero-title,
.hero-subtitle {
    font-size: clamp(24px, 3.15vw, 42px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}
.hero-title {
    margin-bottom: 0;
}
.hero-subtitle {
    margin-top: 0;
    margin-bottom: 60px;
}

.hero-description {
    font-size: clamp(14px, 1.45vw, 17px);
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 500;
}
.hero-description strong {
    font-weight: 700;
}

.nowrap-desktop {
    white-space: nowrap;
}

@media (max-width: 768px) {
    #hero-tagline {
        white-space: normal !important;
    }
    .nowrap-desktop {
        white-space: normal !important;
    }
}

.type-cursor {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    margin-left: 2px;
    animation: blinkCursor 0.8s steps(2, start) infinite;
}

@keyframes blinkCursor {
    to { visibility: hidden; }
}

/* Make words flow and shimmer smoothly */
.word-flow {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.25, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.25, 1, 0.3, 1);
    transition-delay: calc(var(--delay) * 0.12s);
    will-change: opacity, transform, filter;
}

.visible .word-flow {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    animation: smoothShimmer 6s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 0.15s + 1.5s);
}

@keyframes smoothShimmer {
    0%, 100% { color: inherit; text-shadow: none; }
    50% { color: var(--gold); text-shadow: 0 4px 20px rgba(212, 160, 23, 0.4); }
}

.highlight-light, .highlight-blue, .highlight-gold {
    color: var(--gold);
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(to right, var(--gold) 20%, #ffebaa 40%, #ffebaa 60%, var(--gold) 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 48px;
}

#about .section-title {
    font-size: clamp(22px, 2.4vw, 35px);
}

/* ── Buttons ── */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.3s;
}
.btn:active::after { background: rgba(0,0,0,0.08); }

.btn-primary {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3);
}
.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
}
.btn-secondary {
    background: var(--bg-dark);
    color: #fff;
}
.btn-secondary:hover {
    background: #001f35;
    transform: translateY(-2px);
}
.btn-outline, .btn-outline-dark {
    background: transparent;
    border: 2px solid var(--bg-dark);
    color: var(--bg-dark);
}
.btn-outline:hover, .btn-outline-dark:hover {
    background: var(--bg-dark);
    color: #fff;
}
.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Imagery ── */
.hero-visual-split {
    width: 100%;
    position: relative;
}
.hero-image-cover {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.live-interactive-image {
    transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
    will-change: transform;
    transform-style: preserve-3d;
}

@keyframes breathingImage {
    0%, 100% { 
        transform: perspective(1000px) scale(1) translateZ(0); 
        filter: brightness(1) contrast(1) drop-shadow(0 10px 20px rgba(0, 43, 73, 0.15));
    }
    50% { 
        transform: perspective(1000px) scale(1.03) translateZ(20px); 
        filter: brightness(1.15) contrast(1.05) drop-shadow(0 25px 45px rgba(212, 160, 23, 0.4));
    }
}

.live-interactive-image:not(.is-hovered) {
    animation: breathingImage 8s ease-in-out infinite;
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    box-shadow: var(--shadow-md);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.section-image:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

/* ── Cards ── */
.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solid-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), border-color 0.5s ease;
    position: relative;
    overflow: hidden;
}
.solid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,43,73,0.12), 0 0 0 1px rgba(212,160,23,0.15);
    border-color: rgba(212,160,23,0.3);
}
.solid-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #f0d060, var(--gold));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    animation: shimmerBar 3s linear infinite;
}
@keyframes shimmerBar {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.solid-card:hover::before { opacity: 1; }

/* Card spotlight hover glow */
.solid-card::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px; right: -100px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 0;
}
.solid-card:hover::after {
    opacity: 1;
    transform: scale(1.5);
}
.solid-card > * { position: relative; z-index: 1; }

.solid-card h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
}
.solid-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.solid-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

#practices .solid-card { padding: 24px; }
#practices .solid-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
#practices .solid-card p { font-size: 0.9rem; line-height: 1.4; }
#practices .feature-item-light { font-size: 0.85rem; padding: 4px 6px; }
#practices .card-icon-light { width: 40px; height: 40px; margin-bottom: 12px; }
#practices .card-icon-light svg { width: 20px; height: 20px; }
#practices .card-features { gap: 8px; margin-top: 16px; }

#about .solid-card { padding: 24px; }
#about .solid-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
#about .solid-card p { font-size: 0.9rem; line-height: 1.4; }
#about .card-icon-dark { width: 40px; height: 40px; margin-bottom: 12px; }
#about .card-icon-dark svg { width: 20px; height: 20px; }

/* Card icon */
.card-icon-light, .card-icon-dark {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.4s var(--ease-spring), background 0.4s ease, box-shadow 0.4s ease;
}
.card-icon-light {
    background: var(--bg-elevated);
    color: var(--bg-dark);
}
.card-icon-dark {
    background: var(--bg-elevated);
    color: var(--bg-dark);
}
.solid-card:hover .card-icon-light,
.solid-card:hover .card-icon-dark {
    transform: translateY(-4px) rotate(-8deg);
    background: var(--gold);
    color: #fff;
    box-shadow: 0 8px 24px rgba(212,160,23,0.35);
}

/* Feature items */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.feature-item-light {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: default;
}
.feature-item-light:hover {
    background: rgba(212,160,23,0.06);
    transform: translateX(4px);
}
.feature-item-light svg {
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-spring);
}
.feature-item-light:hover svg {
    transform: scale(1.2);
}

/* ── Section Banners ── */
.section-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #152243 100%);
    background-size: 200% 200%;
    border-radius: var(--radius-md);
    padding: 16px 40px;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background-position 0.8s ease, transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.4s ease;
}

.section-banner:hover {
    background-position: 100% 100%;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.2);
    border-color: rgba(212, 160, 23, 0.3); /* Subtle gold border on hover */
}

.section-banner p {
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.banner-accent-white { 
    display: block; 
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    z-index: 0;
}

.section-banner:hover .banner-accent-white {
    animation: luxurySweep 2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes luxurySweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ── Testimonials ── */
.testimonials-section .solid-card {
    text-align: left;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}
.testimonials-section .solid-card:hover {
    transform: translateY(-6px) scale(1.02);
}
.testimonials-section .solid-card img {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid var(--bg-elevated);
    transition: transform 0.4s var(--ease-spring), border-color 0.4s ease;
}
.testimonials-section .solid-card:hover img {
    transform: scale(1.1);
    border-color: var(--gold);
}
.testimonials-section p[style*="italic"] {
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: var(--text-primary) !important;
    margin-bottom: 20px !important;
}

/* ── Founder Card ── */
.founder-card {
    border-left: 6px solid var(--gold) !important;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), border-color 0.5s ease;
}
.founder-card:hover {
    border-left-color: #f0d060 !important;
    box-shadow: 0 20px 60px rgba(212,160,23,0.15) !important;
}
.founder-card img {
    border: 3px solid var(--bg-dark) !important;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s ease;
}
.founder-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,43,73,0.2);
}

/* ── Contact ── */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease, transform 0.3s var(--ease-spring);
    cursor: default;
}
.contact-item:hover {
    background: rgba(0,43,73,0.03);
    transform: translateX(6px);
}
.contact-icon-dark {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-spring), background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.contact-item:hover .contact-icon-dark {
    transform: scale(1.15) rotate(-5deg);
    background: var(--gold);
    color: #fff;
    box-shadow: 0 6px 20px rgba(212,160,23,0.3);
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 3px;
    text-transform: uppercase;
}
.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 20px; }

label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    color: var(--text-secondary);
    text-transform: uppercase;
}
.req { color: var(--accent); }

input, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 43, 73, 0.12);
    border-radius: var(--radius-sm);
    padding: 16px 16px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.4s var(--ease-spring);
    font-family: inherit;
    box-shadow: inset 0 2px 5px rgba(0, 43, 73, 0.03);
}
input:hover, textarea:hover {
    border-color: rgba(0, 43, 73, 0.3);
    background: #ffffff;
    box-shadow: inset 0 2px 5px rgba(0, 43, 73, 0.03), 0 4px 14px rgba(0, 43, 73, 0.06);
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #ffffff;
    box-shadow: inset 0 2px 5px rgba(0, 43, 73, 0.03), 0 0 0 4px var(--gold-soft);
    transform: translateY(-2px);
}
input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    padding: 8px 18px;
    background: var(--bg-elevated);
    border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
    user-select: none;
}
.tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,160,23,0.15);
}
.tag.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,43,73,0.25);
    transform: translateY(-2px) scale(1.05);
}

.form-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* ── Values section ── */
.values-section h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 32px;
}

/* ── Clients Served (dark cards) ── */
.clients-served-section .solid-card {
    background: var(--bg-dark);
    border-color: transparent;
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s ease, background 0.5s ease;
}

.clients-served-section .solid-card::before {
    background: linear-gradient(90deg, var(--gold), #f0d060, var(--gold));
    background-size: 200% 100%;
    animation: shimmerBar 3s linear infinite;
}
.clients-served-section .solid-card::after {
    background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
}
.clients-served-section .solid-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(212,160,23,0.1);
    transform: translateY(-6px);
    background: #001f35;
}

/* ── Elegant Footer ── */
.site-footer.elegant-footer {
    position: relative;
    background: linear-gradient(180deg, #000d16 0%, #000a12 100%);
    color: rgba(255, 255, 255, 0.5);
    padding: 0;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.footer-glow-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 160, 23, 0.15) 20%,
        rgba(212, 160, 23, 0.6) 50%,
        rgba(212, 160, 23, 0.15) 80%,
        transparent 100%
    );
}

/* Main row */
.elegant-footer .footer-main {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 32px 32px;
    gap: 32px;
}

/* Brand column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo-mark {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.6),
                0 0 30px rgba(212, 160, 23, 0.2);
    animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(212,160,23,0.6), 0 0 30px rgba(212,160,23,0.2); }
    50% { box-shadow: 0 0 14px rgba(212,160,23,0.9), 0 0 40px rgba(212,160,23,0.4); }
}

.footer-name {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    line-height: 1.5;
    padding-left: 18px;
}

/* Navigation */
.footer-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.footer-nav a span {
    position: relative;
    display: inline-block;
}

.footer-nav a span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.95);
}

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

/* Social */
.footer-social-col {
    display: flex;
    align-items: center;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.35s var(--ease-spring);
    text-decoration: none;
}

.footer-social-btn:hover {
    color: var(--gold);
    border-color: rgba(212, 160, 23, 0.4);
    background: rgba(212, 160, 23, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.15);
}

/* Bottom bar */
.footer-bottom-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.03em;
}

.footer-bottom-dot {
    color: rgba(212, 160, 23, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .elegant-footer .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px 24px;
        gap: 24px;
    }
    .footer-brand-col {
        align-items: center;
    }
    .footer-tagline {
        padding-left: 0;
    }
    .footer-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-bottom-bar {
        padding: 16px 24px;
    }
}

/* ── Legacy class mapping ── */
.dark-text { color: var(--text-primary) !important; }
.dark-text-secondary { color: var(--text-secondary) !important; }
.text-white { color: #fff !important; }

/* Hero content must stay light — override bright-block on hero */
.hero-content.bright-block { background: transparent !important; }
.hero-content.bright-block h1,
.hero-content.bright-block p,
.hero-content.bright-block strong { color: var(--text-primary) !important; -webkit-text-fill-color: initial; }
.hero-content.bright-block .hero-description { color: var(--text-secondary) !important; }
.hero-content.bright-block .hero-description strong { color: var(--text-primary) !important; }
.hero-content.bright-block .highlight-light {
    color: var(--gold);
}

/* Dark cards — only solid-card elements */
.solid-card.bright-block { background: var(--bg-dark) !important; border-color:transparent !important; }
.solid-card.bright-block-alt { background: var(--bg-elevated) !important; border-color:var(--border-color) !important; }
.solid-card.bright-block-alt2 { background: var(--bg-elevated) !important; border-color:var(--border-color) !important; }
.solid-card.bright-block-alt3 { background: var(--bg-card) !important; }
.light-bg-card { background: var(--bg-card) !important; }
.mt-5 { margin-top: 48px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-2 { margin-bottom: 8px !important; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; }

/* White text for dark bg cards */
.solid-card.bright-block h3, 
.solid-card.bright-block p,
.solid-card.bright-block .feature-item-light {
    color: #fff !important;
}
.solid-card.bright-block-alt h3, .solid-card.bright-block-alt p,
.solid-card.bright-block-alt2 h3, .solid-card.bright-block-alt2 p {
    color: var(--text-primary) !important;
}
.solid-card.bright-block-alt p, .solid-card.bright-block-alt2 p {
    color: var(--text-secondary) !important;
}

.solid-card.bright-block::before { display:none; }

/* Interactive Cards - Turn blue on hover */
.interactive-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}
.interactive-card h3,
.interactive-card p,
.interactive-card .feature-item-light {
    color: var(--text-primary) !important;
    transition: color 0.4s ease;
}

.interactive-card:hover {
    background: var(--bg-dark) !important;
    border-color: transparent !important;
}
.interactive-card:hover h3,
.interactive-card:hover p,
.interactive-card:hover .feature-item-light {
    color: #fff !important;
}
.interactive-card:hover::before { display: none; }

/* Section banners keep their dark look */
.section-banner.bright-block { background: var(--bg-dark) !important; }
.section-banner.bright-block p { color: #fff !important; }
.section-banner.light-banner { background: #ffffff !important; border-color: rgba(0, 43, 73, 0.1) !important; box-shadow: 0 4px 24px rgba(0,43,73,0.06); }
.section-banner.light-banner p { color: var(--text-primary) !important; font-weight: 500; }
.section-banner.light-banner:hover { box-shadow: 0 12px 48px rgba(0,43,73,0.10); border-color: var(--gold) !important; }

/* Section top padding */
.page-section .container { padding-top: 80px; padding-bottom: 80px; }

/* ── Theme toggle ── */
.theme-toggle { display: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-title, .hero-subtitle { font-size: 42px; }
    .section-title { font-size: 40px; }
    .hero-description { font-size: 21px; }
    .navbar { padding: 0 22px; }
}

@media (max-width: 768px) {
    .navbar-main { padding: 0 12px; height: 80px; }
    .logo { gap: 10px; }
    .logo-svg { width: 32px; height: 32px; }
    .canadian-logo { width: 32px; height: 32px; }
    .logo-text { padding-left: 12px; white-space: nowrap; }
    .logo-title { font-size: 16px; }
    .logo-subtitle { font-size: 8px; letter-spacing: 0.15em; }
    
    .navbar-top { display: none; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; left: 0; right: 0; 
        height: calc(100vh - 60px);
        background: linear-gradient(180deg, #001a2e 0%, #000d16 100%);
        padding: 24px 22px;
        gap: 0;
        z-index: 9998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.open .nav-link {
        font-size: 18px;
        font-weight: 600;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: rgba(255, 255, 255, 0.9);
        display: block;
        width: 100%;
    }
    .nav-links.open .nav-link::after {
        display: none;
    }
    .nav-links.open .nav-link:hover,
    .nav-links.open .nav-link.active {
        color: var(--gold);
    }
    .nav-links.open .btn { margin-top: 20px; font-size: 15px; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    
    /* Hero section mobile */
    .hero-split {
        grid-template-columns: 1fr;
        padding: 45px 16px 40px;
        gap: 20px;
    }
    .hero-content {
        max-width: 100% !important;
    }
    .hero-title, .hero-subtitle { font-size: 24px; }
    .section-title { font-size: 26px; }
    .hero-description { font-size: 17px; margin-bottom: 24px; }
    .hero-spacer { height: 16px !important; }
    .hero-container { padding: 48px 16px 0; }
    .hero-actions { justify-content: center !important; }
    .hero-image-cover { min-height: 280px; }
    
    /* Hide orbit system on mobile — too complex for small screens */
    .hero-visual-split {
        min-height: auto !important;
        height: 280px;
        overflow: visible;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .orbit-system.light-theme {
        min-width: 800px;
        width: 800px;
        height: 600px;
        transform: scale(0.42);
        transform-origin: center center;
        margin-left: -260px;
    }
    
    /* Grids to single column */
    .card-grid-2, .card-grid-3, .contact-container, .form-row, .grid-2-col {
        grid-template-columns: 1fr;
    }
    .card-grid-2, .card-grid-3 {
        gap: 16px;
    }
    
    .page-section .container { padding-top: 48px; padding-bottom: 48px; }
    .section-banner { padding: 12px 20px; }
    .section-banner p { font-size: 16px; }
    .contact-container { gap: 32px; padding-top: 40px; }
    
    /* Founder card mobile */
    .founder-card > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    .founder-card img {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Values section mobile */
    .values-section h3 { font-size: 24px; }
    
    /* Pipeline cards mobile */
    .pipeline-card {
        min-width: unset !important;
        max-width: 100% !important;
        padding: 1.25rem 1.5rem !important;
    }
    .pipeline-title { font-size: 1.1rem !important; }
    .pipeline-sub { font-size: 0.85rem !important; letter-spacing: 1.5px !important; }
    
    /* Client cards */
    .client-logo-wrapper { height: 50px; margin-bottom: 16px; }
    .client-logo { max-width: 140px; }
    
    /* Remove excessive br spacing on mobile */
    .hero-content br + br { display: none; }
}

@media (max-width: 480px) {
    .hero-title, .hero-subtitle { font-size: 21px; }
    .hero-split { padding: 35px 14px 30px; }
    .section-title { font-size: 22px; }
    .solid-card { padding: 18px; }
    .btn-large { width: 100%; text-align: center; padding: 14px 24px; font-size: 14px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .badge { font-size: 10px; padding: 6px 12px; white-space: normal; text-align: center; }
    
    .orbit-system.light-theme {
        transform: scale(0.45) translate(0, -30px);
    }
    .hero-visual-split {
        max-height: 260px;
    }
    
    .timeline-infographic::before { left: 16px; }
    .timeline-item { padding-left: 45px; }
    .timeline-icon { width: 34px; height: 34px; font-size: 14px; left: -1px; }
    .timeline-content { padding: 1.25rem; }
    
    .nav-links.open .nav-link { font-size: 20px; padding: 16px 0; }
    
    .container { padding: 0 14px; }
    
    .footer-nav { gap: 16px; }
    .footer-social-btn { width: 36px; height: 36px; }
}

/* ── Flowthrough Infographic (Timeline) ── */
.timeline-infographic {
    position: relative;
    padding: 2rem 0;
}
.timeline-infographic::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(212,160,23,0.2));
}
/* Animated pulse travelling down the timeline */
.timeline-infographic::after {
    content: '';
    position: absolute;
    left: 21px;
    width: 8px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    border-radius: 4px;
    animation: timelinePulse 3s ease-in-out infinite;
    z-index: 1;
}
@keyframes timelinePulse {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-main);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    z-index: 2;
    transition: transform 0.4s var(--ease-spring), background 0.4s, box-shadow 0.4s;
    font-weight: 600;
}
.timeline-item:hover .timeline-icon {
    transform: scale(1.15);
    background: var(--gold);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(212,160,23,0.5);
}
.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s;
}
.compact-timeline .timeline-content {
    padding: 1.5rem;
}
.compact-timeline .timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem !important;
}
.compact-timeline .timeline-content li {
    font-size: 0.95rem;
}
.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-left-color: #f0d060;
}
.timeline-content h3 {
    transition: color 0.3s ease;
}
.timeline-item:hover .timeline-content h3 {
    color: var(--gold) !important;
}
.timeline-content li {
    transition: transform 0.3s ease;
    padding: 2px 0;
}
.timeline-content li:hover {
    transform: translateX(4px);
}

/* ── Mind-Blowing 3D Gyroscope Orbit System (Practices) ── */
.orbit-system {
    position: relative;
    width: 100%;
    height: 600px;
    background: radial-gradient(circle at center, #0B1923 0%, var(--bg-dark) 100%);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8), 0 30px 60px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    perspective: 1500px;
}
.orbit-space {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateY(0deg) scale(0.85);
    animation: galaxyTilt 20s infinite alternate ease-in-out;
}
@keyframes galaxyTilt { 
    0% { transform: rotateX(55deg) rotateY(-5deg) scale(0.85); } 
    100% { transform: rotateX(65deg) rotateY(5deg) scale(0.85); } 
}

.orbit-center {
    position: absolute;
    width: 140px; height: 140px;
    background: radial-gradient(circle, #fff 0%, #8bb9e5 60%, #407cb6 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 80px rgba(139, 185, 229, 0.8), inset 0 0 40px rgba(255,255,255,0.8);
    z-index: 10;
    transform: rotateX(-60deg);
    animation: counterGalaxyTilt 20s infinite alternate ease-in-out;
}
@keyframes counterGalaxyTilt { 
    0% { transform: rotateX(-55deg) rotateY(5deg); } 
    100% { transform: rotateX(-65deg) rotateY(-5deg); } 
}

.core-glow {
    position: absolute; width: 250%; height: 250%; border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 185, 229, 0.4) 0%, transparent 70%);
    animation: corePulse 3s infinite alternate ease-in-out;
}
.core-pulse-ring {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 3px solid #8bb9e5;
    animation: pulseRing 2s infinite ease-out;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.core-text { 
    position: relative; 
    font-weight: 800; 
    font-size: 28px; 
    color: #000; 
    z-index: 2; 
    letter-spacing: 3px; 
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.core-text-top {
    font-size: 0.45em;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.core-text-bottom {
    font-size: 1em;
    letter-spacing: 4px;
}

.orbit-ring {
    position: absolute; border-radius: 50%;
    transform-style: preserve-3d;
    border: 2px dashed rgba(212, 160, 23, 0.4);
}
.ring-1 { width: 340px; height: 340px; animation: spinRight 12s linear infinite; box-shadow: inset 0 0 30px rgba(212,160,23,0.1), 0 0 30px rgba(212,160,23,0.1); }
.ring-2 { width: 540px; height: 540px; animation: spinLeft 20s linear infinite; border: 2px dashed rgba(58, 142, 185, 0.3); box-shadow: inset 0 0 30px rgba(58,142,185,0.1), 0 0 30px rgba(58,142,185,0.1);}
.ring-3 { width: 740px; height: 740px; animation: spinRight 30s linear infinite; border: 1px dotted rgba(255, 255, 255, 0.1); }

.orbit-node {
    position: absolute; width: 170px; height: 50px;
    background: linear-gradient(135deg, rgba(20, 42, 56, 0.95), rgba(11, 25, 35, 0.95));
    border: 1px solid var(--accent);
    color: #fff; font-weight: 400; text-align: center;
    font-family: var(--font-serif); font-size: 15px;
    line-height: 48px; border-radius: 25px;
    box-shadow: 0 0 20px rgba(58, 142, 185, 0.5), inset 0 0 10px rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    letter-spacing: 1.5px;
}
.node-content {
    /* Removed counterGalaxyTilt to fix the double slant bug */
}

.ring-1 .orbit-node { animation: counterSpinRight 12s linear infinite; }
.ring-2 .orbit-node { animation: counterSpinLeft 20s linear infinite; }
.ring-3 .orbit-node { animation: counterSpinRight 30s linear infinite; }

.node-sustain { top: -25px; left: 50%; margin-left: -85px; border-color: var(--gold); box-shadow: 0 0 30px rgba(212,160,23,0.8); }
.node-resil { top: auto; bottom: -25px; left: 50%; margin-left: -85px; border-color: var(--gold); box-shadow: 0 0 30px rgba(212,160,23,0.8); }
.node-secure { top: 50%; left: -25px; margin-top: -25px; margin-left: -60px; }
.node-digital { top: 50%; left: auto; right: -25px; margin-top: -25px; margin-right: -60px; }
.node-mfg { top: -25px; left: 50%; margin-left: -85px; border-color: #3b82f6; box-shadow: 0 0 30px rgba(59,130,246,0.8); }
.node-copackers { top: auto; bottom: -25px; left: 50%; margin-left: -85px; border-color: #8b5cf6; box-shadow: 0 0 30px rgba(139,92,246,0.8); }
.node-esg { top: -25px; left: 50%; margin-left: -85px; border-color: #10b981; box-shadow: 0 0 30px rgba(16,185,129,0.8); }
.node-cyber { top: auto; bottom: -25px; left: 50%; margin-left: -85px; border-color: #f0d060; box-shadow: 0 0 30px rgba(240,208,96,0.8); }
.node-cust { top: 50%; left: auto; right: -25px; margin-top: -25px; margin-right: -60px; border-color: #8bb9e5; box-shadow: 0 0 30px rgba(139,185,229,0.8); }
.node-gov { top: 50%; left: -25px; margin-top: -25px; margin-left: -60px; border-color: #3b82f6; box-shadow: 0 0 30px rgba(59,130,246,0.8); }

.data-packet {
    position: absolute; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 20px 10px #fff;
    left: 50%; top: -6px; margin-left: -6px;
    animation: packetOrbit 4s linear infinite;
    transform-origin: 50% 170px; /* Half of ring 1 width */
}
.dp-2 { 
    background: var(--accent); box-shadow: 0 0 20px 10px var(--accent);
    transform-origin: 50% 270px; /* Half of ring 2 width */
    animation: packetOrbitLeft 6s linear infinite;
}

/* Light Theme overrides for Orbit System */
.orbit-system.light-theme {
    background: transparent;
    box-shadow: none;
    transform: translate(60px, -40px);
}
.orbit-system.light-theme .ring-1, 
.orbit-system.light-theme .ring-2 {
    box-shadow: none;
    border: 2px dashed rgba(11, 25, 35, 0.3);
}
.orbit-system.light-theme .ring-3 {
    border: 1px dotted rgba(11, 25, 35, 0.35);
}
.orbit-system.light-theme .core-text {
    text-shadow: none;
}
.orbit-system.light-theme .data-packet {
    background: var(--gold);
    box-shadow: 0 0 20px 10px rgba(212, 160, 23, 0.5);
}

@keyframes spinRight { 100% { transform: rotateZ(360deg); } }
@keyframes counterSpinRight { 
    0% { transform: rotateZ(0deg) rotateX(-60deg); }
    100% { transform: rotateZ(-360deg) rotateX(-60deg); } 
}
@keyframes spinLeft { 100% { transform: rotateZ(-360deg); } }
@keyframes counterSpinLeft { 
    0% { transform: rotateZ(0deg) rotateX(-60deg); }
    100% { transform: rotateZ(360deg) rotateX(-60deg); } 
}
@keyframes packetOrbit { 100% { transform: rotateZ(360deg); } }
@keyframes packetOrbitLeft { 100% { transform: rotateZ(-360deg); } }

/* ── Mind-Blowing Cyber-Tunnel Pipeline (Approach) ── */
.pipeline-system {
    position: relative;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    background: #0B1923;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
    overflow: hidden;
    perspective: 1200px;
}
.tunnel-grid {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(58,142,185,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58,142,185,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(45deg) scale(1.5);
    transform-origin: top center;
    animation: gridMove 10s linear infinite;
    z-index: 0;
    opacity: 0.4;
}
@keyframes gridMove { 100% { background-position: 0 50px; } }

.pipeline-path {
    position: absolute;
    top: 0; bottom: 0; left: 25%; width: 6px;
    margin-left: -3px;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    z-index: 1;
}
.pipeline-pulse-trail {
    position: absolute; top: 0; left: 25%; width: 8px; height: 200px; margin-left: -4px;
    background: linear-gradient(to bottom, transparent, #fff, var(--gold), transparent);
    z-index: 2; filter: blur(3px);
    animation: flowDown 2s linear infinite;
}
.pt-2 { animation-delay: 1s; animation-duration: 2.5s; background: linear-gradient(to bottom, transparent, var(--accent), #fff, transparent); }
@keyframes flowDown { 0% { top: -200px; opacity: 0;} 10% {opacity: 1;} 90% {opacity: 1;} 100% { top: 100%; opacity: 0;} }

.pipeline-node {
    position: relative; z-index: 3;
    display: flex; align-items: center; justify-content: flex-start;
    padding-left: calc(25% + 60px);
    padding-right: 20px;
    width: 100%;
}
.pipeline-dot {
    position: absolute; left: 25%; top: 50%;
    width: 30px; height: 30px; margin: -15px 0 0 -15px;
    border-radius: 50%; background: #fff;
    box-shadow: 0 0 30px 10px currentColor;
    z-index: 4;
    display: flex; align-items: center; justify-content: center;
}
.dot-ripple {
    position: absolute; width: 100%; height: 100%;
    border: 2px solid currentColor; border-radius: 50%;
    animation: ripple 2s infinite ease-out;
}
@keyframes ripple { 100% { transform: scale(3); opacity: 0; } }

.glow-blue { color: var(--accent); background: var(--accent); }
.glow-gold { color: var(--gold); background: var(--gold); }

.pipeline-card {
    background: rgba(11, 25, 35, 0.85);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    text-align: left;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
}
.card-glow {
    position: absolute; inset: 0; border-radius: 20px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.5s;
    z-index: 0; pointer-events: none;
}
.pipeline-card > * { position: relative; z-index: 2; transform: translateZ(20px); }

.pipeline-node:hover .pipeline-card { 
    transform: scale(1.1) rotateX(10deg) translateY(-10px); 
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(212,160,23,0.4);
}
.pipeline-node:hover .card-glow { opacity: 1; }
.pipeline-node:hover .pipeline-dot { transform: scale(1.4); }

.pipeline-title { font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: 2px; text-shadow: 0 5px 10px rgba(0,0,0,0.5);}
.pipeline-sub { font-size: 1rem; color: var(--gold); margin-top: 8px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700;}

/* Mobile responsiveness for extreme 3D elements */
@media (max-width: 768px) {
    .orbit-system { height: 300px; padding: 0; perspective: 600px; overflow: hidden; }
    .orbit-center { width: 70px; height: 70px; }
    .core-text { font-size: 14px; letter-spacing: 1px; }
    .ring-1 { width: 160px; height: 160px; }
    .ring-2 { width: 260px; height: 260px; }
    .ring-3 { width: 360px; height: 360px; }
    .orbit-node { width: 80px; height: 28px; line-height: 24px; font-size: 9px; margin-left: -40px; letter-spacing: 0.5px; border-radius: 14px; }
    .node-sustain, .node-mfg, .node-esg { top: -14px; margin-left: -40px; }
    .node-resil, .node-copackers, .node-cyber { bottom: -14px; margin-left: -40px; top: auto; }
    .node-secure, .node-gov { top: 50%; left: -14px; margin-top: -14px; margin-left: 0; }
    .node-digital, .node-cust { top: 50%; right: -14px; margin-top: -14px; margin-right: 0; left: auto; }
    
    .pipeline-system { padding: 2rem 0; gap: 40px; }
    .pipeline-path, .pipeline-pulse-trail, .pipeline-dot { left: 24px; }
    .pipeline-node { justify-content: flex-start; padding-left: 60px; }
    .pipeline-card { min-width: unset; max-width: calc(100vw - 80px); padding: 1.25rem 1.5rem; text-align: left; }
    .pipeline-title { font-size: 1rem; white-space: normal; line-height: 1.3; }
    .pipeline-sub { font-size: 0.8rem; letter-spacing: 1.5px; }
    .pipeline-dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
}

/* ── Client Cards ── */
.client-card {
    display: flex;
    flex-direction: column;
}
.client-logo-wrapper {
    height: 70px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.client-logo {
    max-height: 100%;
    max-width: 180px;
    opacity: 0.95;
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
    object-fit: contain;
}
.interactive-card:hover .client-logo {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.02);
}

/* Progression Pathway */
.progression-pathway {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pathway-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pathway-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.pathway-step {
    background: rgba(10, 17, 40, 0.03);
    border: 1px solid rgba(10, 17, 40, 0.1);
    border-radius: 30px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.pathway-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, transparent, rgba(212, 160, 23, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pathway-step:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 4px 15px rgba(10, 17, 40, 0.05);
}

.pathway-step:hover::before {
    transform: translateX(100%);
}

.pathway-step .step-text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pathway-step.final-step {
    background: linear-gradient(135deg, var(--text-primary), #1a295c);
    border: 1px solid rgba(212, 160, 23, 0.3);
    box-shadow: 0 4px 15px rgba(10, 17, 40, 0.15);
}

.pathway-step.final-step .step-text {
    color: #ffffff;
}

.pathway-step.final-step:hover {
    box-shadow: 0 6px 20px rgba(10, 17, 40, 0.25);
    border-color: var(--gold);
}

.pathway-arrow {
    width: 20px;
    height: 20px;
    color: var(--gold);
    opacity: 0.8;
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(3px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.5; }
}

@media (max-width: 768px) {
    .pathway-steps {
        flex-direction: column;
        gap: 8px;
    }
    .pathway-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
        animation: pulseArrowDown 2s infinite;
    }
    @keyframes pulseArrowDown {
        0% { transform: rotate(90deg) translateX(0); opacity: 0.5; }
        50% { transform: rotate(90deg) translateX(3px); opacity: 1; }
        100% { transform: rotate(90deg) translateX(0); opacity: 0.5; }
    }
}

/* Ensure the home page fits perfectly on desktop without scrolling */
@media (min-width: 992px) {
    body.home-active {
        overflow: hidden;
    }
    body.home-active .site-footer {
        display: none;
    }
    .page-section.active#home {
        display: block;
        min-height: 100vh;
        padding-top: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-section.active#home .hero-split {
        height: 100%;
        max-height: calc(100vh - 124px);
        padding-top: 0px;
        padding-bottom: 0px;
        align-items: center;
        gap: 30px;
        box-sizing: border-box;
    }
    .page-section.active#home .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .page-section.active#home .hero-visual-split {
        min-height: 480px !important;
        margin-top: 0 !important;
    }
    .page-section.active#home .orbit-system {
        height: 480px;
    }
    .page-section.active#home .ring-1 {
        width: 270px;
        height: 270px;
    }
    .page-section.active#home .ring-2 {
        width: 420px;
        height: 420px;
    }
    .page-section.active#home .ring-3 {
        width: 570px;
        height: 570px;
    }
    .page-section.active#home .progression-pathway {
        margin-bottom: 12px;
    }
    .page-section.active#home .pathway-title {
        margin-bottom: 8px;
    }
    .page-section.active#home .pathway-step {
        padding: 6px 16px;
    }
}


/* ── Dropdown Navigation ── */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 14px;
    padding: 0;
}

.dropdown-toggle .chevron {
    transition: transform 0.3s ease;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background-color: #002B49;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 100;
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-dropdown:hover .dropdown-toggle .chevron {
        transform: rotate(180deg);
    }
}

.nav-dropdown-content a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 24px;
}

@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
    }
    .nav-links.open .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        font-size: 18px;
        font-weight: 600;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: rgba(255, 255, 255, 0.9);
    }
    .nav-links.open .dropdown-toggle:hover {
        color: var(--gold);
    }
    .nav-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0;
        border-radius: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-dropdown.active .nav-dropdown-content {
        display: block;
    }
    .nav-dropdown.active .dropdown-toggle .chevron {
        transform: rotate(180deg);
    }
    .nav-links.open .nav-dropdown-content a {
        padding: 12px 0 12px 16px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.open .nav-dropdown-content a:last-child {
        border-bottom: none;
    }
}

/* ── Service Pages Enhanced Styles ── */
.service-hero {
    background: linear-gradient(135deg, #0A1128 0%, #1A5F7A 100%);
    padding: 160px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 160, 23, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.service-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.service-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-content-wrapper {
    background-color: #F8FAFC;
    padding: 80px 0;
}

.section-header.center {
    text-align: center;
    margin-bottom: 40px;
}
.section-header .section-title {
    font-family: var(--font-serif);
    color: #002B49;
}

/* Enhanced Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.offering-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    gap: 20px;
}

.offering-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: #1A5F7A;
}

.offering-icon-wrapper {
    background: rgba(212, 160, 23, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon {
    color: var(--gold);
}

.offering-item:hover .offering-icon-wrapper {
    background: rgba(26, 95, 122, 0.1);
}

.offering-item:hover .check-icon {
    color: #1A5F7A;
}

.offering-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offering-title {
    color: #002B49; font-family: var(--font-serif); font-size: 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
}

.offering-desc {
    color: #334155; font-size: 1rem; font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Business Impact Section */
.impact-section {
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.impact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 160, 23, 0.4);
    margin-bottom: 10px;
    line-height: 1;
}

.impact-card h4 {
    font-family: var(--font-serif);
    color: #002B49;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.impact-card p {
    color: #334155; font-size: 1rem; font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Split Approach Section */
.approach-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 43, 73, 0.05);
    overflow: hidden;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.approach-text {
    padding: 60px;
}

.approach-text h3 {
    font-family: var(--font-serif);
    color: #002B49;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.approach-text p {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.approach-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.approach-list li {
    padding-left: 30px;
    position: relative;
    color: #334155;
    font-size: 1.05rem;
}

.approach-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.approach-visual {
    background: linear-gradient(135deg, #0A1128 0%, #1A5F7A 100%);
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.approach-shape-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    animation: slowPulse 8s ease-in-out infinite alternate;
}

.approach-shape-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
    animation: slowPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes slowPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 0.3; }
}

.approach-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.approach-visual-content h4 {
    font-family: var(--font-serif);
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.approach-visual-content p {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Sleek CTA Box */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #F8FAFC, #ffffff);
}

.cta-box {
    background: linear-gradient(135deg, #002B49 0%, #0A1128 100%);
    border-radius: 20px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(212, 160, 23, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(212, 160, 23, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: ctaBreath 8s ease-in-out infinite alternate;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: ctaShine 6s infinite;
    pointer-events: none;
}

@keyframes ctaBreath {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

@keyframes ctaShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-box h2 {
    font-family: var(--font-serif);
    color: white;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.cta-box .btn {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-box .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.4);
}

@media (max-width: 900px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .approach-visual {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .service-hero { padding: 120px 20px 60px; }
    .approach-text { padding: 40px 20px; }
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 1.8rem; }
    .offerings-grid { grid-template-columns: 1fr; }
}

/* Elegant Hero Card (Home Page) */
.elegant-hero-card {
    background: linear-gradient(135deg, #002B49 0%, #0A1128 100%);
    border-radius: 20px;
    padding: 35px 40px;
    margin: 20px auto;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    color: #ffffff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.elegant-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25), 0 0 40px rgba(212, 160, 23, 0.1);
}

.elegant-hero-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(212, 160, 23, 0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: ctaBreath 10s ease-in-out infinite alternate;
}

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

.elegant-tagline {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.elegant-subtext {
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.elegant-subtext a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.elegant-subtext a:hover {
    color: #ffffff;
}

.elegant-highlight {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.elegant-services p {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.elegant-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    position: relative;
    z-index: 2;
}

.elegant-services li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.elegant-services li a:hover {
    background: rgba(212, 160, 23, 0.15);
    border-color: rgba(212, 160, 23, 0.5);
    transform: translateX(5px);
}

/* Elegant Home Service Boxes */
.home-service-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: left;
}
.home-service-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
}
.home-service-box:hover {
    background: rgba(212, 160, 23, 0.12);
    border-color: rgba(212, 160, 23, 0.6);
    transform: translateX(5px);
}
.home-service-box svg {
    color: #D4A017;
    margin-right: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.home-service-box:hover svg {
    transform: scale(1.1);
}
.home-service-box span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

/* Light theme overrides for home service boxes */
.home-service-boxes.light-theme .home-service-box {
    background: #ffffff;
    border: 1px solid rgba(0, 43, 73, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    padding: 11px 16px; /* Optimized for vertical space while maintaining elegance */
}
.home-service-boxes.light-theme .home-service-box:hover {
    background: #ffffff;
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 6px 20px rgba(0, 43, 73, 0.06);
    transform: translateY(-2px) translateX(2px);
}
.home-service-boxes.light-theme .home-service-box span {
    color: #002B49;
}

/* ── Success Message Checkmark Animation ── */
@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes scaleIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.form-success-message {
    animation: scaleIn 0.5s var(--ease-spring) forwards;
}
.checkmark-path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 0.6s ease forwards 0.2s;
}
