/* ==========================================================================
   PaariGen Software IT Solutions - Appexive-Inspired Corporate Theme
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --color-primary: #0066FF;
    --color-accent: #E8562A;
    --color-dark: #1B2A4A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-bg-white: #ffffff;
    --color-bg-light: #f5f7fa;
    --color-bg-dark: #1B2A4A;
    --color-border: #e8ecf1;
    --font-primary: 'Inter', sans-serif;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-card: 12px;
    --radius-btn: 6px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    animation: pageFadeIn 0.35s ease-in-out forwards;
}

/* ==========================================================================
   PAGE LOADER OVERLAY
   ========================================================================== */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b6e 60%, #1a3a8f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}
#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-spinner {
    position: relative;
    width: 72px;
    height: 72px;
}
.loader-spinner::before,
.loader-spinner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.loader-spinner::before {
    border: 3px solid rgba(255,255,255,0.08);
}
.loader-spinner::after {
    border: 3px solid transparent;
    border-top-color: #4d9aff;
    border-right-color: rgba(77,154,255,0.5);
    animation: loaderSpin 0.85s linear infinite;
}
.loader-logo-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.loader-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.04em;
}
.loader-brand span {
    color: #4d9aff;
}
.loader-dots {
    display: flex;
    gap: 6px;
    margin-top: -0.5rem;
}
.loader-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: loaderDotPulse 1.2s ease-in-out infinite;
    list-style: none;
}
.loader-dots i:nth-child(2) { animation-delay: 0.2s; }
.loader-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes loaderDotPulse {
    0%, 80%, 100% { background: rgba(255,255,255,0.25); transform: scale(0.8); }
    40%           { background: #4d9aff; transform: scale(1.2); }
}



@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.3;
    color: var(--color-dark);
}

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

/* ==========================================================================
   TOP CONTACT BAR
   ========================================================================== */
.top-bar {
    display: flex;
    width: 100%;
    background: var(--color-bg-dark);
    color: #cfd8e8;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

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

.top-bar-left span svg {
    width: 14px;
    height: 14px;
    fill: var(--color-accent);
    flex-shrink: 0;
}

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

.top-bar-right a {
    color: #cfd8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.top-bar-right a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.top-bar-right a svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
#navbar {
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 30, 80, 0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#navbar.scrolled {
    background: var(--color-bg-white);
    border-bottom: 1px solid rgba(200, 215, 240, 0.6);
    box-shadow: 0 4px 28px rgba(0, 30, 80, 0.12);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}


.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 65px;
}

#logo-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--color-accent) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-btn) !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: #d44a22 !important;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
}

/* ==========================================================================
   DROPDOWN NAV SUB-MENUS
   ========================================================================== */
.nav-item.has-dropdown {
    position: relative;
}
.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.chevron-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.nav-item.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;                          /* flush to parent — no gap */
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 30, 80, 0.13);
    min-width: 230px;
    padding: 18px 8px 8px;              /* top padding = invisible hover bridge */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 2000;
}
/* Small triangle pointer — sits inside the top padding area */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top: 0;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -2px 2px rgba(0,30,80,0.06));
}
.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text) !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    white-space: nowrap;
    width: 100%;
}
.dropdown-menu a::after {
    display: none !important;
}
.dropdown-menu a:hover {
    background: #f0f5ff;
    color: var(--color-primary) !important;
}
.dm-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}
.dropdown-divider {
    height: 1px;
    background: var(--color-border);
    margin: 6px 4px;
}
/* Mobile dropdown accordion */
@media (max-width: 992px) {
    .nav-item.has-dropdown {
        width: 100%;
    }
    .dropdown-toggle {
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0,0,0,0.03);
        padding: 4px 0 4px 12px;
        display: none;
        min-width: auto;
    }
    .dropdown-menu::before { display: none; }
    .nav-item.has-dropdown.open .dropdown-menu {
        display: block;
    }
    .nav-item.has-dropdown.open .chevron-icon {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   HERO SECTION - SPLIT LAYOUT
   ========================================================================== */
.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-illustration svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Ambient blurs */
.ambient-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    animation: floatAmbient 12s infinite alternate ease-in-out;
}

.ambient-blur.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 102, 255, 0.12);
    top: -100px;
    left: -100px;
}

.ambient-blur.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(232, 86, 42, 0.08);
    bottom: -50px;
    right: 10%;
    animation-delay: -6s;
}

.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatAmbient {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, 20px) scale(1.08);
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #d44a22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 86, 42, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-dark);
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--color-dark);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--color-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   TRUST BANNER
   ========================================================================== */
.trust-banner {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
}

.trust-item {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item::before {
    content: '✦';
    color: var(--color-accent);
    font-size: 0.7rem;
}

/* ==========================================================================
   SECTION CONTAINERS
   ========================================================================== */
.section-container {
    padding: 80px 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-alt {
    background: var(--color-bg-light);
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.section-alt>.section-header,
.section-alt>.verticals-container,
.section-alt>.capabilities-cta,
.section-alt>.service-cards-grid,
.section-alt>.dot-pattern {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-header .subtitle {
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================================================
   WHY CHOOSE US - 3 COLUMN FEATURE CARDS
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.feature-icon.icon-blue {
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
}

.feature-icon.icon-orange {
    background: rgba(232, 86, 42, 0.1);
    color: var(--color-accent);
}

.feature-icon.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==========================================================================
   SERVICE CARDS - 3 COLUMN ICON GRID (Appexive-style)
   ========================================================================== */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(0, 102, 255, 0.04) 2px, transparent 2px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.15);
}

.service-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card-icon svg {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-dark);
}

.service-card-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.view-more-link:hover {
    gap: 10px;
}

/* ==========================================================================
   ABOUT PAGE - TWO COLUMN WITH ACCORDION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Accordion */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.08);
}

.accordion-header {
    padding: 1rem 1.5rem;
    background: var(--color-bg-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1rem;
    user-select: none;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--color-bg-light);
}

.accordion-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--color-text-muted);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==========================================================================
   PROCESS / STAGGERED STEPS
   ========================================================================== */
/* --- Interactive Flow Pipeline (process.html alternative to staggered steps) --- */
.process-pipeline-container {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.pipeline-flow-line {
    position: absolute;
    top: 135px; /* Aligned with .pipeline-node center */
    left: 10%;
    right: 10%;
    height: 4px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 2px;
    z-index: 0;
    overflow: hidden;
}

.pipeline-flow-glow {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
    animation: flowGlowAnimation 4s infinite linear;
}

@keyframes flowGlowAnimation {
    0% { left: -50%; }
    100% { left: 150%; }
}

.process-pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.pipeline-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 2.25rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.clickable-step-card {
    cursor: pointer;
}

.pipeline-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.08);
}

.step-badge {
    background: rgba(0, 102, 255, 0.06);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.pipeline-card:hover .step-badge {
    background: var(--color-primary);
    color: #fff;
}

.pipeline-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.pipeline-card:hover .pipeline-node {
    border-color: var(--color-primary);
    transform: scale(1.15);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    z-index: 2;
    transition: var(--transition);
}

.pipeline-card:hover .pulse-dot {
    background: var(--color-primary);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(232, 86, 42, 0.2);
    animation: pulseAnimation 2s infinite ease-out;
    z-index: 1;
    transition: var(--transition);
}

.pipeline-card:hover .pulse-ring {
    background: rgba(0, 102, 255, 0.2);
}

@keyframes pulseAnimation {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.pipeline-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
    line-height: 1.4;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pipeline-card:hover h4 {
    color: var(--color-primary);
}

.btn-step-learn {
    display: inline-block;
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}

.pipeline-card:hover .btn-step-learn {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* ==========================================================================
   INDUSTRIES BADGES
   ========================================================================== */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.industry-badge {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    cursor: default;
}

.industry-badge:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0, 102, 255, 0.04);
}

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact-section {
    background: var(--color-bg-light);
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.contact-form-container {
    background: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.project-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    transition: var(--transition);
    background: var(--color-bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.checkbox-group-container label:first-child {
    margin-bottom: 0.5rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.checkbox-label {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--color-text-light);
}

.btn-submit {
    background: var(--color-accent);
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    border: none;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #d44a22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 86, 42, 0.3);
}

.form-success {
    color: #10B981;
    font-weight: 600;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: var(--radius-btn);
    text-align: center;
}

/* ==========================================================================
   FOOTER - 4 COLUMN LAYOUT
   ========================================================================== */
.global-footer {
    background: var(--color-bg-dark);
    color: #cfd8e8;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfd8e8;
    transition: var(--transition);
}

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

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: #a5b4cc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 3rem auto 0;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #a5b4cc;
}

.legal-links a:hover {
    color: #fff;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 16px rgba(232, 86, 42, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(232, 86, 42, 0.4);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.animate-right {
    transform: translateX(40px);
}

.animate-on-scroll.animate-left {
    transform: translateX(-40px);
}

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

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   PHASE GRID (How We Transform)
   ========================================================================== */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.phase-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

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

.phase-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.phase-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.phase-card:hover .phase-icon-wrapper {
    transform: scale(1.1);
}

.phase-blue {
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
}

.phase-orange {
    background: rgba(232, 86, 42, 0.1);
    color: var(--color-accent);
}

.phase-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.phase-step {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.phase-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.phase-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.75;
}

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

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

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

    .hero-illustration {
        display: none;
    }

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

    .service-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-container {
        height: 75px;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--color-bg-white);
        padding: 2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        border-top: 1px solid var(--color-border);
        gap: 1.5rem;
        align-items: center;
        z-index: 999;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .staggered-steps::before {
        left: 20px;
    }

    .step-card {
        width: 100%;
        margin-left: 40px;
        align-self: flex-start !important;
    }

    .step-number {
        right: 20px !important;
        left: auto !important;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .trust-banner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

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

/* --- Interactive Traffic Visualizer --- */
.traffic-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.traffic-canvas-wrapper {
    position: relative;
    width: 100%;
    background: radial-gradient(circle at center, #fbfcfe 0%, #f5f7fa 100%);
    border-radius: 8px;
    border: 1px dashed rgba(27, 42, 74, 0.1);
    overflow: hidden;
}

.traffic-canvas {
    display: block;
    width: 100%;
    height: 360px;
    cursor: pointer;
}

.traffic-controls {
    margin-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.traffic-slider-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.traffic-slider-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    white-space: nowrap;
}

.traffic-slider {
    flex-grow: 1;
    max-width: 250px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
}

.traffic-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    transition: var(--transition);
}

.traffic-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.traffic-badge {
    background: rgba(232, 86, 42, 0.1);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Service Details Section */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

.service-detail-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.service-detail-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-subtopic-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subtopic-item {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.subtopic-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 102, 255, 0.15);
}

.subtopic-item h4 {
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtopic-item h4::before {
    content: '⚡';
    color: var(--color-accent);
    font-size: 0.9rem;
}

.subtopic-item p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   AJAX QUOTE MODAL STYLE
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 42, 74, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    width: 92%;
    max-width: 960px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    line-height: 1;
    border: none;
    background: transparent;
    color: var(--color-dark);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 520px;
}

.modal-info {
    background: var(--color-bg-dark);
    color: #ffffff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.modal-info h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.modal-info p {
    color: #cfd8e8;
    font-size: 0.98rem;
    line-height: 1.7;
}

.modal-form-container {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-info {
        padding: 2rem;
        min-height: auto;
    }

    .modal-form-container {
        padding: 2rem;
    }
}

/* --- B2B Lead Routing Matrix Hero Design (Light Mode) --- */
.b2b-matrix-container {
    position: relative;
    width: 500px;
    height: 400px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 102, 255, 0.06);
    overflow: hidden;
}

.b2b-matrix-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Pipe animations (flowing glowing dashes representing B2B lead traffic) */
.pulse-pipe-1, .pulse-pipe-2, .pulse-pipe-3, .pulse-pipe-4, .pulse-pipe-5, .pulse-pipe-6 {
    stroke-dasharray: 12, 50;
    animation: flowPipes 4s infinite linear;
}

.pulse-pipe-1 { animation-duration: 3s; }
.pulse-pipe-2 { animation-duration: 2.5s; }
.pulse-pipe-3 { animation-duration: 3.5s; }
.pulse-pipe-4 { animation-duration: 3s; }
.pulse-pipe-5 { animation-duration: 2.5s; }
.pulse-pipe-6 { animation-duration: 3.5s; }

@keyframes flowPipes {
    from { stroke-dashoffset: 300; }
    to { stroke-dashoffset: 0; }
}

/* Matrix Nodes */
.matrix-node {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 102, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 102, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.matrix-node .node-inner {
    font-size: 1.1rem;
    z-index: 2;
}

.matrix-node .node-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 1;
    opacity: 0.2;
    transition: opacity 0.3s ease;
    animation: pulseNodeGlow 2s infinite alternate ease-in-out;
}

@keyframes pulseNodeGlow {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.3); opacity: 0.35; }
}

.matrix-node:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 102, 255, 0.35);
    transform: translate(-50%, -55%) scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 102, 255, 0.15);
}

.matrix-node:hover .node-glow {
    opacity: 0.6;
}

/* Node Labels */
.matrix-node .node-label {
    position: absolute;
    width: 120px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 1px;
    pointer-events: none;
}

.node-source .node-label {
    top: 56px;
}

.node-target .node-label {
    top: 56px;
}

/* Central Core Node (PaariGen AI Engine) */
.matrix-core-node {
    position: absolute;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.matrix-core-node .core-inner-hex {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #F2F6FF 100%);
    border: 2px solid var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
    transition: all 0.3s ease;
}

.matrix-core-node .core-outer-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 102, 255, 0.25);
    z-index: 1;
    animation: rotateCoreRing 15s infinite linear;
}

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

.matrix-core-node:hover .core-inner-hex {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
    border-color: #E8562A;
}

.matrix-core-node:hover .core-outer-ring {
    border-color: #E8562A;
    animation-duration: 5s;
}

.matrix-core-node .core-label {
    position: absolute;
    top: 90px;
    width: 140px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: 1px;
}

.matrix-core-node .core-speed-badge {
    position: absolute;
    top: -15px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
    animation: pulseActive 1.5s infinite alternate ease-in-out;
}

@keyframes pulseActive {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.05); opacity: 1; box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4); }
}

/* Floating B2B Stats Cards */
.matrix-floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.08);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,102,255,0.06);
    z-index: 5;
}

.matrix-floating-stat .stat-num {
    font-size: 1rem;
    font-weight: 800;
    color: #10B981;
}

.matrix-floating-stat .stat-lbl {
    font-size: 0.58rem;
    color: #4b5563;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-left {
    animation: floatStatLeft 5s infinite ease-in-out;
}

@keyframes floatStatLeft {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.stat-right {
    animation: floatStatRight 6s infinite ease-in-out;
}

@keyframes floatStatRight {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* ============================================================
   QUOTE / CONSULTATION MODAL
   ============================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 12, 30, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    overflow: hidden;
}

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

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(0,0,0,0.06);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-primary, #0052cc);
    color: #fff;
}

/* Two-column grid */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 520px;
    overflow-y: auto;
}

/* Left info panel */
.modal-info {
    background: linear-gradient(145deg, #0a1628 0%, #0d2b6e 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.modal-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
}

.modal-info p {
    font-size: 0.92rem;
    color: #a8c0de;
    line-height: 1.7;
    margin: 0;
}

/* Right form panel */
.modal-form-container {
    padding: 3rem 2.5rem;
    background: #fff;
    border-radius: 0 20px 20px 0;
    display: flex;
    align-items: center;
}

.project-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #dde3ef;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #f8faff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary, #0052cc);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
    background: #fff;
}

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

/* Checkbox group */
.checkbox-group-container label:first-child {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.35rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem !important;
    color: #444;
    cursor: pointer;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--color-primary, #0052cc);
    cursor: pointer;
    flex-shrink: 0;
}

/* Submit button */
.btn-submit {
    background: linear-gradient(135deg, var(--color-primary, #0052cc) 0%, #0a3dbf 100%);
    color: #fff;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    margin-top: 0.25rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.35);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-success {
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    color: #065f46 !important;
    font-size: 0.88rem;
}

/* Responsive: stack on mobile */
@media (max-width: 700px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-info {
        border-radius: 20px 20px 0 0;
        padding: 2rem 1.5rem;
    }
    .modal-form-container {
        border-radius: 0 0 20px 20px;
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   COMPANY PROFILE PAGE EXPANSION STYLES
   ========================================================================== */
.client-portfolio-section {
    padding: 80px 2rem;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    position: relative;
}

.client-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.client-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 30, 80, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-primary);
    border-radius: 6px 0 0 6px;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.25);
}

.client-logo-placeholder {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.client-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f0ff;
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.client-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.client-strategy-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: auto;
}

.client-strategy-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.client-strategy-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.metric-strip-about {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--color-bg-dark);
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.15);
}

.about-metric-card {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.about-metric-card:last-child {
    border-right: none;
}

.about-metric-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066FF;
    display: block;
    margin-bottom: 0.25rem;
}

.about-metric-lbl {
    font-size: 0.9rem;
    color: #a8c0de;
    font-weight: 500;
}

@media (max-width: 900px) {
    .client-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .metric-strip-about {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
    .about-metric-card {
        border-right: none;
    }
    .about-metric-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 560px) {
    .metric-strip-about {
        grid-template-columns: 1fr;
    }
    .about-metric-card {
        border-right: none !important;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .about-metric-card:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   DIGITAL GROWTH STRATEGY & ECOSYSTEM PAGE STYLES
   ========================================================================== */

/* Strategy Phase Details */
.phases-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
    margin-bottom: 5rem;
}

.phase-detail-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.phase-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-primary, #0052cc);
    opacity: 0.8;
}

.phase-detail-card:nth-child(2)::before {
    background: #00bcd4; /* Teal accent */
}

.phase-detail-card:nth-child(3)::before {
    background: #6f42c1; /* Purple accent */
}

.phase-detail-card:nth-child(4)::before {
    background: #fd7e14; /* Orange accent */
}

.phase-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.08);
    border-color: rgba(0, 102, 255, 0.15);
}

.phase-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.phase-card-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(27, 42, 74, 0.06);
    line-height: 1;
    font-family: var(--font-primary);
}

.phase-detail-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1b2a4a;
    margin: 0;
}

.phase-tech-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.phase-tech-badge {
    background: #f0f4fd;
    color: #1c3d7a;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 102, 255, 0.05);
}

.phase-detail-card:nth-child(2) .phase-tech-badge {
    background: #e0f7fa;
    color: #006064;
}

.phase-detail-card:nth-child(3) .phase-tech-badge {
    background: #f3e5f5;
    color: #4a148c;
}

.phase-detail-card:nth-child(4) .phase-tech-badge {
    background: #fff3e0;
    color: #e65100;
}

.phase-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phase-deliverables-list li {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.phase-deliverables-list li::before {
    content: '✓';
    color: #10B981;
    font-weight: bold;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 90-Day Timeline Section */
.blueprint-section {
    background: #050c1e;
    padding: 7rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blueprint-section h2 {
    color: #fff;
}

.blueprint-timeline {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
}

.blueprint-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent) 0%, rgba(255,255,255,0.1) 100%);
}

.blueprint-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.blueprint-step:last-child {
    margin-bottom: 0;
}

.blueprint-step-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #0d1e3d;
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
    z-index: 2;
    transition: transform 0.3s ease;
}

.blueprint-step:hover .blueprint-step-icon {
    transform: scale(1.1);
}

.blueprint-step-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.2rem 2.5rem;
    flex-grow: 1;
}

.blueprint-step-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blueprint-step-content h3 span {
    font-size: 0.8rem;
    background: rgba(0, 102, 255, 0.2);
    color: #8bb4ff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(0,102,255,0.2);
}

.blueprint-step-content p {
    font-size: 0.95rem;
    color: #b0c4de;
    line-height: 1.7;
    margin: 0;
}

/* Strategic Calculator */
.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    margin-top: 4rem;
    align-items: start;
}

.calc-slider-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.04);
}

.calc-slider-card h3 {
    font-size: 1.5rem;
    color: #1b2a4a;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.range-slider-wrapper {
    margin: 2.5rem 0;
    position: relative;
}

.slider-value-display {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #dde3ef;
    outline: none;
    margin: 0;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 82, 204, 0.4);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 82, 204, 0.4);
    cursor: pointer;
    border: none;
    transition: transform 0.1s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.75rem;
}

.calc-results-card {
    background: linear-gradient(145deg, #0a1628 0%, #0d2b6e 100%);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    color: #fff;
    box-shadow: 0 20px 50px rgba(5, 12, 30, 0.3);
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.calc-results-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.calc-metric-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.calc-metric-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-metric-lbl {
    font-size: 0.85rem;
    color: #a8c0de;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-metric-val {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-primary);
}

.calc-metric-desc {
    font-size: 0.82rem;
    color: #cfd8e8;
    line-height: 1.4;
}

/* Growth Loop SVG Section */
.growth-loop-section {
    padding: 6rem 0;
}

.growth-loop-container {
    max-width: 900px;
    margin: 3.5rem auto 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.04);
    display: flex;
    justify-content: center;
}

.growth-loop-svg {
    width: 100%;
    max-width: 650px;
    height: auto;
}

/* Animations for SVG */
@keyframes dash {
    to {
        stroke-dashoffset: -40;
    }
}

.glow-path {
    stroke-dasharray: 8 12;
    animation: dash 4s linear infinite;
}

/* Media Queries for Strategy Page */
@media (max-width: 992px) {
    .phases-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .blueprint-timeline::before {
        left: 20px;
    }
    .blueprint-step {
        gap: 1.25rem;
    }
    .blueprint-step-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .blueprint-step-content {
        padding: 1.5rem 1.8rem;
    }
    .blueprint-step-content h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .calc-slider-card {
        padding: 2.2rem 1.8rem;
    }
    .calc-results-card {
        padding: 2.2rem 1.8rem;
    }
    .slider-value-display {
        font-size: 2.2rem;
    }
    .calc-metric-val {
        font-size: 1.9rem;
    }
}

/* --- Generic Service Page Hero --- */
.service-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d2b6e 55%, #1a3a8f 100%);
    padding: 90px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0,102,255,0.18) 0%, transparent 70%);
}
.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 6px 18px;
    font-size: 0.8rem;
    color: #a8c8ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.service-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    position: relative;
}
.service-hero h1 span { color: #4d9aff; }
.service-hero p {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: #a8c0de;
    font-size: 1.05rem;
    line-height: 1.75;
    position: relative;
}
.service-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
}
.service-stat-pill {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1rem 2rem;
    text-align: center;
}
.service-stat-pill strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #4d9aff;
}
.service-stat-pill span {
    font-size: 0.82rem;
    color: #8aadce;
}
@media (max-width: 900px) {
    .service-hero-stats { gap: 1.5rem; }
}

/* ==============================================================
   PER-PAGE HERO THEME OVERRIDES
   Each sub-page gets a unique gradient, radial glow, and accent.
   ============================================================== */

/* SEO Page — Deep Emerald Forest Green */
.service-hero.theme-seo {
    background: linear-gradient(135deg, #0a1f12 0%, #0d4d2a 55%, #126b38 100%);
}
.service-hero.theme-seo::before {
    background: radial-gradient(ellipse 70% 60% at 55% 35%, rgba(0,200,80,0.2) 0%, transparent 70%);
}
.service-hero.theme-seo h1 span { color: #5dffa0; }
.service-hero.theme-seo .service-stat-pill strong { color: #5dffa0; }
.service-hero.theme-seo .service-hero-badge { color: #a8ffd0; }
.service-hero.theme-seo::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Social Media Page — Deep Violet Magenta */
.service-hero.theme-smm {
    background: linear-gradient(135deg, #180a2a 0%, #4a0d6e 55%, #6b1a9c 100%);
}
.service-hero.theme-smm::before {
    background: radial-gradient(ellipse 70% 60% at 40% 45%, rgba(180,0,255,0.22) 0%, transparent 70%);
}
.service-hero.theme-smm h1 span { color: #d97aff; }
.service-hero.theme-smm .service-stat-pill strong { color: #d97aff; }
.service-hero.theme-smm .service-hero-badge { color: #e8c0ff; }
.service-hero.theme-smm::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 28px),
                      repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 28px);
    pointer-events: none;
}

/* B2B Lead Gen Page — Deep Amber / Burnt Orange */
.service-hero.theme-leadgen {
    background: linear-gradient(135deg, #1a0d00 0%, #7a3200 55%, #a84800 100%);
}
.service-hero.theme-leadgen::before {
    background: radial-gradient(ellipse 70% 60% at 65% 40%, rgba(255,130,0,0.22) 0%, transparent 70%);
}
.service-hero.theme-leadgen h1 span { color: #ffa040; }
.service-hero.theme-leadgen .service-stat-pill strong { color: #ffa040; }
.service-hero.theme-leadgen .service-hero-badge { color: #ffd0a0; }
.service-hero.theme-leadgen::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    pointer-events: none;
}

/* Web Design Page — Deep Teal / Ocean Cyan */
.service-hero.theme-webdesign {
    background: linear-gradient(135deg, #001820 0%, #005060 55%, #006e80 100%);
}
.service-hero.theme-webdesign::before {
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,210,230,0.2) 0%, transparent 70%);
}
.service-hero.theme-webdesign h1 span { color: #50e8f8; }
.service-hero.theme-webdesign .service-stat-pill strong { color: #50e8f8; }
.service-hero.theme-webdesign .service-hero-badge { color: #a8f4fb; }
.service-hero.theme-webdesign::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 24px),
                      repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 24px);
    pointer-events: none;
}

/* AI Automation Page — Deep Purple / Indigo Nebula */
.service-hero.theme-ai {
    background: linear-gradient(135deg, #0d0820 0%, #280d5c 55%, #3d1a80 100%);
}
.service-hero.theme-ai::before {
    background: radial-gradient(ellipse 70% 60% at 60% 35%, rgba(120,0,255,0.25) 0%, transparent 70%);
}
.service-hero.theme-ai h1 span { color: #b070ff; }
.service-hero.theme-ai .service-stat-pill strong { color: #b070ff; }
.service-hero.theme-ai .service-hero-badge { color: #d4b0ff; }
.service-hero.theme-ai::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px),
                      radial-gradient(circle, rgba(255,255,255,0.025) 2px, transparent 2px);
    background-size: 22px 22px, 44px 44px;
    background-position: 0 0, 11px 11px;
    pointer-events: none;
}

/* Healthcare — Clinical Blue-Teal */
.service-hero.theme-healthcare {
    background: linear-gradient(135deg, #001828 0%, #004c6e 55%, #006080 100%);
}
.service-hero.theme-healthcare::before {
    background: radial-gradient(ellipse 70% 60% at 55% 40%, rgba(0,180,210,0.2) 0%, transparent 70%);
}
.service-hero.theme-healthcare h1 span { color: #40d8f0; }
.service-hero.theme-healthcare .service-stat-pill strong { color: #40d8f0; }
.service-hero.theme-healthcare .service-hero-badge { color: #a0ecf8; }
.service-hero.theme-healthcare::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, transparent 1px, transparent 32px),
                      repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, transparent 1px, transparent 32px);
    pointer-events: none;
}

/* E-Commerce — Warm Crimson / Ruby Red */
.service-hero.theme-ecommerce {
    background: linear-gradient(135deg, #1a0500 0%, #7a1000 55%, #a02010 100%);
}
.service-hero.theme-ecommerce::before {
    background: radial-gradient(ellipse 70% 60% at 45% 40%, rgba(255,80,40,0.22) 0%, transparent 70%);
}
.service-hero.theme-ecommerce h1 span { color: #ff7050; }
.service-hero.theme-ecommerce .service-stat-pill strong { color: #ff7050; }
.service-hero.theme-ecommerce .service-hero-badge { color: #ffb8a8; }
.service-hero.theme-ecommerce::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px);
    pointer-events: none;
}

/* SaaS — Golden Amber */
.service-hero.theme-saas {
    background: linear-gradient(135deg, #100c00 0%, #50380a 55%, #755218 100%);
}
.service-hero.theme-saas::before {
    background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(200,150,0,0.22) 0%, transparent 70%);
}
.service-hero.theme-saas h1 span { color: #f5c040; }
.service-hero.theme-saas .service-stat-pill strong { color: #f5c040; }
.service-hero.theme-saas .service-hero-badge { color: #f8dfa0; }
.service-hero.theme-saas::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* FinTech — Emerald Finance Green */
.service-hero.theme-fintech {
    background: linear-gradient(135deg, #001810 0%, #0a5c30 55%, #107840 100%);
}
.service-hero.theme-fintech::before {
    background: radial-gradient(ellipse 70% 60% at 55% 40%, rgba(0,220,100,0.2) 0%, transparent 70%);
}
.service-hero.theme-fintech h1 span { color: #40e890; }
.service-hero.theme-fintech .service-stat-pill strong { color: #40e890; }
.service-hero.theme-fintech .service-hero-badge { color: #a0f8c8; }
.service-hero.theme-fintech::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, transparent 1px, transparent 20px),
                      repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, transparent 1px, transparent 20px);
    pointer-events: none;
}


/* ==========================================================================
   STRATEGY & PROCESS PAGE CUSTOM ENHANCEMENTS
   ========================================================================== */

/* ROI calculator 3-column layout */
@media (min-width: 993px) {
    .calc-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Sales Funnel Container */
.funnel-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.funnel-container h3 {
    font-size: 1.3rem;
    color: #1b2a4a;
    margin: 0 0 0.5rem;
    text-align: center;
    width: 100%;
}

.funnel-stage {
    width: 100%;
    border-radius: 12px;
    padding: 2px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.funnel-stage:hover {
    transform: translateY(-2px);
}

.funnel-stage-inner {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.stage-icon {
    font-size: 1.5rem;
}

.stage-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stage-value {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

/* Funnel Stage Widths and Gradients */
.stage-traffic {
    max-width: 100%;
    background: linear-gradient(90deg, #0052cc, #00b0ff);
}
.stage-traffic .stage-value {
    color: #0052cc;
}

.stage-leads {
    max-width: 85%;
    background: linear-gradient(90deg, #00bcd4, #10b981);
}
.stage-leads .stage-value {
    color: #10b981;
}

.stage-deals {
    max-width: 70%;
    background: linear-gradient(90deg, #6f42c1, #fd7e14);
}
.stage-deals .stage-value {
    color: #fd7e14;
}

/* Pulsating Animation for Active Funnel */
@keyframes funnelPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 102, 255, 0)); }
    50% { transform: scale(1.02); filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.15)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 102, 255, 0)); }
}

.funnel-stage.active-pulse {
    animation: funnelPulse 2s ease-in-out infinite;
}

/* 90-Day Timeline Enhancements */
.timeline-milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.milestone-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8bb4ff;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.blueprint-step-content {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blueprint-step:hover .blueprint-step-content {
    transform: translateX(5px);
    border-color: var(--color-accent);
}

/* Modern Card Icons */
.phase-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.phase-card-icon svg {
    width: 28px;
    height: 28px;
}

/* Learn More Links on Industry Cards */
.btn-learn-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    transition: color 0.2s ease;
}
.btn-learn-more:hover {
    color: var(--color-accent);
}
.btn-learn-more svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}
.btn-learn-more:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   INTERACTIVE INDUSTRY EXPLORER DASHBOARD
   ============================================================ */
.industry-explorer-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.industry-nav {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industry-tab-btn {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid transparent;
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-tab-btn .tab-emoji {
    font-size: 1.4rem;
    transition: transform 0.25s ease;
}

.industry-tab-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(6px);
}

.industry-tab-btn:hover .tab-emoji {
    transform: scale(1.2);
}

.industry-tab-btn.active {
    background: #ffffff;
    border-color: #e2e8f0;
    border-left-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
    color: var(--color-primary);
}

.industry-showcase {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
    min-height: 480px;
    position: relative;
}

.industry-details-panel {
    display: none;
    flex-direction: column;
    gap: 1.75rem;
    padding: 3rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-details-panel.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.panel-icon-square {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.panel-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0;
}

.panel-body p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.panel-checklist {
    margin-top: 0.5rem;
}

.panel-checklist h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.panel-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.panel-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: var(--color-text-light);
}

.panel-checklist li .chk-icon {
    color: #10b981;
    font-weight: bold;
}

.panel-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

@media (max-width: 991px) {
    .industry-explorer-grid {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .industry-nav {
        flex: none;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding-bottom: 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .industry-tab-btn {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        border-left: 1px solid #e2e8f0;
        border-top: 3.5px solid transparent;
        border-radius: 8px;
        scroll-snap-align: start;
    }
    .industry-tab-btn.active {
        border-left-color: #e2e8f0;
        border-top-color: var(--color-primary);
    }
    .industry-tab-btn:hover {
        transform: none;
    }
    .industry-details-panel {
        padding: 2.25rem;
    }
    .panel-checklist ul {
        grid-template-columns: 1fr;
    }
    .panel-actions {
        flex-direction: column;
    }
    .panel-actions a {
        width: 100%;
        text-align: center;
    }
}