/*
 * NORTHGRID IT SERVICES ? Homepage Redesign Stylesheet
 * Overrides / enhances style.css for index.html only.
 * Load AFTER assets/css/style.css
 */

/* ==========================================================================
   0. HOMEPAGE TOKENS (local enhancements)
   ========================================================================== */
.hero-home,
body:has(.hero-home) {
    --hp-glass: rgba(255, 255, 255, 0.045);
    --hp-glass-strong: rgba(255, 255, 255, 0.08);
    --hp-border: rgba(255, 255, 255, 0.12);
    --hp-border-strong: rgba(6, 182, 212, 0.45);
    --hp-muted: #94A3B8;
    --hp-white: #FFFFFF;
    --hp-glow-blue: rgba(37, 99, 235, 0.35);
    --hp-glow-purple: rgba(124, 58, 237, 0.35);
    --hp-glow-cyan: rgba(6, 182, 212, 0.25);
    --hp-radius: 24px;
    --hp-radius-md: 16px;
    --hp-transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --hp-section-pad: var(--ng-section-y, clamp(5rem, 7vw, 6rem));
    --hp-section-pad-sm: var(--ng-section-y-mobile, clamp(3.5rem, 8vw, 4.5rem));
}

/* ==========================================================================
   1. HERO (.hero-home) ? TWO COLUMN, BELOW FIXED NAV (no clipping)
   ========================================================================== */

.hero-home.hero-wrapper {
    --nav-offset: 140px;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--nav-offset) 0 80px;
    z-index: 10;
    background: var(--hero-bg, #0E1A2B);
    overflow: visible !important;
    color: var(--hp-white);
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
}

.hero-home .hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 0;
}

.hero-home .hero-mesh-gradient {
    opacity: 0.85;
}

.hero-home .glow-aurora,
.hero-home .glow-aurora-secondary,
.hero-home .glow-blob-pink,
.hero-home .hero-subtle-glow {
    will-change: transform, opacity;
}

.hero-home .hero-container {
    position: relative;
    z-index: 5;
    width: 100%;
    height: auto;
    min-height: calc(100dvh - var(--nav-offset) - 80px);
    display: flex;
    align-items: center;
    justify-content: stretch;
    padding: 0 12px;
    margin: 0;
    transform: none;
}

/* Two-column grid ? natural flow, no absolute content */
.hero-home .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    min-height: 0;
    margin: 0;
    transform: none;
}

.hero-home .hero-content:not(.hero-grid) {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-home .hero-copy {
    text-align: left;
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 700px;
    width: 100%;
    margin: 0;
    padding: 0 8px 0 12px;
    transform: none !important;
    top: auto !important;
}

.hero-home .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.28);
    color: var(--accent-color, #06B6D4);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-home .hero-tag i {
    font-size: 12px;
    opacity: 0.95;
}

.hero-home .hero-heading {
    max-width: 700px;
    width: 100%;
    margin: 0 0 1.25rem;
    font-family: var(--font-headings, 'Manrope', sans-serif);
    font-size: clamp(56px, 6vw, 84px);
    font-weight: 800;
    line-height: 1.08;
    text-align: left;
    letter-spacing: -2px;
    color: var(--hp-white);
    visibility: visible;
    overflow: visible;
    position: relative;
    z-index: 2;
    transform: none !important;
    top: auto !important;
}

.hero-home .hero-heading .line {
    display: block;
    color: var(--hp-white);
    -webkit-text-fill-color: var(--hp-white);
    background: none;
    overflow: visible;
}

.hero-home .hero-heading .gradient-text {
    background: var(--gradient-primary, linear-gradient(135deg, #2563EB 0%, #7C3AED 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-home .hero-desc {
    max-width: 520px;
    margin: 0 0 1.75rem;
    text-align: left;
    font-size: clamp(1.125rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--hp-muted);
    font-weight: 400;
}

.hero-home .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.75rem;
}

/* Primary CTA glow */
.hero-home .btn-premium-primary {
    box-shadow:
        0 10px 36px var(--hp-glow-blue),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transition: transform var(--hp-transition), box-shadow var(--hp-transition);
}

.hero-home .btn-premium-primary:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow:
        0 16px 44px var(--hp-glow-purple),
        0 0 28px var(--hp-glow-cyan);
}

/* Secondary glass CTA */
.hero-home .btn-premium-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--hp-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: none;
    transition: transform var(--hp-transition), background var(--hp-transition), border-color var(--hp-transition), box-shadow var(--hp-transition);
}

.hero-home .btn-premium-outline:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(124, 58, 237, 0.22));
    border-color: rgba(6, 182, 212, 0.5);
    color: var(--hp-white) !important;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* KPI glass stats */
.hero-home .hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin: 0;
    flex-wrap: wrap;
    width: 100%;
}

.hero-home .stat-card-premium,
.hero-home .hero-stat-card {
    position: relative;
    background: var(--hp-glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid transparent;
    border-radius: var(--hp-radius-md);
    padding: 16px 22px;
    min-width: 148px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    transition: transform var(--hp-transition), box-shadow var(--hp-transition);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    will-change: transform;
    isolation: isolate;
}

.hero-home .stat-card-premium::before,
.hero-home .hero-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.6),
        rgba(124, 58, 237, 0.4),
        rgba(37, 99, 235, 0.35)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.75;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.hero-home .stat-card-premium:hover,
.hero-home .hero-stat-card:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.16), 0 14px 30px rgba(0, 0, 0, 0.32);
}

.hero-home .stat-card-premium:hover::before,
.hero-home .hero-stat-card:hover::before {
    opacity: 1;
}

.hero-home .stat-card-premium .counter-val,
.hero-home .stat-card-premium h3,
.hero-home .hero-stat-card .counter-val {
    font-size: clamp(2.5rem, 3.2vw, 3rem);
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1;
    background: var(--gradient-primary, linear-gradient(135deg, #2563EB 0%, #7C3AED 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-home .stat-card-premium p,
.hero-home .hero-stat-card p {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

/* Right visual column ? no negative pull into layout */
.hero-home .hero-visual {
    position: relative;
    z-index: 5;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
}

.hero-home .hero-visual-frame {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4 / 5;
    max-height: min(62vh, 560px);
    border-radius: var(--hp-radius);
    overflow: hidden;
    margin-left: auto;
    transform: none;
    transform-origin: center center;
}

.hero-home .hero-visual-frame::after {
    content: '';
    position: absolute;
    inset: -12% -8%;
    border-radius: 40%;
    background: radial-gradient(
        circle at 50% 45%,
        rgba(37, 99, 235, 0.35) 0%,
        rgba(124, 58, 237, 0.22) 35%,
        transparent 70%
    );
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.hero-home .hero-visual-frame .hero-image-container,
.hero-home .hero-visual-frame .hero-frame-media {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: 72vh;
    aspect-ratio: 4 / 5;
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-home .hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.6s ease;
    animation: hero-img-fallback-fade 0.01s linear 3s forwards;
}

.hero-home .hero-main-img.is-loaded,
.hero-home .hero-main-img.loaded {
    opacity: 1;
    animation: none;
}

@keyframes hero-img-fallback-fade {
    to { opacity: 1; }
}

/* Floating glass cards around hero image */
.hero-home .floating-glass-card,
.hero-home .hero-float-card {
    position: absolute;
    z-index: 4;
    min-width: 160px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    will-change: transform;
}

.hero-home .floating-card-inner,
.hero-home .hero-float-card .float-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(8, 17, 32, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid transparent;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    isolation: isolate;
}

.hero-home .floating-card-inner::before,
.hero-home .hero-float-card .float-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.55), rgba(124, 58, 237, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.hero-home .floating-glass-card i,
.hero-home .hero-float-card i {
    font-size: 1.15rem;
    color: var(--accent-color, #06B6D4);
    flex-shrink: 0;
}

.hero-home .floating-card-copy h6,
.hero-home .hero-float-card h6 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hp-white);
}

.hero-home .floating-card-copy p,
.hero-home .hero-float-card p {
    margin: 0;
    font-size: 0.7rem;
    color: var(--hp-muted);
}

/* Default float positions (two-column) */
.hero-home .hero-visual .floating-card-1,
.hero-home .hero-visual .hero-float-1 { top: 8%; left: -8%; }
.hero-home .hero-visual .floating-card-2,
.hero-home .hero-visual .hero-float-2 { bottom: 18%; right: -6%; }
.hero-home .hero-visual .floating-card-3,
.hero-home .hero-visual .hero-float-3 { top: 52%; left: -10%; }
.hero-home .hero-visual .floating-card-4,
.hero-home .hero-visual .hero-float-4 { top: 2%; right: 4%; }

/* Legacy centered illustration */
.hero-home .hero-illustration-centered {
    position: relative;
    max-width: min(720px, 94vw);
    width: 100%;
    margin: 0 auto;
    border-radius: var(--hp-radius);
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    z-index: 5;
}

.hero-home .hero-illustration-centered .hero-image-container {
    max-height: min(56vh, 620px);
    width: min(100%, calc(min(56vh, 620px) * 1.05));
    aspect-ratio: 1 / 1;
    border-radius: var(--hp-radius);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-home .hero-illustration-centered .hero-image-container::after {
    content: '';
    position: absolute;
    inset: -18%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, transparent 65%);
    filter: blur(36px);
    z-index: -1;
    pointer-events: none;
}

/* Hero responsive */
@media (max-width: 991.98px) {
    .hero-home.hero-wrapper {
        --nav-offset: 120px;
        height: auto;
        min-height: 100dvh;
        max-height: none;
        overflow: visible !important;
        padding: var(--nav-offset) 0 64px;
    }

    .hero-home .hero-container {
        min-height: 0;
        padding: 0 8px;
    }

    .hero-home .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: 0;
        padding-bottom: 0;
    }

    .hero-home .hero-copy {
        max-width: 100%;
        text-align: left;
        padding: 0 4px;
    }

    .hero-home .hero-heading {
        font-size: clamp(40px, 8vw, 56px);
        letter-spacing: -1.5px;
    }

    .hero-home .hero-visual {
        margin: 0 auto;
        max-width: 480px;
    }

    .hero-home .hero-visual-frame {
        transform: none;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        max-height: 48vh;
        margin-left: 0;
        overflow: hidden;
    }

    .hero-home .floating-card-3,
    .hero-home .floating-card-4,
    .hero-home .hero-float-3,
    .hero-home .hero-float-4 {
        display: none;
    }

    .hero-home .hero-illustration-centered {
        margin-bottom: 0;
    }

    .hero-home .hero-content:not(.hero-grid) {
        align-items: center;
        text-align: center;
    }

    .hero-home .hero-content:not(.hero-grid) .hero-heading,
    .hero-home .hero-content:not(.hero-grid) .hero-desc,
    .hero-home .hero-content:not(.hero-grid) .hero-cta-group,
    .hero-home .hero-content:not(.hero-grid) .hero-stats {
        text-align: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-home .hero-content:not(.hero-grid) .stat-card-premium {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-home .hero-stats {
        gap: 10px;
    }

    .hero-home .stat-card-premium {
        min-width: calc(50% - 10px);
        flex: 1 1 calc(50% - 10px);
        padding: 12px 14px;
    }

    .hero-home .stat-card-premium .counter-val,
    .hero-home .stat-card-premium h3 {
        font-size: 2rem;
    }

    .hero-home .floating-card-2,
    .hero-home .hero-float-2 {
        display: none;
    }

    .hero-home .hero-visual {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   2. TICKER ? seamless under overlapping hero
   ========================================================================== */

.ticker-wrap {
    position: relative;
    z-index: 2;
    background: var(--bg-dark-deep, #132238);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.15rem 0;
    overflow: hidden;
}

.ticker-wrap .logo-ticker {
    display: flex;
    width: max-content;
    animation: ticker-scroll 32s linear infinite;
}

.ticker-wrap .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 2.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
    white-space: nowrap;
}

.ticker-wrap .ticker-item i {
    font-size: 1.15rem;
    color: rgba(6, 182, 212, 0.75);
}

.ticker-wrap .ticker-item:hover {
    color: var(--hp-white, #fff);
}

.ticker-wrap .ticker-item:hover i {
    color: var(--accent-color, #06B6D4);
}

@keyframes ticker-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   3. SECTION SYSTEM ? spacing, hierarchy, alternating themes
   ========================================================================== */

section {
    position: relative;
    padding: var(--hp-section-pad) 0;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    section {
        padding: var(--hp-section-pad-sm) 0;
    }
}

/* Tighten Bootstrap utility gaps on homepage sections */
#about .mb-5,
#services-sec .mb-5,
#solutions-sec .mb-5,
#tech-stack-sec .mb-5,
#industries-sec .mb-5,
#process-sec .mb-5,
#case-studies-sec .mb-5,
#advantage-sec .mb-5,
#testimonials-sec .mb-5,
#careers-sec .mb-5 {
    margin-bottom: 2.5rem !important;
}

#about .mb-4,
#solutions-sec .mb-4,
#case-studies-sec .mb-4 {
    margin-bottom: 1.25rem !important;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color, #7C3AED);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-headings, 'Manrope', sans-serif);
    font-weight: 800;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    max-width: 720px;
}

.container .section-title {
    margin-left: auto;
    margin-right: auto;
}

.text-start .section-title,
.col-lg-5 .section-title,
.col-lg-6 .section-title,
.col-lg-7 .section-title {
    margin-left: 0;
    margin-right: 0;
}

/* Light sections — unified white / mist rhythm */
#about {
    background: var(--ng-white, #FFFFFF) !important;
    color: var(--text-color, #0F172A);
}

#solutions-sec {
    background: var(--ng-white, #FFFFFF) !important;
    color: var(--text-color, #0F172A);
}

#industries-sec {
    background: var(--ng-white, #FFFFFF) !important;
    color: var(--text-color, #0F172A);
}

#advantage-sec {
    background: var(--ng-white, #FFFFFF) !important;
    color: var(--text-color, #0F172A);
}

#testimonials-sec {
    background: var(--ng-white, #FFFFFF) !important;
    color: var(--text-color, #0F172A);
}

#about h1, #about h2, #about h3, #about h4, #about h5, #about h6,
#solutions-sec h1, #solutions-sec h2, #solutions-sec h3, #solutions-sec h4, #solutions-sec h5, #solutions-sec h6,
#industries-sec h1, #industries-sec h2, #industries-sec h3, #industries-sec h4, #industries-sec h5, #industries-sec h6,
#advantage-sec h1, #advantage-sec h2, #advantage-sec h3, #advantage-sec h4, #advantage-sec h5, #advantage-sec h6,
#testimonials-sec h1, #testimonials-sec h2, #testimonials-sec h3, #testimonials-sec h4, #testimonials-sec h5, #testimonials-sec h6 {
    color: #0F172A !important;
}

#about p, #solutions-sec p, #industries-sec p, #advantage-sec p, #testimonials-sec p {
    color: #475569 !important;
}

/* Dark accent — technology stack only */
#tech-stack-sec {
    background-color: var(--bg-dark, #0E1A2B) !important;
    color: #FFFFFF;
}

#tech-stack-sec h1, #tech-stack-sec h2, #tech-stack-sec h3, #tech-stack-sec h4, #tech-stack-sec h5, #tech-stack-sec h6 {
    color: #FFFFFF !important;
}

#tech-stack-sec p {
    color: #94A3B8 !important;
}

#tech-stack-sec .section-subtitle {
    color: var(--accent-color, #06B6D4) !important;
}

/* Light rebalanced sections */
#services-sec {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 45%, #eef5ff 100%) !important;
    color: var(--text-color, #0F172A);
    overflow: hidden;
}

#case-studies-sec {
    background:
        radial-gradient(ellipse at 86% 0%, rgba(110, 66, 255, 0.04), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 52%, #eef5ff 100%) !important;
    color: var(--text-color, #0F172A);
}

#careers-sec.careers-recruitment-section {
    background: linear-gradient(135deg, #0b1628 0%, #132238 60%, #1a2f4a 100%) !important;
    color: #ffffff;
}

#careers-sec h1, #careers-sec h2, #careers-sec h3, #careers-sec h4, #careers-sec h5, #careers-sec h6 {
    color: #ffffff !important;
}

#careers-sec .careers-recruit-title,
#careers-sec .careers-block-title {
    color: #ffffff !important;
}

#careers-sec .careers-recruit-eyebrow,
#careers-sec .careers-block-label,
#careers-sec .section-subtitle {
    color: #22d3ee !important;
}

#careers-sec p,
#careers-sec .careers-recruit-lead {
    color: rgba(255, 255, 255, 0.78) !important;
}

#services-sec h1, #services-sec h2, #services-sec h3, #services-sec h4, #services-sec h5, #services-sec h6,
#case-studies-sec h1, #case-studies-sec h2, #case-studies-sec h3, #case-studies-sec h4, #case-studies-sec h5, #case-studies-sec h6 {
    color: #0F172A !important;
}

#services-sec p,
#case-studies-sec p {
    color: #475569 !important;
}

#services-sec .section-subtitle,
#case-studies-sec .section-subtitle {
    color: var(--ng-label, #2F6BFF) !important;
}

/* Process — dark enterprise horizontal flow */
#process-sec {
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #0e1a2b 0%, #16263d 100%) !important;
    color: #ffffff !important;
}

#process-sec h1,
#process-sec h2,
#process-sec h3,
#process-sec h4,
#process-sec h5,
#process-sec h6 {
    color: #ffffff !important;
}

#process-sec .process-flow-title {
    color: #ffffff !important;
}

#process-sec .process-flow-eyebrow,
#process-sec .section-subtitle {
    color: #22d3ee !important;
}

#process-sec p,
#process-sec .process-intro {
    color: rgba(255, 255, 255, 0.78) !important;
}

#process-sec .section-divider-curve path {
    fill: var(--bg-dark, #0E1A2B) !important;
}

/* ==========================================================================
   4. ABOUT (#about)
   ========================================================================== */

#about .about-metrics,
#about .about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

#about .about-metric-card,
#about .service-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--hp-radius-md);
    padding: 1.5rem 1.35rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform var(--hp-transition), box-shadow var(--hp-transition), border-color var(--hp-transition);
    isolation: isolate;
}

#about .about-metric-card::before,
#about .service-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(124, 58, 237, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.35s ease;
    z-index: -1;
}

#about .about-metric-card:hover,
#about .service-card-premium:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

#about .about-metric-card:hover::before,
#about .service-card-premium:hover::before {
    opacity: 1;
}

#about .service-icon-box {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
    color: var(--primary-color, #2563EB);
    font-size: 1.25rem;
}

#about .col-6.mt-4 {
    margin-top: 1.5rem !important;
}

/* ==========================================================================
   5. SERVICES (#services-sec) — Premium capability cards
   ========================================================================== */

#services-sec .capabilities-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(47, 107, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 107, 255, 0.04) 1px, transparent 1px),
        radial-gradient(ellipse 55% 45% at 12% 8%, rgba(47, 107, 255, 0.07), transparent 58%),
        radial-gradient(ellipse 50% 40% at 88% 92%, rgba(110, 66, 255, 0.05), transparent 55%);
    background-size: 32px 32px, 32px 32px, auto, auto;
    opacity: 0.85;
}

#services-sec > .container {
    position: relative;
    z-index: 1;
}

#services-sec .capability-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.85rem 1.75rem;
    background: #ffffff;
    border: 1px solid #e6edf8;
    border-radius: var(--hp-radius-md, 16px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    transition: transform var(--hp-transition), box-shadow var(--hp-transition), border-color var(--hp-transition);
    overflow: hidden;
    isolation: isolate;
}

#services-sec .capability-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cap-accent, #2563eb);
    border-radius: var(--hp-radius-md, 16px) var(--hp-radius-md, 16px) 0 0;
}

#services-sec .capability-card--consulting { --cap-accent: #2563eb; --cap-icon-bg: rgba(37, 99, 235, 0.12); --cap-icon-color: #2563eb; --cap-glow: rgba(37, 99, 235, 0.35); }
#services-sec .capability-card--cloud { --cap-accent: #6366f1; --cap-icon-bg: rgba(99, 102, 241, 0.12); --cap-icon-color: #6366f1; --cap-glow: rgba(99, 102, 241, 0.35); }
#services-sec .capability-card--ai { --cap-accent: #7c3aed; --cap-icon-bg: rgba(124, 58, 237, 0.12); --cap-icon-color: #7c3aed; --cap-glow: rgba(124, 58, 237, 0.35); }
#services-sec .capability-card--cyber { --cap-accent: #0d9488; --cap-icon-bg: rgba(13, 148, 136, 0.12); --cap-icon-color: #0d9488; --cap-glow: rgba(13, 148, 136, 0.35); }
#services-sec .capability-card--workforce { --cap-accent: #4f46e5; --cap-icon-bg: rgba(79, 70, 229, 0.12); --cap-icon-color: #4f46e5; --cap-glow: rgba(79, 70, 229, 0.35); }
#services-sec .capability-card--managed { --cap-accent: #2563eb; --cap-icon-bg: rgba(37, 99, 235, 0.12); --cap-icon-color: #2563eb; --cap-glow: rgba(37, 99, 235, 0.35); }

#services-sec .capability-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    border-radius: 16px;
    background: var(--cap-icon-bg);
    color: var(--cap-icon-color);
    font-size: 1.65rem;
    transition: box-shadow var(--hp-transition), transform var(--hp-transition);
}

#services-sec .capability-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a !important;
}

#services-sec .capability-card p {
    flex: 1;
    margin-bottom: 1.25rem;
    font-size: 0.975rem;
    line-height: 1.65;
    color: #475569 !important;
}

#services-sec .capability-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cap-icon-color) !important;
    text-decoration: none;
    transition: gap 0.3s ease;
}

#services-sec .capability-link i {
    font-size: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#services-sec .capability-card:hover {
    transform: translateY(-10px);
    border-color: var(--cap-accent);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(47, 107, 255, 0.06);
}

#services-sec .capability-card:hover .capability-icon {
    box-shadow: 0 0 28px var(--cap-glow);
    transform: scale(1.04);
}

#services-sec .capability-card:hover .capability-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   6. CLOUD / SOLUTIONS (#solutions-sec)
   ========================================================================== */

#solutions-sec .cloud-visual,
#solutions-sec .hero-image-wrap {
    position: relative;
    min-height: 320px;
}

#solutions-sec .cloud-visual img,
#solutions-sec .solutions-glow-image img,
#solutions-sec .hero-image-container img {
    border-radius: var(--hp-radius);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14);
    position: relative;
    z-index: 2;
}

#solutions-sec .solutions-glow-image::after,
#solutions-sec .cloud-visual::after {
    content: '';
    position: absolute;
    inset: 10% 5% -5%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 70%);
    filter: blur(32px);
    z-index: 1;
    pointer-events: none;
}

#solutions-sec .cloud-float-card,
#solutions-sec .floating-widget-solutions {
    position: absolute;
    z-index: 5;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    isolation: isolate;
}

#solutions-sec .cloud-float-card::before,
#solutions-sec .floating-widget-solutions::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(6, 182, 212, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

#solutions-sec .widget-ingress,
#solutions-sec .cloud-float-1 {
    top: 8%;
    left: -4%;
}

#solutions-sec .widget-cluster,
#solutions-sec .cloud-float-2 {
    bottom: 12%;
    right: -2%;
}

#solutions-sec .cloud-float-3 {
    top: 42%;
    right: -6%;
}

#solutions-sec .cloud-float-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0F172A;
}

#solutions-sec .cloud-float-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748B;
}

#solutions-sec .list-unstyled li {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-weight: 500;
    color: #475569;
}

/* ==========================================================================
   7. TECH STACK (#tech-stack-sec)
   ========================================================================== */

#tech-stack-sec .tech-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

#tech-stack-sec .tech-tab-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #94A3B8;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform var(--hp-transition), background var(--hp-transition), border-color var(--hp-transition), color var(--hp-transition), box-shadow var(--hp-transition);
}

#tech-stack-sec .tech-tab-btn:hover {
    color: #FFFFFF;
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.08);
}

#tech-stack-sec .tech-tab-btn.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(124, 58, 237, 0.4));
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

#tech-stack-sec .tech-grid-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    perspective: 1000px;
}

#tech-stack-sec .tech-logo-card {
    position: relative;
    border-radius: var(--hp-radius-md);
    background: rgba(13, 25, 48, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    overflow: hidden;
    transition: transform var(--hp-transition), box-shadow var(--hp-transition), border-color var(--hp-transition);
    transform-style: preserve-3d;
    will-change: transform;
}

#tech-stack-sec .tech-logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.4), rgba(124, 58, 237, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

#tech-stack-sec .tech-card-inner {
    padding: 1.5rem 1.35rem;
}

#tech-stack-sec .tech-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    font-size: 1.65rem;
    transition: transform var(--hp-transition), background var(--hp-transition);
}

#tech-stack-sec .tech-logo-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF !important;
}

#tech-stack-sec .tech-logo-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    opacity: 0.95;
    color: #94A3B8 !important;
}

#tech-stack-sec .tech-logo-card:hover {
    transform: translate3d(0, -6px, 0) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35), 0 0 36px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.35);
}

#tech-stack-sec .tech-logo-card:hover::before {
    opacity: 1;
}

#tech-stack-sec .tech-logo-card:hover .tech-icon-wrap {
    background: rgba(6, 182, 212, 0.12);
    transform: translate3d(0, 0, 12px) scale(1.06);
}

/* ==========================================================================
   8. INDUSTRIES (#industries-sec)
   ========================================================================== */

#industries-sec .industry-grid-card {
    position: relative;
    height: 420px;
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

#industries-sec .industry-image-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

#industries-sec .industry-grid-card:hover .industry-image-bg {
    transform: scale(1.08);
}

#industries-sec .industry-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 17, 32, 0.15) 0%,
        rgba(8, 17, 32, 0.35) 40%,
        rgba(8, 17, 32, 0.88) 100%
    );
    z-index: 1;
}

#industries-sec .industry-glass-card {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    background: rgba(8, 17, 32, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform var(--hp-transition), border-color var(--hp-transition), background var(--hp-transition);
}

#industries-sec .industry-glass-card h3 {
    font-size: 1.2rem;
    color: #FFFFFF !important;
}

#industries-sec .industry-glass-card p {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85) !important;
}

#industries-sec .industry-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--accent-color, #06B6D4) !important;
}

#industries-sec .industry-link i {
    transition: transform 0.35s ease;
}

#industries-sec .industry-grid-card:hover .industry-glass-card {
    transform: translate3d(0, -4px, 0);
    border-color: rgba(6, 182, 212, 0.45);
    background: rgba(8, 17, 32, 0.7);
}

#industries-sec .industry-grid-card:hover .industry-link i {
    transform: translate3d(5px, 0, 0);
}

@media (max-width: 767.98px) {
    #industries-sec .industry-grid-card {
        height: 360px;
    }
}

/* ==========================================================================
   9. PROCESS (#process-sec) — Horizontal enterprise flow
   ========================================================================== */

#process-sec .process-dark-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        radial-gradient(ellipse 50% 45% at 18% 20%, rgba(47, 107, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 45% 40% at 82% 78%, rgba(34, 211, 238, 0.08), transparent 50%);
    background-size: 36px 36px, 36px 36px, auto, auto;
    opacity: 0.9;
}

#process-sec > .container {
    position: relative;
    z-index: 1;
}

#process-sec .process-flow-header {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#process-sec .process-intro {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.65;
}

#process-sec .process-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

#process-sec .process-flow-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: transform var(--hp-transition), border-color var(--hp-transition), box-shadow var(--hp-transition);
}

#process-sec .process-flow-step {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-headings, 'Manrope', sans-serif);
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #2563eb 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#process-sec .process-flow-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    border-radius: 16px;
    font-size: 1.35rem;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(34, 211, 238, 0.28));
    border: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.15);
}

#process-sec .process-flow-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #ffffff !important;
}

#process-sec .process-flow-card-desc {
    flex: 1;
    margin-bottom: 1.25rem;
    font-size: 0.925rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#process-sec .process-flow-duration {
    align-self: flex-start;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#process-sec .process-flow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(47, 107, 255, 0.4);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32), 0 0 40px rgba(47, 107, 255, 0.18);
}

#process-sec .process-flow-card:hover + .process-flow-connector .process-flow-connector-fill,
#process-sec .process-flow-connector:has(+ .process-flow-card:hover) .process-flow-connector-fill {
    width: 100%;
}

#process-sec .process-flow-connector {
    display: none;
}

#process-sec .process-flow-connector-track,
#process-sec .process-flow-connector-fill {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 2px;
    border-radius: 2px;
}

#process-sec .process-flow-connector-track {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
}

#process-sec .process-flow-connector-fill {
    width: 0%;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#process-sec .process-flow-connector-node {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.75);
}

/* Tablet — 2 × 2 grid */
@media (min-width: 768px) and (max-width: 991.98px) {
    #process-sec .process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop — horizontal row with connectors */
@media (min-width: 992px) {
    #process-sec .process-flow {
        display: flex;
        align-items: stretch;
        gap: 0;
    }

    #process-sec .process-flow-card {
        flex: 1 1 0;
        min-width: 0;
    }

    #process-sec .process-flow-connector {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 clamp(28px, 3vw, 52px);
        align-self: center;
        min-height: 2px;
    }
}

/* ==========================================================================
   10. ROI / CASE STUDIES (#case-studies-sec)
   ========================================================================== */

#case-studies-sec .roi-stats-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#case-studies-sec .roi-metric-card {
    position: relative;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 0 !important;
    transition: transform var(--hp-transition), border-color var(--hp-transition);
}

#case-studies-sec .roi-metric-card:hover {
    transform: translate3d(0, -3px, 0);
    border-color: rgba(6, 182, 212, 0.3);
}

#case-studies-sec .roi-metric-card .text-muted {
    color: #94A3B8 !important;
}

#case-studies-sec .roi-metric-card .text-accent {
    color: var(--accent-color, #06B6D4) !important;
}

#case-studies-sec .roi-metric-card .text-secondary {
    color: var(--secondary-color, #7C3AED) !important;
}

#case-studies-sec .roi-progress-bg {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 0.5rem;
}

#case-studies-sec .roi-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#case-studies-sec .roi-progress-fill.bg-accent {
    background: linear-gradient(90deg, #06B6D4, #2563EB);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.45);
}

#case-studies-sec .roi-progress-fill.bg-secondary {
    background: linear-gradient(90deg, #7C3AED, #EC4899);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

#case-studies-sec .compare-container {
    position: relative;
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 320px;
    aspect-ratio: 16 / 10;
}

#case-studies-sec .compare-img-box,
#case-studies-sec .compare-overlay-before {
    position: absolute;
    inset: 0;
}

#case-studies-sec .compare-img-box img,
#case-studies-sec .compare-overlay-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#case-studies-sec .compare-overlay-before {
    width: 50%;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.85);
}

#case-studies-sec .compare-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
    z-index: 5;
    cursor: ew-resize;
}

/* ==========================================================================
   11. ADVANTAGE (#advantage-sec)
   ========================================================================== */

#advantage-sec .advantage-card-premium {
    position: relative;
    height: 100%;
    padding: 2rem 1.75rem;
    border-radius: var(--hp-radius-md);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    transition: transform var(--hp-transition), box-shadow var(--hp-transition), border-color var(--hp-transition);
    overflow: hidden;
}

#advantage-sec .advantage-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary, linear-gradient(135deg, #2563EB, #7C3AED));
    opacity: 0;
    transition: opacity 0.35s ease;
}

#advantage-sec .advantage-card-premium:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
}

#advantage-sec .advantage-card-premium:hover::before {
    opacity: 1;
}

#advantage-sec .advantage-icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-color, #2563EB);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    transition: transform var(--hp-transition), box-shadow var(--hp-transition), color var(--hp-transition);
}

#advantage-sec .advantage-card-premium:hover .advantage-icon-box {
    transform: translate3d(0, -2px, 0) scale(1.05);
    color: var(--secondary-color, #7C3AED);
    box-shadow: 0 0 28px rgba(124, 58, 237, 0.35), 0 8px 20px rgba(37, 99, 235, 0.15);
}

#advantage-sec .advantage-card-premium h4 {
    font-size: 1.2rem;
    color: #0F172A !important;
}

#advantage-sec .advantage-card-premium p {
    color: #64748B !important;
}

/* ==========================================================================
   12. TESTIMONIALS (#testimonials-sec)
   ========================================================================== */

#testimonials-sec .testimonial-carousel-wrapper {
    max-width: 850px !important;
}

#testimonials-sec .testimonial-slide .glass-card-premium {
    position: relative;
    padding: 2.25rem 2rem;
    border-radius: var(--hp-radius);
    background: rgba(13, 25, 48, 0.92);
    border: 1px solid transparent;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    isolation: isolate;
}

#testimonials-sec .testimonial-slide .glass-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.45), rgba(124, 58, 237, 0.45));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

#testimonials-sec .testimonial-quote {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    font-style: italic;
    color: rgba(226, 232, 240, 0.92) !important;
    position: relative;
    z-index: 1;
}

#testimonials-sec .testimonial-stars {
    color: var(--highlight-color, #F59E0B) !important;
    letter-spacing: 2px;
}

#testimonials-sec .testimonial-quote-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

#testimonials-sec .testimonial-role {
    font-size: 0.85rem !important;
}

#testimonials-sec .testimonial-company {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-color, #06B6D4);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

#testimonials-sec .testimonial-client-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

#testimonials-sec .testimonial-client-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(6, 182, 212, 0.45);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

#testimonials-sec .testimonial-client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#testimonials-sec .testimonial-client-info h4 {
    font-size: 1.05rem;
    color: #FFFFFF !important;
}

#testimonials-sec .testimonial-client-info p {
    font-size: 0.85rem !important;
    color: rgba(148, 163, 184, 0.95) !important;
}

#testimonials-sec .carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--ng-border, #E6EDF8);
    color: #0F172A;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    z-index: 6;
    transition: transform var(--hp-transition), background var(--hp-transition), color var(--hp-transition), box-shadow var(--hp-transition);
}

#testimonials-sec .carousel-nav-btn.prev-btn {
    left: -18px;
}

#testimonials-sec .carousel-nav-btn.next-btn {
    right: -18px;
}

#testimonials-sec .carousel-nav-btn:hover {
    background: var(--gradient-primary, linear-gradient(135deg, #2563EB, #7C3AED));
    color: #FFFFFF;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
    transform: translate3d(0, -50%, 0) scale(1.05);
}

#testimonials-sec .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, width 0.3s ease;
}

#testimonials-sec .carousel-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--gradient-primary, linear-gradient(135deg, #2563EB, #7C3AED));
}

@media (max-width: 767.98px) {
    #testimonials-sec .carousel-nav-btn.prev-btn {
        left: 4px;
    }

    #testimonials-sec .carousel-nav-btn.next-btn {
        right: 4px;
    }

    #testimonials-sec .testimonial-slide .glass-card-premium {
        padding: 1.75rem 1.35rem;
    }
}

/* ==========================================================================
   13. CAREERS (#careers-sec) — Dark enterprise recruitment
   ========================================================================== */

#careers-sec.careers-recruitment-section {
    position: relative;
    overflow: visible;
    padding: clamp(6.25rem, 10vw, 7.5rem) 0;
}

#careers-sec .careers-dark-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        radial-gradient(ellipse 50% 45% at 18% 20%, rgba(47, 107, 255, 0.1), transparent 55%),
        radial-gradient(ellipse 45% 40% at 82% 78%, rgba(34, 211, 238, 0.06), transparent 50%);
    background-size: 36px 36px, 36px 36px, auto, auto;
    opacity: 0.9;
}

#careers-sec > .container {
    position: relative;
    z-index: 1;
}

#careers-sec .careers-recruit-header {
    max-width: 720px;
    margin: 0 auto clamp(3rem, 5vw, 4rem);
}

#careers-sec .careers-recruit-lead {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.7;
}

#careers-sec .careers-recruit-visual {
    position: relative;
    max-width: 960px;
    margin: 0 auto clamp(3.5rem, 6vw, 5rem);
    padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}

#careers-sec .careers-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92%, 880px);
    height: 72%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(47, 107, 255, 0.28) 0%, rgba(34, 211, 238, 0.08) 42%, transparent 72%);
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
}

#careers-sec .careers-recruit-image {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 48px rgba(47, 107, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
}

#careers-sec .careers-recruit-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#careers-sec .careers-float-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

#careers-sec .careers-float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

#careers-sec .careers-float-badge i {
    color: #2563eb;
    font-size: 0.85rem;
}

#careers-sec .careers-float-badge--1 { top: 14%; left: -1%; }
#careers-sec .careers-float-badge--2 { top: 22%; right: -1%; }
#careers-sec .careers-float-badge--3 { bottom: 20%; left: 3%; }
#careers-sec .careers-float-badge--4 { bottom: 14%; right: 2%; }

#careers-sec .careers-benefits-block {
    margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

#careers-sec .careers-block-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#careers-sec .careers-block-title {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
}

#careers-sec .careers-benefit-card {
    height: 100%;
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

#careers-sec .careers-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    border-radius: 14px;
    font-size: 1.15rem;
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

#careers-sec .careers-benefit-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #ffffff !important;
}

#careers-sec .careers-benefit-card p {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72) !important;
}

#careers-sec .careers-benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 107, 255, 0.35);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), 0 0 36px rgba(47, 107, 255, 0.15);
}

#careers-sec .careers-positions-block {
    margin-bottom: clamp(3rem, 5vw, 4rem);
}

#careers-sec .careers-roles-count {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.22);
}

#careers-sec .careers-job-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

#careers-sec .careers-job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#careers-sec .careers-job-dept {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

#careers-sec .careers-job-salary {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#careers-sec .careers-job-role {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

#careers-sec .careers-job-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

#careers-sec .careers-job-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.62) !important;
}

#careers-sec .careers-job-details i {
    width: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

#careers-sec .careers-job-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, gap 0.3s ease;
}

#careers-sec .careers-job-apply i {
    font-size: 0.75rem;
    transition: transform 0.35s ease;
}

#careers-sec .careers-job-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 107, 255, 0.3);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), 0 0 32px rgba(47, 107, 255, 0.12);
}

#careers-sec .careers-job-card:hover .careers-job-apply {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}

#careers-sec .careers-job-card:hover .careers-job-apply i {
    transform: translateX(4px);
}

#careers-sec .careers-bottom-cta {
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

#careers-sec .careers-bottom-cta-text {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #ffffff !important;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    #careers-sec .careers-float-badges {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        pointer-events: auto;
        margin-top: 1rem;
    }

    #careers-sec .careers-float-badge {
        position: static;
        white-space: normal;
    }

    #careers-sec .careers-recruit-visual {
        margin-bottom: 3rem;
    }

    #careers-sec .careers-image-glow {
        width: 100%;
        height: 60%;
    }
}

@media (min-width: 992px) {
    #careers-sec .careers-float-badge:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    #careers-sec .careers-benefit-card:hover,
    #careers-sec .careers-job-card:hover,
    #careers-sec .careers-float-badge:hover {
        transform: none !important;
    }
}

/* ==========================================================================
   14. FOOTER ? Premium enterprise closing experience
   ========================================================================== */

.footer-custom {
    --footer-nav-gap: 1.15rem;
    position: relative;
    background: var(--bg-dark-deep, #132238) !important;
    color: rgba(255, 255, 255, 0.82);
    padding: 0 0 3.25rem;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 -24px 48px rgba(4, 9, 16, 0.18);
}

/* Careers ? Footer transition */
.footer-transition {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    pointer-events: none;
}

.footer-transition-glow {
    position: absolute;
    left: 50%;
    top: -40px;
    width: min(900px, 90vw);
    height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.28) 0%, rgba(124, 58, 237, 0.12) 45%, transparent 70%);
    filter: blur(24px);
    animation: footer-glow-breathe 8s ease-in-out infinite alternate;
}

.footer-curve {
    display: block;
    width: 100%;
    height: 72px;
}

.footer-curve-fill {
    fill: var(--bg-dark-deep, #132238);
}

@keyframes footer-glow-breathe {
    from { opacity: 0.55; transform: translateX(-50%) scale(0.96); }
    to { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

/* Animated background layers */
.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-mesh {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(ellipse 45% 35% at 15% 20%, rgba(37, 99, 235, 0.22), transparent 60%),
        radial-gradient(ellipse 40% 40% at 85% 30%, rgba(124, 58, 237, 0.18), transparent 55%),
        radial-gradient(ellipse 35% 30% at 50% 90%, rgba(6, 182, 212, 0.12), transparent 55%);
    animation: footer-mesh-drift 22s ease-in-out infinite alternate;
    will-change: transform;
}

.footer-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.footer-aurora-1 {
    width: 55%;
    height: 50%;
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    animation: footer-aurora-spin 30s linear infinite;
}

.footer-aurora-2 {
    width: 45%;
    height: 45%;
    bottom: -15%;
    left: -8%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, transparent 70%);
    animation: footer-aurora-spin 38s linear infinite reverse;
}

.footer-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.footer-glow-1 {
    width: 180px;
    height: 180px;
    top: 25%;
    left: 40%;
    background: rgba(37, 99, 235, 0.15);
    animation: footer-orb-float 12s ease-in-out infinite alternate;
}

.footer-glow-2 {
    width: 140px;
    height: 140px;
    bottom: 20%;
    right: 18%;
    background: rgba(236, 72, 153, 0.1);
    animation: footer-orb-float 14s ease-in-out infinite alternate-reverse;
}

.footer-tech-grid {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.footer-neural {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.footer-neural-path {
    stroke-dasharray: 10 16;
    animation: footer-neural-dash 20s linear infinite;
}

.footer-particle {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
}

.fp-1 { width: 8px; height: 8px; background: rgba(6, 182, 212, 0.4); box-shadow: 0 0 12px rgba(6, 182, 212, 0.5); top: 22%; left: 12%; animation: footer-particle 9s ease-in-out infinite alternate; }
.fp-2 { width: 6px; height: 6px; background: rgba(124, 58, 237, 0.4); box-shadow: 0 0 12px rgba(124, 58, 237, 0.45); top: 48%; right: 16%; animation: footer-particle 11s ease-in-out infinite alternate-reverse; }
.fp-3 { width: 10px; height: 10px; background: rgba(37, 99, 235, 0.3); box-shadow: 0 0 14px rgba(37, 99, 235, 0.4); bottom: 28%; left: 28%; animation: footer-particle 13s ease-in-out infinite alternate; }
.fp-4 { width: 5px; height: 5px; background: rgba(236, 72, 153, 0.35); top: 35%; right: 32%; animation: footer-particle 10s ease-in-out infinite alternate-reverse; }

.footer-mouse-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform, opacity;
    pointer-events: none;
}

@keyframes footer-mesh-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-2%, 1.5%, 0) scale(1.05); }
}
@keyframes footer-aurora-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes footer-orb-float {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(30px, -24px, 0); }
}
@keyframes footer-neural-dash {
    to { stroke-dashoffset: -420; }
}
@keyframes footer-particle {
    from { transform: translate3d(var(--rx, 0px), var(--ry, 0px), 0); opacity: 0.45; }
    to { transform: translate3d(calc(var(--rx, 0px) + 18px), calc(var(--ry, 0px) - 28px), 0); opacity: 0.9; }
}

.footer-inner {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
}

.footer-custom h3,
.footer-custom h4,
.footer-custom h5 {
    color: #FFFFFF !important;
    font-family: var(--font-headings, 'Manrope', sans-serif);
}

.footer-custom h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.25rem;
    line-height: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.35));
}

.footer-brand-copy {
    max-width: 420px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82) !important;
    margin-bottom: 2rem;
}

/* Newsletter */
.footer-newsletter-wrap h5 {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem !important;
    color: #FFFFFF !important;
}

.footer-newsletter-form {
    max-width: 400px;
}

.footer-newsletter-field {
    display: flex;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.footer-newsletter-field:focus-within {
    border-color: rgba(6, 182, 212, 0.55);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12), 0 12px 32px rgba(37, 99, 235, 0.18);
}

.footer-newsletter-input {
    flex: 1;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 0.85rem 1.1rem !important;
    font-size: 0.95rem;
    box-shadow: none !important;
    outline: none !important;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-newsletter-input:focus::placeholder {
    opacity: 0.45;
    transform: translateX(4px);
}

.footer-newsletter-btn {
    position: relative;
    overflow: hidden;
    border: none !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    padding: 0 1.25rem !important;
    min-width: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-newsletter-field:focus-within .footer-newsletter-btn {
    filter: brightness(1.12) saturate(1.1);
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.35);
}

.footer-newsletter-btn i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-newsletter-btn:hover i {
    transform: translateX(3px) translateY(-2px) rotate(-12deg);
}

.footer-btn-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
}

.footer-newsletter-btn:active .footer-btn-ripple {
    animation: footer-ripple 0.45s ease-out;
}

@keyframes footer-ripple {
    from { opacity: 0.7; transform: scale(0.3); }
    to { opacity: 0; transform: scale(1.8); }
}

/* Links */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 0.85rem;
}

.footer-link-list a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.55;
    padding: 2px 0;
    transition: color 0.3s ease;
    transform: none !important;
}

.footer-link-list a span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link-list a span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link-list a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--accent-color);
}

.footer-link-list a:hover {
    color: #FFFFFF;
}

.footer-link-list a:hover span {
    transform: translateX(4px);
}

.footer-link-list a:hover span::after {
    width: 100%;
}

.footer-link-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Office glass card */
.footer-office-card {
    position: relative;
    padding: 1.5rem 1.4rem !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid transparent !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
    transition: box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    isolation: isolate;
    will-change: transform;
    transform-style: preserve-3d;
}

.footer-office-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.55), rgba(124, 58, 237, 0.35), rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.75;
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.footer-office-card:hover {
    box-shadow: 0 24px 48px rgba(6, 182, 212, 0.14), 0 16px 36px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.footer-office-card:hover::before {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.35));
}

.footer-office-card h4 {
    font-size: 1.05rem !important;
    text-transform: none;
    letter-spacing: -0.01em;
}

.footer-office-card p,
.footer-office-address,
.footer-office-phone,
.footer-office-email {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    margin-bottom: 0.75rem;
}

/* Social icons */
.footer-custom .social-circle-btn,
.footer-socials .social-circle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-custom .social-circle-btn:hover {
    transform: translate3d(0, -4px, 0) scale(1.08) rotate(6deg);
    color: #FFFFFF !important;
}

.footer-custom .social-linkedin:hover {
    background: rgba(10, 102, 194, 0.35);
    border-color: rgba(10, 102, 194, 0.6);
    box-shadow: 0 0 22px rgba(10, 102, 194, 0.45);
}

.footer-custom .social-github:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.25);
}

.footer-custom .social-x:hover {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 0 22px rgba(148, 163, 184, 0.3);
}

.footer-bottom-line {
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-line p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55) !important;
    letter-spacing: 0.01em;
}

/* Back to top */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 16px, 0) scale(0.9);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    animation: backtop-float 3s ease-in-out infinite;
}

.back-to-top-btn:hover {
    transform: translate3d(0, -4px, 0) scale(1.06) rotate(-8deg);
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.45), 0 0 24px rgba(6, 182, 212, 0.25);
    animation: none;
}

.back-to-top-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.45);
    animation: backtop-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes backtop-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -6px, 0); }
}

@keyframes backtop-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 991px) {
    .footer-inner {
        padding-top: 0.5rem;
    }

    .footer-custom h4 {
        margin-top: 0.5rem;
    }

    .footer-newsletter-form {
        max-width: 100%;
    }

    .footer-curve {
        height: 48px;
    }
}

@media (max-width: 575px) {
    .footer-custom .social-circle-btn {
        width: 48px;
        height: 48px;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 18px;
        width: 48px;
        height: 48px;
    }

    .footer-link-list a {
        min-height: 44px;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-mesh,
    .footer-aurora,
    .footer-glow-orb,
    .footer-particle,
    .footer-neural-path,
    .footer-transition-glow,
    .back-to-top-btn.show,
    .back-to-top-pulse {
        animation: none !important;
    }
}

#site-footer.footer-custom {
    margin-top: -1px;
    background: var(--bg-dark-deep, #132238) !important;
    padding-top: 0 !important;
}

#site-footer .footer-transition {
    margin-top: -48px;
}

#site-footer .back-to-top-btn,
.back-to-top-btn {
    overflow: visible;
}

.back-to-top-btn.is-rippling::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 65%);
    animation: footer-ripple 0.5s ease-out;
    pointer-events: none;
}

#process-sec .process-ring-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ==========================================================================
   PERFORMANCE / ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ticker-wrap .logo-ticker {
        animation: none !important;
    }

    .hero-home .stat-card-premium:hover,
    .hero-home .btn-premium-primary:hover,
    .hero-home .btn-premium-outline:hover,
    #services-sec .capability-card:hover,
    #tech-stack-sec .tech-logo-card:hover,
    #industries-sec .industry-grid-card:hover .industry-image-bg,
    #process-sec .process-flow-card:hover,
    #advantage-sec .advantage-card-premium:hover,
    #careers-sec .careers-benefit-card:hover,
    #careers-sec .careers-job-card:hover,
    #about .service-card-premium:hover,
    #about .about-metric-card:hover {
        transform: none !important;
    }
}

/* GPU-friendly hover transforms (shared safety) */
.hero-home .stat-card-premium,
.hero-home .floating-glass-card,
#services-sec .capability-card,
#tech-stack-sec .tech-logo-card,
#process-sec .process-flow-card,
#advantage-sec .advantage-card-premium,
#careers-sec .careers-benefit-card,
#careers-sec .careers-job-card,
#about .service-card-premium,
.footer-custom .social-circle-btn {
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Reserve space for absolutely positioned float cards (reduce CLS) */
.hero-home .hero-visual,
.hero-home .hero-illustration-centered,
#solutions-sec .cloud-visual,
#solutions-sec .hero-image-wrap {
    contain: layout style;
}

/* Focus visibility for a11y */
.hero-home a:focus-visible,
#services-sec a:focus-visible,
.footer-link-list a:focus-visible,
#tech-stack-sec .tech-tab-btn:focus-visible,
#testimonials-sec .carousel-nav-btn:focus-visible,
.footer-newsletter-form .btn:focus-visible {
    outline: 2px solid var(--accent-color, #06B6D4);
    outline-offset: 3px;
}

/* Print: strip decorative motion layers */
@media print {
    .hero-home .hero-bg-container,
    .bg-decorations-container,
    .ticker-wrap,
    .floating-glass-card,
    .cloud-float-card,
    .floating-widget-solutions {
        display: none !important;
    }

    section {
        padding: 40px 0 !important;
        background: #fff !important;
        color: #000 !important;
    }
}

/* ==========================================================================
   HOMEPAGE POLISH APPEND ? industries, ROI KPIs, cloud floats, ticker
   ========================================================================== */

.industry-bg-healthcare {
    background-image: url('../images/opt/healthcare_tech-1024w.webp');
}
.industry-bg-finance {
    background-image: url('../images/opt/financial_services-1024w.webp');
}
.industry-bg-manufacturing {
    background-image: url('../images/opt/smart_manufacturing-1024w.webp');
}

#industries-sec .industry-grid-card {
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
}

#industries-sec .industry-image-bg {
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#industries-sec .industry-grid-card:hover .industry-image-bg {
    transform: scale(1.08);
}

.roi-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.roi-kpi-card {
    position: relative;
    padding: 16px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    backdrop-filter: blur(16px);
}

.roi-kpi-value {
    display: block;
    font-family: var(--font-headings, Manrope, sans-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roi-kpi-label {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.roi-metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94A3B8;
}

.roi-metric-value {
    font-size: 1.05rem;
    font-weight: 700;
}

body:has(.hero-home) .ticker-wrap {
    position: relative;
    z-index: 4;
    margin-top: 0;
    padding-top: 28px;
    background: #061018;
    border-color: rgba(255, 255, 255, 0.04);
}

#solutions-sec .cloud-float-card {
    animation: cloud-float-soft 5.5s ease-in-out infinite alternate;
}

#solutions-sec .cloud-float-2 {
    animation-delay: 1.2s;
}

#solutions-sec .cloud-float-3 {
    animation-delay: 2.1s;
}

@keyframes cloud-float-soft {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -10px, 0); }
}

#tech-stack-sec .tech-logo-card {
    perspective: 800px;
}

#tech-stack-sec .tech-card-inner {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

#tech-stack-sec .tech-logo-card,
#industries-sec .industry-grid-card,
#services-sec .capability-card,
#about .about-metric-card,
#process-sec .process-flow-card,
#advantage-sec .advantage-card-premium,
#careers-sec .careers-benefit-card,
#careers-sec .careers-job-card {
    opacity: 1 !important;
    visibility: visible !important;
}

#tech-stack-sec .tech-logo-card.is-filtered-out {
    /* filtered state handled by JS display; do not force visible */
    opacity: 0 !important;
    visibility: hidden !important;
}

#tech-stack-sec .tech-grid-display {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 1.25rem !important;
    min-height: 120px;
}

#industries-sec .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

#industries-sec .industry-grid-card {
    min-height: 420px;
    height: 420px;
}

/* Hero spacing: keep copy clear of fixed navbar / brand */
.hero-home.hero-wrapper {
    --nav-offset: 140px;
    padding-top: var(--nav-offset) !important;
    padding-bottom: 80px !important;
    overflow: visible !important;
}

.navbar-custom {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000 !important;
}

.hero-home .hero-container {
    padding-left: 12px;
    padding-right: 12px;
}

.hero-home .hero-copy {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 700px;
}

@media (min-width: 1280px) {
    .hero-home.hero-wrapper {
        --nav-offset: 150px;
    }

    .hero-home .hero-grid {
        gap: 80px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .hero-home.hero-wrapper {
        --nav-offset: 136px;
    }

    .hero-home .hero-heading {
        font-size: clamp(48px, 5.2vw, 72px);
    }

    .hero-home .hero-grid {
        gap: 48px;
    }
}

@media (max-width: 991px) {
    .hero-home .hero-copy {
        padding-left: 4px;
        padding-right: 4px;
    }
}


@media (max-width: 767px) {
    .roi-kpi-row {
        grid-template-columns: 1fr;
    }
}

body:has(.hero-home) .scroll-to-top {
    display: none !important;
}

#tech-stack-sec .tech-glow-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
    filter: blur(80px);
    top: 8%;
    right: 8%;
    pointer-events: none;
}

#case-studies-sec {
    color: var(--text-color, #0F172A);
}

#case-studies-sec .section-title,
#case-studies-sec h2 {
    color: #0F172A !important;
}

#case-studies-sec > .container > .row > .col-lg-5 > p {
    color: #64748B !important;
}
