/**
 * X4Cart India Private Limited - 2026 Enterprise Design System
 * Cutting-Edge 2026 UI/UX Library: Bento Grids, Spotlight Cards, 3D Perspective Tilt,
 * Ambient Mesh Lighting, Kinetic Typography, and Logo-Derived Crimson/Amber Brand Palette.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
    /* Logo-Derived Kinetic Palette */
    --brand-dark: #070B12;
    --brand-dark-card: #0D1322;
    --brand-dark-surface: #121A2D;
    --brand-dark-border: rgba(255, 255, 255, 0.08);

    --brand-red: #E31E24;
    --brand-red-hover: #C51319;
    --brand-red-glow: rgba(227, 30, 36, 0.4);
    --brand-red-subtle: rgba(227, 30, 36, 0.08);

    --brand-orange: #FF8A00;
    --brand-orange-glow: rgba(255, 138, 0, 0.35);

    --brand-yellow: #FFC72C;
    --brand-gold: #F59E0B;

    --brand-gradient: linear-gradient(135deg, #E31E24 0%, #FF8A00 50%, #FFC72C 100%);
    --brand-gradient-hover: linear-gradient(135deg, #FF2A3B 0%, #FF9900 100%);
    --brand-gradient-glow: radial-gradient(circle at 50% 50%, rgba(227, 30, 36, 0.25) 0%, rgba(255, 138, 0, 0.15) 45%, transparent 70%);

    /* Light Surface Palette */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-card: #FFFFFF;
    --color-border: #E2E8F0;
    --color-border-subtle: #F1F5F9;

    --color-text-main: #0F172A;
    --color-text-muted: #64748B;
    --color-text-light: #94A3B8;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Elevation & 2026 Lighting Shadows */
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 30px 60px -12px rgba(15, 23, 42, 0.18);
    --shadow-card-glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    --shadow-red-glow: 0 12px 35px -6px rgba(227, 30, 36, 0.45);
    --shadow-orange-glow: 0 12px 35px -6px rgba(255, 138, 0, 0.4);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* ----------------------------------------------------
   SCROLL PROGRESS BAR & TOP GLOW
---------------------------------------------------- */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--brand-gradient);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--brand-red);
}

/* ----------------------------------------------------
   TYPOGRAPHY & HIGH-IMPACT HEADINGS
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

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

a:hover {
    color: var(--brand-red-hover);
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFC72C 0%, #FF8A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1400px;
}

/* ----------------------------------------------------
   SITE HEADER & ULTRA-SLEEK GLASS NAVBAR
---------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

.top-bar {
    background: var(--brand-dark);
    color: #94A3B8;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(227, 30, 36, 0.15);
    border: 1px solid rgba(227, 30, 36, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    color: #FF8A00;
    font-size: 0.75rem;
    font-weight: 700;
}

.pulse-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 8px var(--brand-red);
    animation: pulseRing 1.8s infinite;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--brand-orange);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.25s ease;
}

.brand-logo-link:hover {
    transform: scale(1.02);
}

.site-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.nav-link {
    color: #1E293B;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-red);
    background: rgba(227, 30, 36, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 12px 8px;
    display: none;
    z-index: 100;
    animation: dropdownPop 0.25s var(--ease-out-expo);
}

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

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #1E293B;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-item span {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 400;
    margin-top: 2px;
}

.dropdown-item:hover, .dropdown-item.active {
    background: #FEF2F2;
    color: var(--brand-red);
    transform: translateX(4px);
}

.dropdown-item:hover span {
    color: #E31E24;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
}

/* ----------------------------------------------------
   2026 BUTTONS & MAGNETIC SHIMMER STYLING
---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.0625rem;
    border-radius: var(--radius-md);
}

/* High-Converting Signature Red Button */
.btn-primary {
    background: var(--brand-red);
    color: var(--color-white);
    box-shadow: var(--shadow-red-glow);
}

.btn-primary:hover {
    background: var(--brand-red-hover);
    color: var(--color-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px -4px rgba(227, 30, 36, 0.55);
}

/* Speed Amber/Gold Accent Button */
.btn-accent {
    background: var(--brand-gradient);
    color: #070B12;
    font-weight: 800;
    box-shadow: var(--shadow-orange-glow);
}

.btn-accent:hover {
    background: var(--brand-gradient-hover);
    color: #070B12;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px -4px rgba(255, 138, 0, 0.55);
}

/* Button Shimmer Effect */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: rotate(30deg);
    animation: shimmer 4s infinite linear;
    pointer-events: none;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background: #FEF2F2;
    border-color: var(--brand-red);
    color: var(--brand-red);
    transform: translateY(-2px);
}

/* ----------------------------------------------------
   2026 HERO SECTION (Mesh Glow & Kinetic Badges)
---------------------------------------------------- */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 85% 25%, rgba(227, 30, 36, 0.25) 0%, transparent 55%),
                radial-gradient(circle at 15% 75%, rgba(255, 138, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 199, 44, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, #070B12 0%, #0D1322 50%, #070B12 100%);
    color: var(--color-white);
    padding: 100px 0 130px;
    overflow: hidden;
    border-bottom: 1px solid var(--brand-dark-border);
}

/* Floating Ambient Orbs */
.hero-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    animation: orbFloat 14s infinite alternate ease-in-out;
}

.hero-orb-1 {
    top: -100px;
    right: -100px;
    background: var(--brand-red);
}

.hero-orb-2 {
    bottom: -150px;
    left: -100px;
    background: var(--brand-orange);
    animation-delay: -7s;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 26px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-red);
    animation: pulseRing 1.6s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 4.6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 26px;
    color: var(--color-white);
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.75;
    color: #CBD5E1;
    margin-bottom: 38px;
    max-width: 640px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 44px;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
}

.hero-trust-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1.1;
}

.hero-trust-label {
    font-size: 0.8125rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-weight: 600;
}

/* 2026 3D Spotlight Card */
.hero-visual-card {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 26, 45, 0.85) 0%, rgba(13, 19, 34, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card-glow);
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge-floating {
    position: absolute;
    top: -16px;
    right: 28px;
    background: var(--brand-gradient);
    color: #070B12;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-orange-glow);
}

.hero-stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.hero-stat-card {
    background: rgba(7, 11, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    text-align: center;
    transition: var(--transition);
}

.hero-stat-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-3px);
    background: rgba(227, 30, 36, 0.08);
}

.hero-stat-val {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 4px;
}

.hero-stat-txt {
    font-size: 0.75rem;
    color: #94A3B8;
    line-height: 1.35;
    font-weight: 500;
}

/* ----------------------------------------------------
   INFINITE MARQUEE TICKER (2026 Marketplaces)
---------------------------------------------------- */
.marquee-section {
    background: #0B101D;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.marquee-mask {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
    width: max-content;
    flex-shrink: 0;
    animation: marqueeScroll 26s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-badge {
    background: rgba(18, 26, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: var(--transition);
}

.marquee-badge:hover {
    border-color: var(--brand-red);
    box-shadow: 0 4px 18px var(--brand-red-glow);
    transform: translateY(-2px);
}

/* ----------------------------------------------------
   BENTO-GRID 2026 ARCHITECTURE & CARDS
---------------------------------------------------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--brand-dark);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--brand-red);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.bento-card-4 { grid-column: span 4; }
.bento-card-6 { grid-column: span 6; }
.bento-card-8 { grid-column: span 8; }
.bento-card-12 { grid-column: span 12; }

/* Services Grid (3 Cards In A Row) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* 2026 Spotlight Card with Cursor Tracker */
.spotlight-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -100px);
    left: var(--mouse-x, -100px);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.spotlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.35);
}

.spotlight-icon-box {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-md);
    background: #FEF2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.spotlight-card:hover .spotlight-icon-box {
    background: var(--brand-red);
    color: var(--color-white);
    transform: scale(1.08) rotate(4deg);
    box-shadow: var(--shadow-red-glow);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.service-features li {
    font-size: 0.875rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-features li svg {
    color: var(--brand-red);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--brand-red);
}

.service-link:hover {
    color: var(--brand-orange);
    gap: 12px;
}

/* ----------------------------------------------------
   TIMELINE / ECOMMERCE GROWTH JOURNEY (Kinetic Glow)
---------------------------------------------------- */
.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-orange) 50%, var(--brand-yellow) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 14px var(--brand-red-glow);
}

.timeline-item {
    position: relative;
    margin-bottom: 54px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-white);
    border: 4px solid var(--brand-red);
    box-shadow: 0 0 0 5px rgba(227, 30, 36, 0.25);
    z-index: 5;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--brand-red);
    box-shadow: 0 0 0 8px rgba(227, 30, 36, 0.35);
    transform: scale(1.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-red);
    transform: translateY(-4px);
}

.timeline-step {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.timeline-card h4 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.timeline-card p {
    font-size: 0.9375rem;
    margin: 0;
}

/* ----------------------------------------------------
   CASE STUDIES SHOWCASE (Dark High-Tech Card)
---------------------------------------------------- */
.case-study-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 40px;
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.4);
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
}

.case-study-media {
    background: linear-gradient(135deg, #070B12 0%, #121A2D 100%);
    color: var(--color-white);
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.case-study-media::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-red-glow) 0%, transparent 70%);
    pointer-events: none;
}

.case-study-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-orange);
}

.case-study-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 32px;
}

.case-metric-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 16px;
    backdrop-filter: blur(8px);
}

.case-metric-value {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-white);
}

.case-metric-label {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 600;
}

.case-study-body {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-tag {
    display: inline-block;
    background: #FEF2F2;
    color: var(--brand-red);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 14px;
    align-self: flex-start;
}

.case-study-body h3 {
    font-size: 1.65rem;
    margin-bottom: 16px;
}

/* ----------------------------------------------------
   FOUNDER AUTHORITY SECTION (2026 E-E-A-T Showcase)
---------------------------------------------------- */
.founder-card {
    background: linear-gradient(135deg, #070B12 0%, #0F172A 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 56px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.founder-card::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-red-glow) 0%, transparent 70%);
    pointer-events: none;
}

.founder-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.founder-photo-box {
    text-align: center;
}

.founder-avatar-wrap {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--brand-gradient);
    padding: 6px;
    box-shadow: 0 10px 40px var(--brand-red-glow);
    transition: transform 0.4s var(--ease-out-expo);
}

.founder-avatar-wrap:hover {
    transform: scale(1.05) rotate(2deg);
}

.founder-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
}

.founder-name {
    font-size: 1.65rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.founder-designation {
    color: var(--brand-orange);
    font-size: 0.9375rem;
    font-weight: 700;
}

.founder-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #E2E8F0;
    line-height: 1.7;
    margin-bottom: 28px;
    border-left: 4px solid var(--brand-red);
    padding-left: 24px;
}

.founder-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.founder-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: #CBD5E1;
}

.founder-bullet-item svg {
    color: var(--brand-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ----------------------------------------------------
   BLOG LIST & SINGLE POST
---------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.4);
}

.blog-card-header {
    background: linear-gradient(135deg, #070B12 0%, #121A2D 100%);
    padding: 26px;
    color: var(--color-white);
    position: relative;
}

.blog-card-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--brand-orange);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--color-text-main);
}

.blog-card-title a:hover {
    color: var(--brand-red);
}

.blog-card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* Single Blog Article Layout */
.article-header {
    background: linear-gradient(135deg, #070B12 0%, #121A2D 100%);
    color: var(--color-white);
    padding: 70px 0 90px;
    text-align: center;
}

.article-header h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    margin-bottom: 24px;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.875rem;
    color: #94A3B8;
}

.article-content {
    background: var(--color-white);
    padding: 56px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: -44px;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #1E293B;
    border: 1px solid var(--color-border);
}

.article-content h2 {
    font-size: 1.85rem;
    margin: 44px 0 18px;
    color: var(--color-text-main);
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 32px 0 14px;
    color: var(--color-text-main);
}

.article-content ul, .article-content ol {
    margin: 0 0 26px 32px;
}

.article-content li {
    margin-bottom: 10px;
}

.author-box {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 34px;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 54px;
}

/* ----------------------------------------------------
   LEAD CONSULTATION FORM & 2026 MODAL
---------------------------------------------------- */
.lead-form-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    color: var(--color-text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.12);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* 2026 Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 18, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.modal-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    animation: modalSpring 0.35s var(--ease-out-expo);
}

.modal-header {
    background: var(--brand-dark);
    color: var(--color-white);
    padding: 24px 32px;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin: 0;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--brand-red);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

/* ----------------------------------------------------
   FAQ ACCORDION
---------------------------------------------------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--brand-red);
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--brand-red);
}

.faq-chevron {
    font-size: 1.25rem;
    transition: transform 0.3s var(--ease-out-expo);
    color: var(--brand-red);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 28px 24px;
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ----------------------------------------------------
   ALERTS & FLASH MESSAGES
---------------------------------------------------- */
.alert-box {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ----------------------------------------------------
   FOOTER (High-Tech Contrast)
---------------------------------------------------- */
.site-footer {
    background: var(--brand-dark);
    color: #94A3B8;
    padding: 85px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    transition: var(--transition);
}

.footer-logo-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.25);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 52px;
    margin-bottom: 64px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-orange);
    padding-left: 6px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--brand-red);
    color: var(--color-white);
    border-color: var(--brand-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--brand-red-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
}

/* Floating WhatsApp Action */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-whatsapp {
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* ----------------------------------------------------
   2026 KEYFRAME ANIMATIONS
---------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSpring {
    0% { opacity: 0; transform: scale(0.92) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes dropdownPop {
    0% { opacity: 0; transform: translateY(12px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulseRing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(227, 30, 36, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.08); }
    100% { transform: translate(30px, -20px) scale(0.95); }
}

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

@keyframes shimmer {
    0% { transform: translateX(-150%) rotate(30deg); }
    100% { transform: translateX(150%) rotate(30deg); }
}

/* Scroll Reveal Utility Classes */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (320px to 1440px)
---------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-quote {
        text-align: left;
    }
    .founder-bullets {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .case-study-grid {
        grid-template-columns: 1fr;
    }
    .bento-card-4, .bento-card-6, .bento-card-8 {
        grid-column: span 12;
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .top-bar {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 82%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
        gap: 16px;
        box-shadow: var(--shadow-xl);
        transition: left 0.35s var(--ease-out-expo);
        overflow-y: auto;
        border-right: 1px solid var(--color-border);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #F8FAFC;
        margin-top: 8px;
        border-radius: var(--radius-sm);
    }
    .hero-section {
        padding: 60px 0 80px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .timeline-wrapper::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 56px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .timeline-item .timeline-dot {
        left: 9px !important;
        right: auto !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .hero-stats-box {
        grid-template-columns: 1fr;
    }
    .article-content {
        padding: 24px 16px;
    }
}
