/* ============================================
   NEERU SYSTEMS - Professional Website Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors - Light Theme */
    --color-primary-900: #2A2A2A;
    --color-primary-800: #3D3D3D;
    --color-primary-700: #4F4F4F;
    --color-primary-600: #757575;
    --color-primary-500: #9E9E9E;
    
    /* Accent Colors - Neeru Orange/Gray */
    --color-accent-primary: #F89D1E;
    --color-accent-primary-rgb: 248, 157, 30;
    --color-accent-secondary: #FBB041;
    --color-accent-tertiary: #6B6B6B;
    /* Darker accent used for text/borders on light backgrounds — keeps ~5:1 contrast on white/gray-50 (WCAG AA) while --color-accent-primary stays reserved for buttons, icons, and text on dark surfaces */
    --color-accent-text: #B45309;

    /* Neutral Colors - Business Card Theme */
    --color-white: #FFFFFF;
    --color-white-rgb: 255, 255, 255;
    --color-gray-50: #F5F1E8;
    --color-gray-100: #EBE7DE;
    --color-gray-200: #E2DDD4;
    --color-gray-300: #C8C3BA;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-600: #6B6B6B;
    --color-gray-700: #4A4A4A;
    --color-gray-800: #2A2A2A;
    --color-gray-900: #1A1A1A;
    /* RGB triplets for palette colors used inside rgba() tints/overlays — keeps every color traceable back to one definition */
    --color-gray-50-rgb: 245, 241, 232;
    --color-gray-900-rgb: 26, 26, 26;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-rgb: 16, 185, 129;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-error-rgb: 239, 68, 68;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
    --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 4rem);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(var(--color-accent-primary-rgb), 0.35);
    --shadow-glow-sm: 0 0 20px rgba(var(--color-accent-primary-rgb), 0.25);
    /* Accessible focus ring: works on light AND dark surfaces (inner ring matches either backdrop, outer ring is always the brand accent) */
    --shadow-focus: 0 0 0 2px var(--color-white), 0 0 0 5px var(--color-accent-text);
    --shadow-focus-on-dark: 0 0 0 2px var(--color-gray-900), 0 0 0 5px var(--color-accent-primary);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-gray-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary-900);
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Accessible Focus States
   Keyboard-only ring (mouse/touch clicks don't trigger :focus-visible).
   Two-tone "sandwich" so the ring is always visible regardless of the
   surface it sits on: the inner ring matches the light or dark
   backdrop and the outer ring carries the accent color. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

.header a:focus-visible,
.dropdown a:focus-visible,
.mobile-nav a:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.footer a:focus-visible,
.footer button:focus-visible,
.industries-hero a:focus-visible,
.services-hero a:focus-visible,
.about-hero a:focus-visible,
.cta-section a:focus-visible,
.success a:focus-visible {
    box-shadow: var(--shadow-focus-on-dark);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-primary);
    color: var(--color-primary-900);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: var(--z-tooltip);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(var(--color-gray-50-rgb), 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: var(--z-fixed);
    transition: transform var(--transition-base), background var(--transition-base);
}

.header--hidden {
    transform: translateY(-100%);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: var(--z-fixed);
}

.logo__image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo__text {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-900);
}

.logo__accent {
    color: var(--color-accent-text);
}

/* Desktop Navigation */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    color: var(--color-gray-700);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__link:hover:not(.nav__link--cta),
.nav__link.active:not(.nav__link--cta) {
    color: var(--color-primary-900);
    background: rgba(var(--color-accent-primary-rgb), 0.15);
}

.nav__link i {
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
}

.nav__link--cta {
    color: var(--color-white) !important;
    font-weight: 600;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 1px rgba(var(--color-white-rgb), 0.6),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1),
        0 10px 22px rgba(var(--color-accent-primary-rgb), 0.5);
}

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

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-primary-800);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(var(--color-white-rgb), 0.1);
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__item--dropdown:hover .nav__link i,
.nav__item--dropdown:focus-within .nav__link i {
    transform: rotate(180deg);
}

.dropdown li a {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-gray-300);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown li a:hover {
    color: var(--color-white);
    background: rgba(var(--color-accent-primary-rgb), 0.15);
    padding-left: var(--space-5);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: var(--z-fixed);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger__line {
    width: 24px;
    height: 2px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary-900);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.mobile-nav__link {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-white);
    padding: var(--space-3) var(--space-6);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-fast);
}

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

.mobile-nav.active .mobile-nav__link:nth-child(1) { transition-delay: 100ms; }
.mobile-nav.active .mobile-nav__link:nth-child(2) { transition-delay: 150ms; }
.mobile-nav.active .mobile-nav__link:nth-child(3) { transition-delay: 200ms; }
.mobile-nav.active .mobile-nav__link:nth-child(4) { transition-delay: 250ms; }
.mobile-nav.active .mobile-nav__link:nth-child(5) { transition-delay: 300ms; }
.mobile-nav.active .mobile-nav__link:nth-child(6) { transition-delay: 350ms; }
.mobile-nav.active .mobile-nav__link:nth-child(7) { transition-delay: 400ms; }

.mobile-nav__link:hover {
    color: var(--color-accent-primary);
}

.mobile-nav__link--cta {
    background: var(--color-accent-primary);
    color: var(--color-primary-900) !important;
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary-900);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.15;
}

.hero__particles {
    position: absolute;
    inset: 0;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: none;
    background-size: 60px 60px;
}

.hero__container {
    position: relative;
    z-index: 1;
    padding: var(--space-20) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero__video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero__video-player {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    position: absolute;
    top: -10%;
    left: 0;
}

@media (max-width: 767px) {
    .hero__video-player {
        height: 100%;
        top: 0;
        object-position: center center;
        min-height: 100vh;
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: left;
    padding: var(--space-8);
}

@media (max-width: 767px) {
    .hero__content {
        text-align: center;
        margin: 0 auto;
        padding: var(--space-6) var(--space-4);
    }
}

.hero__title {
    margin-bottom: var(--space-8);
}

.hero__title-line {
    display: block;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@media (min-width: 768px) {
    .hero__title-line {
        font-size: clamp(3.5rem, 5vw, 5.5rem);
    }
}

.hero__title-line--accent {
    color: var(--color-accent-primary);
    animation-delay: 0.2s;
    font-weight: 900;
    white-space: nowrap;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(var(--color-white-rgb), 0.9);
    max-width: 600px;
    margin: 0 0 var(--space-10) 0;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: var(--text-xl);
    }
}

@media (max-width: 767px) {
    .hero__subtitle {
        margin: 0 auto var(--space-8) auto;
    }
}

.hero__ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: flex-start;
    margin-bottom: var(--space-12);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

@media (min-width: 480px) {
    .hero__ctas {
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .hero__ctas {
        justify-content: center;
    }
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 600px;
    margin: 0 auto;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent-primary);
}

.hero__stat-suffix {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-accent-primary);
}

.hero__stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    margin-top: var(--space-1);
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-400);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero__scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-gray-600);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: var(--space-2);
}

.hero__scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-full);
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-text {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.5; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn--primary {
    background: var(--color-accent-primary);
    color: var(--color-primary-900);
    box-shadow: 0 4px 15px rgba(var(--color-accent-primary-rgb), 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(var(--color-accent-primary-rgb), 0.5);
}

.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn--primary:hover::after {
    transform: translateX(100%);
}

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(var(--color-white-rgb), 0.3);
}

.btn--secondary:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
    transform: translateY(-3px);
}

.btn--block {
    width: 100%;
}

.btn--large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(var(--color-accent-primary-rgb), 0.12);
    color: var(--color-accent-text);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    line-height: 1.4;
    overflow: visible;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-4xl);
    }
}

.section-title .highlight {
    color: var(--color-accent-primary);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
}

.section-header--light .section-title {
    color: var(--color-white);
}

.section-header--light .section-title .highlight {
    color: var(--color-accent-primary);
}

.section-header--light .section-subtitle {
    color: var(--color-gray-400);
}

.section-header--light .section-tag {
    color: var(--color-accent-primary);
    background: rgba(var(--color-accent-primary-rgb), 0.15);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-24) 0;
    background: var(--color-gray-50);
}

.about__title {
    font-size: var(--text-4xl);
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary-900);
    margin-bottom: var(--space-12);
    text-align: center;
}

.about__title .highlight {
    color: var(--color-accent-primary);
    font-weight: 700;
}

.about__subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-600);
    margin-bottom: var(--space-16);
    line-height: 1.5;
    text-align: center;
}

.about__grid {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        align-items: center;
    }
}

/* About Content - Left Column */
.about__content {
    text-align: left;
    max-width: 600px;
}

.about__text {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 0;
}

/* About Image - Right Column */
.about__image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
}

.about__img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.about__img:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1023px) {
    .about__content {
        max-width: 100%;
        text-align: left;
    }
    
    .about__title {
        font-size: var(--text-3xl);
    }
    
    .about__subtitle {
        font-size: var(--text-lg);
    }
    
    .about__image {
        order: -1; /* Show image first on mobile */
        padding: var(--space-4);
        padding-top: var(--space-4);
    }
}

@media (max-width: 640px) {
    .about__title {
        font-size: var(--text-2xl);
    }
    
    .about__subtitle {
        font-size: var(--text-base);
    }
}

/* Timeline */
.timeline {
    position: relative;
    margin-left: 70px;
    padding-left: 40px;
}

/* Vertical line - positioned to go through dot centers */
.timeline::before {
    content: '';
    position: absolute;
    left: 14px; /* Line center at 15px (14 + 1px half-width) */
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--color-accent-primary);
    z-index: 0;
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-8);
    padding-left: var(--space-2);
}

/* Year text - positioned to the left of the timeline */
.timeline__item::before {
    content: attr(data-year);
    position: absolute;
    left: -110px;
    top: 0;
    width: 60px;
    text-align: right;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-accent-primary);
    line-height: 1.4;
}

/* Dot - centered on the line (left edge at 9px, center at 15px) */
.timeline__item::after {
    content: '';
    position: absolute;
    left: -31px; /* 40px padding - 31px = 9px; center at 9px + 6px = 15px */
    top: 1px;
    width: 12px;
    height: 12px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--color-gray-50);
    z-index: 1;
}

.timeline__content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.timeline__content p {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* Founder Card */
.founder-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.founder-card__image {
    aspect-ratio: 16/7;
    background: var(--color-primary-800);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-card__placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--color-white-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--color-gray-400);
}

.founder-card__content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-card__name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.founder-card__role {
    font-size: var(--text-sm);
    color: var(--color-accent-text);
    margin-bottom: var(--space-4);
}

.founder-card__quote {
    font-style: italic;
    color: var(--color-gray-600);
    position: relative;
    padding: var(--space-4);
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    line-height: 1.8;
    margin-bottom: 0;
}

.founder-card__quote i {
    color: var(--color-accent-text);
    opacity: 0.5;
    margin: 0 var(--space-2);
}

/* Metrics */
.about__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.metric-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

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

.metric-card i {
    font-size: 24px;
    color: var(--color-accent-text);
    margin-bottom: var(--space-2);
}

.metric-card__number {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary-900);
}

.metric-card__label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-top: var(--space-1);
}

@media (min-width: 768px) {
    .about__metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary-800) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background (blurred, drifting glow orbs) */
.about-hero::before,
.about-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.about-hero::before {
    top: -10%;
    left: -8%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(var(--color-accent-primary-rgb), 0.55), transparent 70%);
    animation: heroOrbDrift 16s ease-in-out infinite;
}

.about-hero::after {
    bottom: -18%;
    right: -6%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(var(--color-accent-secondary-rgb, var(--color-accent-primary-rgb)), 0.4), transparent 70%);
    animation: heroOrbDrift 20s ease-in-out infinite reverse;
}

.about-hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(var(--color-white-rgb), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--color-white-rgb), 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.9), transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.9), transparent 100%);
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .about-hero::before,
    .about-hero::after {
        animation: none;
    }
}

.about-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.about-hero__title {
    font-family: var(--font-primary);
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero__subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-300);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

/* Company Overview Section */
.company-overview {
    padding: var(--space-16) 0;
    background: var(--color-white);
}

.overview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: stretch;
    margin-bottom: var(--space-12);
}

.overview__content {
    max-width: none;
    margin: 0;
}

.overview__text {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.overview__text:last-of-type {
    margin-bottom: 0;
}

.spline-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 450px;
    background: transparent;
    overflow: hidden;
}

.spline-card spline-viewer {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
}

/* Crops out the Spline attribution badge, which sits fixed to the viewer's
   own bottom-right corner inside its shadow DOM (not exposed as a CSS part,
   so it can't be targeted or hidden directly) — the viewer is sized taller
   than the visible card and the badge falls below the clipped edge. */
.spline-card__mask {
    display: none;
}

@media (max-width: 991px) {
    .overview__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .spline-card {
        height: 320px;
    }
}

/* Vision & Mission Section */
.vision-mission {
    padding: var(--space-16) 0;
    background: var(--color-gray-50);
}

.vision-mission__grid {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .vision-mission__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-12);
    }
}

.vision-card,
.mission-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vision-card__icon,
.mission-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.vision-card__title,
.mission-card__title {
    font-size: var(--text-2xl);
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary-900);
    margin-bottom: var(--space-4);
}

.vision-card__text,
.mission-card__text {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* Core Values Section */
.core-values {
    padding: var(--space-20) 0;
    background: var(--color-white);
}

.values__grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-text);
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.value-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-accent-text);
    margin: 0 auto var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
    background: var(--color-accent-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.value-card__title {
    font-size: var(--text-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary-900);
    margin-bottom: var(--space-3);
}

.value-card__text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Leadership Section */
.leadership {
    padding: var(--space-20) 0;
    background: var(--color-gray-50);
}

.leadership__grid {
    display: grid;
    gap: var(--space-10);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .leadership__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-12);
    }
}

.leader-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.leader-card__image {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--color-gray-100);
    overflow: hidden;
}

.leader-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-card__placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-700) 100%);
}

.leader-card__placeholder i {
    font-size: 80px;
    color: rgba(var(--color-white-rgb), 0.3);
}

.leader-card__content {
    padding: var(--space-8);
    text-align: center;
}

.leader-card__name {
    font-size: var(--text-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary-900);
    margin-bottom: var(--space-2);
}

.leader-card__role {
    font-size: var(--text-base);
    color: var(--color-accent-text);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.leader-card__experience {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--color-primary-900);
    overflow: hidden;
}

.services__bg {
    position: absolute;
    inset: 0;
    background: transparent;
}

/* ============================================
   SERVICES 3D COVERFLOW CAROUSEL
   ============================================ */
.coverflow {
    position: relative;
    padding: 0 var(--space-16);
}

.coverflow__stage {
    position: relative;
    height: 460px;
    perspective: 1600px;
    perspective-origin: 50% 50%;
}

.coverflow__track {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.coverflow__item.service-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(360px, 78vw);
    margin: 0;
    will-change: transform, opacity;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        filter 0.55s ease;
    cursor: pointer;
}

.coverflow__item.service-card.is-center {
    cursor: default;
}

.coverflow__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(var(--color-white-rgb), 0.08);
    border: 1px solid rgba(var(--color-white-rgb), 0.2);
    color: var(--color-white);
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    z-index: 20;
}

.coverflow__nav:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: var(--color-primary-900);
    transform: translateY(-50%) scale(1.08);
}

.coverflow__nav--prev {
    left: 0;
}

.coverflow__nav--next {
    right: 0;
}

.coverflow__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-top: var(--space-8);
}

/* Visual dot stays 10px, but the button's hit area is widened to 24px
   (WCAG 2.5.8 minimum target size) via ::after so it's easier to tap. */
.coverflow__dots button {
    position: relative;
    width: 24px;
    height: 24px;
    background: transparent;
}

.coverflow__dots button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(var(--color-white-rgb), 0.25);
    transform: translate(-50%, -50%);
    transition: all var(--transition-fast);
}

.coverflow__dots button.active::after {
    width: 28px;
    background: var(--color-accent-primary);
    transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
    .coverflow {
        padding: 0 var(--space-4);
    }

    .coverflow__nav {
        width: 44px;
        height: 44px;
        font-size: var(--text-base);
    }

    .coverflow__stage {
        height: 520px;
    }

    .coverflow__item.service-card {
        width: min(280px, 68vw);
    }
}

.service-card {
    background: rgba(var(--color-white-rgb), 0.05);
    border: 1px solid rgba(var(--color-white-rgb), 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.coverflow__item.service-card.is-center {
    background: rgba(var(--color-white-rgb), 0.1);
    border-color: rgba(var(--color-accent-primary-rgb), 0.5);
    box-shadow: var(--shadow-glow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    background: rgba(var(--color-white-rgb), 0.08);
    border-color: rgba(var(--color-accent-primary-rgb), 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-primary-900);
    margin-bottom: var(--space-6);
}

.service-card__title {
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.service-card__description {
    color: var(--color-gray-400);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.service-card__features {
    margin-bottom: var(--space-6);
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-300);
    font-size: var(--text-sm);
    padding: var(--space-2) 0;
}

.service-card__features li i {
    color: var(--color-accent-secondary);
    font-size: 12px;
}

.service-card__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-accent-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.service-card__btn:hover {
    gap: var(--space-3);
}

.service-card__btn i {
    transition: transform var(--transition-fast);
}

.service-card__btn:hover i {
    transform: translateX(4px);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries {
    padding: var(--space-24) 0;
    background: var(--color-white);
}

.industries__grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .industries__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industries__grid {
    perspective: 1200px;
}

.industry-card {
    position: relative;
    display: block;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    min-height: 280px;
    background: var(--color-gray-900);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
    transform-style: preserve-3d;
    will-change: transform;
}

.industry-card:hover,
.industry-card.is-tilting {
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.industry-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card__image {
    transform: scale(1.18);
}

.industry-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 8%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
    transition: background var(--transition-base);
}

.industry-card:hover .industry-card__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 15%, rgba(var(--color-accent-primary-rgb), 0.25) 65%, rgba(0, 0, 0, 0.1) 100%);
}

.industry-card__content {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 280px;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: var(--space-3);
    transform: translateZ(40px);
}

.industry-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(var(--color-white-rgb), 0.12);
    border: 1px solid rgba(var(--color-white-rgb), 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-white);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-card__icon {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: var(--color-primary-900);
    transform: scale(1.08);
}

.industry-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.industry-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-accent-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-card__link {
    opacity: 1;
    transform: translateY(0);
}

.industry-card__link i {
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.industry-card:hover .industry-card__link i {
    transform: translateX(4px);
}

/* ============================================
   SUCCESS STORIES SECTION
   ============================================ */
.success {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--color-primary-900);
    overflow: hidden;
}

.success__bg {
    position: absolute;
    inset: 0;
    background: transparent;
}

.success__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .success__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.success__stat {
    text-align: center;
    padding: var(--space-6);
    background: rgba(var(--color-white-rgb), 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(var(--color-white-rgb), 0.1);
}

/* Spotlight Cards — cursor-following glow on dark cards */
.spotlight-card {
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(var(--color-accent-primary-rgb), 0.22),
        transparent 65%);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.spotlight-card.is-spotlit::before {
    opacity: 1;
}

.spotlight-card:hover {
    border-color: rgba(var(--color-accent-primary-rgb), 0.4);
    transform: translateY(-4px);
}

.spotlight-card > * {
    position: relative;
    z-index: 1;
}

/* Light-surface spotlight variant — for white cards on light backgrounds */
.spotlight-card--light {
    border: 1px solid transparent;
}

.spotlight-card--light::before {
    background: radial-gradient(360px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(var(--color-accent-primary-rgb), 0.16),
        transparent 70%);
}

.spotlight-card--light:hover {
    border-color: rgba(var(--color-accent-primary-rgb), 0.35);
    box-shadow: var(--shadow-lg);
}

.success__stat-number {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-accent-primary);
}

.success__stat-suffix {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent-primary);
}

.success__stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    margin-top: var(--space-2);
}

/* Client Section Headings */
.client-section-heading {
    color: var(--color-white);
    text-align: center;
    margin: var(--space-12) 0 var(--space-6);
    font-size: var(--text-xl);
    font-weight: 600;
}

/* Client Carousel */
.clients-carousel {
    margin-bottom: var(--space-12);
    overflow: hidden;
}

.clients-carousel__track {
    display: flex;
    gap: var(--space-8);
    animation: scroll 20s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    color: var(--color-gray-500);
    font-weight: 600;
    transition: all var(--transition-base);
}

.client-logo img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all var(--transition-base);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonials {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(var(--color-white-rgb), 0.05);
    border: 1px solid rgba(var(--color-white-rgb), 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial-card__content {
    margin-bottom: var(--space-6);
}

.testimonial-card__content i {
    color: var(--color-accent-primary);
    font-size: 24px;
    margin-bottom: var(--space-4);
    display: block;
}

.testimonial-card__content p {
    color: var(--color-gray-300);
    font-size: var(--text-lg);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-card__avatar {
    width: 56px;
    height: 56px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-900);
    font-size: 24px;
}

.testimonial-card__name {
    display: block;
    color: var(--color-white);
    font-weight: 600;
}

.testimonial-card__company {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.testimonial-card__company-name {
    color: var(--color-accent-primary);
    font-weight: 600;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.testimonial-nav__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--color-white-rgb), 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-nav__btn:hover {
    background: var(--color-accent-primary);
    color: var(--color-primary-900);
}

.testimonial-nav__dots {
    display: flex;
    gap: var(--space-1);
}

/* Visual dot stays 10px, but the button's hit area is widened to 24px
   (WCAG 2.5.8 minimum target size) via ::after so it's easier to tap. */
.testimonial-nav__dot {
    position: relative;
    width: 24px;
    height: 24px;
    background: transparent;
}

.testimonial-nav__dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--color-white-rgb), 0.3);
    transform: translate(-50%, -50%);
    transition: all var(--transition-fast);
}

.testimonial-nav__dot.active::after {
    background: var(--color-accent-primary);
    transform: translate(-50%, -50%) scale(1.2);
}

/* ============================================
   CAREERS SECTION
   ============================================ */
.careers {
    padding: var(--space-24) 0;
    background: var(--color-gray-50);
}

.careers__banner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-12);
    padding: var(--space-12);
    background: var(--color-primary-800);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.careers__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}

.careers__tagline {
    position: relative;
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .careers__tagline {
        font-size: var(--text-3xl);
    }
}

.careers__tagline span {
    color: var(--color-accent-primary);
}

.careers__subtitle {
    position: relative;
    color: var(--color-gray-400);
}

.careers__benefits {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .careers__benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .careers__benefits {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

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

.benefit-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: rgba(var(--color-accent-primary-rgb), 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-accent-primary);
}

.benefit-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.benefit-card__text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.careers__section-title {
    font-size: var(--text-2xl);
    text-align: center;
    margin-bottom: var(--space-8);
}

.jobs-grid {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    justify-items: center;
}

@media (min-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

.job-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.job-card:hover {
    box-shadow: var(--shadow-xl);
}

.job-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.job-card__title {
    font-size: var(--text-lg);
}

.job-card__type {
    font-size: var(--text-xs);
    background: rgba(var(--color-accent-primary-rgb), 0.12);
    color: var(--color-accent-text);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.job-card__details {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.job-card__details span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.job-card__details i {
    color: var(--color-accent-text);
}

.job-card__content {
    display: none;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-gray-200);
}

.job-card__content.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.job-card__content p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.job-card__content ul {
    padding-left: var(--space-4);
}

.job-card__content ul li {
    position: relative;
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    padding: var(--space-1) 0;
    padding-left: var(--space-4);
}

.job-card__content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-text);
}

.job-card__toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-accent-text);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-top: var(--space-4);
    transition: all var(--transition-fast);
}

.job-card__toggle i {
    transition: transform var(--transition-fast);
}

.job-card__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.careers__cta {
    text-align: center;
    padding: var(--space-8);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.careers__cta p {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--color-white);
}

.contact__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--color-gray-50);
}

.contact__grid {
    display: grid;
    gap: var(--space-8);
    position: relative;
}

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }
}

.contact__form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-row {
    display: grid;
    gap: var(--space-5);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-text);
    box-shadow: 0 0 0 4px rgba(var(--color-accent-primary-rgb), 0.25);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--color-error);
}

.form-error {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-error);
    margin-top: var(--space-2);
    min-height: 20px;
}

.phone-input-group {
    display: flex;
    gap: var(--space-2);
}

.phone-input-group__code {
    flex: 0 0 130px;
    width: 130px;
    padding-left: var(--space-3);
    padding-right: var(--space-2);
}

.phone-input-group__number {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 479px) {
    .phone-input-group {
        flex-wrap: wrap;
    }

    .phone-input-group__code {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .phone-input-group__number {
        flex: 1 1 100%;
    }
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-status {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    text-align: center;
    display: none;
    font-size: var(--text-sm);
    font-weight: 500;
}

.form-status i {
    margin-right: var(--space-2);
}

.form-status.success {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-success-rgb), 0.1);
    color: var(--color-success);
    border: 1px solid rgba(var(--color-success-rgb), 0.3);
}

.form-status.error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-error-rgb), 0.1);
    color: var(--color-error);
    border: 1px solid rgba(var(--color-error-rgb), 0.3);
}

/* Contact Info */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .contact__info {
        margin-top: 220px;
    }
}

.contact-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--color-accent-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-900);
    font-size: 20px;
}

.contact-card__content h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-card__content p {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.contact-card__content a {
    color: var(--color-accent-text);
    transition: color var(--transition-fast);
}

.contact-card__content a:hover {
    color: var(--color-primary-900);
}

.contact__map {
    flex: 1;
    min-height: 200px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary-900);
    color: var(--color-gray-400);
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
}

.footer__grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer__logo .logo__image {
    height: 120px;
    width: auto;
}

.footer__logo .logo__text {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
}

.footer__logo .logo__accent {
    color: var(--color-accent-primary);
}

.footer__description {
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.footer__about .footer__tagline {
    margin-bottom: var(--space-6);
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social-link {
    width: 44px;
    height: 44px;
    background: rgba(var(--color-white-rgb), 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--color-accent-primary);
    color: var(--color-primary-900);
    transform: translateY(-3px);
}

.footer__title {
    font-size: var(--text-base);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer__list li {
    margin-bottom: var(--space-3);
}

.footer__list a {
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.footer__list a:hover {
    color: var(--color-accent-primary);
    padding-left: var(--space-2);
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.footer__contact-list i {
    color: var(--color-accent-primary);
    margin-top: 4px;
}

.footer__contact-list a:hover {
    color: var(--color-accent-primary);
}

.footer__bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer__copyright {
    font-size: var(--text-sm);
}

.footer__tagline {
    font-size: var(--text-sm);
    color: var(--color-accent-primary);
    font-weight: 600;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-gray-900-rgb), 0.9);
    backdrop-filter: blur(8px);
}

.modal__content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
}

.modal.active .modal__content {
    transform: scale(1) translateY(0);
}

.modal__close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    transition: all var(--transition-fast);
}

.modal__close:hover {
    background: var(--color-gray-200);
    color: var(--color-primary-900);
}

/* Modal Content Spacing */
.modal__header {
    margin-bottom: var(--space-6);
    padding-right: var(--space-10);
}

.modal__header h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-900);
    margin-bottom: var(--space-2);
}

.modal__body {
    padding: var(--space-2) 0;
}

.modal__body h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary-800);
    margin-bottom: var(--space-3);
}

.modal__body h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-primary-700);
    margin-top: var(--space-5);
    margin-bottom: var(--space-3);
}

.modal__body p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.modal__body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.modal__body ul li {
    position: relative;
    padding-left: var(--space-5);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

.modal__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-accent-primary);
    border-radius: 50%;
}

.modal__body ul li strong {
    color: var(--color-primary-800);
}

.modal__footer {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-gray-200);
}

/* Mobile modal adjustments */
@media (max-width: 767px) {
    .modal__content {
        padding: var(--space-6);
        margin: var(--space-4);
        max-height: 85vh;
    }
    
    .modal__close {
        top: var(--space-3);
        right: var(--space-3);
        width: 36px;
        height: 36px;
    }
    
    .modal__header {
        padding-right: var(--space-8);
    }
    
    .modal__header h2 {
        font-size: var(--text-lg);
    }
    
    .modal__body h3 {
        font-size: var(--text-base);
    }
    
    .modal__body h4 {
        font-size: var(--text-sm);
    }
    
    .modal__body p,
    .modal__body ul li {
        font-size: var(--text-xs);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-children.animated > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.animated > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */
@media (max-width: 767px) {
    /* Consistent container padding on mobile */
    .container {
        padding-left: var(--space-5);
        padding-right: var(--space-5);
    }
    
    /* Hero section mobile fixes */
    .hero__container {
        padding: var(--space-16) 0;
    }
    
    .hero__title-line {
        font-size: var(--text-4xl);
    }

    .hero__subtitle {
        font-size: var(--text-base);
    }
    
    .hero__ctas .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero__stats {
        gap: var(--space-4);
        padding: var(--space-6) var(--space-2) 0;
    }
    
    .hero__stat-value {
        font-size: var(--text-2xl);
    }
    
    .hero__stat-label {
        font-size: var(--text-xs);
    }
    
    /* Section padding fixes */
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .section-subtitle {
        font-size: var(--text-sm);
        padding: 0 var(--space-2);
    }
    
    /* About section mobile */
    .about__story h3 {
        font-size: var(--text-xl);
    }
    
    .about__story p {
        font-size: var(--text-sm);
    }
    
    /* Timeline mobile fixes */
    .timeline {
        margin-left: 50px;
        padding-left: 30px;
    }
    
    .timeline__item::before {
        left: -80px;
        width: 45px;
        font-size: var(--text-xs);
    }
    
    /* Services cards mobile */
    .service-card {
        padding: var(--space-6);
    }
    
    /* Industries cards mobile */
    .industry-card,
    .industry-card__content {
        min-height: 220px;
    }
    
    /* Careers section mobile */
    .careers__cta {
        padding: var(--space-6) var(--space-4);
    }
    
    .careers__cta p {
        font-size: var(--text-base);
        margin-bottom: var(--space-3);
    }
    
    .careers__cta .btn--large {
        padding: var(--space-4) var(--space-5);
        font-size: var(--text-base);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        word-break: break-word;
    }
    
    /* Contact form mobile */
    .contact__grid {
        padding: 0;
    }
    
    /* Footer mobile */
    .footer {
        padding: var(--space-10) 0 var(--space-6);
    }
    
    .footer__brand p {
        font-size: var(--text-sm);
    }
    
    /* Success section mobile */
    .success__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        margin-bottom: var(--space-8);
    }
    
    .success__stat {
        padding: var(--space-4);
    }
    
    .success__stat-number {
        font-size: var(--text-3xl);
    }
    
    .success__stat-suffix {
        font-size: var(--text-2xl);
    }
    
    .success__stat-label {
        font-size: var(--text-xs);
    }
    
    /* Client section headings mobile */
    .client-section-heading {
        font-size: var(--text-lg);
        margin: var(--space-8) 0 var(--space-4);
    }
    
    /* Client carousel mobile - maintain same behavior as desktop */
    .clients-carousel {
        margin-bottom: var(--space-8);
        overflow: hidden;
    }
    
    .clients-carousel__track {
        display: flex;
        gap: var(--space-6);
        animation: scroll 20s linear infinite;
    }
    
    .client-logo {
        flex-shrink: 0;
        padding: var(--space-3) var(--space-4);
    }
    
    .client-logo img {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 479px) {
    /* Extra small screens */
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    .hero__title-line {
        font-size: var(--text-4xl);
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2);
    }
    
    .hero__stat-value {
        font-size: var(--text-xl);
    }
    
    .section-title {
        font-size: var(--text-xl);
    }
    
    /* Timeline extra small */
    .timeline {
        margin-left: 45px;
        padding-left: 25px;
    }
    
    .timeline__item::before {
        left: -70px;
        width: 40px;
    }
    
    /* Success stats extra small */
    .success__stats {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .success__stat-number {
        font-size: var(--text-2xl);
    }
    
    .success__stat-suffix {
        font-size: var(--text-xl);
    }
    
    /* Client section headings extra small */
    .client-section-heading {
        font-size: var(--text-base);
        margin: var(--space-6) 0 var(--space-3);
    }
    
    /* Client carousel extra small */
    .clients-carousel__track {
        gap: var(--space-4);
    }
    
    .client-logo {
        padding: var(--space-2) var(--space-3);
    }
    
    .client-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    
    /* Careers CTA extra small */
    .careers__cta {
        padding: var(--space-5) var(--space-3);
    }
    
    .careers__cta p {
        font-size: var(--text-sm);
    }
    
    .careers__cta .btn--large {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
}

/* ============================================
   SERVICES & INDUSTRIES PAGES STYLES
   ============================================ */

/* Services Page Hero */
.services-hero {
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary-800) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background (blurred, drifting glow orbs) */
.services-hero::before,
.services-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.services-hero::before {
    top: -10%;
    left: -8%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(var(--color-accent-primary-rgb), 0.55), transparent 70%);
    animation: heroOrbDrift 16s ease-in-out infinite;
}

.services-hero::after {
    bottom: -18%;
    right: -6%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(var(--color-accent-secondary-rgb, var(--color-accent-primary-rgb)), 0.4), transparent 70%);
    animation: heroOrbDrift 20s ease-in-out infinite reverse;
}

.services-hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(var(--color-white-rgb), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--color-white-rgb), 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.9), transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.9), transparent 100%);
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .services-hero::before,
    .services-hero::after {
        animation: none;
    }
}

.services-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.services-hero__title {
    font-family: var(--font-primary);
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero__subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-300);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

/* Industries Page Hero */
.industries-hero {
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary-800) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background (blurred, drifting glow orbs) */
.industries-hero::before,
.industries-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.industries-hero::before {
    top: -10%;
    left: -8%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(var(--color-accent-primary-rgb), 0.55), transparent 70%);
    animation: heroOrbDrift 16s ease-in-out infinite;
}

.industries-hero::after {
    bottom: -18%;
    right: -6%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(var(--color-accent-secondary-rgb, var(--color-accent-primary-rgb)), 0.4), transparent 70%);
    animation: heroOrbDrift 20s ease-in-out infinite reverse;
}

@keyframes heroOrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(6%, 8%) scale(1.12); }
    66% { transform: translate(-5%, 4%) scale(0.94); }
}

.industries-hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(var(--color-white-rgb), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--color-white-rgb), 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.9), transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.9), transparent 100%);
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .industries-hero::before,
    .industries-hero::after {
        animation: none;
    }
}

.industries-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.industries-hero__title {
    font-family: var(--font-primary);
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.industries-hero__subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-300);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    margin-bottom: var(--space-6);
}

.breadcrumb a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-accent-secondary);
}

/* Service Detail Sections */
.service-detail {
    padding: var(--space-20) 0;
    position: relative;
}

.service-detail:nth-child(even) {
    background: var(--color-gray-50);
}

.service-detail__container {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: var(--space-16);
    align-items: stretch;
}

.service-detail__content h2 {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

.service-detail__content .service-tag {
    display: inline-block;
    align-self: flex-start;
    padding: var(--space-2) var(--space-4);
    background: var(--color-accent-primary);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.service-detail__content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: var(--space-6);
}

.service-detail__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3) var(--space-5);
    margin-bottom: var(--space-8);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.feature-item i {
    flex-shrink: 0;
    color: var(--color-accent-text);
    font-size: var(--text-lg);
}

.feature-item span {
    color: var(--color-gray-700);
    font-size: var(--text-sm);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .feature-item span {
        white-space: normal;
    }
}

.service-detail__benefits {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent-primary);
    box-shadow: var(--shadow-md);
}

.service-detail__benefits h3 {
    font-size: var(--text-xl);
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.service-detail__benefits ul {
    list-style: none;
    padding: 0;
}

.service-detail__benefits li {
    padding: var(--space-2) 0;
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.service-detail__benefits li i {
    color: var(--color-success);
    font-size: var(--text-sm);
}

.service-detail__content {
    display: flex;
    flex-direction: column;
}

.service-detail__image {
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-detail__image-wrapper {
    position: relative;
    flex: 1;
    min-height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-100);
}

.service-detail__image-wrapper:not(:last-child) {
    margin-bottom: var(--space-8);
}

.service-detail__image-wrapper .detail-hero-image {
    height: 100%;
    min-height: 420px;
}

.service-icon-large {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    font-size: 120px;
    color: var(--color-white);
}

.service-detail__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Industry Detail Sections */
.industry-detail {
    padding: var(--space-20) 0;
    position: relative;
}

.industry-detail:nth-child(even) {
    background: var(--color-gray-50);
}

.industry-detail__container {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: var(--space-16);
    align-items: stretch;
}

.industry-detail__content {
    display: flex;
    flex-direction: column;
}

.industry-detail__content h2 {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

.industry-detail__content .industry-tag {
    display: inline-block;
    align-self: flex-start;
    padding: var(--space-2) var(--space-4);
    background: var(--color-accent-primary);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.industry-detail__content p {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: var(--color-gray-700);
    margin-bottom: var(--space-8);
    max-width: 42ch;
}

.industry-detail__solutions {
    margin-bottom: var(--space-8);
}

.industry-detail__solutions h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    color: var(--color-gray-900);
    margin-bottom: var(--space-5);
    font-weight: 600;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.solution-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.solution-item:hover {
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.solution-item i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(var(--color-accent-primary-rgb), 0.12);
    color: var(--color-accent-text);
    font-size: var(--text-base);
}

.solution-item span {
    color: var(--color-gray-800);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.35;
}

.industry-detail__benefits {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent-primary);
    box-shadow: var(--shadow-md);
}

.industry-detail__benefits h3 {
    font-size: var(--text-xl);
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.industry-detail__benefits ul {
    list-style: none;
    padding: 0;
}

.industry-detail__benefits li {
    padding: var(--space-2) 0;
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.industry-detail__benefits li i {
    color: var(--color-success);
    font-size: var(--text-sm);
}

.industry-detail__image {
    position: relative;
    display: flex;
    flex-direction: column;
}

.industry-detail__image-wrapper {
    position: relative;
    flex: 1;
    min-height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-100);
}

.industry-detail__image-wrapper:not(:last-child) {
    margin-bottom: var(--space-8);
}

.industry-detail__image-wrapper .detail-hero-image {
    height: 100%;
    min-height: 420px;
}

/* Shared image treatment for Services & Industries detail pages */
.detail-hero-image {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.industry-icon-large {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--color-white);
}

.industry-detail__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-card__number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent-text);
    display: block;
    margin-bottom: var(--space-2);
}

.stat-card__label {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

/* CTA Section */
.cta-section {
    background: var(--color-gray-900);
    padding: var(--space-20) 0;
    text-align: center;
    color: var(--color-white);
}

.cta-section h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.cta-section p {
    font-size: var(--text-lg);
    color: var(--color-gray-300);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Parallax Scrolling — oversized targets so a translateY shift never reveals empty edges */
[data-parallax-speed] {
    will-change: transform;
}

img[data-parallax-speed] {
    position: absolute !important;
    inset: -12% 0 !important;
    width: 100% !important;
    height: 124% !important;
    object-fit: cover;
}

.industry-card__image[data-parallax-speed] {
    inset: -12% 0;
    height: 124%;
}

/* Liquid glass CTAs — glassmorphism buttons for dark surfaces (CTA band, hero) */
.cta-section .btn,
.hero__ctas .btn {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-full);
}

.cta-section .btn--primary,
.hero__ctas .btn--primary {
    background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-primary));
    color: var(--color-white);
    border: 1px solid rgba(var(--color-white-rgb), 0.35);
    box-shadow:
        inset 0 1px 1px rgba(var(--color-white-rgb), 0.5),
        inset 0 -6px 12px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(var(--color-accent-primary-rgb), 0.45);
}

.cta-section .btn--primary:hover,
.hero__ctas .btn--primary:hover {
    background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-secondary));
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 1px rgba(var(--color-white-rgb), 0.6),
        inset 0 -6px 12px rgba(0, 0, 0, 0.1),
        0 12px 30px rgba(var(--color-accent-primary-rgb), 0.6);
}

.cta-section .btn--secondary,
.hero__ctas .btn--secondary {
    background: rgba(var(--color-white-rgb), 0.08);
    border: 1px solid rgba(var(--color-white-rgb), 0.3);
    box-shadow:
        inset 0 1px 1px rgba(var(--color-white-rgb), 0.25),
        0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta-section .btn--secondary:hover,
.hero__ctas .btn--secondary:hover {
    background: rgba(var(--color-white-rgb), 0.14);
    border-color: rgba(var(--color-white-rgb), 0.5);
    color: var(--color-white);
}

.cta-section .btn::before,
.hero__ctas .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(var(--color-white-rgb), 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.cta-section .btn:hover::before,
.hero__ctas .btn:hover::before {
    left: 130%;
}

/* Liquid glass CTA — light-surface variant for the header nav button, careers email CTA & reusable buttons */
.nav__link--cta,
.mobile-nav__link--cta,
.careers__cta-btn,
.liquid-glass-btn {
    color: var(--color-white) !important;
    background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-primary)) !important;
    border: 1px solid rgba(var(--color-white-rgb), 0.5);
    border-radius: var(--radius-full);
    box-shadow:
        inset 0 1px 1px rgba(var(--color-white-rgb), 0.6),
        inset 0 -4px 8px rgba(0, 0, 0, 0.15),
        0 4px 14px rgba(var(--color-accent-primary-rgb), 0.4);
    position: relative;
    overflow: hidden;
}

.nav__link--cta::before,
.careers__cta-btn::before,
.liquid-glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(var(--color-white-rgb), 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.nav__link--cta:hover::before,
.careers__cta-btn:hover::before,
.liquid-glass-btn:hover::before {
    left: 130%;
}

.careers__cta-btn:hover,
.liquid-glass-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 1px rgba(var(--color-white-rgb), 0.6),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1),
        0 10px 22px rgba(var(--color-accent-primary-rgb), 0.5);
}

/* Services Navigation */
.services-nav {
    background: var(--color-white);
    padding: var(--space-4) 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.services-nav__list {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.services-nav__link {
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.services-nav__link:hover,
.services-nav__link.active {
    background: var(--color-accent-primary);
    color: var(--color-white);
}

/* Industries Navigation */
.industries-nav {
    background: var(--color-white);
    padding: var(--space-4) 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.industries-nav__list {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.industries-nav__link {
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.industries-nav__link:hover,
.industries-nav__link.active {
    background: var(--color-accent-primary);
    color: var(--color-white);
}

/* Use Cases */
.use-cases {
    background: var(--color-gray-100);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-top: var(--space-6);
}

.use-cases h4 {
    font-size: var(--text-lg);
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.use-cases ul {
    list-style: none;
    padding: 0;
}

.use-cases li {
    padding: var(--space-2) 0;
    color: var(--color-gray-700);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.use-cases li i {
    color: var(--color-accent-text);
    font-size: var(--text-sm);
    margin-top: 4px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .service-detail__container,
    .industry-detail__container {
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
    }
    
    /* Make service content area use flexbox for reordering */
    .service-detail__content {
        display: flex;
        flex-direction: column;
        order: 1;
    }
    
    /* Service page mobile order: tag → heading → diagram → description → features → benefits */
    .service-detail__content .service-tag {
        order: 1;
        align-self: flex-start;
    }
    
    .service-detail__content h2 {
        order: 2;
    }
    
    .service-detail__image {
        order: 2;
    }
    
    .service-detail__content > p {
        order: 4;
    }
    
    .service-detail__features {
        order: 5;
    }
    
    .service-detail__benefits {
        order: 6;
        margin-top: 0;
    }
    
    /* Make industry content area use flexbox for reordering */
    .industry-detail__content {
        display: flex;
        flex-direction: column;
    }
    
    /* Industry page mobile order: heading → info → solutions → diagram → use cases → benefits */
    .industry-detail__content h2 {
        order: 1;
    }
    
    .industry-detail__content > p {
        order: 2;
    }
    
    .industry-detail__solutions {
        order: 3;
    }
    
    .use-cases {
        order: 6;
    }
    
    /* Image wrapper comes after solutions, before use cases */
    .industry-detail__image {
        order: 4;
    }
    
    .industry-detail__image-wrapper {
        margin-bottom: var(--space-6);
    }
    
    /* Benefits come last */
    .industry-detail__benefits {
        order: 5;
        margin-top: 0;
    }

    .service-detail__features,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .service-detail__stats,
    .industry-detail__stats {
        grid-template-columns: 1fr;
    }

    .service-icon-large,
    .industry-icon-large {
        height: 300px;
        font-size: 80px;
    }
    
    /* Ensure consistent image sizes on mobile */
    .service-detail__image-wrapper,
    .industry-detail__image-wrapper {
        width: 100%;
        margin-bottom: var(--space-6);
    }
    
    .service-detail__image-wrapper,
    .industry-detail__image-wrapper {
        background: var(--color-gray-100);
    }

    .service-detail__image-wrapper .detail-hero-image,
    .industry-detail__image-wrapper .detail-hero-image {
        width: 100% !important;
        height: 250px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .services-nav,
    .industries-nav {
        top: 60px;
    }

    .services-nav__list,
    .industries-nav__list {
        gap: var(--space-2);
        padding: 0 var(--space-4);
    }

    .services-nav__link,
    .industries-nav__link {
        font-size: var(--text-sm);
        padding: var(--space-2) var(--space-3);
    }
}

