/* ===================================
   CSS VARIABLES - DESIGN SYSTEM
   =================================== */

:root {
    /* Primary Colors - Orange Accent (Matching Logo) */
    --primary: #FF5722;
    --primary-hover: #E64A19;
    --primary-light: #FFF3E0;
    --primary-text: #D84315; /* Darker orange for text - WCAG AA compliant */

    /* Gray Scale */
    --gray-50: #fafafa;
    --gray-100: #f9fafb;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #6b7280;
    --gray-900: #111827;
    --dark: #263238;

    /* Accent Colors */
    --quote-bg: #fef3c7;
    --quote-text: #78350f;
    --quote-border: #f59e0b;
    --metric-bg: #FFF3E0;
    --metric-text: #E64A19;
    --success-green: #059669;

    /* Typography - Google Fonts */
    --font-headlines: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Updated for impact */
    --h1: 80px;
    --h2: 42px;
    --h3: 20px;
    --body-lg: 18px;
    --body: 16px;
    --small: 14px;
    --tiny: 12px;
    --metric-large: 52px;

    /* Font Weights */
    --bold: 700;
    --semibold: 600;
    --medium: 500;
    --regular: 400;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    --space-4xl: 120px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: var(--semibold);
    text-decoration: none;
    border-radius: 0 0 4px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--gray-900);
    outline-offset: 2px;
}

/* Global focus styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Remove default focus for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Safe area support for devices with notches */
@supports (padding: env(safe-area-inset-bottom)) {
    .navbar {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .footer {
        padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
    }

    .mobile-nav {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--body);
    color: var(--gray-600);
    background: var(--gray-50);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-headlines);
    color: var(--gray-900);
    font-weight: var(--bold);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: var(--medium);
    color: var(--gray-600);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.nav-link:focus-visible {
    color: var(--gray-900);
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-link:focus-visible::after {
    width: 100%;
    left: 0;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Nav CTA Button */
.nav-cta {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: var(--semibold);
    font-size: 14px;
    transition: background 0.3s ease,
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35),
                0 0 15px rgba(255, 87, 34, 0.15);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: var(--space-md);
}

.lang-link {
    font-size: 13px;
    font-weight: var(--medium);
    color: var(--gray-600);
    transition: color 0.2s ease;
    padding: 4px 0;
}

.lang-link:hover {
    color: var(--gray-900);
}

.lang-link.active {
    color: var(--primary);
    font-weight: var(--semibold);
}

.lang-divider {
    color: var(--gray-300);
    font-size: 13px;
}

/* Mobile Language Toggle */
.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--gray-200);
    margin-top: var(--space-sm);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-md) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

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

.mobile-nav-link {
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--medium);
    color: var(--gray-600);
    padding: var(--space-sm) var(--space-lg);
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.mobile-nav-link:focus-visible {
    background: var(--gray-50);
    color: var(--gray-900);
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.mobile-nav-cta {
    color: var(--primary);
    font-weight: var(--semibold);
}

.mobile-nav-cta:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-lg);
    padding-top: calc(var(--space-4xl) + 50px);
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f0f9ff 100%);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.hero-content {
    max-width: 800px;
}

.hero-sector-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--medium);
    color: var(--gray-600);
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.hero h1 {
    font-size: var(--h1);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-subtext {
    font-size: var(--body-lg);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    color: var(--gray-600);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.btn-primary {
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: var(--semibold);
    font-size: var(--body);
    transition: background 0.3s ease,
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.25);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Button glow animation */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.4),
                0 0 20px rgba(255, 87, 34, 0.2);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
}

.btn-primary:focus,
.btn-secondary:focus,
.nav-cta:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    color: var(--gray-900);
    font-family: var(--font-body);
    font-weight: var(--semibold);
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.credibility {
    font-size: var(--small);
    color: var(--gray-600);
    letter-spacing: 0.5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    transition: color 0.3s ease;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-indicator svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover svg {
    opacity: 1;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(8px);
    }
    60% {
        transform: translateX(-50%) translateY(4px);
    }
}

/* Hide scroll indicator on mobile (less screen space) */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

/* Hide the orange line on the first section (directly after sector-bar) */
.problem::before {
    display: none;
}

/* Section Label - Ministry Builders style */
.section-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--bold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-md);
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary);
}

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

.section h2 {
    font-size: var(--h2);
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--gray-900);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
    font-size: var(--body-lg);
    color: var(--gray-600);
}

/* ===================================
   GRIDS
   =================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

/* ===================================
   CARDS
   =================================== */

.card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: var(--space-xl);
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect on hover */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::after {
    opacity: 0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.card h3 {
    font-size: var(--h3);
    font-weight: var(--semibold);
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.card p {
    font-size: var(--small);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   PROBLEM SECTION
   =================================== */

.problem {
    background: var(--gray-50);
}

/* ===================================
   OUTCOME SECTION
   =================================== */

.outcome {
    background: white;
    position: relative;
    overflow: hidden;
}

/* Large background numbers - Ministry Builders style */
.outcome .grid-3 {
    position: relative;
}

.outcome .card {
    position: relative;
}

.outcome .card::before {
    content: attr(data-number);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: var(--font-headlines);
    font-size: 120px;
    font-weight: var(--bold);
    color: var(--gray-200);
    opacity: 0.5;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

/* Service card content sits above the decorative badge pseudo-element */
.service-card > * {
    position: relative;
    z-index: 1;
}

.service-badge {
    z-index: 2;
}

.number {
    font-family: var(--font-headlines);
    font-size: 56px;
    font-weight: var(--bold);
    color: var(--primary);
    margin-bottom: var(--space-sm);
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Ensure all outcome card content sits above the decorative background number */
.outcome .card > * {
    position: relative;
    z-index: 1;
}

.quote-box {
    background: #fef3c7;
    padding: 24px 28px 20px 28px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    font-style: italic;
    color: #78350f;
    margin-top: var(--space-md);
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 12px;
    font-family: Georgia, serif;
    font-size: 32px;
    color: #f59e0b;
    opacity: 0.2;
    line-height: 1;
}

.quote-box:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.metric-box {
    background: var(--metric-bg);
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-weight: var(--bold);
    color: var(--metric-text);
    margin-top: var(--space-md);
    font-size: 17px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-box:hover {
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.2);
}

/* ===================================
   HOW SECTION
   =================================== */

.how {
    background: var(--gray-50);
}

/* Approach Flow */
.approach-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) 0;
}

.approach-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.approach-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.approach-title {
    font-family: var(--font-headlines);
    font-size: var(--h3);
    font-weight: var(--semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.approach-desc {
    font-size: var(--small);
    color: var(--gray-600);
    line-height: 1.7;
}

.approach-arrow {
    display: flex;
    align-items: center;
    padding-top: 20px;
    color: var(--gray-300);
}

@media (max-width: 768px) {
    .approach-flow {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .approach-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .approach-step {
        max-width: 100%;
    }
}

/* ===================================
   ABOUT/TEAM SECTION
   =================================== */

.about {
    background: white;
}

.about .section-label {
    margin-bottom: var(--space-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: var(--space-xl);
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}


.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    margin: 0 auto var(--space-md);
    display: block;
    filter: grayscale(100%);
}

.team-member h3 {
    font-size: var(--h3);
    font-weight: var(--semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.team-role {
    font-size: var(--small);
    color: var(--primary-text);
    font-weight: var(--semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.team-bio {
    font-size: var(--small);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.team-linkedin {
    font-size: var(--small);
    font-weight: var(--semibold);
    color: var(--gray-900);
    transition: color 0.2s ease;
}

.team-linkedin:hover {
    color: var(--primary);
}


/* ===================================
   PROOF SECTION
   =================================== */

.proof {
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.proof .grid-2 {
    gap: var(--space-xl);
}

.proof-card {
    padding: 48px;
    text-align: center;
    border: 2px solid var(--gray-200);
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.proof-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.proof-category {
    font-size: var(--small);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.proof-metric {
    font-family: var(--font-headlines);
    font-size: var(--metric-large);
    font-weight: var(--bold);
    color: var(--primary);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.proof-subtitle {
    font-size: var(--body);
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}


/* ===================================
   WHO SECTION
   =================================== */

.who {
    background: var(--gray-50);
}

.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.fit-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
}

.fit-column {
    background: white;
    border-radius: 12px;
    padding: var(--space-xl);
    border: 1px solid var(--gray-200);
}

.fit-column h3 {
    font-size: var(--h3);
    font-weight: var(--semibold);
    margin-bottom: var(--space-md);
}

.fit-yes h3 {
    color: var(--success-green);
}

.fit-how h3 {
    color: var(--gray-600);
    font-size: var(--body);
    font-weight: var(--medium);
}

.fit-how {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
}

.checklist-how .checklist-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: var(--semibold);
}

.fit-no h3 {
    color: var(--gray-600);
}

.fit-no {
    opacity: 0.85;
}

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

.checklist-item {
    font-size: var(--body);
    color: var(--gray-900);
    padding: var(--space-sm) 0;
    padding-left: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.checklist-item:last-child {
    border-bottom: none;
}

.fit-yes .checklist-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: var(--semibold);
}

.checklist-no .checklist-item::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--gray-600);
    font-weight: var(--semibold);
}

.checklist-no .checklist-item {
    color: var(--gray-600);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    background: var(--gray-50);
}

.service-card {
    text-align: left;
    position: relative;
    padding-top: 56px;
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-headlines);
    font-size: 14px;
    font-weight: var(--bold);
    color: var(--primary-text);
    background: var(--primary-light);
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.service-for {
    font-style: italic;
    color: var(--gray-600);
    font-size: var(--small);
    margin-top: var(--space-sm);
}

.service-desc {
    font-size: var(--small);
    color: var(--gray-600);
    line-height: 1.7;
    margin-top: var(--space-sm);
    text-align: left;
}

.outcome-box {
    background: var(--primary-light);
    padding: var(--space-md);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-top: var(--space-md);
    font-size: var(--small);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.outcome-box:hover {
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.2);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, white 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--gray-900);
}

.cta-subtext {
    font-size: var(--body-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.cta-section .btn-primary {
    margin-bottom: var(--space-md);
    padding: 18px 40px;
    font-size: 17px;
}


/* ===================================
   SECTOR CREDIBILITY BAR
   =================================== */

.sector-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: white;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.sector-item svg {
    width: 40px;
    height: 40px;
    color: var(--gray-900);
    transition: color 0.2s ease;
}

.sector-item:hover {
    color: var(--primary);
}

.sector-item:hover svg {
    color: var(--primary);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Footer Brand Column */
.footer-brand {
    padding-right: var(--space-xl);
}

.footer-logo {
    height: 36px;
    width: auto;
    max-width: 160px;
    margin-bottom: var(--space-sm);
    filter: brightness(0) invert(1);
    opacity: 0.9;
    object-fit: contain;
    object-position: left;
    align-self: flex-start;
}

.footer-tagline {
    font-size: var(--body);
    color: white;
    font-weight: var(--semibold);
    margin-bottom: var(--space-xs);
    line-height: 1.5;
}

.footer-description {
    font-size: var(--small);
    color: var(--gray-300);
    line-height: 1.7;
}

/* Footer Headings */
.footer-heading {
    font-family: var(--font-headlines);
    font-size: var(--small);
    font-weight: var(--bold);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    font-size: var(--small);
    color: var(--gray-300);
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-links a:focus-visible {
    color: white;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary);
}

.footer-contact span {
    font-size: var(--small);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: var(--tiny);
    color: var(--gray-600);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    font-size: var(--tiny);
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--gray-300);
}

/* ===================================
   BI-DIRECTIONAL SCROLL ANIMATIONS
   =================================== */

section, .card, .approach-step {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

section.animate-in, .card.animate-in, .approach-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card animations */
.card:nth-child(1) {
    transition-delay: 0.1s;
}

.card:nth-child(2) {
    transition-delay: 0.2s;
}

.card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Staggered approach step animations */
.approach-step:nth-child(1) {
    transition-delay: 0.1s;
}

.approach-step:nth-child(3) {
    transition-delay: 0.2s;
}

.approach-step:nth-child(5) {
    transition-delay: 0.3s;
}

/* Reset transition delays when animating out (scrolling away) */
.card:not(.animate-in) {
    transition-delay: 0s;
}

.approach-step:not(.animate-in) {
    transition-delay: 0s;
}

/* Add smooth entrance for all interactive elements */
.btn-primary,
.btn-secondary,
.quote-box,
.metric-box,
.outcome-box {
    will-change: transform;
}

/* Hero and sector bar load immediately */
.hero,
.sector-bar {
    opacity: 1;
    transform: translateY(0);
}

/* Footer always visible */
.footer {
    opacity: 1;
    transform: none;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --h1: 56px;
        --h2: 36px;
        --metric-large: 44px;
    }

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

    .fit-grid-3 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 56px;
    }

    .section h2 {
        font-size: 36px;
    }

    .sector-bar {
        gap: 32px;
    }
}

/* Tablet Navigation (hide links, show hamburger) */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .lang-toggle {
        display: none;
    }
}

/* Mobile (<768px) */
@media (max-width: 768px) {
    :root {
        --h1: 48px;
        --h2: 28px;
        --h3: 18px;
        --metric-large: 36px;
    }

    .sector-bar {
        flex-wrap: wrap;
        gap: 24px;
        padding: var(--space-md);
    }

    .sector-item {
        flex: 0 0 calc(50% - 12px);
    }

    .nav-container {
        padding: 0 var(--space-md);
    }

    .logo {
        height: 40px;
    }

    .hero {
        padding: var(--space-2xl) var(--space-md);
        padding-top: calc(var(--space-3xl) + 40px);
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-subtext {
        font-size: var(--body);
    }

    .section {
        padding: var(--space-3xl) var(--space-md);
    }

    .section::before {
        width: 60px;
        height: 3px;
    }

    .grid-3, .grid-2, .team-grid, .fit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .card {
        padding: var(--space-lg);
    }

    .service-card {
        padding-top: 72px;
    }

    .section h2 {
        margin-bottom: var(--space-xl);
    }

    .proof-card {
        padding: var(--space-lg);
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        padding: 18px var(--space-lg);
        font-size: 17px;
    }

    .btn-secondary {
        padding: 12px 0;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: var(--space-xl);
    }

    /* Mobile hover - reduce motion for touch devices */
    .card:hover {
        transform: translateY(-2px);
    }

    .card:hover::after {
        opacity: 0;
    }

    /* Disable complex hover animations on touch devices */
    .btn-primary:hover::before {
        display: none;
    }

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

    /* Touch-friendly tap targets (minimum 44px) */
    .mobile-nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: var(--space-sm) var(--space-lg);
    }

    .checklist-item {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: var(--space-md) var(--space-lg);
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl) var(--space-lg);
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto var(--space-md) auto;
        align-self: center;
        object-position: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

/* Small phones (<480px) */
@media (max-width: 480px) {
    :root {
        --metric-large: 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .logo {
        height: 36px;
    }

    .section-intro {
        font-size: var(--body);
    }

    .card {
        padding: var(--space-md);
    }

    .service-card {
        padding-top: 72px;
    }

    .proof-card {
        padding: var(--space-md);
    }

    .number {
        font-size: 42px;
    }

    .section::before {
        width: 40px;
        height: 2px;
    }

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

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

    .footer-brand {
        text-align: left;
        align-items: flex-start;
    }

    .footer-contact li {
        justify-content: center;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: var(--space-xs);
    }

    /* Larger touch targets for small phones */
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-social a {
        width: 48px;
        height: 48px;
    }

    .footer-legal a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===================================
   TOUCH DEVICE OPTIMIZATIONS
   =================================== */

/* Detect touch devices and disable hover animations */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .card:active {
        transform: scale(0.98);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        border-color: var(--primary);
    }

    .btn-primary:hover {
        transform: none;
        box-shadow: 0 4px 14px rgba(255, 87, 34, 0.25);
    }

    .btn-primary:active {
        transform: scale(0.98);
        background: var(--primary-hover);
    }

    .nav-cta:hover {
        transform: none;
    }

    .nav-cta:active {
        transform: scale(0.98);
        background: var(--primary-hover);
    }

    .quote-box:hover,
    .metric-box:hover,
    .outcome-box:hover {
        transform: none;
    }

    .sector-item:hover {
        color: var(--gray-600);
    }

    .sector-item:hover svg {
        color: var(--gray-600);
    }

    .sector-item:active {
        color: var(--primary);
    }

    .sector-item:active svg {
        color: var(--primary);
    }
}
