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

:root {
    /* Dark Earth/Universe Theme - Deep Ocean Blue */
    --bg-dark: #0a1628;
    --bg-darker: #050d18;
    --bg-card: #0d1a2d;
    --bg-card-hover: #122440;
    --bg-gradient: linear-gradient(180deg, #030a14 0%, #061428 25%, #030a14 100%);

    /* Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-blue: #0066ff;
    --neon-purple: #a855f7;
    --neon-pink: #f472b6;
    --neon-green: #00ff88;

    /* Glows */
    --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3);
    --glow-blue: 0 0 20px rgba(0, 102, 255, 0.5), 0 0 40px rgba(0, 102, 255, 0.3);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 245, 255, 0.3);

    /* Ocean Gradients */
    --ocean-gradient: linear-gradient(135deg, #0066ff 0%, #00f5ff 50%, #00ff88 100%);
    --sunset-gradient: linear-gradient(135deg, #f472b6 0%, #a855f7 50%, #0066ff 100%);
    --earth-gradient: linear-gradient(180deg, #0a1628 0%, #1e3a5f 50%, #0d4f6e 100%);

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;

    /* Font Families */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Headings use Space Grotesk */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Home page - transparent background to show globe */
body.home-page {
    background: transparent;
}

/* Inner pages - dark gradient background */
body.services-page,
body.contact-page {
    background: var(--bg-gradient);
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

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

ul {
    list-style: none;
}

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

/* Neon Text Effect */
.neon-text {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

/* Header */
.header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

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

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px 20px 30px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 30px;
    top: calc(50% + 15px);
    transform: translateY(-50%);
}

.logo-img {
    height: 300px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 75px;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--neon-cyan);
}

.nav-menu:has(a:hover) a:not(:hover) {
    opacity: 0.3;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--neon-cyan);
    transition: var(--transition);
    box-shadow: 0 0 5px var(--neon-cyan);
}

/* Dropdown Menu */
.nav-menu > li {
    position: relative;
    list-style: none;
}

.nav-menu > li.has-dropdown > a::after {
    content: none;
}

.nav-menu > li.has-dropdown > a {
    cursor: pointer;
}

.nav-menu > li.has-dropdown > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-gradient);
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
}

.nav-menu > li.has-dropdown:hover > a::before,
.nav-menu > li.has-dropdown > a.active::before {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-menu > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
}

.dropdown-menu a::after {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--ocean-gradient);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6), 0 0 60px rgba(0, 245, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: var(--glow-cyan), inset 0 0 20px rgba(0, 245, 255, 0.2);
}

.btn-block {
    width: 100%;
}

/* Super Button - Animated Border */
.super-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    z-index: 1;
    text-decoration: none;
}

.super-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, #00ffff, #ff00ff, #00ffff);
    animation: rotateBorder 4s linear infinite;
    z-index: -2;
}

.super-button::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #0a0a0a;
    border-radius: inherit;
    z-index: -1;
}

.super-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.super-button:hover .arrow {
    transform: translateX(6px);
}

.super-button .arrow {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease-in-out;
    color: #00ffff;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #030a14 0%, #061428 25%, #030a14 100%);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300f5ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    opacity: 1 !important;
    transform: none !important;
}

.hero h1 .hero-line-1 {
    display: block;
    white-space: nowrap;
}

.hero h1 .hero-highlight {
    font-size: 3.625rem;
    display: block;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 1 !important;
    transform: none !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Animated background orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.1); opacity: 0.8; }
}

/* ============================================
   CINEMATIC 3D GLOBE - Fixed Background
   ============================================ */
/* Fixed dark background wrapper for globe */
.globe-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-gradient);
    z-index: 0;
    pointer-events: none;
}

#globe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: transparent;
    /* Initial Scene 1 position - prevents flash at center on load */
    transform: translate(25vw, 20vh) scale(1.4);
    /* Hide until globe is ready to prevent black flash */
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

#globe-container.ready {
    opacity: 1;
}

#globe-container.interactive {
    pointer-events: auto;
    z-index: 10;
}

#globe-container.label-clickable {
    pointer-events: none;
    z-index: 100;
}

#globe-container.label-clickable * {
    pointer-events: auto;
}

/* Globe "We Are Here" Label */
.globe-label-wrapper {
    position: relative;
    pointer-events: none;
}

.globe-label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: rgba(0, 10, 20, 0.85);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3),
                0 0 40px rgba(0, 245, 255, 0.1),
                inset 0 0 15px rgba(0, 245, 255, 0.05);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    transform: translateX(-50%) translateY(-100%);
    margin-top: -15px;
}

.globe-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
}

.label-dot {
    width: 12px;
    height: 12px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.label-pulse {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-cyan);
    animation: labelPulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes labelPulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-50%) scale(3);
        opacity: 0;
    }
}

.label-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.label-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Map Modal */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.map-modal.active {
    display: flex;
}

.map-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 255, 0.1);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.map-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.map-modal-close:hover {
    color: var(--neon-cyan);
}

.map-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.map-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 5px;
}

.map-modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-modal-body {
    background: var(--bg-darker);
}

.map-modal-body iframe {
    display: block;
}

.map-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

#globe-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Ensure all sections are above the globe */
.globe-scene-trigger {
    position: relative;
    z-index: 2;
}

/* Hero adjustments for globe background */
.hero.globe-scene-trigger {
    background: transparent;
    background-image: none;
}

.hero.globe-scene-trigger::before,
.hero.globe-scene-trigger::after {
    display: none;
}

.hero.globe-scene-trigger .container {
    position: relative;
    z-index: 2;
}


/* Specializations section - Globe centered, transparent background */

/* ============================================
   OUR IMPACT & REACH - Cybernetic Stats Section
   ============================================ */
.impact-section {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    transition: opacity 2s ease-out, transform 2s ease-out;
    will-change: opacity, transform;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Remove the dark overlay for impact section */
.impact-section.globe-scene-trigger::before {
    display: none;
}

/* Cyber grid background for impact section - hidden to show globe */
.impact-section .cyber-grid-overlay {
    display: none;
}

/* Impact section elements - start invisible, fade in when passing through globe top */
/* JS controls opacity via inline styles */
.impact-section .cyber-section-header,
.impact-section .impact-stats-container {
    opacity: 0;
    will-change: opacity;
}

/* Desktop: ensure header is properly positioned for JS fade */
@media (min-width: 769px) {
    .impact-section .cyber-section-header {
        position: relative;
        z-index: 5;
    }
}

/* Impact decorations positioning - hidden for transparent background */
.impact-section .cyber-hex-impact-1,
.impact-section .cyber-hex-impact-2 { display: none; }
.impact-section .cyber-circuit-impact-1,
.impact-section .cyber-circuit-impact-2 { display: none; }



/* Stats Row - Circular Progress Design */
.impact-stats-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.impact-stat-card {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 30px 20px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.impact-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Progress Ring */
.progress-ring {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring .progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-ring .progress-fill {
    fill: none;
    stroke: var(--ring-color, #00bcd4);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1.5s ease-out;
}

.progress-ring.animated .progress-fill {
    stroke-dashoffset: var(--progress-offset, 0);
}

/* Progress Content (centered text) */
.progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.progress-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: capitalize;
    margin-top: 2px;
}

/* Card titles */
.impact-stat-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.impact-stat-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.8;
}

/* Color variations for each ring */
.impact-stat-card:nth-child(1) .progress-fill { stroke: #22c55e; }
.impact-stat-card:nth-child(2) .progress-fill { stroke: #00bcd4; }
.impact-stat-card:nth-child(3) .progress-fill { stroke: #8b5cf6; }
.impact-stat-card:nth-child(4) .progress-fill { stroke: #ef4444; }

/* Mobile responsive for Impact section */
@media (max-width: 992px) {
    .impact-stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .impact-stat-card {
        flex: 0 0 calc(50% - 12px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .impact-section {
        padding: 80px 0;
        /* CRITICAL: Remove will-change/transform to allow position:fixed in children */
        will-change: auto !important;
        transform: none !important;
    }

    .impact-stats-container {
        gap: 15px;
    }

    .impact-stat-card {
        flex: 0 0 calc(50% - 10px);
        padding: 25px 15px;
    }

    .progress-ring {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
    }

    .progress-value {
        font-size: 1.2rem;
    }

    .progress-label {
        font-size: 0.65rem;
    }

    .impact-stat-card h4 {
        font-size: 0.9rem;
    }

    .impact-stat-card p {
        font-size: 0.7rem;
    }

    /* Hide decorations on mobile */
    .impact-section .cyber-hex,
    .impact-section .cyber-circuit {
        display: none;
    }
}

@media (max-width: 480px) {
    .impact-stat-card {
        padding: 20px 15px;
    }

    .progress-ring {
        width: 80px;
        height: 80px;
    }

    .progress-value {
        font-size: 1.1rem;
    }
}

/* ============================================
   WE CARE ABOUT - Cybernetic Design Section
   ============================================ */
.we-care-section {
    background: transparent;
    min-height: 200vh;
    position: relative;
    overflow: visible;
}

/* Scene 3 header container - fixed position like Industries */
.we-care-section > .container {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

/* Scene 3 headline - controlled by JS */
.we-care-section .cyber-section-header {
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

/* Hide decorative elements for transparent look */
.we-care-section .cyber-hex,
.we-care-section .cyber-circuit,
.we-care-section .cyber-node,
.we-care-section .cyber-particles {
    display: none;
}



.we-care-header h2::before,
.we-care-header h2::after {
    display: none;
}


/* Section header - cybernetic style */
.we-care-header {
    position: absolute;
    top: 12vh;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.we-care-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: var(--neon-cyan);
    margin: 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* Corner accents for header */
.we-care-header h2::before,
.we-care-header h2::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    opacity: 0.8;
}

.we-care-header h2::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.we-care-header h2::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

/* Main container */
.we-care-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 5%;
    z-index: 5;
}

/* Cyber frame around container - hidden for transparent look */
.we-care-container::before {
    display: none;
}

/* Animated corner brackets - hidden for transparent look */
.we-care-container::after {
    display: none;
}

@keyframes cornerFlicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
    52% { opacity: 0.4; }
    54% { opacity: 1; }
}

/* Left column - Fixed "We care about" text */
.we-care-fixed {
    flex: 0 0 auto;
    position: relative;
    z-index: 10;
}

.we-care-fixed h3 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.02em;
    position: relative;
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(0, 245, 255, 0.1);
}

/* Cyber bracket decoration */
.we-care-fixed h3::before {
    content: '[';
    color: var(--neon-cyan);
    margin-right: 0.3em;
    font-weight: 100;
    opacity: 0.7;
    animation: bracketPulse 3s ease-in-out infinite;
}

.we-care-fixed h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    opacity: 0.5;
}

@keyframes bracketPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; text-shadow: 0 0 10px var(--neon-cyan); }
}

/* Right column - Scrolling spinner */
.we-care-spinner {
    flex: 0 0 auto;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
    padding-left: 40px;
}

/* Vertical scan line effect */
.we-care-spinner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--neon-cyan) 30%,
        var(--neon-cyan) 70%,
        transparent 100%
    );
    opacity: 0.6;
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { opacity: 0.6; height: 100%; }
    50% { opacity: 1; }
}


.spinner-track {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    padding: 100px 0;
}

.spinner-item {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    white-space: nowrap;
    position: relative;
    letter-spacing: -0.02em;
    padding-left: 25px;
}

/* Data stream indicator for each item */
.spinner-item::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 245, 255, 0.3);
    font-size: 0.6em;
    font-weight: 400;
    transition: all 0.5s ease;
}

/* Active/highlighted state - Cybernetic glow */
.spinner-item.active {
    font-weight: 600;
    color: var(--neon-cyan);
    text-shadow:
        0 0 10px rgba(0, 245, 255, 0.8),
        0 0 20px rgba(0, 245, 255, 0.6),
        0 0 40px rgba(0, 245, 255, 0.4),
        0 0 80px rgba(0, 245, 255, 0.2);
}

.spinner-item.active::before {
    content: '>>';
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    animation: caretBlink 1s step-end infinite;
}

@keyframes caretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Animated data stream underline */
.spinner-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 25px;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow:
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan);
    animation: dataStream 0.5s ease-out forwards;
}

@keyframes dataStream {
    0% { width: 0; opacity: 0; }
    100% { width: calc(100% - 25px); opacity: 1; }
}

/* Hexagon decoration elements */
.cyber-hex {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.15;
    z-index: 2;
}

.cyber-hex::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexRotate 20s linear infinite;
}

@keyframes hexRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cyber-hex-1 { top: 20%; left: 5%; }
.cyber-hex-2 { top: 60%; right: 8%; animation-delay: -5s; }
.cyber-hex-3 { bottom: 25%; left: 12%; animation-delay: -10s; }

/* Circuit line decorations */
.cyber-circuit {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.3), transparent);
    height: 1px;
    z-index: 2;
    opacity: 0.4;
}

.cyber-circuit::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    top: -2.5px;
    animation: circuitPulse 2s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% { box-shadow: 0 0 5px var(--neon-cyan); opacity: 1; }
    50% { box-shadow: 0 0 15px var(--neon-cyan); opacity: 0.6; }
}

.cyber-circuit-1 {
    top: 30%;
    left: 0;
    width: 15%;
}
.cyber-circuit-1::after { right: 0; }

.cyber-circuit-2 {
    top: 70%;
    right: 0;
    width: 12%;
}
.cyber-circuit-2::after { left: 0; }

/* Data nodes */
.cyber-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    z-index: 2;
    animation: nodeGlow 3s ease-in-out infinite;
}

.cyber-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 50%;
}

@keyframes nodeGlow {
    0%, 100% { opacity: 0.3; box-shadow: none; }
    50% { opacity: 1; box-shadow: 0 0 10px var(--neon-cyan); }
}

.cyber-node-1 { top: 25%; right: 20%; animation-delay: 0s; }
.cyber-node-2 { top: 45%; left: 8%; animation-delay: 1s; }
.cyber-node-3 { bottom: 30%; right: 15%; animation-delay: 2s; }
.cyber-node-4 { bottom: 20%; left: 18%; animation-delay: 0.5s; }

/* Cyber particles canvas */
.cyber-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.we-care-section.in-view .cyber-particles {
    opacity: 1;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .we-care-section {
        min-height: 250vh;
    }

    .we-care-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .we-care-container::before,
    .we-care-container::after {
        display: none;
    }

    .we-care-fixed h3 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .we-care-fixed h3::before {
        display: none;
    }

    .spinner-item {
        font-size: clamp(2rem, 8vw, 3rem);
        padding-left: 0;
    }

    .spinner-item::before {
        display: none;
    }

    .spinner-item.active::after {
        left: 0;
        width: 100%;
    }

    .we-care-spinner {
        height: 200px;
        padding-left: 0;
    }

    .we-care-spinner::before {
        display: none;
    }

    .cyber-hex,
    .cyber-circuit,
    .cyber-node {
        display: none;
    }

    .we-care-header h2 {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        letter-spacing: 0.15em;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .we-care-section {
        min-height: 200vh;
    }

    .we-care-fixed h3,
    .spinner-item {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }

    .spinner-track {
        gap: 1.5rem;
    }

    .we-care-header h2::before,
    .we-care-header h2::after {
        display: none;
    }
}

/* ================================================
   "WE CARE ABOUT" - Scroll-Driven Keyword Zoom
   ================================================ */

/* Zoom focus animation keyframes */
@keyframes zoom-focus {
    0% {
        transform: translateZ(-900px);
        opacity: 0;
        filter: blur(6px);
    }
    45% {
        transform: translateZ(0);
        opacity: 1;
        filter: blur(0);
    }
    100% {
        transform: translateZ(900px);
        opacity: 0;
        filter: blur(6px);
    }
}

/* Scroll space for animation */
.care-wrapper {
    min-height: 300vh;
    background: transparent;
    position: relative;
}

/* Sticky stage - full viewport */
.care-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8vw;
}

/* Content container - centered vertically */
.care-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Headline styling */
.care-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.9;
    line-height: 1.2;
    margin: 0;
}

/* Keywords container - stacked beneath headline */
.care-keywords {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Individual keyword styling - dimmed by default */
.care-item {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.3;
    transition: opacity 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap;
}

/* Highlighted state */
.care-item.highlighted {
    color: var(--neon-cyan);
    opacity: 1;
    text-shadow:
        0 0 12px rgba(0, 245, 255, 0.5),
        0 0 28px rgba(0, 245, 255, 0.25);
}

/* Keyframes for keyword highlight animation */
@keyframes keyword-highlight {
    0%, 5% {
        color: var(--text-secondary);
        opacity: 0.3;
        text-shadow: none;
    }
    15%, 85% {
        color: var(--neon-cyan);
        opacity: 1;
        text-shadow:
            0 0 12px rgba(0, 245, 255, 0.5),
            0 0 28px rgba(0, 245, 255, 0.25);
    }
    95%, 100% {
        color: var(--text-secondary);
        opacity: 0.3;
        text-shadow: none;
    }
}

/* Scroll-driven animation (CSS-only for supported browsers) */
@supports (animation-timeline: scroll()) {
    .care-wrapper {
        view-timeline: --care-section block;
    }

    .care-item {
        animation: keyword-highlight linear both;
        animation-timeline: --care-section;
    }

    /* Staggered timing - each keyword gets its portion of the scroll */
    .care-item:nth-of-type(1) { animation-range: 0% 25%; }
    .care-item:nth-of-type(2) { animation-range: 15% 40%; }
    .care-item:nth-of-type(3) { animation-range: 30% 55%; }
    .care-item:nth-of-type(4) { animation-range: 45% 70%; }
    .care-item:nth-of-type(5) { animation-range: 60% 85%; }
}

/* Mobile responsive */
@media (max-width: 992px) {
    .care-wrapper {
        min-height: 250vh;
    }

    .care-sticky {
        padding: 0 5vw;
    }

    .care-content {
        align-items: center;
        text-align: center;
    }

    .care-keywords {
        align-items: center;
    }

    .care-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .care-item {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
}

@media (max-width: 576px) {
    .care-wrapper {
        min-height: 200vh;
    }

    .care-headline {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }

    .care-item {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }
}

/* Legacy spec-card styles (kept for compatibility) */
.specializations.globe-scene-trigger .spec-card {
    background: rgba(18, 18, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.specializations.globe-scene-trigger .spec-card:hover {
    background: rgba(18, 18, 26, 0.85);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 245, 255, 0.15);
}

/* Strategic section - Globe visible on right */
.strategic.globe-scene-trigger {
    background: transparent;
}

.strategic.globe-scene-trigger::before {
    background: linear-gradient(
        to right,
        rgba(5, 5, 8, 0.95) 0%,
        rgba(5, 5, 8, 0.7) 40%,
        rgba(5, 5, 8, 0.2) 60%,
        transparent 80%
    );
}

/* Hide connection diagram on desktop when globe is visible */
@media (min-width: 769px) {
    .connection-diagram.mobile-only {
        display: none;
    }

    .strategic.globe-scene-trigger .strategic-visual {
        display: none;
    }

    .strategic.globe-scene-trigger .strategic-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .strategic.globe-scene-trigger .strategic-content {
        background: rgba(10, 10, 15, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 40px;
        border-radius: 20px;
        border: 1px solid rgba(0, 245, 255, 0.1);
    }
}

/* Industries section - Globe as backdrop */
.industries.globe-scene-trigger {
    background: transparent;
}

.industries.globe-scene-trigger::before {
    background: transparent;
}

/* Industry cards with glassmorphism */
.industries.globe-scene-trigger .industry-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* CTA section - Globe in bottom right corner */
.cta-final.globe-scene-trigger {
    background: transparent;
}

.cta-final.globe-scene-trigger::before {
    background: linear-gradient(
        135deg,
        rgba(5, 5, 8, 0.95) 0%,
        rgba(5, 5, 8, 0.7) 40%,
        rgba(5, 5, 8, 0.3) 70%,
        transparent 100%
    );
}

.cta-final.globe-scene-trigger::after {
    display: none;
}

/* CTA wrapper glassmorphism */
.cta-final.globe-scene-trigger .cta-wrapper {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

/* ============================================
   SCROLL INTERACTION ANIMATIONS
   ============================================ */

/* Parallax content containers */
.globe-scene-trigger .container {
    position: relative;
    z-index: 2;
}

/* Floating animation for cards */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Cards that interact with scroll */
.spec-card.float-interact {
    animation: float-gentle 4s ease-in-out infinite;
}

.spec-card.float-interact:nth-child(2) { animation-delay: 0.5s; }
.spec-card.float-interact:nth-child(3) { animation-delay: 1s; }
.spec-card.float-interact:nth-child(4) { animation-delay: 1.5s; }
.spec-card.float-interact:nth-child(5) { animation-delay: 2s; }
.spec-card.float-interact:nth-child(6) { animation-delay: 2.5s; }
.spec-card.float-interact:nth-child(7) { animation-delay: 3s; }
.spec-card.float-interact:nth-child(8) { animation-delay: 3.5s; }

/* Scroll-triggered fade in */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for grids */
.scroll-reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll-reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }
.scroll-reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.7s; }
.scroll-reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.8s; }

.scroll-reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax depth effect */
.parallax-slow { transform: translateZ(-100px) scale(1.1); }
.parallax-medium { transform: translateZ(-50px) scale(1.05); }
.parallax-fast { transform: translateZ(0px); }

/* Glow pulse for section headers when in view */
.section-header.in-view h2 {
    animation: text-glow-pulse 3s ease-in-out infinite;
}

@keyframes text-glow-pulse {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 30px rgba(0, 245, 255, 0.3); }
}

/* ============================================
   ENHANCED SCROLL INTERACTIONS
   ============================================ */

/* Card scroll-based transform */
.spec-card,
.industry-card {
    --scroll-x: 0px;
    --scroll-scale: 1;
    transform: translateX(var(--scroll-x)) scale(var(--scroll-scale));
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
    will-change: transform;
}

/* Glow intensity from proximity to globe */
.spec-card,
.industry-card {
    --glow-intensity: 0.2;
}

.spec-card:hover,
.industry-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 calc(30px * var(--glow-intensity)) rgba(0, 245, 255, calc(0.3 * var(--glow-intensity))),
        inset 0 0 calc(20px * var(--glow-intensity)) rgba(0, 245, 255, calc(0.05 * var(--glow-intensity)));
}

/* Hero content scroll fade */
.hero-content {
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
    will-change: opacity, transform;
}

/* Text reveal animation */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered text reveal from left (toward globe on right) */
@keyframes reveal-from-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-reveal.reveal-left {
    animation: reveal-from-left 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Card connection line effect */
.spec-card::after,
.industry-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 245, 255, 0.6), transparent);
    transition: width 0.4s ease-out;
    pointer-events: none;
}

.spec-card:hover::after,
.industry-card:hover::after {
    width: 40px;
}

/* CTA wrapper cursor glow */
.cta-final.globe-scene-trigger .cta-wrapper {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    overflow: hidden;
}

.cta-final.globe-scene-trigger .cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(0, 245, 255, 0.15) 0%,
        transparent 50%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-final.globe-scene-trigger .cta-wrapper:hover::before {
    opacity: 1;
}

/* Globe connection particles canvas */
.glow-canvas {
    mix-blend-mode: screen;
}

/* Enhanced floating animation with subtle drift toward globe */
@keyframes float-drift {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-8px) translateX(3px);
    }
    50% {
        transform: translateY(-12px) translateX(6px);
    }
    75% {
        transform: translateY(-6px) translateX(3px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.spec-card.float-interact {
    animation: float-drift 5s ease-in-out infinite;
}

/* Pulse effect for featured card */
.spec-card.featured.float-interact {
    animation: float-drift 4s ease-in-out infinite, pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 0 rgba(0, 245, 255, 0);
    }
    50% {
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(0, 245, 255, 0.3),
            0 0 60px rgba(0, 245, 255, 0.1);
    }
}

/* Strategic section content reveal */
.strategic-content {
    transition: transform 0.3s ease-out;
}

.strategic-features .sf-item {
    opacity: 1;
    transform: translateX(0);
}

/* Industries section - cards emerge from below */
.industry-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.industry-card.float-interact {
    opacity: 1;
    transform: translateY(0);
}

/* Section tag animated underline */
.section-tag {
    position: relative;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.section-header.in-view .section-tag::after {
    width: 100%;
}

/* Globe loading state */
#globe-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border: 3px solid transparent;
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: globe-spin 1s linear infinite;
}

@keyframes globe-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile: Show globe with adjusted styling */
@media (max-width: 768px) {
    /* Fix: Override browser default margins and prevent horizontal overflow */
    html {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    body,
    body.home-page {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Fix: Header width constraints */
    .header {
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    /* Fix: Main element full width */
    main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Fix: Sections fill full width */
    section,
    .globe-scene-trigger {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fix: Hero overflow visible for globe */
    .hero,
    .hero.globe-scene-trigger {
        overflow: visible !important;
    }

    /* Fix: Remove container padding for globe sections */
    .hero .container,
    .globe-scene-trigger .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #globe-container {
        display: block;
        position: fixed !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Actually smaller container - globe.gl renders to fit this size */
        width: 100vw !important;
        height: 100vw !important;  /* Square aspect ratio = 100vw x 100vw */
        left: 50% !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        overflow: visible !important;
        /* Initial transform matching Scene 0: translate(-50%, -50%) + translate(10vw, 15vh) + scale(1.1) */
        transform: translate(-50%, -50%) translate(10vw, 15vh) scale(1.1);
    }

    .globe-scene-trigger::before {
        display: none;
    }

    .hero.globe-scene-trigger {
        background: transparent;
    }

    .hero.globe-scene-trigger::before {
        display: none;
    }

    .specializations.globe-scene-trigger,
    .strategic.globe-scene-trigger,
    .industries.globe-scene-trigger,
    .cta-final.globe-scene-trigger {
        background: transparent;
    }

    .connection-diagram.mobile-only {
        display: none;
    }

    .strategic.globe-scene-trigger .strategic-visual {
        display: none;
    }

    .strategic.globe-scene-trigger .strategic-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile globe label adjustments */
    .globe-label {
        transform: translateX(-50%) translateY(-100%) scale(0.85);
        padding: 6px 12px 6px 6px;
    }

    .label-title {
        font-size: 12px;
    }

    .label-subtitle {
        font-size: 9px;
    }
}

/* Page Hero */
.page-hero {
    background: var(--bg-darker);
    background-image:
        radial-gradient(ellipse at center, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Remove any vertical line decorations on page hero */
.page-hero .container::before,
.page-hero .container::after,
.services-intro .container::before,
.services-intro .container::after,
.services-intro-content::before,
.services-intro-content::after {
    display: none !important;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-darker);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* Stats Section */
.stats {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1628 100%);
    padding: 80px 0;
    position: relative;
}

.stats::before,
.stats::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta {
    background: var(--bg-darker);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* About Page */
.about-intro {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image .image-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    position: relative;
    overflow: hidden;
}

.about-image .image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-cyan), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Mission Vision */
.mission-vision {
    background: var(--bg-darker);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mv-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--ocean-gradient);
}

.mv-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.mv-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.1);
}

.value-icon {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
}

.value-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Team Section */
.team {
    background: var(--bg-darker);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.team-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.team-role {
    color: var(--neon-cyan);
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Page */
.services-intro {
    padding: 60px 0 0;
}

.services-list {
    padding: 40px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 50px;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

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

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-icon {
    background: var(--bg-card);
    width: 120px;
    height: 120px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    border: 1px solid var(--border-color);
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.2));
    transition: var(--transition);
}

.service-item:hover .service-icon {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    color: var(--text-secondary);
    padding-left: 30px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Services Grid Layout */
.services-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-intro-content .lead-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.services-intro-content .lead-text .highlight {
    color: var(--neon-cyan);
    font-weight: 600;
}

.services-intro-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.services-intro-content strong {
    color: var(--text-primary);
}

.services-grid-section {
    padding: 80px 0;
    background: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05), rgba(168, 85, 247, 0.05));
    border-color: rgba(0, 245, 255, 0.2);
}

/* Service Cards with Images */
.service-card.has-image {
    padding: 0;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card.has-image:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 25px 30px 30px;
}

.service-card.featured .service-card-image {
    height: 220px;
}

.service-card.featured.has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.service-card.featured.has-image .service-card-image {
    height: 100%;
}

.service-card.featured.has-image .service-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.3);
}

.service-card-icon.emergency {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.service-card:hover .service-card-icon.emergency {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.3);
}

.service-card-icon.water {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.service-card:hover .service-card-icon.water {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.service-card-icon.flood {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.service-card:hover .service-card-icon.flood {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
}

.service-card-icon.quality {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.service-card:hover .service-card-icon.quality {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.service-card-icon.forest {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.service-card:hover .service-card-icon.forest {
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.3);
}

.service-card-icon.lidar {
    background: rgba(168, 85, 247, 0.1);
    color: var(--neon-purple);
}

.service-card:hover .service-card-icon.lidar {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
}

.service-card-icon.model {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.service-card:hover .service-card-icon.model {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
}

.service-card-icon.agri {
    background: rgba(132, 204, 22, 0.1);
    color: #84cc16;
}

.service-card:hover .service-card-icon.agri {
    box-shadow: 0 0 25px rgba(132, 204, 22, 0.3);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.service-card .service-detail {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.service-features-list {
    margin: 15px 0;
    padding-left: 0;
}

.service-features-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0 6px 25px;
    position: relative;
}

.service-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.service-card.featured .service-features-list li::before {
    background: var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple);
}

.cta-services {
    padding: 100px 0;
    background: var(--bg-dark);
    text-align: center;
}

.cta-services .cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.cta-services p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 35px;
}

/* Expertise Page */
.expertise-intro {
    padding: 60px 0 0;
}

.expertise-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.expertise-intro-content .lead-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.expertise-intro-content .lead-text .highlight {
    color: var(--neon-cyan);
    font-weight: 600;
}

.expertise-intro-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.expertise-intro-content strong {
    color: var(--text-primary);
}

/* Capabilities Section - New Layout */
.capabilities-section {
    padding: 80px 0;
}

.capability-block {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

.capability-block.has-image {
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.capability-block:last-child {
    border-bottom: none;
}

.capability-block.reverse {
    grid-template-columns: 1fr 120px;
}

.capability-block.has-image.reverse {
    grid-template-columns: 1fr 400px;
}

.capability-block.reverse .capability-image {
    order: 2;
}

.capability-block.reverse .capability-content {
    order: 1;
}

.capability-block.reverse .capability-number {
    order: 2;
}

.capability-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.capability-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: var(--transition);
}

.capability-block:hover .capability-image img {
    transform: scale(1.05);
}

.capability-image .capability-number {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.capability-image .capability-number span {
    font-size: 4rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.capability-block.reverse .capability-image .capability-number {
    left: auto;
    right: 20px;
}

.capability-number {
    position: relative;
}

.capability-number span {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    line-height: 1;
}

.capability-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(138, 43, 226, 0.15));
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.capability-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.capability-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.capability-services h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.capability-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.capability-services li {
    color: var(--text-secondary);
    font-size: 1rem;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.capability-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Legacy Expertise Grid - kept for backwards compatibility */
.expertise-areas {
    padding: 80px 0;
    background: var(--bg-darker);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 35px;
    transition: var(--transition);
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.1);
}

.expertise-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Page */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean-gradient);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

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

.form-group .error {
    color: #ef4444;
    font-size: 0.875rem;
}

/* Form Header */
.contact-form .form-header {
    margin-bottom: 10px;
}

.contact-form .form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form .form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Required asterisk */
.form-group label .required {
    color: var(--neon-cyan);
}

/* Select/Dropdown styling */
.form-group select {
    padding: 16px 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' 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-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 50px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.form-group select option {
    background: var(--bg-darker);
    color: var(--text-primary);
    padding: 10px;
}

/* Radio button styling */
.radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.radio-label:hover {
    color: var(--text-primary);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-label input[type="radio"]:checked ~ span:last-child {
    color: var(--text-primary);
}

/* Phone input with prefix */
.phone-input-group {
    display: flex;
    align-items: stretch;
}

.phone-prefix {
    padding: 16px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: var(--neon-cyan);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.phone-input-group input {
    flex: 1;
    border-radius: 0 10px 10px 0 !important;
}

/* Form row - side by side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Company field transition */
.company-field {
    transition: all 0.3s ease;
    overflow: hidden;
}

.alert {
    padding: 18px 24px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean-gradient);
}

.map-container iframe {
    display: block;
    filter: grayscale(50%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.map-placeholder {
    background: var(--bg-card);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.map-content {
    text-align: center;
    color: var(--neon-cyan);
}

.map-content p {
    margin-top: 20px;
    color: var(--text-secondary);
}

.map-content small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

.footer-logo {
    width: 250px;
    height: auto;
    margin-bottom: 0;
}

.footer-about h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    padding-left: 10px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Selection */
::selection {
    background: rgba(0, 245, 255, 0.3);
    color: var(--text-primary);
}

/* ========================================
   HOME PAGE - GIS COMPANY SPECIFIC STYLES
   ======================================== */

/* Hero Section Enhanced */
.hero {
    background: var(--bg-darker);
    background-image:
        radial-gradient(ellipse at center top, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 60%, rgba(168, 85, 247, 0.08) 0%, transparent 40%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neon-cyan);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-globe {
    width: 400px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

.hero-globe svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.3));
}

.pulse-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

.pulse-dot:nth-child(2) { animation-delay: 0.5s; }
.pulse-dot:nth-child(3) { animation-delay: 1s; }
.pulse-dot:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.3; r: 3; }
    50% { opacity: 1; r: 5; }
}

/* Section Tag */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Specializations Section */
.specializations {
    background: var(--bg-dark);
    padding: 120px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specializations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.spec-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.spec-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(0, 245, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card.featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 245, 255, 0.1) 100%);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.15);
}

.spec-card.featured .spec-icon {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.8));
}

.spec-icon {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    transition: var(--transition);
}

.spec-card:hover .spec-icon {
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.6));
    transform: scale(1.1);
}

.spec-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.spec-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Strategic Section */
.strategic {
    background: var(--bg-darker);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.strategic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.strategic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.strategic-content {
    position: relative;
    z-index: 1;
}

.strategic-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.strategic-content h2 .highlight {
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strategic-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.strategic-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.sf-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sf-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.sf-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Connection Diagram */
.strategic-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connection-diagram {
    position: relative;
    width: 400px;
    height: 400px;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.node:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3) 0%, rgba(0, 245, 255, 0.2) 100%);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    font-weight: 600;
    padding: 20px 25px;
    font-size: 1rem;
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
    z-index: 2;
}

.node.n1 { top: 10%; left: 15%; }
.node.n2 { top: 10%; right: 15%; }
.node.n3 { top: 45%; right: 0; }
.node.n4 { bottom: 10%; right: 15%; }
.node.n5 { bottom: 10%; left: 15%; }
.node.n6 { top: 45%; left: 0; }

/* Industries Section */
/* ============================================
   INDUSTRIES WE SERVE - Cybernetic Design
   ============================================ */
.industries {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: visible;
    min-height: 300vh;
    display: block;
    view-timeline: --industries-section block;
}

/* Industries header - positioned above globe, moves with globe via JS */
.industries > .container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 50;
    pointer-events: none;
    transition: none;
}

.industries::before {
    display: none;
}

/* Scroll-driven zoom animation - items emerge from behind globe */
@keyframes zoom-in {
    0% {
        transform: translateZ(-800px) scale(0.3);
        opacity: 0;
        filter: blur(8px);
        z-index: -1;
    }
    35% {
        transform: translateZ(-200px) scale(0.7);
        opacity: 0;
        filter: blur(4px);
        z-index: -1;
    }
    50% {
        transform: translateZ(100px) scale(1);
        opacity: 1;
        filter: blur(0px);
        z-index: 10;
    }
    65% {
        transform: translateZ(300px) scale(1.1);
        opacity: 1;
        filter: blur(0px);
        z-index: 10;
    }
    100% {
        transform: translateZ(600px) scale(1.3);
        opacity: 0;
        filter: blur(6px);
        z-index: 10;
    }
}

.stuck-grid {
    block-size: 100svh;
    perspective: 800px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
    display: grid;
    grid: repeat(4, 20dvh) / repeat(4, 25dvw);
    padding-top: 25dvh;
    place-items: center;
    position: sticky;
    top: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0; /* Behind globe initially */
}

.stuck-grid > .grid-item {
    transform-style: preserve-3d;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vmin, 1.5rem);
    font-weight: 400;
    color: var(--neon-cyan);
    text-wrap: nowrap;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    letter-spacing: 0.02em;
    /* Start behind globe - invisible */
    opacity: 0;
    transform: translateZ(-800px) scale(0.3);
    filter: blur(8px);
    z-index: -1;
}

@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .stuck-grid > .grid-item {
            animation: zoom-in linear both;
            animation-timeline: --industries-section;
            will-change: transform, opacity, filter;
        }
    }
}

/* Animation ranges - delayed to start after headline is fully visible */
.stuck-grid > .grid-item:nth-of-type(1) { animation-range: 25% 45%; grid-area: 1/1; }
.stuck-grid > .grid-item:nth-of-type(2) { animation-range: 28% 48%; grid-area: 1/4; }
.stuck-grid > .grid-item:nth-of-type(3) { animation-range: 31% 51%; grid-area: 4/1; }
.stuck-grid > .grid-item:nth-of-type(4) { animation-range: 34% 54%; grid-area: 4/4; }
.stuck-grid > .grid-item:nth-of-type(5) { animation-range: 26% 46%; grid-area: 1/2; }
.stuck-grid > .grid-item:nth-of-type(6) { animation-range: 29% 49%; grid-area: 1/3; }
.stuck-grid > .grid-item:nth-of-type(7) { animation-range: 32% 52%; grid-area: 4/2; }
.stuck-grid > .grid-item:nth-of-type(8) { animation-range: 35% 55%; grid-area: 4/3; }
.stuck-grid > .grid-item:nth-of-type(9) { animation-range: 25% 45%; grid-area: 2/1; }
.stuck-grid > .grid-item:nth-of-type(10) { animation-range: 30% 50%; grid-area: 2/4; }
.stuck-grid > .grid-item:nth-of-type(11) { animation-range: 27% 47%; grid-area: 3/1; }
.stuck-grid > .grid-item:nth-of-type(12) { animation-range: 32% 52%; grid-area: 3/4; }
.stuck-grid > .grid-item:nth-of-type(13) { animation-range: 26% 46%; grid-area: 2/2; }
.stuck-grid > .grid-item:nth-of-type(14) { animation-range: 30% 50%; grid-area: 2/3; }
.stuck-grid > .grid-item:nth-of-type(15) { animation-range: 33% 53%; grid-area: 3/2; }
.stuck-grid > .grid-item:nth-of-type(16) { animation-range: 36% 56%; grid-area: 3/3; }

/* Fallback for browsers without CSS scroll-driven animations (Safari/iOS) */
@supports not (animation-timeline: scroll()) {
    .stuck-grid > .grid-item {
        /* Reset default invisible state - JS fallback will control visibility */
        opacity: 0;
        transform: translateZ(0) scale(0.8);
        filter: blur(0);
        /* Smooth transitions for JS-controlled animations */
        transition: opacity 0.5s ease-out, transform 0.5s ease-out, filter 0.5s ease-out;
    }
}

/* Cybernetic section header */
.cyber-section-header {
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: 0;
}

/* Industries section header - prominent position above globe */
.industries .cyber-section-header {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(45vh);
    transition: none;
    will-change: opacity, transform;
}

/* "We Speak GIS" header - same animation style as Industries header */
/* Starts at center (45vh), rises to top while fading in */
.industries .cyber-section-header.cyber-section-header-wespeak {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /* Above everything */
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(45vh);
    transition: none;
    will-change: opacity, transform;
}

/* Override scroll-reveal for h2 inside wespeak header - parent controls opacity */
.industries .cyber-section-header-wespeak h2 {
    opacity: 1;
    transform: none;
}

/* ================================
   We Speak - Animated Text Effect
   ================================ */
.wespeak-animated {
    --wespeak-c1: #00f5ff;
    --wespeak-c2: #8b5cf6;
    --wespeak-c3: #00f5ff;
    --wespeak-gradient: linear-gradient(
        60deg,
        var(--wespeak-c3),
        var(--wespeak-c2),
        var(--wespeak-c1),
        var(--wespeak-c2),
        var(--wespeak-c3)
    );
    --wespeak-scale-start: 0.5;
    --wespeak-scale-end: 1.001;
    /* Elastic easing */
    --wespeak-ease-elastic: linear(
        0, 0.186 2.1%, 0.778 7.2%, 1.027 9.7%, 1.133, 1.212, 1.264, 1.292 15.4%,
        1.296, 1.294, 1.285, 1.269 18.9%, 1.219 20.9%, 1.062 25.8%, 0.995 28.3%,
        0.944 31.1%, 0.93, 0.921, 0.92 35.7%, 0.926, 0.94 39.7%, 1.001 47%, 1.014,
        1.021 52.4%, 1.02 56.4%, 1 65.5%, 0.994 70.7%, 1.001 88.4%, 1
    );
    --wespeak-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.15em;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    text-align: center;
}

@media (prefers-reduced-motion) {
    .wespeak-animated {
        --wespeak-scale-start: var(--wespeak-scale-end);
        --wespeak-ease-elastic: ease-out;
        --wespeak-ease-bounce: ease-out;
    }
}

.wespeak-box {
    display: inline-block;
}

.wespeak-text {
    display: inline-block;
    padding-block: 0.1em;
    text-wrap: nowrap;
    background-image: var(--wespeak-gradient);
    background-size: 400%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    scale: var(--wespeak-scale-start);
    opacity: 0;
}

/* JavaScript-triggered animation class */
.wespeak-box.animate .wespeak-text {
    animation: wespeak-pop 600ms var(--wespeak-ease-elastic) forwards,
               wespeak-gradient 1s cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

@keyframes wespeak-pop {
    from {
        scale: var(--wespeak-scale-start);
        opacity: 0;
    }
    to {
        scale: var(--wespeak-scale-end);
        opacity: 1;
    }
}

@keyframes wespeak-gradient {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 150% center;
    }
}

/* Stagger delays for each word */
.wespeak-box:nth-child(1) .wespeak-text { animation-delay: 0ms; }
.wespeak-box:nth-child(2) .wespeak-text { animation-delay: 100ms; }
.wespeak-box:nth-child(3) .wespeak-text { animation-delay: 200ms; }
.wespeak-box:nth-child(4) .wespeak-text { animation-delay: 300ms; }
.wespeak-box:nth-child(5) .wespeak-text { animation-delay: 400ms; }
.wespeak-box:nth-child(6) .wespeak-text { animation-delay: 500ms; }

.cyber-section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.cyber-section-header h2::before {
    content: '[ ';
    color: var(--neon-cyan);
    font-weight: 200;
    opacity: 0.7;
}

.cyber-section-header h2::after {
    content: ' ]';
    color: var(--neon-cyan);
    font-weight: 200;
    opacity: 0.7;
}

.cyber-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin: 0;
}

/* Cyber scan line animation - disabled */
.cyber-scanline {
    display: none;
}

/* Industries Marquee - Positioned on right side to not block globe */
.industries-marquee {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    max-width: 30vw;
    height: 80vh;
    overflow: hidden;
    padding: 20px 20px 20px 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marquee-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    animation: marquee-vertical 25s linear infinite;
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Industry Card Styles - Cybernetic Design */
.industry-card {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(10, 10, 15, 0.8);
}

.industry-card.cyber-card {
    clip-path: polygon(
        0 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% 100%,
        20px 100%,
        0 calc(100% - 20px)
    );
}

.industry-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 245, 255, 0.3),
        inset 0 0 30px rgba(0, 245, 255, 0.1);
}

/* Cyber card frame - glowing border effect */
.cyber-card-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 245, 255, 0.3);
    pointer-events: none;
    z-index: 5;
    transition: all 0.4s ease;
}

.industry-card:hover .cyber-card-frame {
    border-color: var(--neon-cyan);
    box-shadow:
        inset 0 0 20px rgba(0, 245, 255, 0.2);
}

/* Corner brackets for cyber cards */
.cyber-card-corners {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 6;
}

.cyber-card-corners::before,
.cyber-card-corners::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--neon-cyan);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.cyber-card-corners::before {
    top: 5px;
    left: 5px;
    border-right: none;
    border-bottom: none;
}

.cyber-card-corners::after {
    bottom: 5px;
    right: 5px;
    border-left: none;
    border-top: none;
}

.industry-card:hover .cyber-card-corners::before,
.industry-card:hover .cyber-card-corners::after {
    opacity: 1;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.industry-card-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: saturate(0.8);
}

.industry-card:hover .industry-card-image img {
    transform: scale(1.15);
    filter: saturate(1) brightness(1.1);
}

.industry-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(10, 10, 15, 0.95) 0%,
        rgba(10, 10, 15, 0.7) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    height: 100%;
    transition: all 0.4s ease;
    z-index: 3;
}

.industry-card:hover .industry-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 245, 255, 0.15) 0%,
        rgba(10, 10, 15, 0.8) 50%,
        transparent 100%
    );
}

.industry-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.cyber-prefix {
    color: var(--neon-cyan);
    opacity: 0.6;
    font-weight: 400;
    margin-right: 0.3em;
    transition: all 0.3s ease;
}

.industry-card:hover .cyber-prefix {
    opacity: 1;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.industry-card:hover .industry-card-title {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* Gradient Fade Edges - Vertical for side marquee */
.marquee-fade {
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 15;
    pointer-events: none;
}

.marquee-fade-left {
    top: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 1) 0%, transparent 100%);
}

.marquee-fade-right {
    bottom: 0;
    top: auto;
    background: linear-gradient(to top, rgba(10, 10, 15, 1) 0%, transparent 100%);
}

/* Cyber fade with glow effect */
.marquee-fade.cyber-fade {
    height: 100px;
}

.marquee-fade-left.cyber-fade {
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
}

.marquee-fade-left.cyber-fade::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--neon-cyan) 50%,
        transparent 100%
    );
    opacity: 0.5;
}

.marquee-fade-right.cyber-fade {
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
}

.marquee-fade-right.cyber-fade::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--neon-cyan) 50%,
        transparent 100%
    );
    opacity: 0.5;
}

/* Responsive Marquee */
@media (max-width: 768px) {
    /* Impact section header - centered in middle of screen */
    .impact-section .cyber-section-header {
        position: fixed;
        top: 40%;
        left: 0;
        right: 0;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-out, top 0.15s ease-out;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
    }

    .impact-section .cyber-section-header.visible {
        opacity: 1;
    }

    /* Impact stats - fixed, below headline */
    .impact-stats-container {
        position: fixed;
        top: 28%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        z-index: 99;
        pointer-events: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        opacity: 1 !important; /* Override base opacity:0 - cards control their own visibility */
    }

    .impact-stat-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
        pointer-events: auto;
    }

    /* Industries section header - fixed position, fade in/out */
    .industries .cyber-section-header-industries,
    .industries .cyber-section-header-industries.scroll-reveal,
    .industries .cyber-section-header-industries.scroll-reveal.revealed {
        position: fixed;
        top: 15%;
        left: 0;
        right: 0;
        z-index: 100;
        opacity: 0 !important; /* Override scroll-reveal */
        pointer-events: none;
        transition: opacity 0.4s ease-out;
        visibility: hidden !important;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .industries .cyber-section-header-industries h2,
    .industries .cyber-section-header-industries .cyber-subtitle {
        text-align: center;
        width: 100%;
    }

    /* Only MobileStickyHeaders .visible class controls visibility */
    .industries .cyber-section-header-industries.visible,
    .industries .cyber-section-header-industries.scroll-reveal.visible,
    .industries .cyber-section-header-industries.scroll-reveal.revealed.visible {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Hide the "We Speak GIS" header on mobile */
    .industries .cyber-section-header-wespeak {
        display: none;
    }

    .industries {
        padding: 40px 0;
        min-height: 300vh; /* Enough scroll space for zoom animation */
    }

    .industries > .container {
        position: sticky;
        top: 20px;
        transform: none;
        padding-top: 0;
        z-index: 10;
    }

    .industries-marquee {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 40px;
        padding: 20px 0;
    }

    .marquee-track {
        flex-direction: row;
        gap: 16px;
        animation: marquee-horizontal 25s linear infinite;
        animation-name: marquee-horizontal;
    }

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

    .industry-card {
        width: 220px;
        height: 160px;
    }

    .marquee-fade {
        top: 0;
        bottom: 0;
        left: auto;
        right: auto;
        height: auto;
        width: 80px;
    }

    .marquee-fade-left {
        left: 0;
        top: 0;
        background: linear-gradient(to right, rgba(10, 10, 15, 1) 0%, transparent 100%);
    }

    .marquee-fade-right {
        right: 0;
        bottom: 0;
        top: 0;
        background: linear-gradient(to left, rgba(10, 10, 15, 1) 0%, transparent 100%);
    }

    .marquee-fade.cyber-fade {
        height: auto;
        width: 100px;
    }

    .industry-card-title {
        font-size: 1rem;
    }

    .cyber-section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .cyber-subtitle {
        font-size: 0.8rem;
    }

    /* Hide cyber decorations on mobile */
    .industries-cyber .cyber-hex,
    .industries-cyber .cyber-circuit,
    .industries-cyber .cyber-node {
        display: none;
    }

    .cyber-scanline {
        display: none;
    }

    /* Mobile styles for stuck-grid (industries keywords) - fly toward screen effect */
    .stuck-grid {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        align-items: center;
        gap: 0.6rem 0.5rem;
        padding: 1rem;
        perspective: 1000px;
        perspective-origin: 50% 50%;
        transform-style: preserve-3d;
        z-index: 50;
        pointer-events: none;
    }

    .stuck-grid > .grid-item {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        font-weight: 700;
        grid-area: auto;
        /* Start very far behind - dramatic fly toward screen */
        opacity: 0;
        transform: translateZ(-2000px) scale(0.1);
        filter: blur(15px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s ease-out;
        transform-style: preserve-3d;
        animation: none;
        text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
    }

    /* Strategic section - mobile layout fix */
    .strategic.globe-scene-trigger {
        padding: 60px 0;
    }

    .strategic.globe-scene-trigger .strategic-grid {
        display: block;
        padding: 0;
    }

    .strategic.globe-scene-trigger .strategic-content,
    .strategic.globe-scene-trigger .strategic-content.scroll-reveal,
    .strategic.globe-scene-trigger .strategic-content.scroll-reveal.revealed {
        position: fixed;
        top: calc(50% - 10px);
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        background: rgba(10, 10, 15, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 25px;
        border-radius: 16px;
        border: 1px solid rgba(0, 245, 255, 0.15);
        z-index: 100;
        opacity: 0 !important;
        pointer-events: none;
        transition: opacity 0.3s ease-out;
        visibility: hidden;
    }

    .strategic.globe-scene-trigger .strategic-content.visible,
    .strategic.globe-scene-trigger .strategic-content.scroll-reveal.visible,
    .strategic.globe-scene-trigger .strategic-content.scroll-reveal.revealed.visible {
        opacity: 1 !important;
        pointer-events: auto;
        visibility: visible !important;
    }

    .strategic.globe-scene-trigger .strategic-content h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .strategic.globe-scene-trigger .strategic-content > p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .strategic.globe-scene-trigger .strategic-features {
        gap: 10px;
    }

    .strategic.globe-scene-trigger .sf-item {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .strategic.globe-scene-trigger .sf-item svg {
        width: 20px;
        height: 20px;
    }

    .strategic.globe-scene-trigger .strategic-visual {
        display: none;
    }

    /* CTA/Get In Touch section - match strategic container styling */
    .cta-final.globe-scene-trigger {
        padding: 60px 0;
    }

    .cta-final.globe-scene-trigger .cta-wrapper {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 92%;
        max-width: 380px;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 16px;
        border: 1px solid rgba(0, 245, 255, 0.15);
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-out;
        display: block;
        margin: 0;
    }

    .cta-final.globe-scene-trigger .cta-wrapper,
    .cta-final.globe-scene-trigger .cta-wrapper.scroll-reveal,
    .cta-final.globe-scene-trigger .cta-wrapper.scroll-reveal.revealed {
        opacity: 0 !important;
        pointer-events: none;
        visibility: hidden;
    }

    .cta-final.globe-scene-trigger .cta-wrapper.visible,
    .cta-final.globe-scene-trigger .cta-wrapper.scroll-reveal.visible,
    .cta-final.globe-scene-trigger .cta-wrapper.scroll-reveal.revealed.visible {
        opacity: 1 !important;
        pointer-events: auto;
        visibility: visible !important;
    }

    .cta-final.globe-scene-trigger .cta-content {
        text-align: center;
        margin-bottom: 15px;
    }

    .cta-final.globe-scene-trigger .cta-content h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .cta-final.globe-scene-trigger .cta-content p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0;
    }

    /* Form styling for mobile */
    .cta-final.globe-scene-trigger .contact-form {
        gap: 10px;
    }

    .cta-final.globe-scene-trigger .contact-form .form-group {
        margin-bottom: 8px;
    }

    .cta-final.globe-scene-trigger .contact-form label {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .cta-final.globe-scene-trigger .contact-form input,
    .cta-final.globe-scene-trigger .contact-form select,
    .cta-final.globe-scene-trigger .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .cta-final.globe-scene-trigger .contact-form textarea {
        min-height: 60px;
        resize: none;
    }

    .cta-final.globe-scene-trigger .contact-form .phone-input-group {
        display: flex;
        align-items: stretch;
    }

    .cta-final.globe-scene-trigger .contact-form .phone-prefix {
        height: 40px;
        padding: 0 12px;
        font-size: 0.8rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }

    .cta-final.globe-scene-trigger .contact-form .phone-input-group input {
        height: 40px;
        padding: 10px 12px;
        font-size: 0.8rem;
        box-sizing: border-box;
        flex: 1;
    }

    .cta-final.globe-scene-trigger .contact-form input,
    .cta-final.globe-scene-trigger .contact-form select {
        height: 40px;
        box-sizing: border-box;
    }

    .cta-final.globe-scene-trigger .contact-form .radio-group {
        gap: 15px;
        margin-top: 5px;
        justify-content: center;
    }

    .cta-final.globe-scene-trigger .contact-form .radio-group label {
        font-size: 0.8rem;
    }

    .cta-final.globe-scene-trigger .contact-form .submit-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        margin-top: 10px;
        width: 100%;
        display: block;
    }

    .cta-final.globe-scene-trigger .contact-form .form-group {
        text-align: left;
    }

    .cta-final.globe-scene-trigger .contact-form .form-group label {
        text-align: left;
    }

    /* Hide copyright until CTA is visible */
    .home-copyright {
        position: fixed;
        bottom: 20px;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 98;
        opacity: 0;
        transition: opacity 0.3s ease-out;
        margin: 0;
        padding: 0;
        border: none;
    }

    .home-copyright.visible {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .industry-card {
        width: 180px;
        height: 130px;
    }

    .industry-card.cyber-card {
        clip-path: polygon(
            0 0,
            calc(100% - 12px) 0,
            100% 12px,
            100% 100%,
            12px 100%,
            0 calc(100% - 12px)
        );
    }

    .marquee-track {
        gap: 12px;
    }

    .marquee-fade {
        width: 50px;
    }

    .marquee-fade.cyber-fade {
        width: 60px;
    }

    .industry-card-overlay {
        padding: 15px;
    }

    .industry-card-title {
        font-size: 0.85rem;
    }

    .cyber-card-corners::before,
    .cyber-card-corners::after {
        width: 10px;
        height: 10px;
    }

    .cyber-section-header h2::before,
    .cyber-section-header h2::after {
        display: none;
    }
}

/* Final CTA Section */
/* Hide footer on home page */
body.home-page footer {
    display: none;
}

.cta-final {
    background: var(--bg-darker);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.cta-final::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-left: 40%;
    max-width: 60%;
}

.cta-final .cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-final .cta-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.cta-contact-item:hover {
    border-color: var(--neon-cyan);
    background: var(--bg-card-hover);
}

.cta-contact-item svg {
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.cta-contact-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Home Footer (CTA as Footer) */
.home-footer.cta-final {
    background: transparent;
    padding-bottom: 40px;
}

.home-footer.cta-final::before,
.home-footer.cta-final::after {
    display: none;
}

.home-footer .cta-wrapper {
    display: block;
    margin-left: 55%;
    max-width: 45%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

/* Contact Form Home */
.contact-form-home {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-home .form-header {
    margin-bottom: 5px;
}

.contact-form-home .form-header h3 {
    font-size: 1.5rem;
}

.contact-form-home .form-group {
    width: 100%;
    gap: 8px;
}

.contact-form-home .form-group label {
    font-size: 0.9rem;
}

.contact-form-home input,
.contact-form-home textarea,
.contact-form-home select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form-home select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' 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-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form-home input:focus,
.contact-form-home textarea:focus,
.contact-form-home select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.contact-form-home input::placeholder,
.contact-form-home textarea::placeholder {
    color: var(--text-muted);
}

.contact-form-home textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-home .phone-prefix {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.contact-form-home .radio-group {
    gap: 20px;
}

.contact-form-home .radio-custom {
    width: 18px;
    height: 18px;
}

.contact-form-home .radio-custom::after {
    width: 8px;
    height: 8px;
}

.contact-form-home .btn {
    margin-top: 10px;
    width: fit-content;
}

/* Home Copyright */
.home-copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.home-copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* About Intro Section */
.about-intro-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content {
    text-align: left;
}

.about-intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.about-intro-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--ocean-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.about-intro-content .lead-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.about-intro-content .lead-text .highlight {
    color: var(--neon-cyan);
    font-weight: 600;
}

.about-intro-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Vision & Mission Section */
.vision-mission {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vm-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ocean-gradient);
}

.vm-card.vision::before {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
}

.vm-card.mission::before {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
}

.vm-icon {
    color: var(--neon-cyan);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.5));
}

.vm-card.mission .vm-icon {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
}

.vm-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.vm-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.vm-card p strong {
    color: var(--neon-cyan);
}

.vm-card.mission p strong {
    color: var(--neon-purple);
}

.mission-sub {
    margin-top: 15px;
    font-size: 1rem !important;
    opacity: 0.8;
}

/* Our Values Section */
.our-values {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.our-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.values-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card-new {
    background: var(--bg-card);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card-new:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1);
}

.value-card-new.featured {
    grid-column: span 3;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 245, 255, 0.1) 100%);
    border-color: var(--neon-cyan);
}

.value-icon-new {
    width: 60px;
    height: 60px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-cyan);
    margin-bottom: 20px;
}

.value-card-new.featured .value-icon-new {
    margin: 0 auto 20px;
}

.value-card-new h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card-new p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

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

.team-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean-gradient);
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.15);
}

.team-member:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--text-muted);
    transition: var(--transition);
    overflow: hidden;
}

.member-avatar.has-image {
    padding: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-avatar {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.team-member:hover .member-avatar img {
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.member-role {
    color: var(--neon-cyan);
    font-size: 0.95rem;
    font-weight: 500;
}

.member-hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.team-member:hover .member-hover {
    opacity: 1;
    transform: translateY(0);
    color: var(--neon-cyan);
}

/* Team Modal */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
}

.team-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-body {
    text-align: center;
}

.modal-avatar {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    border: 3px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
    overflow: hidden;
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-role {
    display: block;
    color: var(--neon-cyan);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.modal-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-social {
    display: flex;
    justify-content: center;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #0077b5;
    color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.linkedin-btn:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}

/* CTA About Section */
.cta-about {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

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

.cta-about-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-about-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-globe {
        width: 300px;
        height: 300px;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .strategic-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .strategic-visual {
        order: -1;
    }

    .connection-diagram {
        width: 350px;
        height: 350px;
    }

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

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        margin-left: 0;
        max-width: 100%;
    }

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

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

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

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

    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item.reverse {
        direction: ltr;
    }

    .service-icon {
        margin: 0;
    }

    /* Services Grid Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.featured {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* About Page */
    .vm-grid {
        grid-template-columns: 1fr;
    }

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

    .value-card-new.featured {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        justify-content: space-between;
        padding: 15px 20px;
    }

    .logo {
        position: static;
        transform: none;
    }

    .logo-img {
        height: 150px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        border-left: 1px solid var(--border-color);
        display: flex;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

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

    body.nav-open {
        overflow: hidden;
    }

    .nav-menu > li.has-dropdown {
        flex-direction: column;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 5px 0 5px 15px;
        min-width: auto;
        box-shadow: none;
    }

    .dropdown-menu a {
        padding: 8px 15px;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        white-space: normal;
    }

    .hero h1 .hero-line-1 {
        white-space: normal;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-globe {
        width: 250px;
        height: 250px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .specializations,
    .strategic,
    .industries,
    .cta-final {
        padding: 80px 0;
    }

    .strategic-content h2 {
        font-size: 1.75rem;
    }

    .strategic-features {
        grid-template-columns: 1fr;
    }

    .connection-diagram {
        width: 280px;
        height: 280px;
    }

    .node {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .node.central {
        padding: 14px 18px;
        font-size: 0.85rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .cta-final .cta-content h2 {
        font-size: 2rem;
    }

    /* Home footer responsive */
    .home-footer .cta-wrapper {
        margin-left: 0;
        max-width: 100%;
        padding: 30px 20px;
    }

    .page-hero {
        padding: 140px 0 80px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 150px;
    }

    .service-card.featured {
        grid-column: span 1;
    }

    .service-card.featured.has-image {
        grid-template-columns: 1fr;
    }

    .service-card.featured.has-image .service-card-image {
        height: 180px;
    }

    .services-intro-content .lead-text {
        font-size: 1.2rem;
    }

    /* Expertise Grid Mobile */
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-intro-content .lead-text {
        font-size: 1.2rem;
    }

    /* Capabilities Section Mobile */
    .capability-block {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }

    .capability-block.has-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .capability-block.reverse,
    .capability-block.has-image.reverse {
        grid-template-columns: 1fr;
    }

    .capability-block.reverse .capability-image {
        order: 0;
    }

    .capability-block.reverse .capability-number {
        order: 0;
    }

    .capability-block.reverse .capability-content {
        order: 0;
        text-align: left;
    }

    .capability-block.reverse .capability-header {
        justify-content: flex-start;
    }

    .capability-block.reverse .capability-services li {
        padding-left: 30px;
        padding-right: 0;
        text-align: left;
    }

    .capability-block.reverse .capability-services li::before {
        left: 0;
        right: auto;
    }

    .capability-block.reverse .capability-image .capability-number {
        left: 20px;
        right: auto;
    }

    .capability-image img {
        height: 250px;
    }

    .capability-image .capability-number span {
        font-size: 3rem;
    }

    .capability-number span {
        font-size: 3rem;
    }

    .capability-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .capability-content h2 {
        font-size: 1.4rem;
    }

    .capability-description {
        font-size: 1rem;
    }

    .cta-services h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-item {
        gap: 15px;
    }

    .map-container iframe {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* About Page Mobile */
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-intro-content {
        text-align: center;
        order: 2;
    }

    .about-intro-image {
        order: 1;
    }

    .about-intro-content h2 {
        font-size: 2rem;
    }

    .about-intro-content .lead-text {
        font-size: 1.2rem;
    }

    .vm-card {
        padding: 35px 25px;
    }

    .vm-card h2 {
        font-size: 1.5rem;
    }

    .values-grid-new {
        grid-template-columns: 1fr;
    }

    .value-card-new.featured {
        grid-column: span 1;
    }

    .team-grid-new {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 35px 25px;
        margin: 20px;
    }

    .cta-about-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 24px;
    }

    .about-intro-content .lead-text {
        font-size: 1.1rem;
    }

    .vm-card h2 {
        font-size: 1.35rem;
    }
}
