/* ============================================
   DIGITWACE HOLDING - Main Stylesheet
   Light Theme (Thunes Structure)
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Primary Colors - DIGITWACE Logo Palette */
    --color-primary-dark: #ffffff;
    /* Main Background -> White */
    --color-primary-darker: #f9fafb;
    /* Secondary Background -> Off-white */

    /* Logo Colors */
    --color-logo-blue: #1C58D5;
    /* Royal Blue from Logo */
    --color-logo-orange: #FF9D00;
    /* Orange from Logo */
    --color-logo-dark: #0f172a;
    /* Dark Navy for Text */

    /* Mapped Accents */
    --color-accent-green: var(--color-logo-orange);
    /* STARTUP ORANGE */
    --color-accent-blue: var(--color-logo-blue);
    --color-accent-cyan: var(--color-logo-blue);
    --color-accent-orange: var(--color-logo-orange);

    /* Text Colors */
    --color-white: #ffffff;
    --color-text-primary: #0f172a;
    /* Dark Navy/Black */
    --color-text-secondary: #475569;
    /* Slate Gray */
    --color-text-muted: #94a3b8;
    /* Light Gray */
    --color-cream: #f4f1ee;

    /* Backgrounds & Cards */
    --color-card-dark: #ffffff;
    --color-card-light: #f3f4f6;
    --color-border: #e2e8f0;
    --color-border-glow: rgba(28, 88, 213, 0.2);
    /* Blue glow */

    /* Typography */
    --font-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    /* Global Responsive Fixes */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    --text-hero: clamp(2.5rem, 5vw, 4.5rem);
    --text-stat: clamp(2rem, 4vw, 3.5rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 2rem;
}

/* ============================================
   2. CSS RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-primary-dark);
    overflow-x: hidden;
}

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

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

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

ul,
ol {
    list-style: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.heading-hero {
    font-size: var(--text-hero);
    line-height: 1.1;
}

.heading-hero .serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.heading-hero .sans {
    font-family: var(--font-sans);
    font-weight: 700;
}

.heading-section {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-style: italic;
    text-align: center;
}

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

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

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

/* ============================================
   4. LAYOUT & CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-20) 0;
    position: relative;
}

/* ============================================
   5. HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-2) 0;
    transition: all var(--transition-base);
    /* Light theme: start transparent or white, stick to white with shadow */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
}

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

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-green);
    border-radius: 50%;
    margin-left: 2px;
    display: inline-block;
}

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

.nav-link {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-accent-green);
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.dropdown-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--color-primary-darker);
    color: var(--color-accent-green);
    padding-left: var(--space-6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-base);
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--color-logo-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: #1649b5;
    /* Darker Blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 88, 213, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-primary);
}

.btn-outline:hover {
    background-color: var(--color-text-primary);
    color: var(--color-white);
}

.btn-dark {
    background-color: var(--color-text-primary);
    color: var(--color-white);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 0 var(--space-16);
    overflow: hidden;
    /* Light Gradient with Logo Hint */
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    /* Very light blue tint */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
}

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

/* Globe - Adjusted for Light Theme */
.globe-container {
    width: 600px;
    height: 600px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.globe-image {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.globe-container canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 208, 132, 0.05) 0%, transparent 60%);
    border: 1px solid rgba(0, 208, 132, 0.15);
    overflow: hidden;
}

.globe::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0, 208, 132, 0.08) 40px, rgba(0, 208, 132, 0.08) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0, 208, 132, 0.08) 40px, rgba(0, 208, 132, 0.08) 41px);
    border-radius: 50%;
    animation: globeRotate 60s linear infinite;
}

.globe-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.globe-flow::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(28, 88, 213, 0.2) 30deg, transparent 60deg, transparent 120deg, rgba(255, 157, 0, 0.1) 150deg, transparent 180deg, transparent 240deg, rgba(28, 88, 213, 0.15) 270deg, transparent 300deg);
    animation: globeSpin 8s linear infinite;
}

.globe-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-logo-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

.globe-dot:nth-child(1) {
    top: 25%;
    left: 35%;
    animation-delay: 0s;
}

.globe-dot:nth-child(2) {
    top: 45%;
    left: 65%;
    animation-delay: 0.4s;
}

.globe-dot:nth-child(3) {
    top: 65%;
    left: 30%;
    animation-delay: 0.8s;
}

.globe-dot:nth-child(4) {
    top: 35%;
    left: 55%;
    animation-delay: 1.2s;
}

.globe-dot:nth-child(5) {
    top: 55%;
    left: 45%;
    animation-delay: 1.6s;
}

/* ============================================
   8. STATISTICS BAR
   ============================================ */
.stats-bar {
    padding: var(--space-8) 0;
    background-color: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

.stat-item {
    padding: var(--space-4);
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-stat);
    font-weight: 400;
    color: var(--color-accent-green);
    margin-bottom: var(--space-2);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.4;
    font-weight: 600;
}

/* ============================================
   9. WHO WE SERVE
   ============================================ */
.value-section {
    padding: var(--space-20) 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.value-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.value-header h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text-heading);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.value-card {
    text-align: left;
    padding: var(--space-8);
    background: #fff;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    box-shadow: var(--shadow-card);
    z-index: 10;
}

.value-icon-small {
    width: 24px;
    height: 24px;
    margin-bottom: var(--space-4);
    color: var(--color-logo-orange);
    /* Green accent */
}

.value-icon-small svg {
    width: 100%;
    height: 100%;
}

.value-title-small {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--color-text-heading);
    font-family: var(--font-sans);
}

.value-desc-small {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.5;
    min-height: 3em;
}

.value-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-logo-orange);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.value-link:hover {
    text-decoration: underline;
}

/* ============================================
   Stats Bar Fix (Minimalist)
   ============================================ */
.stats-bar {
    padding: var(--space-12) 0;
    border: none;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--space-4) * -1);
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--color-border);
    opacity: 0.5;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-logo-orange);
    margin-bottom: var(--space-2);
    line-height: 1;
}

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

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .stat-item:not(:last-child)::after {
        display: none;
    }

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

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

.capability-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl) var(--radius-2xl) var(--radius-lg) var(--radius-lg);
    padding: var(--space-10);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.capability-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
    border-color: var(--color-accent-green);
}

.capability-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-icon.orange {
    background: #fff7ed;
    color: #ff9f43;
}

/* Light orange bg */
.capability-icon.blue {
    background: #eff6ff;
    color: #4da6ff;
}

/* Light blue bg */

.capability-title {
    font-family: var(--font-sans);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.capability-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

/* ============================================
   11. NETWORK SECTION
   ============================================ */
.network-section {
    padding: var(--space-24) 0;
    background: #fff;
}

.network-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
}

.network-text h2 {
    margin-bottom: var(--space-6);
}

.network-logo {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
}

.network-logo .dot {
    color: var(--color-accent-green);
}

.network-globe {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 208, 132, 0.05) 0%, transparent 60%);
    border: 1px solid rgba(0, 208, 132, 0.1);
    overflow: hidden;
}

.network-globe::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(0, 0, 0, 0.03) 30px, rgba(0, 0, 0, 0.03) 31px),
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(0, 0, 0, 0.03) 30px, rgba(0, 0, 0, 0.03) 31px);
    border-radius: 50%;
}

/* ============================================
   12. WHO WE SERVE
   ============================================ */
.who-we-serve {
    padding: var(--space-24) 0;
    background-color: #f8fafc;
    position: relative;
}

.who-we-serve-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.who-we-serve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.serve-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.serve-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent-green);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.serve-card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-4);
    color: var(--color-accent-green);
}

.serve-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.serve-card-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.serve-card-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* ============================================
   13. PARTNERS
   ============================================ */
.partners-section {
    padding: var(--space-24) 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.partners-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.partners-header p {
    font-size: var(--text-sm);
    color: var(--color-accent-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-6);
    padding: var(--space-8) 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0.4;
    transition: opacity var(--transition-base);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--color-accent-green);
}

/* ============================================
   14. TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: var(--space-24) 0;
    background: #f9fafb;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-8);
    text-align: center;
    color: var(--color-text-primary);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-xl);
    color: var(--color-accent-green);
}

.testimonial-name {
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* ============================================
   15. CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-24) 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.cta-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: #f3f4f6;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.cta-text p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
    background-color: #f9fafb;
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--color-text-secondary);
}

.footer-social a:hover {
    background-color: var(--color-accent-green);
    color: #fff;
    border-color: var(--color-accent-green);
}

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

.footer-column a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.footer-column a:hover {
    color: var(--color-accent-green);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.footer-copyright,
.footer-legal a {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-heading);
}

.faq-answer {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   INTEGRATION ECOSYSTEM
   ============================================ */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.integration-item {
    background: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.integration-item:hover {
    border-color: var(--color-logo-blue);
    color: var(--color-logo-blue);
    box-shadow: 0 4px 12px rgba(28, 88, 213, 0.1);
}

/* ============================================
   17. ANIMATIONS
   ============================================ */
@keyframes globeRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes globeSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   18. RESPONSIVE
   ============================================ */
/* ============================================
   18. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-6);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-8);
    }

    .hero-text {
        order: 2;
        margin: 0 auto;
    }

    .hero-visual {
        order: 1;
        margin-bottom: var(--space-8);
    }

    .globe-container {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 400px;
    }

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

    .stats-grid,
    .value-grid,
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }

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

    .network-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .network-visual {
        order: -1;
        margin-bottom: var(--space-8);
    }

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

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

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

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

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

    .nav-item {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: var(--space-4);
        display: block;
        /* Always show in mobile menu */
        margin-top: var(--space-2);
        background: #f9fafb;
    }

    .dropdown-link {
        display: block;
        padding: var(--space-3) var(--space-2);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }
}

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

    .section {
        padding: var(--space-12) 0;
    }

    .nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: #ffffff !important;
        /* Explicit white */
        flex-direction: column;
        justify-content: flex-start;
        gap: var(--space-6);
        transform: translateX(100%) !important;
        visibility: hidden !important;
        transition: transform var(--transition-base), visibility var(--transition-base);
        z-index: 2000 !important;
        /* High z-index to cover everything */
        padding: var(--space-8) var(--space-8) var(--space-20) var(--space-8);
        overflow-y: auto;
        padding-top: 100px;
        display: flex !important;
    }

    .nav.active {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 2001;
        /* Above the nav */
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-image {
        order: 1;
        margin: 0 auto;
        max-width: 300px;
    }

    .cta-text {
        order: 2;
    }

    .logo-img {
        height: 35px;
    }

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

@media (max-width: 480px) {
    :root {
        --text-hero: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.5rem;
    }

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

    .hero {
        padding-top: 100px;
    }

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

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

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

    /* Ensure cards don't overflow */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .integration-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: var(--space-4);
    }

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

    .btn {
        width: 100%;
    }
}

/* ============================================
   SOLUTION PAGES (Virtual Cards etc)
   ============================================ */
.solution-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text-heading);
}

.solution-hero-card {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: linear-gradient(135deg, var(--color-logo-blue), #4facfe);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(28, 88, 213, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive adjustments for Solution Pages */
@media (max-width: 768px) {
    .solution-title {
        font-size: 2.5rem;
    }

    .col-text {
        padding-right: 0 !important;
        text-align: center;
        margin-bottom: 40px;
    }

    .col-img {
        justify-content: center !important;
    }

    .solution-hero-card {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .solution-title {
        font-size: 2rem;
    }

    .solution-hero-card {
        height: 220px;
        padding: 20px;
    }
}

/* Ensure Nav Toggle is Always Visible on Mobile */
.nav-toggle {
    z-index: 2002 !important;
}

.nav-toggle span {
    background-color: var(--color-text-primary);
}

/* ============================================
   VERTICAL SCROLLING TESTIMONIALS
   ============================================ */
.testimonial-marquee-section {
    background-color: #fff;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.testimonial-header-box {
    border: 1px solid var(--color-border);
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--color-text-primary);
}

.testimonial-marquee-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-height: 740px;
    overflow: hidden;
    /* Mask for fading effect at top/bottom */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.testimonial-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

/* Mobile: Show 1 column */
.testimonial-col.col-2,
.testimonial-col.col-3 {
    display: none;
}

@media (min-width: 768px) {
    .testimonial-col.col-2 {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .testimonial-col.col-3 {
        display: flex;
    }
}

.testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: scroll-vertical linear infinite;
}

/* Add pause on hover */
.testimonial-marquee-wrapper:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-primary);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.testimonial-avatar {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 500;
    line-height: 1.25rem;
    margin-bottom: 2px;
}

.testimonial-role {
    line-height: 1.25rem;
    opacity: 0.6;
    font-size: 0.875rem;
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}


/* ============================================
   PARTNERS LOGO MARQUEE
   ============================================ */
.logo-marquee-section {
    padding: 3rem 0;
    overflow: hidden;
}

.logo-marquee-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll-horizontal 40s linear infinite;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.logo-img-placeholder {
    height: 2rem;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-img-placeholder:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

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

    100% {
        transform: translateX(-50%);
    }
}


/* ============================================
   FEATURE SECTION (Qui servons-nous)
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 10;
    max-width: 1280px;
    /* max-w-7xl */
    margin: 0 auto;
    padding: 2.5rem 0;
    /* py-10 */
}

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

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

.feature-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    /* py-10 px-10 depending on design */
    position: relative;
    /* group logic handled via class structure */
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* Borders Logic mimicking the React component */
/* On Large screens (4 cols):
   - First (1) and Fifth (5) item get left border if needed (but usually grid handles this).
   - We'll stick to a simpler border grid approach:
     All have right/bottom.
     Last in row: no right.
     Last row: no bottom.
*/

@media (min-width: 1024px) {
    .feature-card:nth-child(4n) {
        border-right: none;
    }

    .feature-card:nth-last-child(-n+4) {
        border-bottom: none;
    }

    /* Add left border to first and 5th (index 0, 4) in the React code logic */
    .feature-card:nth-child(1),
    .feature-card:nth-child(5) {
        border-left: 1px solid var(--color-border);
    }
}


/* Gradient Overlay on Hover */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(235, 88, 11, 0.05), transparent);
    /* faint orange tint */
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

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

.feature-card-content {
    position: relative;
    z-index: 10;
}

.feature-icon-wrapper {
    margin-bottom: 1rem;
    color: var(--color-primary);
    /* Blue Logo Color */
    transition: color 0.2s ease;
}

.feature-card:hover .feature-icon-wrapper {
    color: var(--color-logo-orange);
    /* Orange Logo Color */
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.feature-title-wrapper {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.feature-strip {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 1.5rem;
    /* h-6 */
    width: 0.25rem;
    /* w-1 */
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    background-color: var(--color-border);
    transform-origin: center;
    transition: all 0.2s ease;
    left: -1.5rem;
    /* px-10 offset adjustment */
}

/* Strip becomes Orange on Hover */
.feature-card:hover .feature-strip {
    height: 2rem;
    /* h-8 */
    background-color: var(--color-logo-orange);
}

.feature-title {
    transition: transform 0.2s ease;
    color: var(--color-text-primary);
}

.feature-card:hover .feature-title {
    transform: translateX(0.5rem);
    /* translate-x-2 */
    color: var(--color-primary);
    /* Title turns Blue */
}

.feature-description {
    font-size: 0.875rem;
    /* text-sm */
    color: var(--color-text-secondary);
    max-width: 20rem;
    /* max-w-xs */
    position: relative;
    z-index: 10;
    line-height: 1.5;
}