/* ===================================
   PGI Website - Sophisticated Technical Aesthetic
   =================================== */

:root {
    /* Brand Colors */
    --primary-blue: #009FE3;
    --primary-orange: #FF7A1F;
    --dark-bg: #0A0E1A;
    --darker-bg: #060914;
    --card-bg: #141824;
    --card-hover: #1A1F2E;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B9C9;
    --text-muted: #6B7280;
    --border-color: #1F2937;
    --accent-glow: rgba(0, 159, 227, 0.15);

    /* Theme surfaces */
    --nav-bg: rgba(10, 14, 26, 0.75);
    --nav-border: rgba(255, 255, 255, 0.05);
    --hero-overlay-start: rgba(10, 14, 26, 0.95);
    --hero-overlay-mid: rgba(10, 14, 26, 0.7);
    --hero-overlay-end: rgba(10, 14, 26, 0.25);
    --hero-panel-bg: rgba(6, 9, 20, 0.55);
    --hero-panel-border: rgba(255, 255, 255, 0.05);
    --hero-panel-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --hero-note-bg: rgba(0, 159, 227, 0.2);
    --hero-note-border: rgba(255, 255, 255, 0.1);
    --hero-cue-color: rgba(255, 255, 255, 0.6);
    --hero-cue-hover: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.05);
    --surface-soft-border: rgba(255, 255, 255, 0.12);
    --surface-soft-shadow: rgba(255, 255, 255, 0.02);
    --surface-elevated: #0f1422;
    --surface-elevated-border: rgba(255, 255, 255, 0.06);
    --surface-elevated-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    --tab-subtitle-hover: rgba(255, 255, 255, 0.85);
    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-border: rgba(255, 255, 255, 0.16);
    --toggle-text: var(--text-secondary);
    --toggle-bg-hover: rgba(255, 255, 255, 0.16);
    --toggle-border-hover: rgba(255, 255, 255, 0.3);
    --toggle-text-hover: var(--text-primary);
    --faq-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(20, 24, 36, 0.6);
    --glass-bg-hover: rgba(20, 24, 36, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.2);
    --glass-shadow-hover: rgba(0, 0, 0, 0.3);
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --card-shadow: none;
    --card-shadow-hover: none;
    --card-border: var(--border-color);
    --bg-primary: var(--dark-bg);
    --bg-secondary: var(--darker-bg);
    --bg-tertiary: var(--dark-bg);
    --wp--preset--color--primary-blue: var(--primary-blue);
    --wp--preset--color--primary-orange: var(--primary-orange);
    --wp--preset--color--dark-bg: var(--dark-bg);
    --wp--preset--color--card-bg: var(--card-bg);
    --wp--preset--color--text-primary: var(--text-primary);
    --wp--preset--color--text-secondary: var(--text-secondary);
    --wp--preset--color--text-muted: var(--text-muted);
    --wp--preset--color--foreground: var(--text-primary);
    --wp--preset--color--background: var(--dark-bg);
    --wp--preset--color--tertiary: var(--text-secondary);
    --wp--preset--color--base: var(--dark-bg);
    --wp--preset--color--contrast: var(--text-primary);
    --wp--preset--color--primary: var(--primary-blue);
    --wp--preset--color--secondary: var(--primary-orange);
    --wp--preset--color--accent: var(--primary-orange);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --section-padding: 20px;
    --container-max: 1536px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    color-scheme: dark;

    /* Editor/Legacy Compatibility */
    --color-bg-page: #0b1420;
    --color-bg-section: #0e1623;
    --color-primary: var(--primary-blue);
    --color-primary-soft: var(--primary-blue);
    --color-accent: var(--primary-orange);
    --color-text-main: var(--text-primary);
    --color-text-muted: var(--text-secondary);
    --color-border-subtle: rgba(255, 255, 255, 0.07);
    --pgi-card-bg: rgba(255, 255, 255, 0.06);
    --pgi-card-bg-hover: rgba(255, 255, 255, 0.066);
    --pgi-card-border: rgba(255, 255, 255, 0.07);
    --pgi-card-border-strong: rgba(255, 255, 255, 0.12);
    --pgi-card-shadow: none;
    --pgi-card-shadow-hover: none;
    --pgi-section-a: #0e1623;
    --pgi-section-b: #16202e;
    --pgi-label-contrast: #b8c2cc;
    --primary-navy: var(--color-primary);
    --secondary-orange: var(--color-accent);
    --accent-blue: var(--color-primary);
    --neutral-gray: var(--color-bg-section);
    --text-dark: var(--color-text-main);
    --text-light: var(--color-text-main);
}


:root[data-theme="light"] {
    /* Brand Colors - desaturated orange for light theme */
    --primary-orange: #E86A10;
    --primary-orange-hover: #D45E0A;
    --primary-orange-muted: #F59E4A;

    /* Backgrounds - soft neutrals instead of pure white */
    --dark-bg: #F6F8FB;
    --darker-bg: #FAFBFC;
    --card-bg: #FFFFFF;
    --card-hover: #F8FAFC;
    --bg-primary: #FAFBFC;
    --bg-secondary: #F6F8FB;
    --bg-tertiary: #EEF2F7;

    /* Section banding */
    --section-alt: #F0F4F8;
    --section-border: rgba(15, 23, 42, 0.06);

    /* Text - improved contrast */
    --text-primary: #0f172a;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-heading: #0f172a;

    /* Borders & accents */
    --border-color: #e2e8f0;
    --accent-glow: rgba(0, 159, 227, 0.12);

    /* Navigation */
    --nav-bg: rgba(250, 251, 252, 0.92);
    --nav-border: rgba(15, 23, 42, 0.10);

    /* Hero overlays */
    --hero-overlay-start: rgba(250, 251, 252, 0.96);
    --hero-overlay-mid: rgba(250, 251, 252, 0.78);
    --hero-overlay-end: rgba(250, 251, 252, 0.40);
    --hero-panel-bg: rgba(255, 255, 255, 0.95);
    --hero-panel-border: rgba(15, 23, 42, 0.08);
    --hero-panel-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    --hero-note-bg: rgba(0, 159, 227, 0.10);
    --hero-note-border: rgba(15, 23, 42, 0.15);
    --hero-cue-color: rgba(15, 23, 42, 0.6);
    --hero-cue-hover: #0f172a;

    /* Surfaces */
    --surface-soft: rgba(15, 23, 42, 0.03);
    --surface-soft-border: rgba(15, 23, 42, 0.10);
    --surface-soft-shadow: rgba(15, 23, 42, 0.04);
    --surface-elevated: #ffffff;
    --surface-elevated-border: rgba(15, 23, 42, 0.08);
    --surface-elevated-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);

    /* Interactive elements */
    --tab-subtitle-hover: rgba(15, 23, 42, 0.75);
    --toggle-bg: rgba(15, 23, 42, 0.05);
    --toggle-border: rgba(15, 23, 42, 0.15);
    --toggle-text: #0f172a;
    --toggle-bg-hover: rgba(15, 23, 42, 0.10);
    --toggle-border-hover: rgba(15, 23, 42, 0.25);
    --toggle-text-hover: #0b1320;
    --faq-border: rgba(15, 23, 42, 0.08);

    /* Glass effects */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-hover: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(15, 23, 42, 0.10);
    --glass-shadow: rgba(15, 23, 42, 0.10);
    --glass-shadow-hover: rgba(15, 23, 42, 0.16);
    --overlay-bg: rgba(15, 23, 42, 0.35);

    /* Card shadows - subtle light elevation */
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
    --card-border: #E6EAF0;

    color-scheme: light;
}

/* ===================================
   Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
}

body.page-transition .site-main,
body.page-transition .footer {
    animation: page-fade-in 0.45s ease both;
}

body.page-transition.is-leaving .site-main,
body.page-transition.is-leaving .footer {
    animation: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes page-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-transition .site-main,
    body.page-transition .footer {
        animation: none;
    }

    body.page-transition.is-leaving .site-main,
    body.page-transition.is-leaving .footer {
        transition: none;
        transform: none;
    }
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}


.text-primary-blue {
    color: var(--primary-blue);
}

.text-primary-orange {
    color: var(--primary-orange);
}


.light .bg-theme-primary {
    background: var(--bg-primary);
}

.light .bg-theme-secondary {
    background: var(--bg-secondary);
}

.light .bg-theme-tertiary {
    background: var(--bg-tertiary);
}

.light .text-theme-primary {
    color: var(--text-primary);
}

.light .text-theme-secondary {
    color: var(--text-secondary);
}

.light .text-theme-muted {
    color: var(--text-muted);
}

.light .border-theme {
    border-color: var(--card-border);
}

.light .card-theme {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.light .card-theme:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

body .prose {
    --tw-prose-body: var(--text-secondary);
    --tw-prose-headings: var(--text-primary);
    --tw-prose-lead: var(--text-secondary);
    --tw-prose-links: var(--primary-blue);
    --tw-prose-bold: var(--text-primary);
    --tw-prose-counters: var(--text-muted);
    --tw-prose-bullets: var(--text-muted);
    --tw-prose-hr: var(--border-color);
    --tw-prose-quotes: var(--text-primary);
    --tw-prose-quote-borders: var(--border-color);
    --tw-prose-captions: var(--text-muted);
    --tw-prose-code: var(--text-primary);
    --tw-prose-pre-code: var(--text-primary);
    --tw-prose-pre-bg: var(--darker-bg);
    --tw-prose-th-borders: var(--border-color);
    --tw-prose-td-borders: var(--border-color);
    color: var(--text-secondary);
}

body .prose :where(h1, h2, h3, h4, h5, h6):not([class*="-color"]) {
    color: var(--text-primary);
}

body .prose :where(strong, b):not([class*="-color"]) {
    color: var(--text-primary);
}

body .prose :where(a):not([class*="-color"]) {
    color: var(--primary-blue);
}

body .prose .has-text-color :where(p, li, h1, h2, h3, h4, h5, h6, blockquote, a, strong, em, span),
body .prose .has-inline-color :where(p, li, h1, h2, h3, h4, h5, h6, blockquote, a, strong, em, span) {
    color: inherit;
}

body .prose a:hover {
    color: var(--primary-orange);
}

body .prose .has-primary-color,
body .prose .has-primary-blue-color {
    color: var(--primary-blue) !important;
}

body .prose .has-accent-color,
body .prose .has-primary-orange-color {
    color: var(--primary-orange) !important;
}

/* Editor Compatibility Classes */
.has-primary-color {
    color: var(--color-primary);
}

.has-accent-color {
    color: var(--color-accent);
}

.has-text-main-color {
    color: var(--color-text-main);
}

.has-text-muted-color {
    color: var(--color-text-muted);
}

.has-primary-background-color {
    background-color: var(--color-primary);
}

.has-accent-background-color {
    background-color: var(--color-accent);
}

.has-bg-page-background-color {
    background-color: var(--color-bg-page);
}

.has-bg-section-background-color {
    background-color: var(--color-bg-section);
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nav-border);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* WordPress Palette Mappings (Frontend Compatibility) */
.has-primary-blue-color {
    color: var(--color-primary);
}

.has-primary-orange-color {
    color: var(--color-accent);
}

.has-dark-bg-color {
    color: var(--color-bg-page);
}

.has-card-bg-color {
    color: var(--pgi-card-bg);
}

.has-text-primary-color {
    color: var(--color-text-main);
}

.has-text-secondary-color {
    color: var(--color-text-muted);
}

.has-primary-blue-background-color {
    background-color: var(--color-primary);
}

.has-primary-orange-background-color {
    background-color: var(--color-accent);
}

.has-dark-bg-background-color {
    background-color: var(--color-bg-page);
}

.has-card-bg-background-color {
    background-color: var(--pgi-card-bg);
}

.has-text-primary-background-color {
    background-color: var(--color-text-main);
}

.has-text-secondary-background-color {
    background-color: var(--color-text-muted);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav .nav-container {
    height: 88px;
}

/* Logo styles */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-link img,
.nav-logo .logo,
.custom-logo {
    height: 48px;
    width: auto;
    display: block;
}

/* WordPress custom logo wrapper */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a,
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-link:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-link.active:not(.nav-link-cta),
.nav-link.current:not(.nav-link-cta) {
    color: var(--primary-blue);
}

.nav-link.active:not(.nav-link-cta)::after,
.nav-link.current:not(.nav-link-cta)::after {
    width: 100%;
}

/* Contact CTA button in nav */
.nav-link-cta {
    background: var(--primary-orange);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-link-cta:hover {
    background: #e86a10;
    transform: translateY(-2px);
    color: white !important;
}

.nav-link-cta::after {
    display: none;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--toggle-border);
    background: var(--toggle-bg);
    color: var(--toggle-text);
    font-family: var(--font-display);
    transition: var(--transition-smooth);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    background: var(--toggle-bg-hover);
    border-color: var(--toggle-border-hover);
    color: var(--toggle-text-hover);
}

.theme-toggle__icon {
    width: 18px;
    height: 18px;
    display: block;
}

.theme-toggle__icon--moon {
    display: none;
}

:root[data-theme="light"] .theme-toggle__icon--sun {
    display: none;
}

:root[data-theme="light"] .theme-toggle__icon--moon {
    display: block;
}

.theme-toggle--mobile {
    display: none;
}

.nav-mobile-footer {
    display: none;
}

.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 navigation toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    padding: 0 0 80px;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

:root[data-theme="light"] .hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero.hero--subpage {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

:root[data-theme="light"] .hero.hero--subpage {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero--subpage .hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero--subpage .hero-text h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero--subpage .hero-eyebrow {
    color: var(--primary-blue);
}

.hero-eyebrow-accent {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero--subpage .hero-subtitle {
    max-width: 620px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.hero--subpage .hero-actions {
    margin-bottom: 48px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px 32px;
}

.hero--subpage .hero-meta {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}

.hero--subpage .hero-meta-item {
    text-align: center;
}

.hero--subpage .hero-meta-item .label {
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
}

.hero--subpage .hero-meta-item .value {
    font-size: 46px;
    letter-spacing: -0.02em;
}

.hero-meta-item .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    opacity: 0.92;
}

.hero-meta-item .value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
}

.hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-media-note {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: var(--hero-note-bg);
    border: 1px solid var(--hero-note-border);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hero-cue-color);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: hero-cue-bounce 1.6s infinite;
    cursor: pointer;
    pointer-events: auto;
    z-index: 12;
}

.hero-scroll-cue__label {
    font-size: 11px;
}

.hero-scroll-cue__icon,
.hero-scroll-cue span {
    font-size: 14px;
    line-height: 1;
}

.hero-scroll-cue:hover {
    color: var(--hero-cue-hover);
}

@keyframes hero-cue-bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 6px);
    }
}

.hero--subpage .btn {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    transform: none;
}

.hero--subpage .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.hero--subpage .btn-secondary:hover {
    box-shadow: none;
}



/* Carousel Styles (Gemini-inspired) */
.hero-carousel {
    position: relative;
    min-height: 720px;
    height: calc(100vh - 80px);
    overflow: hidden;
    background: var(--darker-bg);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-carousel .carousel-slide:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 35%, var(--hero-overlay-end) 65%, transparent 100%);
    backdrop-filter: blur(6px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 40%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 40%, transparent 100%);
}

.carousel-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 40px;
}

.hero-content {
    position: relative;
    max-width: 720px;
    padding: 32px;
    background: var(--hero-panel-bg);
    border: 1px solid var(--hero-panel-border);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: left;
}

.hero-carousel .hero-content {
    box-shadow: var(--hero-panel-shadow);
}

.carousel-controls {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: var(--container-max);
    padding: 0 40px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background: var(--primary-blue);
    width: 32px;
}

.carousel-dot:hover {
    background: var(--primary-blue);
    opacity: 0.8;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
}

:root[data-theme="light"] .carousel-nav {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

:root[data-theme="light"] .carousel-nav:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.carousel-nav:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev {
    left: 20px;
}

.carousel-nav-next {
    right: 20px;
}

.hero-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-title-accent {
    color: var(--primary-orange);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.metric {
    text-align: center;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Hero Visual - Stats Card */
.hero-visual {
    animation: fadeIn 0.8s ease-out 0.7s both;
    position: relative;
}

.carousel-visual {
    position: relative;
}

.carousel-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.stats-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stats-card-header {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-orange);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    gap: 20px;
}

.stat-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--darker-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateX(4px);
}

.stat-icon {
    font-size: 32px;
    line-height: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
}

.stats-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-accent {
    background: var(--primary-orange);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.25);
}

.btn-accent:hover {
    background: #e65f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.4);
}

/* Article CTA Actions */
.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    clear: both;
}

@media (max-width: 640px) {
    .article-cta-actions {
        flex-direction: column;
    }

    .article-cta-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--section-padding) 0;
}

body.home section,
body.front-page section {
    padding: 40px 0;
}

.section-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-transform: uppercase;
}

:root[data-theme="light"] .section-label {
    color: #0078C8;
    background: rgba(0, 159, 227, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 720px;
}

.section-header-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.section-header-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: end;
}

.section-subtitle-right {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

:root[data-theme="light"] .service-card,
:root[data-theme="light"] .industry-card,
:root[data-theme="light"] .capability-card,
:root[data-theme="light"] .news-card,
:root[data-theme="light"] .story-card,
:root[data-theme="light"] .diff-card,
:root[data-theme="light"] .value-card,
:root[data-theme="light"] .office-card,
:root[data-theme="light"] .partner-logo,
:root[data-theme="light"] .tech-card,
:root[data-theme="light"] .technology-card,
:root[data-theme="light"] .map-embed,
:root[data-theme="light"] .stat-item {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

:root[data-theme="light"] .service-card:hover,
:root[data-theme="light"] .industry-card:hover,
:root[data-theme="light"] .capability-card:hover,
:root[data-theme="light"] .news-card:hover,
:root[data-theme="light"] .story-card:hover,
:root[data-theme="light"] .diff-card:hover,
:root[data-theme="light"] .value-card:hover,
:root[data-theme="light"] .office-card:hover,
:root[data-theme="light"] .partner-logo:hover,
:root[data-theme="light"] .tech-card:hover,
:root[data-theme="light"] .technology-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

:root[data-theme="light"] .stat-item:hover {
    box-shadow: var(--card-shadow-hover);
}

:root[data-theme="light"] .service-card-featured {
    border-width: 2px;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px -3px rgba(0, 159, 227, 0.1);
}

:root[data-theme="light"] .office-hq {
    border-width: 2px;
    border-color: var(--primary-orange);
}

/* ===================================
   Value Proposition Section
   =================================== */

.value-prop {
    background: var(--darker-bg);
    position: relative;
}

.value-prop-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.differentiators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.diff-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-orange);
    transition: height 0.3s ease-out;
}

.diff-card:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.diff-card:hover::before {
    height: 100%;
}

.diff-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.diff-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.diff-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.diff-proof {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 159, 227, 0.1);
    border: 1px solid var(--primary-blue);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ===================================
   Services Section
   =================================== */

.services {
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    gap: 32px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    gap: 32px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card-featured {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 106, 0, 0.05) 100%);
}

.service-icon {
    font-size: 48px;
    line-height: 1;
    min-width: 60px;
}

.service-icon img,
.service-icon .service-icon-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.service-content {
    flex: 1;
}

.service-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.service-title-link:hover {
    color: var(--primary-blue);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.2s ease-out, transform 0.2s ease-out;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.service-features li:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.service-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* ===================================
   Industries Section
   =================================== */

.industries {
    background: var(--darker-bg);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.industry-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.industry-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-highlight {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.industry-stat span:last-child {
    font-size: 13px;
    color: var(--text-muted);
}

.industry-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.industry-title-link:hover {
    color: var(--primary-blue);
}

.industry-tagline {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.industry-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.industry-solutions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.solution-tag {
    padding: 8px 16px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.industry-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.industry-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* ===================================
   Related Content
   =================================== */

.related-content .section-header {
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.related-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.related-card__media img,
.related-card__placeholder {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--darker-bg);
}

.related-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-card__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.related-card__eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.related-card__labels .related-card__eyebrow--secondary {
    color: var(--text-secondary);
    font-weight: 500;
}

.related-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.related-card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.related-card__title a:hover {
    color: var(--primary-blue);
}

.related-card__excerpt {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Industry Archive Cards
   =================================== */

body.post-type-archive-industry .section {
    padding: var(--section-padding) 0;
}

body.post-type-archive-industry .industry-grid {
    display: grid;
}

body.post-type-archive-industry .industry-grid .industry-card {
    --industry-accent: var(--primary-blue);
}

body.post-type-archive-industry .industry-grid .industry-card:nth-child(even) {
    --industry-accent: var(--primary-orange);
}

body.post-type-archive-industry .industry-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: 6px solid var(--industry-accent);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    transition: var(--transition-smooth);
}

body.post-type-archive-industry .industry-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

body.post-type-archive-industry .industry-card-media {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--darker-bg);
}

body.post-type-archive-industry .industry-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

body.post-type-archive-industry .industry-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

body.post-type-archive-industry .industry-card-icon {
    font-size: 40px;
    color: var(--industry-accent);
    line-height: 1;
}

body.post-type-archive-industry .industry-card-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

body.post-type-archive-industry .industry-meta {
    color: var(--industry-accent);
    font-weight: 600;
    margin: 4px 0 0;
}

body.post-type-archive-industry .industry-excerpt {
    margin: 0;
    color: var(--text-secondary);
}

body.post-type-archive-industry .industry-card-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 0.02em;
}

body.post-type-archive-industry .industry-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 16px;
}

body.post-type-archive-industry .industry-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
}

body.post-type-archive-industry .industry-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

body.post-type-archive-industry .industry-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 12px;
}

body.post-type-archive-industry .industry-metric {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

body.post-type-archive-industry .industry-metric .metric-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

body.post-type-archive-industry .industry-metric .metric-label {
    font-size: 12px;
    color: var(--text-muted);
}

body.post-type-archive-industry .industry-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.post-type-archive-industry .industry-card .btn {
    align-self: flex-start;
}

body.post-type-archive-industry .challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

body.post-type-archive-industry .challenge-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.post-type-archive-industry .challenge-card h3 {
    margin: 0;
}

body.post-type-archive-industry .challenge-icon {
    font-size: 40px;
    line-height: 1;
}

body.post-type-archive-industry .challenge-excerpt {
    margin: 0;
    color: var(--text-secondary);
}

body.post-type-archive-industry .challenge-solution {
    background: rgba(0, 159, 227, 0.08);
    border-radius: 10px;
    padding: 16px;
    border-left: 4px solid var(--primary-orange);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* ===================================
   Success Stories Section
   =================================== */

.success-stories {
    background: var(--dark-bg);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.story-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.story-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid var(--primary-orange);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.story-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.story-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-out;
}

.story-title-link:hover {
    color: var(--primary-blue);
}

.story-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.story-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.story-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.story-metric {
    text-align: center;
}

.story-metric .metric-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.story-metric .metric-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.story-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.story-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.section-cta {
    text-align: center;
}

/* ===================================
   Global Presence Section
   =================================== */

.global-presence {
    background: var(--dark-bg);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.office-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
}

.office-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.office-hq {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 106, 0, 0.05) 100%);
}

.office-flag {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
}

.office-location {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.office-role {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.office-address {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.2;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 32px;
}

.footer-column {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.footer-column--contact {
    border: none;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-accordion__toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-accordion__label {
    pointer-events: none;
}

.footer-accordion__icon {
    font-size: 20px;
    color: var(--primary-blue);
    transition: transform 0.18s ease, color 0.18s ease;
}

.footer-accordion__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.18s ease;
}

[data-footer-accordion].is-open .footer-accordion__icon {
    transform: rotate(180deg);
}

.footer-contact {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.footer-contact a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--primary-orange);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface-soft);
    border: 1px solid var(--surface-soft-border);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: inset 0 0 0 1px var(--surface-soft-shadow);
}

.footer-social .social-icon:hover,
.footer-social .social-icon:focus-visible {
    background: rgba(0, 159, 227, 0.18);
    border-color: rgba(0, 159, 227, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 159, 227, 0.25);
}

.footer-social .social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-column {
        border: none;
        padding-bottom: 0;
    }

    .footer-accordion__toggle {
        cursor: default;
        padding: 0;
    }

    .footer-accordion__icon {
        display: none;
    }

    .footer-accordion__panel {
        max-height: none !important;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        gap: 24px;
    }

    .footer-column {
        padding-bottom: 12px;
    }
}

/* ===================================
   About Page Styles
   =================================== */

.about-hero,
.page-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.page-hero--ai .container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
}

.page-hero--ai .about-hero-content {
    max-width: none;
}

.page-hero--ai .hero-media {
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.page-hero--ai .hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-hero-content {
    max-width: 800px;
}

/* Stats Bar */
.stats-bar {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-bar-icon {
    font-size: 48px;
    line-height: 1;
}

.stat-bar-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-bar-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Mission Section */
.mission-section {
    background: var(--darker-bg);
}

.mission-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
    align-items: center;
}

.mission-visual {
    text-align: center;
}

.mission-icon {
    font-size: 120px;
    line-height: 1;
}

.mission-quote {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-blue);
    margin-bottom: 24px;
    font-style: italic;
    padding-left: 20px;
    border-left: 4px solid var(--primary-blue);
}

.mission-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Journey Timeline */
.journey-section {
    background: var(--dark-bg);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-orange));
}

.timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-marker {
    text-align: center;
    position: relative;
}

.timeline-year {
    display: inline-block;
    padding: 16px 24px;
    background: var(--card-bg);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
}

.timeline-marker-current .timeline-year {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

:root:not([data-theme="light"]) .timeline-content:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 40px var(--glass-shadow-hover);
    transform: translateY(-4px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Values Section */
.values-section {
    background: var(--darker-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.value-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.leadership-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.leadership-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.leadership-card .member-name {
    color: var(--primary-orange);
}

.value-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 24px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

/* Featured value card - lead emphasis */
.value-card-featured {
    border-width: 2px;
    border-color: var(--primary-blue);
}

.value-card-featured .value-icon {
#    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Partners Section */
.partners-section {
    background: var(--dark-bg);
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-logo {
    text-align: center;
    padding: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.partner-logo:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.partner-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.partner-type {
    font-size: 14px;
    color: var(--text-muted);
}

/* Technology Cards */
.technology-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.technology-card--featured {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 1px rgba(0, 159, 227, 0.25);
}

.technology-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.technology-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    margin-bottom: 12px;
}

.technology-card__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.technology-card__logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--darker-bg);
}

.technology-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.technology-card__link {
    margin-top: auto;
}

.technology-hero__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.technology-hero__logo {
    width: min(100%, 360px);
    height: auto;
}

.technology-hero__logo-placeholder {
    width: min(100%, 360px);
    height: 240px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--darker-bg);
}

.technology-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--primary-blue);
    background: rgba(0, 159, 227, 0.12);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.technology-pill--empty {
    border-color: var(--border-color);
    background: transparent;
    color: var(--text-muted);
}

/* Team Section */
.team-section {
    background: var(--darker-bg);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
}

.team-stat-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.team-stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 12px;
}

.team-stat-label {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ===================================
   Services, AI, and Industries Pages
   =================================== */

.service-tabs-section {
    background: var(--dark-bg);
    padding: 20px 0 0;
}

.service-tabs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

.tab-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 24px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.tab-btn .filter-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.tab-btn.active .filter-subtitle,
.tab-btn:hover .filter-subtitle {
    color: var(--tab-subtitle-hover);
}

.services-detail .services-grid {
    margin-top: 40px;
}

.services-detail .service-card {
    border-top: 4px solid var(--primary-blue);
}

.services-detail .service-card:nth-child(even) {
    border-top-color: var(--primary-orange);
}

.capabilities {
    background: var(--darker-bg);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.capability-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.capability-icon {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 16px;
}

.ai-industries-grid {
    margin-top: 20px;
}

.ai-industries-grid .industry-solutions {
    display: grid;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    color: var(--text-secondary);
}

.ai-industries-grid .industry-solutions li {
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
}

.ai-industries-grid .industry-solutions li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.tech-section {
    background: var(--dark-bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.tech-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-orange);
    transform: translateY(-4px);
}

.tech-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tech-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tech-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.industries-filter {
    background: var(--dark-bg);
    padding: 40px 0 0;
}

.industry-details {
    background: var(--dark-bg);
}

.industry-detail-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
}

.industry-detail-media {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background: var(--darker-bg);
    aspect-ratio: 16 / 9;
}

.industry-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.industry-detail-hero h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tagline {
    color: var(--text-secondary);
}

.industry-stats-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.stat-box {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.industry-solutions-detail h3,
.industry-challenges h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.industry-solutions-detail ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.industry-solutions-detail li {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--darker-bg);
    line-height: 1.6;
    color: var(--text-secondary);
}

.industry-solutions-detail strong {
    color: var(--text-primary);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.challenge-box {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 122, 31, 0.08) 100%);
    border: 1px solid var(--primary-orange);
    border-radius: 12px;
    padding: 20px;
}

.challenge-box h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 8px;
}

.challenge-box p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   News & Insights
   =================================== */

.news-section {
    background: var(--dark-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.news-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.news-image {
    width: 100%;
    height: 240px;
    background: var(--darker-bg);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 32px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.news-meta span {
    font-size: 13px;
    color: var(--text-muted);
}

.news-category {
    color: var(--primary-orange) !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-title a:hover {
    color: var(--text-primary);
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-author {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.news-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.news-link:hover {
    color: var(--primary-orange);
}

.news-actions {
    text-align: center;
    margin-top: 40px;
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--darker-bg);
    padding: 80px 0;
}

.newsletter-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px 40px;
}

.newsletter-box h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.newsletter-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* ===================================
   Contact
   =================================== */

.contact-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.contact-stat {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.contact-stat .stat-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}

.contact-stat .stat-value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.contact-form-section {
    background: var(--dark-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 15px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--card-bg);
}

.business-hours-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.hours-card {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.hours-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.hours-card p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.map-section {
    background: var(--darker-bg);
}

.map-embed {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
}

.map-embed #world-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

/* ===================================
   Pagination
   =================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.pagination {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    min-width: min-content;
    padding: 0 10px;
}

@media (max-width: 640px) {
    .pagination {
        margin-top: 40px;
    }
    
    .pagination .nav-links {
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary-blue);
    color: white;
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    cursor: default;
}

:root[data-theme="light"] .pagination .page-numbers {
    background: #FFFFFF;
}

:root[data-theme="light"] .pagination .page-numbers.current,
:root[data-theme="light"] .pagination .page-numbers:hover {
    color: #FFFFFF;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 0;
    }

    .hero.hero--subpage {
        padding: 140px 0 72px;
    }

    .hero--subpage .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.post-type-archive-industry .industry-metrics {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }


    .section-header-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-carousel {
        min-height: 640px;
    }

    .carousel-container {
        min-height: 640px;
    }

    .carousel-slide {
        padding: 0 24px;
        min-height: 640px;
    }

    .carousel-slide .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .differentiators,
    .industries-grid,
    .stories-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .offices-grid,
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .stats-bar-grid,
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-icon {
        font-size: 80px;
    }

    .capabilities-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .industry-stats-large,
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .timeline-marker {
        left: 0;
        text-align: left !important;
        align-items: flex-start;
    }

    .container,
    .nav-container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-container .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--darker-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-container .nav-links.active {
        right: 0;
    }

    .nav-container .nav-links .nav-link {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-container .nav-links .nav-link:last-child {
        border-bottom: none;
    }

    .nav-container .nav-links .nav-link:last-of-type {
        border-bottom: none;
    }

    .nav-container .nav-links .nav-link::after {
        display: none;
    }

    .nav-container .nav-links .nav-link-cta {
        margin-top: 24px;
        text-align: center;
        padding: 16px 24px;
    }

    .nav-mobile-footer {
        display: block;
        margin-top: auto;
        padding-top: 24px;
        width: 100%;
        border-top: 1px solid var(--border-color);
    }

    .nav-mobile-footer .theme-toggle {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }

    .theme-toggle--desktop {
        display: none;
    }

    .theme-toggle--mobile {
        display: inline-flex;
    }

    /* Mobile menu overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--overlay-bg);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav .nav-container {
        height: 76px;
    }

    .nav-logo-link img,
    .nav-logo .logo,
    .custom-logo {
        height: 56px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero.hero--subpage {
        padding: 120px 0 64px;
    }

    .hero--subpage .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero--subpage .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }


    body.post-type-archive-industry .industry-card {
        padding: 28px;
    }

    body.post-type-archive-industry .industry-metrics {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }

    body.post-type-archive-industry .industry-metric {
        padding: 10px;
    }

    body.post-type-archive-industry .industry-metric .metric-value {
        font-size: 18px;
    }

    body.post-type-archive-industry .industry-metric .metric-label {
        font-size: 10px;
    }

    body.post-type-archive-industry .industry-features {
        grid-template-columns: 1fr;
    }

    .hero--subpage .hero-actions {
        margin-bottom: 40px;
    }

    .hero--subpage .hero-meta {
        padding-top: 32px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .hero--subpage .hero-meta-item .value {
        font-size: 28px;
        letter-spacing: -0.02em;
    }

    .hero--subpage .hero-meta-item .label {
        font-size: 12px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }


    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
    }

    .service-card {
        flex-direction: column;
        padding: 32px;
    }

    .services-detail .service-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        column-gap: 16px;
        row-gap: 16px;
    }

    .services-detail .service-icon {
        grid-column: 1;
        grid-row: 1;
        margin-top: 2px;
    }

    .services-detail .service-content {
        display: contents;
    }

    .services-detail .service-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    .services-detail .service-description,
    .services-detail .service-features,
    .services-detail .service-link {
        grid-column: 1 / -1;
    }

    body.post-type-archive-service .diff-header {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 12px;
        row-gap: 0;
    }

    body.post-type-archive-service .diff-number,
    body.post-type-archive-service .diff-title {
        margin-bottom: 0;
    }

    body.home .services .service-card,
    body.front-page .services .service-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        column-gap: 16px;
        row-gap: 16px;
    }

    body.home .services .service-icon,
    body.front-page .services .service-icon {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        margin-top: 2px;
    }

    body.home .services .service-content,
    body.front-page .services .service-content {
        display: contents;
    }

    body.home .services .service-title,
    body.front-page .services .service-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.home .services .service-description,
    body.front-page .services .service-description,
    body.home .services .service-features,
    body.front-page .services .service-features,
    body.home .services .service-link,
    body.front-page .services .service-link {
        grid-column: 1 / -1;
    }

    body.home .differentiators .diff-card,
    body.front-page .differentiators .diff-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        column-gap: 16px;
        row-gap: 16px;
    }

    body.home .differentiators .diff-number,
    body.front-page .differentiators .diff-number {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.home .differentiators .diff-title,
    body.front-page .differentiators .diff-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.home .differentiators .diff-description,
    body.front-page .differentiators .diff-description,
    body.home .differentiators .diff-proof,
    body.front-page .differentiators .diff-proof {
        grid-column: 1 / -1;
    }

    body.home .office-card,
    body.front-page .office-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 16px;
        row-gap: 12px;
        text-align: left;
    }

    body.home .office-card .office-flag,
    body.front-page .office-card .office-flag {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.home .office-card .office-location,
    body.front-page .office-card .office-location {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.home .office-card .office-role,
    body.front-page .office-card .office-role,
    body.home .office-card .office-address,
    body.front-page .office-card .office-address {
        grid-column: 1 / -1;
        text-align: left;
    }

    body.page-template-page-ai .service-card,
    body.category-ai .service-card,
    body.single-service-ai .service-card {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        column-gap: 16px;
        row-gap: 16px;
    }

    body.page-template-page-ai .service-icon,
    body.category-ai .service-icon,
    body.single-service-ai .service-icon {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        margin-top: 2px;
    }

    body.page-template-page-ai .service-content,
    body.category-ai .service-content,
    body.single-service-ai .service-content {
        display: contents;
    }

    body.page-template-page-ai .service-title,
    body.category-ai .service-title,
    body.single-service-ai .service-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.page-template-page-ai .service-description,
    body.category-ai .service-description,
    body.single-service-ai .service-description,
    body.page-template-page-ai .service-features,
    body.category-ai .service-features,
    body.single-service-ai .service-features,
    body.page-template-page-ai .service-link,
    body.category-ai .service-link,
    body.single-service-ai .service-link {
        grid-column: 1 / -1;
    }

    body.post-type-archive-success_story .story-card,
    body.page-template-page-ai .story-card,
    body.category-ai .story-card {
        align-items: start;
        column-gap: 16px;
        row-gap: 16px;
    }

    body.post-type-archive-success_story .story-tag,
    body.page-template-page-ai .story-tag,
    body.category-ai .story-tag {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.post-type-archive-success_story .story-title,
    body.page-template-page-ai .story-title,
    body.category-ai .story-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }

    body.post-type-archive-success_story .story-description,
    body.page-template-page-ai .story-description,
    body.category-ai .story-description,
    body.post-type-archive-success_story .story-footer,
    body.page-template-page-ai .story-footer,
    body.category-ai .story-footer {
        grid-column: 1 / -1;
    }

    .partners-logos,
    .team-stats {
        grid-template-columns: 1fr;
    }


    .offices-grid,
    .footer-grid,
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-marker {
        margin-bottom: 20px;
    }

    .capabilities-grid,
    .tech-grid,
    .industry-stats-large,
    .challenges-grid,
    .contact-stats,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* About Page - Hero adjustments */
    .about-hero,
    .page-hero {
        padding: 120px 0 60px;
    }

    .about-hero-content {
        max-width: 100%;
    }

    /* About Page - Stats Bar */
    .stats-bar {
        padding: 48px 0;
    }

    .stat-bar-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .stat-bar-icon {
        font-size: 36px;
    }

    .stat-bar-number {
        font-size: 36px;
    }

    /* About Page - Mission */
    .mission-content {
        text-align: center;
    }

    .mission-visual {
        margin-bottom: 24px;
    }

    .mission-quote {
        font-size: 24px;
    }

    /* About Page - Timeline */
    .timeline {
        padding-left: 0;
    }

    .timeline-item {
        position: relative;
        padding-left: 40px;
    }

    .timeline-year {
        position: relative;
        left: -2.5rem;
    }

    /* About Page - Values */
    .values-grid {
        gap: 24px;
    }

    .value-card {
        padding: 32px;
    }

    /* About Page - Partners */
    .partners-logos {
        gap: 32px;
    }

    .partner-logo {
        padding: 40px 32px;
    }

    /* About Page - Team Stats */
    .team-stats {
        gap: 24px;
    }

    .team-stat-card {
        padding: 32px;
    }

    .team-stat-number {
        font-size: 40px;
    }

    .hero-carousel {
        min-height: 560px;
    }

    .carousel-container {
        min-height: 560px;
    }

    .carousel-slide {
        min-height: 560px;
    }

    .carousel-slide .container {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-label {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .carousel-controls {
        left: 0;
        right: 0;
        bottom: 20px;
        padding: 0 20px;
        max-width: var(--container-max);
    }

    .carousel-nav {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .carousel-nav-prev {
        left: 12px;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .carousel-nav-next {
        right: 12px;
        left: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .carousel-dot {
        width: 10px;
        height: 3px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    /* Improve touch target size for mobile */
    .carousel-controls {
        gap: 8px;
        padding: 8px 0;
    }

    /* Ensure background images are visible on tablet/mobile */
    .carousel-slide {
        background-size: cover !important;
        background-position: center center !important;
    }

    /* Adjust overlay for better background visibility on mobile */
    .carousel-overlay {
        background: linear-gradient(180deg, rgba(10, 14, 26, 0.8) 0%, rgba(10, 14, 26, 0.65) 50%, rgba(10, 14, 26, 0.45) 100%);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    body.home section,
    body.front-page section {
        padding: 32px 0;
    }

    .hero-carousel {
        min-height: 500px;
    }

    .carousel-container {
        min-height: 500px;
    }

    .carousel-slide {
        min-height: 500px;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero.hero--subpage {
        padding: 112px 0 56px;
    }

    .hero--subpage .hero-text h1 {
        font-size: 30px;
    }

    .carousel-slide .container {
        padding-top: 80px;
        padding-bottom: 80px;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero--subpage .hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .hero--subpage .hero-meta-item .value {
        font-size: 23px;
        letter-spacing: -0.02em;
    }

    .hero--subpage .hero-meta-item .label {
        font-size: 10px;
    }

    body.page-template-page-ai .metric-label,
    body.category-ai .metric-label,
    body.single-service-ai .metric-label {
        font-size: 10px;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .carousel-nav-prev {
        left: 8px;
    }

    .carousel-nav-next {
        right: 8px;
    }

    /* Reduce overlay opacity on mobile to show background image better */
    .carousel-overlay {
        background: linear-gradient(180deg, rgba(10, 14, 26, 0.75) 0%, rgba(10, 14, 26, 0.6) 50%, rgba(10, 14, 26, 0.4) 100%);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    /* Section headers mobile */
    .section-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .section-header-centered {
        margin-bottom: 40px;
    }

    .value-prop-header {
        margin-bottom: 40px;
    }

    /* Why PGI / Differentiator Cards */
    .diff-card {
        padding: 24px;
    }

    .diff-number {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .diff-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .diff-description {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .diff-proof {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Service Cards */
    .service-card {
        padding: 24px;
        gap: 20px;
    }

    .service-icon {
        font-size: 36px;
        min-width: 48px;
    }

    .service-icon img,
    .service-icon .service-icon-image {
        width: 36px;
        height: 36px;
    }

    .service-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-description {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .service-features {
        margin-bottom: 20px;
    }

    .service-features li {
        font-size: 14px;
        padding-left: 24px;
        margin-bottom: 8px;
    }

    .offices-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Industry Cards */
    .industry-card {
        padding: 24px;
    }

    .industry-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 20px;
    }

    .stat-highlight {
        font-size: 20px;
    }

    .industry-stat span:last-child {
        font-size: 10px;
    }

    .industry-title {
        font-size: 22px;
    }

    .industry-tagline {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .industry-description {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .industry-solutions {
        gap: 8px;
        margin-bottom: 16px;
    }

    .solution-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Story / Case Study Cards */
    .stories-grid {
        margin-bottom: 40px;
    }

    .story-card {
        padding: 24px;
    }

    .story-tag {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 16px;
    }

    .story-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .story-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .story-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 14px 0;
        margin-bottom: 16px;
    }

    .story-metric .metric-number {
        font-size: 18px;
    }

    .story-metric .metric-label {
        font-size: 10px;
    }

    /* Office Cards */
    .office-card {
        padding: 24px;
    }

    .office-flag {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .office-location {
        font-size: 18px;
    }

    .office-role {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .office-address {
        font-size: 14px;
    }

    /* CTA Section */
    .cta-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .cta-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .cta-buttons {
        gap: 12px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 15px;
    }

    .tab-btn .filter-subtitle {
        display: none;
    }

    /* Footer */
    .footer {
        padding: 48px 0 32px;
    }

    .footer-grid {
        gap: 32px;
        margin-bottom: 24px;
    }

    .footer-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-contact {
        font-size: 14px;
    }

    .footer-social {
        margin-top: 20px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }

    /* Hero content on mobile */
    .hero-content {
        padding: 20px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .hero-cta {
        margin-bottom: 0;
    }

    /* About Page - Stats Bar */
    .stats-bar {
        padding: 40px 0;
    }

    .stat-bar-item {
        gap: 12px;
    }

    .stat-bar-icon {
        font-size: 32px;
    }

    .stat-bar-number {
        font-size: 32px;
        margin-bottom: 4px;
    }

    .stat-bar-label {
        font-size: 12px;
    }

    /* About Page - Mission Section */
    .mission-section {
        padding: 40px 0;
    }

    .mission-icon {
        font-size: 60px;
    }

    .mission-quote {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .mission-description {
        font-size: 15px;
    }

    /* About Page - Timeline */
    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 40px;
        margin-bottom: 40px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        text-align: left;
    }

    .timeline-year {
        padding: 10px 14px;
        font-size: 16px;
    }

    .timeline-content {
        padding: 24px;
    }

    .timeline-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .timeline-description {
        font-size: 14px;
    }

    /* About Page - Values */
    .value-card {
        padding: 24px;
    }

    .value-icon {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .value-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .value-description {
        font-size: 14px;
    }

    /* About Page - Partners */
    .partners-logos {
        gap: 20px;
    }

    .partner-logo {
        padding: 32px 24px;
    }

    .partner-name {
        font-size: 18px;
    }

    .partner-type {
        font-size: 12px;
    }

    /* About Page - Team Stats */
    .team-stat-card {
        padding: 24px;
    }

    .team-stat-number {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .team-stat-label {
        font-size: 13px;
    }
}

/* ===================================
   Custom Lightbox (PGI Gallery)
   =================================== */
.pgi-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pgi-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.pgi-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.pgi-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.pgi-lightbox-modal.active .pgi-lightbox-image {
    transform: scale(1);
}

.pgi-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 10000;
}

.pgi-lightbox-close:hover {
    transform: scale(1.1);
    color: var(--primary-orange);
}

.pgi-lightbox-close svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .pgi-lightbox-close {
        top: -40px;
        right: 0;
    }
}

/* ===================================
   FAQ Section (About Page)
   =================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.faq-card:hover {
    border-color: var(--primary-blue);
    background: var(--card-hover);
}

.faq-card details {
    width: 100%;
}

.faq-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
}

/* Custom arrow using pseudo-element */
.faq-card summary::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.faq-card details[open] summary::after {
    transform: rotate(180deg);
}

/* Hide default marker in WebKit */
.faq-card summary::-webkit-details-marker {
    display: none;
}

:root[data-theme="light"] .faq-card summary::after {
    filter: invert(1);
}

.faq-card p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-card details[open] p {
    border-color: var(--faq-border);
    /* Subtle separator when open */
    padding-top: 16px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Service Detail Layout
   =================================== */
.article-container {
    max-width: 1200px !important;
}

.service-card-float {
    float: right;
    width: calc(50% - 20px);
    margin-left: 40px;
    margin-bottom: 40px;
    clear: right;

    /* Glassmorphism / Value Card Vibe */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.service-card-float:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--glass-shadow-hover);
}

.service-card-float .service-card-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card-float .service-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.related-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    background: var(--card-hover);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.related-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--darker-bg);
    overflow: hidden;
    position: relative;
}

.related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.related-card:hover .related-card__media img {
    transform: scale(1.05);
}

.related-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-card__eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.related-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.related-card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.related-card__excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Industry Detail - Key Solutions Card */
.industry-card-float {
    float: right;
    width: calc(50% - 20px);
    margin-left: 40px;
    margin-bottom: 40px;
    clear: right;

    /* Glassmorphism / Value Card Vibe */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.industry-card-float:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-orange);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--glass-shadow-hover);
}

.industry-card-float .industry-card-solutions li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.industry-card-float .industry-card-solutions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .service-card-float,
    .industry-card-float {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }
}

/* ===================================
   Post Navigation
   Previous/Next navigation with Back button
   Hierarchy: Label (direction) → Title (action) → Meta (context)
   =================================== */

.post-navigation {
    background: var(--darker-bg);
    padding: 48px 0 56px;
}

.post-navigation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation Cards Grid */
.post-navigation-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Individual Card Styling - actionable feel */
.post-nav-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 28px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 110px;
    cursor: pointer;
    position: relative;
}

/* Subtle left/right border accent for direction */
.post-nav-prev {
    border-left: 2px solid rgba(0, 159, 227, 0.3);
}

.post-nav-next {
    border-right: 2px solid rgba(0, 159, 227, 0.3);
}

.post-nav-card:hover {
    background: var(--card-hover);
    border-color: rgba(0, 159, 227, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.post-nav-prev:hover {
    border-left-color: var(--primary-blue);
}

.post-nav-next:hover {
    border-right-color: var(--primary-blue);
}

.post-nav-card.post-nav-next {
    text-align: right;
    align-items: flex-end;
}

/* Placeholder for missing prev/next */
.post-nav-placeholder {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    min-height: 110px;
    border-radius: 12px;
}

/* Label (Previous/Next) - clear directional context */
.post-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

/* Arrow icons - directional affordance */
.post-nav-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.post-nav-prev:hover .post-nav-icon {
    transform: translateX(-5px);
    opacity: 1;
}

.post-nav-next:hover .post-nav-icon {
    transform: translateX(5px);
    opacity: 1;
}

/* Title - bold and dominant - primary action */
.post-nav-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.post-nav-card:hover .post-nav-title {
    color: var(--primary-blue);
}

/* Meta (date) - readable but secondary */
.post-nav-meta {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.75;
    min-height: 1.3em;
    margin-top: 4px;
}

/* Back Button - tertiary nav, minimal weight */
.post-navigation-back {
    display: flex;
    justify-content: center;
    padding-top: 0;
}

.post-nav-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.65;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-nav-back-link:hover {
    color: var(--text-secondary);
    opacity: 1;
    background: rgba(255, 255, 255, 0.04);
}

.post-nav-back-icon {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.post-nav-back-link:hover .post-nav-back-icon {
    transform: translateX(-3px);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .post-navigation {
        padding: 32px 0 48px;
    }

    .post-navigation-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .post-nav-card {
        padding: 20px;
        min-height: auto;
    }

    .post-nav-card.post-nav-next {
        text-align: left;
        align-items: flex-start;
    }

    .post-nav-next .post-nav-label {
        flex-direction: row-reverse;
    }

    .post-nav-placeholder {
        display: none;
    }

    .post-nav-title {
        font-size: 15px;
    }
}

/* ===================================
   AI Page - Tech Stack Section
   Reduced visual weight for tooling section
   =================================== */

.tech-stack {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 50%, var(--dark-bg) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tech-stack .section-title {
    color: var(--text-secondary);
}

.tech-stack .technology-grid {
    opacity: 0.92;
}

:root[data-theme="light"] .tech-stack {
    background: linear-gradient(180deg, var(--darker-bg) 0%, #f8fafc 50%, var(--darker-bg) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* ===================================
   Long-Form Content Readability
   UX enhancement for news, case studies, industry details
   =================================== */

/* Article prose container - subtle surface elevation */
.article-container .prose {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-elevated-border);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--surface-elevated-shadow);
}

/* Section headers with orange accent - strategic use only */
.article-container .prose h2 {
    position: relative;
    padding-left: 20px;
    margin-top: 48px;
    margin-bottom: 24px;
    border-left: 3px solid var(--primary-orange);
}

.article-container .prose h2:first-child {
    margin-top: 0;
}

/* Metrics/stats callout blocks - executive scannability */
.article-container .prose .wp-block-group.is-style-metrics,
.article-container .prose .metrics-callout {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 122, 31, 0.06) 100%);
    border: 1px solid var(--surface-elevated-border);
    border-left: 3px solid var(--primary-orange);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
}

/* Key takeaway/highlight blocks */
.article-container .prose blockquote {
    background: var(--surface-soft);
    border: 1px solid var(--surface-soft-border);
    border-left: 3px solid var(--primary-blue);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 32px 0;
    font-style: normal;
}

.article-container .prose blockquote p {
    margin: 0;
}

/* Visual rhythm - alternate background for major sections */
.article-container .prose > .wp-block-group:nth-child(even) {
    background: var(--surface-soft);
    border-radius: 12px;
    padding: 32px;
    margin: 32px -32px;
}

/* Lists - improved scannability */
.article-container .prose ul,
.article-container .prose ol {
    padding-left: 24px;
}

.article-container .prose li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-container .prose li::marker {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-container .prose {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .article-container .prose h2 {
        padding-left: 16px;
        margin-top: 36px;
    }

    .article-container .prose > .wp-block-group:nth-child(even) {
        margin: 24px -12px;
        padding: 20px;
    }
}

/* ===================================
   Light Theme Enhancements
   Comprehensive overrides for improved UX
   =================================== */

/* -----------------------------
   Card Elevation - All Pages
   ----------------------------- */
:root[data-theme="light"] .leadership-card,
:root[data-theme="light"] .team-stat-card,
:root[data-theme="light"] .capability-card,
:root[data-theme="light"] .faq-card,
:root[data-theme="light"] .contact-info-card,
:root[data-theme="light"] .article-meta,
:root[data-theme="light"] .post-nav-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .leadership-card:hover,
:root[data-theme="light"] .team-stat-card:hover,
:root[data-theme="light"] .capability-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* Home card rhythm - preserve accent borders */
:root[data-theme="light"] :where(body.home .differentiators .diff-card,
body.front-page .differentiators .diff-card,
body.home .services .service-card:not(.service-card-featured),
body.front-page .services .service-card:not(.service-card-featured),
body.home .industries .industry-card,
body.front-page .industries .industry-card,
body.home .success-stories .story-card,
body.front-page .success-stories .story-card) {
    border-color: var(--card-border);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] :where(body.home .differentiators .diff-card:hover,
body.front-page .differentiators .diff-card:hover,
body.home .services .service-card:not(.service-card-featured):hover,
body.front-page .services .service-card:not(.service-card-featured):hover,
body.home .industries .industry-card:hover,
body.front-page .industries .industry-card:hover,
body.home .success-stories .story-card:hover,
body.front-page .success-stories .story-card:hover) {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* Float cards (service/industry detail pages) */
:root[data-theme="light"] .service-card-float,
:root[data-theme="light"] .industry-card-float {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .service-card-float:hover,
:root[data-theme="light"] .industry-card-float:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

/* -----------------------------
   Section Banding - Visual Rhythm
   ----------------------------- */
:root[data-theme="light"] body {
    background: var(--bg-primary);
}

/* Alternate section backgrounds */
:root[data-theme="light"] .services,
:root[data-theme="light"] .why-section,
:root[data-theme="light"] .contact-section,
:root[data-theme="light"] .article-content {
    background: var(--bg-primary);
}

:root[data-theme="light"] .industries,
:root[data-theme="light"] .team-section,
:root[data-theme="light"] .success-stories,
:root[data-theme="light"] .faq-section,
:root[data-theme="light"] .ai-capabilities {
    background: var(--section-alt);
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

:root[data-theme="light"] .partners-section {
    background: var(--bg-secondary);
}

/* Footer differentiation - dark footer with light text */
:root[data-theme="light"] .footer {
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

:root[data-theme="light"] .footer h3,
:root[data-theme="light"] .footer h4,
:root[data-theme="light"] .footer-title {
    color: #FFFFFF;
}

:root[data-theme="light"] .footer p,
:root[data-theme="light"] .footer-text,
:root[data-theme="light"] .footer-description {
    color: #cbd5e1;
}

:root[data-theme="light"] .footer a,
:root[data-theme="light"] .footer-links a {
    color: #e2e8f0;
}

:root[data-theme="light"] .footer a:hover,
:root[data-theme="light"] .footer-links a:hover {
    color: var(--primary-blue);
}

/* Contact column title - orange */
:root[data-theme="light"] .footer-column--contact .footer-title {
    color: var(--primary-orange);
}

:root[data-theme="light"] .footer-column {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

:root[data-theme="light"] .footer-social a {
    color: #94a3b8;
}

:root[data-theme="light"] .footer-social a:hover {
    color: #FFFFFF;
}

/* -----------------------------
   KPI Typography - Stronger
   ----------------------------- */
:root[data-theme="light"] .hero-stat-value,
:root[data-theme="light"] .stat-number,
:root[data-theme="light"] .team-stat-number,
:root[data-theme="light"] .metric-value {
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

:root[data-theme="light"] .hero-stat-label,
:root[data-theme="light"] .stat-label,
:root[data-theme="light"] .team-stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Metric icons in light mode */
:root[data-theme="light"] .stat-icon {
    opacity: 0.9;
}

/* -----------------------------
   Image Treatment - Cooler/Darker
   ----------------------------- */
:root[data-theme="light"] .industry-card-media img,
:root[data-theme="light"] .story-card img,
:root[data-theme="light"] .news-card img,
:root[data-theme="light"] .success-card img {
    filter: brightness(0.94) contrast(1.03) saturate(0.95);
}

:root[data-theme="light"] .industry-card:hover .industry-card-media img,
:root[data-theme="light"] .story-card:hover img,
:root[data-theme="light"] .news-card:hover img {
    filter: brightness(0.97) contrast(1.02) saturate(1);
}

/* Hero image treatment */
:root[data-theme="light"] .hero-background img {
    filter: brightness(0.92) contrast(1.05);
}

/* -----------------------------
   Team/Leadership Section
   ----------------------------- */
:root[data-theme="light"] .team-section .leadership-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

:root[data-theme="light"] .team-section .leadership-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 40px var(--glass-shadow-hover);
}

/* Member avatar gradient adjustments for light */
:root[data-theme="light"] .member-avatar {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* -----------------------------
   Secondary Button Styles
   ----------------------------- */
:root[data-theme="light"] .btn-secondary,
:root[data-theme="light"] .btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

:root[data-theme="light"] .btn-secondary:hover,
:root[data-theme="light"] .btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* Primary CTA stays orange but refined */
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .btn-accent {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 2px 8px rgba(232, 106, 16, 0.25);
}

:root[data-theme="light"] .btn-primary:hover,
:root[data-theme="light"] .btn-accent:hover {
    background: var(--primary-orange-hover);
    border-color: var(--primary-orange-hover);
    box-shadow: 0 4px 16px rgba(232, 106, 16, 0.3);
    transform: translateY(-1px);
}

/* Ghost/text buttons */
:root[data-theme="light"] .btn-ghost {
    color: var(--primary-blue);
    background: transparent;
}

:root[data-theme="light"] .btn-ghost:hover {
    background: rgba(0, 159, 227, 0.08);
}

/* -----------------------------
   Navigation Refinements
   ----------------------------- */
:root[data-theme="light"] .nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

:root[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

:root[data-theme="light"] .nav-link:hover,
:root[data-theme="light"] .nav-link.active {
    color: var(--text-primary);
}

/* -----------------------------
   Article/Content Pages
   ----------------------------- */
:root[data-theme="light"] .article-container .prose {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

:root[data-theme="light"] .article-container .prose h2,
:root[data-theme="light"] .article-container .prose h3 {
    color: var(--text-heading);
}

:root[data-theme="light"] .article-container .prose p,
:root[data-theme="light"] .article-container .prose li {
    color: var(--text-secondary);
}

/* Blockquotes */
:root[data-theme="light"] .article-container .prose blockquote {
    background: var(--bg-secondary);
    border-left-color: var(--primary-blue);
}

/* Code blocks */
:root[data-theme="light"] .article-container .prose code {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* -----------------------------
   Post Navigation
   ----------------------------- */
:root[data-theme="light"] .post-nav-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

:root[data-theme="light"] .post-nav-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--card-shadow-hover);
}

:root[data-theme="light"] .post-nav-back {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

:root[data-theme="light"] .post-nav-back:hover {
    background: var(--bg-tertiary);
}

/* -----------------------------
   Forms & Inputs
   ----------------------------- */
:root[data-theme="light"] input,
:root[data-theme="light"] textarea,
:root[data-theme="light"] select {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

:root[data-theme="light"] input:focus,
:root[data-theme="light"] textarea:focus,
:root[data-theme="light"] select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.12);
}

:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder {
    color: var(--text-muted);
}

/* -----------------------------
   AI Page Specifics
   ----------------------------- */
:root[data-theme="light"] .tech-stack {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--section-alt) 50%, var(--bg-secondary) 100%);
}

:root[data-theme="light"] .tech-card,
:root[data-theme="light"] .technology-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .tech-card:hover,
:root[data-theme="light"] .technology-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

/* AI delivery methodology */
:root[data-theme="light"] .ai-capabilities {
    background: var(--section-alt);
}

/* -----------------------------
   Archive Pages
   ----------------------------- */
:root[data-theme="light"] .archive-header {
    background: var(--bg-primary);
}

:root[data-theme="light"] .archive-filter {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
}

/* -----------------------------
   Contact Page
   ----------------------------- */
:root[data-theme="light"] .contact-info-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .office-card {
    background: #FFFFFF;
}

/* Map embed */
:root[data-theme="light"] .map-embed {
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* -----------------------------
   Success Story Cards
   ----------------------------- */
:root[data-theme="light"] .story-card,
:root[data-theme="light"] .success-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .story-card:hover,
:root[data-theme="light"] .success-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

/* Metric highlights */
:root[data-theme="light"] .success-metric {
    background: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

/* -----------------------------
   News Cards
   ----------------------------- */
:root[data-theme="light"] .news-card {
    background: #FFFFFF;
}

:root[data-theme="light"] .news-card-date {
    color: var(--text-muted);
}

:root[data-theme="light"] .news-card-category {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* -----------------------------
   FAQ Section
   ----------------------------- */
:root[data-theme="light"] .faq-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .faq-card[open] {
    border-color: var(--primary-blue);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .faq-card summary {
    color: var(--text-primary);
}

/* -----------------------------
   Responsive Adjustments
   ----------------------------- */
@media (max-width: 768px) {
    :root[data-theme="light"] .industries,
    :root[data-theme="light"] .team-section,
    :root[data-theme="light"] .success-stories {
        border-width: 0;
        box-shadow: inset 0 1px 0 var(--section-border),
                    inset 0 -1px 0 var(--section-border);
    }
}

/* -----------------------------
   Home Page - Differentiators
   ----------------------------- */
:root[data-theme="light"] .diff-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .diff-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--card-shadow-hover);
}

/* -----------------------------
   Metrics - All Pages
   ----------------------------- */
:root[data-theme="light"] .metric-value,
:root[data-theme="light"] .metric-number,
:root[data-theme="light"] .industry-metric .metric-value,
:root[data-theme="light"] .story-metric .metric-number {
    font-weight: 800;
    color: var(--text-heading);
}

:root[data-theme="light"] .metric-label,
:root[data-theme="light"] .industry-metric .metric-label,
:root[data-theme="light"] .story-metric .metric-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* -----------------------------
   Hero Enhancements
   ----------------------------- */
:root[data-theme="light"] .hero-eyebrow,
:root[data-theme="light"] .hero-label {
    color: var(--primary-blue);
}

:root[data-theme="light"] .hero-title {
    color: var(--text-heading);
}

:root[data-theme="light"] .hero-title-accent {
    color: var(--primary-orange);
}

:root[data-theme="light"] .hero-description {
    color: var(--text-secondary);
}

:root[data-theme="light"] .carousel-overlay {
    background: linear-gradient(
        135deg,
        rgba(250, 251, 252, 0.94) 0%,
        rgba(250, 251, 252, 0.85) 40%,
        rgba(250, 251, 252, 0.6) 100%
    );
}

:root[data-theme="light"] .carousel-dot {
    background: rgba(15, 23, 42, 0.2);
}

:root[data-theme="light"] .carousel-dot.active {
    background: var(--primary-blue);
}

/* Hero panel (subpage heroes) */
:root[data-theme="light"] .hero-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10);
}

/* Hero stats */
:root[data-theme="light"] .hero-stat-value {
    font-weight: 800;
    color: var(--text-heading);
}

:root[data-theme="light"] .hero-stat-label {
    color: var(--text-secondary);
}

/* -----------------------------
   About Page Specifics
   ----------------------------- */
:root[data-theme="light"] .values-section {
    background: var(--bg-primary);
}

:root[data-theme="light"] .mission-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

:root[data-theme="light"] .mission-section .section-title {
    font-weight: 900;
}

:root[data-theme="light"] .mission-quote {
    background: rgba(0, 159, 227, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
}

:root[data-theme="light"] .value-card {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .value-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

:root[data-theme="light"] .value-card-featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 16px rgba(0, 159, 227, 0.1), var(--card-shadow);
}

:root[data-theme="light"] .value-card-featured:hover {
    box-shadow: 0 12px 32px rgba(0, 159, 227, 0.18), 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Timeline/history section */
:root[data-theme="light"] .timeline-section {
    background: var(--section-alt);
}

:root[data-theme="light"] .timeline-content {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

:root[data-theme="light"] .timeline-content:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

:root[data-theme="light"] .timeline-year {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .timeline-marker-current .timeline-year {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #FFFFFF;
}

/* Home + About section padding - increased 10-15% for light theme */
:root[data-theme="light"] :where(body.home .value-prop,
body.front-page .value-prop,
body.home .services,
body.front-page .services,
body.home .industries,
body.front-page .industries,
body.home .success-stories,
body.front-page .success-stories) {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

:root[data-theme="light"] :where(.page-template-page-about .mission-section,
.page-template-page-about .journey-section,
.page-template-page-about .values-section,
.page-template-page-about .team-section) {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
}

@media (min-width: 768px) {
    :root[data-theme="light"] :where(body.home .value-prop,
    body.front-page .value-prop,
    body.home .services,
    body.front-page .services,
    body.home .industries,
    body.front-page .industries,
    body.home .success-stories,
    body.front-page .success-stories,
    .page-template-page-about .mission-section,
    .page-template-page-about .journey-section,
    .page-template-page-about .values-section,
    .page-template-page-about .team-section) {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

/* -----------------------------
   Services Page Specifics
   ----------------------------- */
:root[data-theme="light"] .services-detail {
    background: var(--bg-primary);
}

:root[data-theme="light"] .services-detail .service-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .services-detail .service-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

/* -----------------------------
   Industry Archive Page
   ----------------------------- */
:root[data-theme="light"] body.post-type-archive-industry .industry-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] body.post-type-archive-industry .industry-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

:root[data-theme="light"] body.post-type-archive-industry .industry-card-media {
    background: var(--bg-secondary);
}

/* -----------------------------
   Success Stories Archive
   ----------------------------- */
:root[data-theme="light"] .success-stories-archive {
    background: var(--bg-primary);
}

/* -----------------------------
   Category/Tag Pages
   ----------------------------- */
:root[data-theme="light"] .category-header,
:root[data-theme="light"] .tag-header {
    background: var(--bg-primary);
}

/* -----------------------------
   Single CPT Pages
   ----------------------------- */
:root[data-theme="light"] .single-service,
:root[data-theme="light"] .single-industry,
:root[data-theme="light"] .single-success_story,
:root[data-theme="light"] .single-news {
    background: var(--bg-primary);
}

/* Related content section */
:root[data-theme="light"] .related-content {
    background: var(--section-alt);
    border-top: 1px solid var(--section-border);
}

:root[data-theme="light"] .related-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .related-card:hover {
    box-shadow: var(--card-shadow-hover);
}

/* -----------------------------
   CTA Section (Full-width) - dark with light text
   ----------------------------- */
:root[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #FFFFFF;
}

:root[data-theme="light"] .cta-section h1,
:root[data-theme="light"] .cta-section h2,
:root[data-theme="light"] .cta-section h3,
:root[data-theme="light"] .cta-section .section-title,
:root[data-theme="light"] .cta-section .cta-title {
    color: #FFFFFF;
}

:root[data-theme="light"] .cta-section .section-subtitle,
:root[data-theme="light"] .cta-section .cta-subtitle,
:root[data-theme="light"] .cta-section p {
    color: #cbd5e1;
}

:root[data-theme="light"] .cta-section .section-label {
    color: var(--primary-blue);
    background: rgba(0, 159, 227, 0.15);
}

:root[data-theme="light"] .cta-section .btn-primary,
:root[data-theme="light"] .cta-section .btn-accent {
    background: var(--primary-orange);
    color: #FFFFFF;
}

:root[data-theme="light"] .cta-section .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

:root[data-theme="light"] .cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* -----------------------------
   Stats Bar / Trust Indicators
   ----------------------------- */
:root[data-theme="light"] .stats-bar {
    background: var(--section-alt);
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

:root[data-theme="light"] .stats-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .stat-item {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .stat-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--card-shadow);
}

/* -----------------------------
   Partner Logos
   ----------------------------- */
:root[data-theme="light"] .partners-logos {
    gap: 32px;
    grid-auto-rows: 1fr;
}

:root[data-theme="light"] .partner-logo {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: var(--card-shadow);
    min-height: 140px;
    padding: 32px;
}

:root[data-theme="light"] .partner-logo:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

:root[data-theme="light"] .partner-logo img {
    filter: grayscale(0.2);
    max-height: 52px;
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

:root[data-theme="light"] .partner-logo:hover img {
    filter: grayscale(0);
}

/* -----------------------------
   Technology Cards (AI Page)
   ----------------------------- */
:root[data-theme="light"] .technology-grid {
    background: var(--bg-primary);
}

:root[data-theme="light"] .capability-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .capability-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

/* -----------------------------
   Tabs & Toggles
   ----------------------------- */
:root[data-theme="light"] .tab-button,
:root[data-theme="light"] .filter-button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

:root[data-theme="light"] .tab-button:hover,
:root[data-theme="light"] .filter-button:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

:root[data-theme="light"] .tab-button.active,
:root[data-theme="light"] .filter-button.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #FFFFFF;
}

/* -----------------------------
   Scrollbar (Light)
   ----------------------------- */
:root[data-theme="light"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

:root[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

:root[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 5px;
}

:root[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.35);
}
