/*
Theme Name: Axperien
Theme URI: https://axperien.com
Description: Custom theme for Axperien - Software and Digital Solutions Company
Author: Axperien
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: axperien
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    background: #0d0a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

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

/* ===== HEADER / NAVBAR ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 32px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: #065991;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

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

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    opacity: 1;
    color: #fff;
}

.main-nav a:hover::after,
.main-nav a.nav-active::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: #065991;
    overflow: hidden;
    padding: 160px 60px 100px;
}

#scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(to right, #065991, #076da8, #0880bf);
    overflow: hidden;
}

#hex-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#tunnel-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s;
    pointer-events: none;
}

#tunnel-layer.on {
    opacity: 1;
    pointer-events: all;
}

#tunnel-layer canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #00ffe7;
    font: 11px/1 "Courier New", monospace;
    opacity: .75;
    pointer-events: none;
    transition: opacity .4s;
    white-space: nowrap;
    letter-spacing: 2px;
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-code {
    position: absolute;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: rgba(160, 200, 255, 0.18);
    font-size: 13px;
    white-space: nowrap;
    animation: floatCode 25s linear infinite;
}

@keyframes floatCode {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-60px) translateX(80px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 55%;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
    color: #ffffff;
}

.hero-title-accent {
    display: block;
    color: #fac6c9;
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    height: 2.4em;
    overflow: hidden;
    font-size: 0.85em;
}

.hero-title-accent .cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: #c4b5fd;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 20px;
}

.hero-description-secondary {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    opacity: 1;
}

/* ===== STATS BAR WITH WAVE ===== */
.stats-bar-section {
    position: relative;
    margin-top: -1px;
}

.stats-wave {
    position: relative;
    background: #065991;
    line-height: 0;
}

.stats-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.stats-bar {
    background: #ffffff;
    padding: 60px 60px 70px;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.stats-bar-item {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-bar-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #065991;
    line-height: 1.2;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stats-bar-label-inline {
    font-size: clamp(12px, 1.2vw, 15px);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #065991;
    white-space: nowrap;
    vertical-align: baseline;
}

.stats-bar-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.stats-bar-desc strong {
    color: #065991;
    font-weight: 700;
}

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

@media (max-width: 600px) {
    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-bar {
        padding: 40px 24px 50px;
    }

    .stats-bar-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
    }

    .stats-bar-number {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        text-align: center;
    }

    .stats-bar-desc {
        max-width: 260px;
    }
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: #ffffff;
    padding: 80px 60px 100px;
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.timeline-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: #065991;
    line-height: 1.2;
    margin-bottom: 20px;
}

.timeline-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #065991;
}

.timeline-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.timeline-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Each timeline row */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    position: relative;
}

/* Vertical line connecting markers */
.timeline-connector {
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: -56px;
    width: 3px;
    background: linear-gradient(180deg, var(--marker-color, #ccc), rgba(200, 200, 200, 0.3));
    z-index: 0;
}

.timeline-item:last-child .timeline-connector {
    display: none;
}

/* Numbered circle marker */
.timeline-marker {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--marker-color, #5b3ec4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.timeline-num {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* Card content */
.timeline-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    flex: 1;
    margin-bottom: 32px;
}

.timeline-card-label {
    margin-bottom: 8px;
}

.timeline-label-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .timeline-section {
        padding: 60px 24px 70px;
    }

    .timeline-item {
        gap: 16px;
    }

    .timeline-marker {
        width: 44px;
        height: 44px;
    }

    .timeline-num {
        font-size: 15px;
    }

    .timeline-connector {
        left: 22px;
        top: 44px;
        bottom: -44px;
    }

    .timeline-card {
        padding: 20px 22px;
    }
}

/* ===== PARTNER LOGOS ===== */
.marquee-section {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 40px 0;
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #065991;
    margin-bottom: 28px;
}

.marquee-row {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 16px 40px;
    width: max-content;
    will-change: transform;
}

.marquee-row img {
    height: 45px;
    min-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ===== DELIVERY EXPERIENCE SECTION ===== */
.delivery-section {
    background: #ffffff;
    padding: 80px 60px 70px;
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.delivery-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #065991;
    margin-bottom: 16px;
}

.delivery-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #065991;
    line-height: 1.25;
}

.delivery-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #faf9f7;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px 28px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.delivery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.15);
}

.delivery-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #065991;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.delivery-item p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

.delivery-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-delivery {
    display: inline-block;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 500;
    color: #065991;
    background: #ffffff;
    border: 1.5px solid #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-delivery:hover {
    border-color: #065991;
    background: #f5f5f5;
    opacity: 1;
}

@media (max-width: 768px) {
    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .delivery-section {
        padding: 60px 24px 50px;
    }
}

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
    padding: 80px 60px 90px;
    background: #ffffff;
}

.industries-header {
    text-align: center;
    margin-bottom: 50px;
}

.industries-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #065991;
    margin-bottom: 14px;
}

.industries-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: #065991;
    line-height: 1.25;
    margin-bottom: 12px;
}

.industries-subtitle {
    font-size: 16px;
    color: #555;
    font-style: italic;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background: #ff9999;
    border-radius: 20px;
    padding: 44px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Flip card wrapper */
.industry-card-wrap {
    perspective: 1000px;
    cursor: pointer;
}

.industry-card-flipper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
}

.industry-card-wrap.flipped .industry-card-flipper {
    transform: rotateY(180deg);
}

.industry-card-front,
.industry-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.industry-card-front {
    position: relative;
    z-index: 2;
}

.industry-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    z-index: 1;
    text-align: left;
    align-items: flex-start;
}

.industry-card.industry-card-back {
    overflow-y: auto;
}

.industry-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    min-height: 480px;
}

.industry-card-front {
    align-items: center;
    text-align: center;
}

.industry-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #065991;
    margin-bottom: 14px;
    line-height: 1.3;
    min-height: 2.6em;
}

.industry-card-back .industry-card-title {
    font-size: 24px;
    font-weight: 800;
    min-height: 2.6em;
    border-bottom: 2px solid #065991;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.industry-card-divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #90CAF9, #4CAF50, transparent);
    margin-bottom: 14px;
}

.industry-card-divider-solid {
    display: none;
}

.industry-card-link {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    order: 3;
    margin-top: 12px;
}

.industry-card-front:hover .industry-card-link {
    color: #065991;
    opacity: 1;
}

/* Back face details */
.industry-card-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.industry-detail-group h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #065991;
    margin-bottom: 6px;
}

.industry-detail-group p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.industry-card-illustration {
    width: 100%;
    max-width: 280px;
    margin-top: auto;
    position: relative;
    min-height: 300px;
}

.industry-card-illustration > svg {
    width: 100%;
    height: auto;
}

/* ── ANIMATED SCENE: spinning coin (Financial Services) ── */
.coin-scene {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
}

/* Orbit rings */
.coin-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(6,89,145,0.15);
}
.coin-ring-outer {
    width: 180px; height: 180px;
    animation: coinRingPulse 4s ease-in-out infinite;
}
.coin-ring-inner {
    width: 130px; height: 130px;
    border-color: rgba(6,89,145,0.25);
    animation: coinRingPulse 3.5s ease-in-out infinite 0.5s;
}
@keyframes coinRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.03); opacity: 1; }
}

/* Orbit dots */
.coin-orbit-dot {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #065991;
    box-shadow: 0 0 8px rgba(6,89,145,0.6);
}
.coin-orbit-dot-1 {
    animation: coinOrbit1 8s linear infinite;
}
.coin-orbit-dot-2 {
    animation: coinOrbit2 10s linear infinite;
}
@keyframes coinOrbit1 {
    from { transform: rotate(0deg) translateX(65px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(65px) rotate(-360deg); }
}
@keyframes coinOrbit2 {
    from { transform: rotate(180deg) translateX(90px) rotate(-180deg); }
    to   { transform: rotate(540deg) translateX(90px) rotate(-540deg); }
}

/* Glow behind coin */
.coin-glow {
    position: absolute;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,89,145,0.15) 0%, transparent 70%);
    animation: coinGlowPulse 3s ease-in-out infinite;
}
@keyframes coinGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Spinning coin */
.coin-wrapper {
    position: relative;
    z-index: 2;
    width: 90px; height: 90px;
    animation: coinSpin 8s linear infinite;
}
@keyframes coinSpin {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}

.coin-face {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: rgba(6,89,145,0.08);
    border: 2.5px solid #065991;
    box-shadow: 0 0 14px rgba(6,89,145,0.5), 0 0 30px rgba(6,89,145,0.15), inset 0 0 12px rgba(6,89,145,0.08);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.coin-face::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border-radius: 50%;
    border: 1px solid rgba(6,89,145,0.3);
}

.coin-symbol {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 800;
    color: #065991;
    text-shadow: 0 0 10px rgba(6,89,145,0.5);
    user-select: none;
    position: relative;
    z-index: 1;
}

/* ── ANIMATED SCENE: compliance shield (Regulated) ── */
.comp-scene {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
}

.comp-shield {
    width: 110px; height: 120px;
    position: relative;
    z-index: 2;
    animation: shieldPulse 2s ease-in-out infinite;
}
@keyframes shieldPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(6,89,145,0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(6,89,145,0.8)); }
}
.comp-shield svg { width: 100%; height: 100%; }

.comp-mini-shield {
    position: absolute;
    width: 28px; height: 30px;
    opacity: 0.15;
    animation: shieldShimmer 3.2s ease-in-out infinite;
}
@keyframes shieldShimmer {
    0%, 100% { opacity: 0.1; filter: drop-shadow(0 0 2px rgba(6,89,145,0.3)); }
    50% { opacity: 0.5; filter: drop-shadow(0 0 6px rgba(6,89,145,0.6)); }
}

.comp-check {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #065991;
    font-size: 36px;
    z-index: 4;
    animation: checkGlow 2s ease-in-out infinite;
}
@keyframes checkGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(6,89,145,0.5); }
    50% { text-shadow: 0 0 25px rgba(6,89,145,1), 0 0 50px rgba(6,89,145,0.5); }
}

.comp-scan-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 130px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}
.comp-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #065991, transparent);
    box-shadow: 0 0 8px rgba(6,89,145,0.6), 0 0 20px rgba(6,89,145,0.3);
    animation: laserScan 5s ease-in-out infinite;
}
@keyframes laserScan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* ── ANIMATED SCENE: enterprise bars ── */
.ent-scene {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.ent-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6,89,145,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,89,145,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* Buildings */
.ent-bld {
    position: absolute;
    bottom: 10%;
    border-radius: 2px 2px 0 0;
    border: 1px solid rgba(6,89,145,0.3);
    border-bottom: none;
    overflow: hidden;
    animation: entBldGlow 3s ease-in-out infinite;
}
.ent-bld::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 35%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent 50%);
}
/* Window grid */
.ent-bld::after {
    content: '';
    position: absolute;
    top: 6px; left: 4px; right: 4px; bottom: 4px;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 9px, rgba(6,89,145,0.08) 9px, rgba(6,89,145,0.08) 10px),
        repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(6,89,145,0.08) 7px, rgba(6,89,145,0.08) 8px);
    background-size: 10px 10px;
}
.ent-bld-back {
    background: linear-gradient(180deg, rgba(6,89,145,0.4) 0%, rgba(6,89,145,0.15) 100%);
    z-index: 1;
    animation-delay: 0.5s;
}
.ent-bld-front {
    background: linear-gradient(180deg, rgba(6,89,145,0.7) 0%, rgba(6,89,145,0.3) 100%);
    z-index: 2;
}
.ent-bld-tall::before {
    width: 2px;
    height: 12px;
    top: -12px;
    left: 50%;
    bottom: auto;
    transform: translateX(-50%);
    background: rgba(6,89,145,0.5);
    border-radius: 1px;
}
@keyframes entBldGlow {
    0%, 100% { box-shadow: 0 0 6px rgba(6,89,145,0.15); }
    50% { box-shadow: 0 0 16px rgba(6,89,145,0.4), 0 0 30px rgba(6,89,145,0.1); }
}

.ent-glow {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(6,89,145,0.4), transparent);
    box-shadow: 0 0 12px rgba(6,89,145,0.3);
}

.ent-stream {
    position: absolute;
    top: 0;
    width: 1px;
    height: 35px;
    background: linear-gradient(180deg, transparent 0%, rgba(6,89,145,0.5) 50%, transparent 100%);
    animation: entStreamFall 2.5s linear infinite;
}
.ent-stream:nth-child(2) { left: 25%; animation-delay: 0s; }
.ent-stream:nth-child(3) { left: 55%; animation-delay: 0.8s; }
.ent-stream:nth-child(4) { left: 78%; animation-delay: 1.6s; }
@keyframes entStreamFall {
    0% { top: -35px; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .industry-card {
        min-height: 320px;
        padding: 24px 20px 18px;
    }

    .industry-card-illustration {
        min-height: 140px;
        max-width: 280px;
        transform: scale(0.8);
        transform-origin: top center;
        margin-bottom: -20px;
    }

    .industry-card-title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .industry-card-back .industry-card-title {
        font-size: 20px;
        min-height: auto;
    }

    .industry-card-link {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .industry-card-details {
        gap: 14px;
    }

    .industry-detail-group p {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .industries-section {
        padding: 60px 24px 70px;
    }

    .industries-grid {
        max-width: 300px;
    }

    .industry-card {
        min-height: 280px;
        padding: 20px 16px 14px;
    }

    .industry-card-illustration {
        min-height: 120px;
        max-width: 280px;
        transform: scale(0.7);
        transform-origin: top center;
        margin-bottom: -30px;
    }
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    padding: 80px 60px 90px;
    background: #ffffff;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 50px;
}

.philosophy-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #065991;
    margin-bottom: 14px;
}

.philosophy-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #065991;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: #ff9999;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.philosophy-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.philosophy-card-top h3 {
    font-size: 20px;
    font-weight: 800;
    color: #065991;
    line-height: 1.3;
    flex: 1;
    margin-right: 12px;
}

.philosophy-arrow {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.philosophy-card:hover .philosophy-arrow {
    border-color: #065991;
    background: rgba(26, 10, 62, 0.04);
}

.philosophy-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: auto;
}

.philosophy-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ff9999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    align-self: center;
}

@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .philosophy-card {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .philosophy-section {
        padding: 60px 24px 70px;
    }
}

/* ===== TEAM / LEADERSHIP SECTION ===== */
.team-section {
    background: #ffffff;
    padding: 80px 60px 90px;
}

.team-header {
    text-align: center;
    margin-bottom: 36px;
}

.team-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #065991;
    margin-bottom: 14px;
}

.team-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #065991;
    margin-bottom: 12px;
}

.team-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Tabs */
.team-tabs {
    display: flex;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.team-tab {
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #065991;
    transition: all 0.3s ease;
}

.team-tab.active {
    background: #065991;
    color: #fff;
    border-color: #065991;
}

.team-tab:hover:not(.active) {
    border-color: #065991;
}

/* Profile container */
.team-profile {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.team-profile.active {
    display: block;
}

/* Profile top: avatar + bio */
.profile-top {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.profile-avatar {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: #065991;
}

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

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #065991;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.profile-bio {
    margin-bottom: 24px;
}

.profile-bio p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 16px;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

/* Profile body: quote left + details right */
.profile-body {
    display: flex;
    gap: 40px;
}

.profile-left {
    flex-shrink: 0;
    width: 220px;
}

.profile-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    border-left: 3px solid #d4a017;
    padding-left: 16px;
    margin: 20px 0 14px;
}

.profile-quote-author {
    font-size: 14px;
    font-weight: 700;
    color: #065991;
}

.profile-quote-author span {
    font-weight: 400;
    color: #666;
}

.profile-right {
    flex: 1;
    min-width: 0;
}

/* Stats row */
.profile-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-stat {
    flex: 1;
    text-align: center;
    padding: 18px 12px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.profile-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #065991;
}

.profile-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    margin-top: 4px;
}

/* Profile Recognition Timeline */
.profile-recognition {
    margin-bottom: 24px;
    background: #faf8fd;
    border-radius: 10px;
    padding: 20px 24px;
    border: 1px solid #ff9999;
}

.profile-recognition-header {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #065991;
    margin-bottom: 16px;
}

.profile-recognition-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-recognition-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.profile-recognition-year {
    font-size: 13px;
    font-weight: 700;
    color: #065991;
    min-width: 40px;
    padding-top: 2px;
}

.profile-recognition-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}

.profile-recognition-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4a017;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #d4a017;
    flex-shrink: 0;
}

.profile-recognition-dot-accent {
    background: #065991;
    box-shadow: 0 0 0 2px #065991;
}

.profile-recognition-line {
    width: 2px;
    height: 28px;
    background: #e0d4f0;
}

.profile-recognition-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 20px;
}

.profile-recognition-item:last-child .profile-recognition-detail {
    padding-bottom: 0;
}

.profile-recognition-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff8e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-recognition-badge-accent {
    background: #f0ebf8;
}

.profile-recognition-detail strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #065991;
}

.profile-recognition-detail span {
    font-size: 12px;
    color: #666;
}

/* Profile Skill Bars */
.profile-skill-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.profile-skill-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-skill-label {
    font-size: 13px;
    font-weight: 600;
    color: #065991;
    min-width: 170px;
    white-space: nowrap;
}

.profile-skill-track {
    flex: 1;
    height: 10px;
    background: #ff9999;
    border-radius: 5px;
    overflow: hidden;
}

.profile-skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #065991, #065991);
    border-radius: 5px;
    width: 0;
    animation: skillBarFill 1.2s ease forwards;
}

@keyframes skillBarFill {
    from { width: 0; }
    to { width: var(--skill-width); }
}

/* Details table */
.profile-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.profile-details tr {
    border-bottom: 1px solid #f0f0f0;
}

.profile-details td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    vertical-align: top;
}

.profile-details td:first-child {
    padding-left: 0;
}

.detail-label {
    font-weight: 700;
    color: #065991;
    font-size: 12px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 140px;
    white-space: nowrap;
}

/* Section titles inside profile */
.profile-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #065991;
    margin-bottom: 16px;
}

/* Initiative cards — horizontal scroll with arrows */
.initiative-scroll-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.initiative-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #065991;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.initiative-arrow:hover {
    background: #ff9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.profile-initiatives {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}

.profile-initiatives::-webkit-scrollbar {
    display: none;
}

.profile-initiatives {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.initiative-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.initiative-card-right {
    display: flex;
    align-items: center;
    gap: 12px;
    order: -1;
}

.initiative-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ff9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.initiative-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #065991;
    margin-bottom: 0;
}

.initiative-card p {
    font-size: 15px;
    color: #777;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

/* Tags */
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.profile-tag {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #065991;
    font-weight: 500;
}

/* Bottom banner */
.profile-banner {
    background: #065991;
    color: #fff;
    border-radius: 10px;
    padding: 20px 28px;
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 24px 70px;
    }

    .profile-body {
        flex-direction: column;
    }

    .profile-left {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .profile-stats {
        flex-direction: column;
    }

    .profile-skill-bars {
        gap: 10px;
    }

    .profile-skill-label {
        min-width: 120px;
        font-size: 11px;
    }

    .profile-initiatives {
        gap: 12px;
    }

    .initiative-card {
        min-width: 260px;
    }

    .detail-label {
        width: auto;
    }

    .profile-details td {
        display: block;
        padding: 6px 0;
    }

    .profile-details tr {
        padding: 10px 0;
        display: block;
    }
}

/* ===== SOLUTIONS PAGE ===== */
.page-template-page-solutions .site-header {
    background: #065991;
}

/* Solutions Hero */
.solutions-hero {
    background: #065991;
    padding: 160px 60px 100px;
    text-align: center;
}

.solutions-hero-title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 28px;
}

.solutions-hero-title em {
    font-style: italic;
}

.solutions-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CASE STUDIES HERO ===== */
.casestudies-hero {
    background: #065991;
    padding: 160px 60px 100px;
    text-align: center;
}

.casestudies-hero-title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 28px;
}

.casestudies-hero-title em {
    font-style: italic;
}

.casestudies-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
    background: #065991;
    padding: 160px 60px 100px;
    text-align: center;
}

.contact-hero-title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 28px;
}

.contact-hero-title em {
    font-style: italic;
}

.contact-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTACT BODY ===== */
.contact-body {
    background: #ffffff;
    padding: 80px 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
    font-size: 26px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 32px;
    line-height: 1.6;
}

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

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

.contact-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #065991;
    margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e1eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #faf9fc;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #bbb;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #8b0000;
    background: #fff;
}

.contact-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.contact-form-submit {
    width: 100%;
    padding: 16px;
    background: #065991;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form-submit:hover {
    background: #2d1560;
}

/* Contact Info Cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-info-heading {
    font-size: 18px;
    font-weight: 800;
    color: #065991;
}

.contact-info-divider {
    height: 1px;
    background: #eee;
    margin: 16px 0 24px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #8b0000;
    display: block;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.contact-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-help-list li {
    font-size: 14px;
    color: #333;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    border-radius: 8px;
    padding: 10px 12px;
}

.contact-help-list li:hover {
    transform: translateX(6px);
    background: #ff9999;
}

.contact-help-list li:active {
    transform: translateX(3px) scale(0.98);
}

.contact-help-list li a {
    color: #333;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.contact-help-list li:hover a {
    color: #8b0000;
}

.contact-help-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #065991;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.contact-help-list li:hover::before {
    background: #8b0000;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 24px 60px;
    }

    .contact-body {
        padding: 60px 24px;
    }

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

    .contact-form-card {
        padding: 28px;
    }

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

/* ===== CASE STUDIES CARDS ===== */
.cs-cards-section {
    background: #ffffff;
    padding: 80px 60px;
}

.cs-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.cs-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cs-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.15);
}

.cs-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.cs-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-card-icon-purple {
    background: #ede9f6;
    color: #8b0000;
}

.cs-card-icon-teal {
    background: #e6f7f5;
    color: #2dd4bf;
}

.cs-card-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
}

.cs-badge-purple {
    background: #f3f0fa;
    color: #8b0000;
    border: 1px solid #e0d6f0;
}

.cs-badge-teal {
    background: #e6f7f5;
    color: #14b8a6;
    border: 1px solid #b2ece5;
}

.cs-card-title {
    font-size: 26px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cs-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0edf5;
}

.cs-card-list li:last-child {
    border-bottom: none;
}

.cs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.cs-dot-purple {
    background: #c4b5fd;
}

.cs-dot-teal {
    background: #5eead4;
}

.cs-card-list p {
    font-size: 15px;
    color: #3a3a4a;
    line-height: 1.7;
    margin: 0;
}

/* ===== PROVEN RESULTS GRID ===== */
.cs-results-section {
    background: #ffffff;
    padding: 80px 60px;
}

.cs-results-header {
    text-align: center;
    margin-bottom: 50px;
}

.cs-results-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b0000;
    margin-bottom: 12px;
}

.cs-results-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #065991;
}

.cs-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.cs-result-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border-left: 3px solid #ff9999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cs-result-card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.15);
}

.cs-result-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.cs-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-result-body {
    padding: 28px;
}

.cs-result-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.cs-result-tag-red {
    color: #c0392b;
}

.cs-result-tag-teal {
    color: #0d9488;
}

.cs-result-name {
    font-size: 18px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cs-result-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}

.cs-result-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

.cs-result-link {
    font-size: 14px;
    font-weight: 600;
    color: #c0392b;
    transition: opacity 0.3s ease;
}

.cs-result-link:hover {
    opacity: 0.7;
}

/* ===== INDUSTRY INSIGHTS ===== */
.cs-insights-section {
    background: #ffffff;
    padding: 80px 60px;
}

.cs-insights-section .cs-insights-grid {
    background: #ff9999;
    border-radius: 20px;
    padding: 40px 36px;
}

.cs-insights-header {
    text-align: center;
    margin-bottom: 50px;
}

.cs-insights-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b0000;
    margin-bottom: 12px;
}

.cs-insights-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: #065991;
}

.cs-insights-title em {
    font-style: italic;
}

.cs-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.cs-insight-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border-left: 4px solid #8b0000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.cs-insight-card:hover {
    box-shadow: 0 6px 24px rgba(139, 0, 0, 0.15);
    border-left-color: #065991;
    transform: scale(1.04);
}

.cs-insight-heading {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #065991;
    margin-bottom: 24px;
}

/* Ring chart */
.cs-insight-ring-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.cs-insight-ring {
    width: 160px;
    height: 160px;
}

/* Ring animation on hover */
@keyframes ringFill {
    from { stroke-dashoffset: 391.3; }
    to { stroke-dashoffset: 15.65; }
}

.cs-insight-card:hover .cs-ring-progress {
    animation: ringFill 1s ease forwards;
}

.cs-insight-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-insight-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.cs-insight-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #065991;
    min-width: 55px;
}

.cs-insight-stat-num-light {
    color: #999;
}

.cs-insight-stat-text {
    font-size: 14px;
    color: #555;
}

/* Bar chart */
.cs-insight-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.cs-insight-bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cs-insight-bar-label {
    font-size: 14px;
    font-weight: 600;
    color: #065991;
    min-width: 90px;
}

.cs-insight-bar-track {
    flex: 1;
    height: 12px;
    background: #ff9999;
    border-radius: 6px;
    overflow: hidden;
}

.cs-insight-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #065991, #065991);
    border-radius: 6px;
}

@keyframes barFill {
    from { width: 0; }
    to { width: var(--bar-width); }
}

.cs-insight-card:hover .cs-insight-bar-fill {
    animation: barFill 1s ease forwards;
}

.cs-insight-bar-value {
    font-size: 14px;
    font-weight: 700;
    color: #065991;
    min-width: 36px;
    text-align: right;
}

.cs-insight-note {
    font-size: 14px;
    color: #888;
    font-style: italic;
    line-height: 1.6;
    margin-top: 0;
}

/* Line chart */
.cs-insight-chart-wrapper {
    margin-bottom: 20px;
}

.cs-insight-chart {
    width: 100%;
    height: auto;
}

/* Line chart draw animation on hover */
@keyframes lineDraw {
    from { stroke-dashoffset: 400; }
    to { stroke-dashoffset: 0; }
}

.cs-insight-chart .cs-chart-line {
    stroke-dasharray: 400;
}

.cs-insight-card:hover .cs-chart-line {
    animation: lineDraw 1.2s ease forwards;
}

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

.cs-insight-card:hover .cs-chart-area {
    animation: areaFadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

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

.cs-insight-card:hover .cs-chart-dot:nth-child(4) { animation: dotFadeIn 0.4s ease 0.2s forwards; opacity: 0; }
.cs-insight-card:hover .cs-chart-dot:nth-child(5) { animation: dotFadeIn 0.4s ease 0.5s forwards; opacity: 0; }
.cs-insight-card:hover .cs-chart-dot:nth-child(6) { animation: dotFadeIn 0.4s ease 0.7s forwards; opacity: 0; }
.cs-insight-card:hover .cs-chart-dot:nth-child(7) { animation: dotFadeIn 0.4s ease 0.9s forwards; opacity: 0; }
.cs-insight-card:hover .cs-chart-dot:nth-child(8) { animation: dotFadeIn 0.4s ease 1.1s forwards; opacity: 0; }

.cs-insight-milestones {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cs-insight-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cs-insight-milestone-num {
    font-size: 18px;
    font-weight: 800;
    color: #065991;
}

.cs-insight-milestone-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

/* ===== CREDENTIALS ===== */
.cs-credentials-section {
    background: #ffffff;
    padding: 80px 60px;
}

.cs-credentials-header {
    text-align: center;
    margin-bottom: 50px;
}

.cs-credentials-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b0000;
    margin-bottom: 12px;
}

.cs-credentials-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: #065991;
    margin-bottom: 20px;
}

.cs-credentials-title em {
    font-style: italic;
}

.cs-credentials-subtitle {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.credential-folder {
    perspective: 900px;
    margin-top: 34px;
    height: 260px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.credential-folder:hover {
    transform: scale(1.05);
}

.credential-folder-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.credential-folder.flipped .credential-folder-inner {
    transform: rotateY(180deg);
}

.credential-folder-front,
.credential-folder-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0 16px 16px 16px;
    padding: 24px;
}

.credential-folder-front::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 55%;
    height: 34px;
    border-radius: 12px 12px 0 0;
    background: inherit;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}

.credential-folder-front {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.credential-folder-front-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.credential-folder-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.75;
}

.credential-folder--blue .credential-folder-desc  { color: #fff; }
.credential-folder--gray .credential-folder-desc   { color: #1a1a1a; }
.credential-folder--amber .credential-folder-desc  { color: #1a1a1a; }

.credential-folder-back {
    transform: rotateY(180deg);
    border-radius: 16px 0 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #e4e2dc;
    overflow: visible;
}

.credential-folder-back::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 55%;
    height: 34px;
    border-radius: 12px 12px 0 0;
    background: #fff;
    border: 1.5px solid #e4e2dc;
    border-bottom: none;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.credential-folder--blue .credential-folder-front  { background: #4338ca; }
.credential-folder--gray .credential-folder-front   { background: #E8E5E0; }
.credential-folder--amber .credential-folder-front  { background: #EAA821; }

.credential-folder-title {
    font-family: 'Switzer', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.credential-folder--blue .credential-folder-title  { color: #fff; }
.credential-folder--gray .credential-folder-title   { color: #1a1a1a; }
.credential-folder--amber .credential-folder-title  { color: #1a1a1a; }

.credential-folder-icon {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    transform: rotate(-45deg);
}

.credential-folder--blue .credential-folder-icon  { color: rgba(255,255,255,0.7); }
.credential-folder--gray .credential-folder-icon   { color: rgba(0,0,0,0.4); }
.credential-folder--amber .credential-folder-icon  { color: rgba(0,0,0,0.4); }

.credential-folder-back-title {
    font-family: 'Switzer', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D1B69;
    margin: 0;
    min-height: 52px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(42, 45, 110, 0.15);
    flex-shrink: 0;
}

.credential-folder-back .credential-tags {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    gap: 6px;
}

.credential-tag {
    display: inline-block;
    padding: 10px 20px;
    background: #f3f0f8;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background 0.2s ease;
}

.credential-tag:hover {
    background: #ff9999;
}

@media (max-width: 1024px) {
    .cs-results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-insights-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .cs-cards-section {
        padding: 60px 24px;
    }

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

    .cs-card {
        padding: 28px;
    }

    .cs-results-section {
        padding: 60px 24px;
    }

    .cs-results-grid {
        grid-template-columns: 1fr;
    }

    .cs-insights-section {
        padding: 60px 24px;
    }

    .cs-credentials-section {
        padding: 60px 24px;
    }
}

@media (max-width: 768px) {
    .solutions-hero {
        padding: 120px 24px 60px;
    }

    .casestudies-hero {
        padding: 120px 24px 60px;
    }
}

/* ===== SOLUTIONS CAROUSEL ===== */
.sol-carousel-section {
    background: #ffffff;
    padding: 80px 60px 90px;
    position: relative;
    clip-path: inset(0);
}

/* ===== PUZZLE LIGHTBULB BACKGROUND ILLUSTRATION ===== */
.sol-bg-illustration {
    position: sticky;
    top: 2vh;
    width: 100%;
    pointer-events: none;
    z-index: 0;
    height: 0;
    overflow: visible;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

.sol-bg-illustration.sol-bg-hidden {
    opacity: 0;
}

/* ===== CANVAS GEARS SCENE ===== */
.sol-gears-scene {
    position: relative;
    width: 70vw;
    max-width: 900px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    left: 35%;
    transform: translateX(-50%);
}

#sol-gears-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.sol-bulb-container {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    animation: solBulbFloat 4s ease-in-out infinite;
    z-index: 2;
}

.sol-bulb-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, rgba(245, 166, 35, 0) 70%);
    animation: solBulbHalo 3s ease-in-out infinite;
    pointer-events: none;
}

.sol-bulb-outer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0) 70%);
    animation: solBulbOuterGlow 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes solBulbFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes solBulbHalo {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes solBulbOuterGlow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Person figures */
.sol-person {
    position: absolute;
    width: 52px;
    height: 70px;
    z-index: 2;
}

.sol-person-run {
    bottom: 14%;
    right: 12%;
    animation: solPersonRun 3s ease-in-out infinite;
}

.sol-person-fall-left {
    bottom: 24%;
    left: 10%;
    transform: rotate(-20deg);
    animation: solPersonFallLeft 4s ease-in-out infinite;
}

.sol-person-fall-right {
    top: 32%;
    right: 8%;
    transform: rotate(15deg);
    animation: solPersonFallRight 5s ease-in-out infinite;
}

@keyframes solPersonRun {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(4px) translateY(-6px); }
    50% { transform: translateX(8px) translateY(0); }
    75% { transform: translateX(4px) translateY(-4px); }
}

@keyframes solPersonFallLeft {
    0%, 100% { transform: rotate(-20deg) translateY(0); }
    50% { transform: rotate(-15deg) translateY(-8px); }
}

@keyframes solPersonFallRight {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(20deg) translateY(-6px); }
}

.sol-carousel-header,
.sol-layout {
    position: relative;
    z-index: 1;
}

.sol-carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.sol-carousel-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #065991;
    margin-bottom: 14px;
}

.sol-carousel-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #065991;
}

/* Solution Layout — Sidebar + Content */
.sol-layout {
    display: flex;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.sol-sidebar {
    position: sticky;
    top: 120px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0;
}

.sol-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    border-left: 3px solid transparent;
    border-radius: 0 10px 10px 0;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1.3;
    position: relative;
}

.sol-nav-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.sol-nav-link:hover {
    color: #065991;
    background: rgba(139, 0, 0, 0.05);
}

.sol-nav-link:hover::before {
    background: #8b0000;
}

.sol-nav-link.sol-nav-active {
    color: #065991;
    font-size: 17px;
    font-weight: 800;
    border-left-color: #8b0000;
    background: rgba(139, 0, 0, 0.08);
    padding: 18px 20px;
}

.sol-nav-link.sol-nav-active::before {
    width: 10px;
    height: 10px;
    background: #8b0000;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.5);
}

/* ===== SOLUTION CONTENT PANELS ===== */
.sol-panels {
    flex: 1;
    min-width: 0;
}

.sol-panel {
    display: block;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd4ea;
    scroll-margin-top: 140px;
}

.sol-panel:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sol-panel-inner {
    padding: 0;
}

@media (max-width: 1024px) {
    .sol-layout {
        flex-direction: column;
        gap: 0;
    }

    .sol-sidebar {
        position: relative;
        top: auto;
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 32px;
        border-left: none;
    }

    .sol-nav-link {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px 8px 0 0;
        padding: 10px 16px;
        font-size: 13px;
    }

    .sol-nav-link::before {
        display: none;
    }

    .sol-nav-link.sol-nav-active {
        font-size: 14px;
        padding: 12px 16px;
        border-left-color: transparent;
        border-bottom-color: #8b0000;
        background: rgba(139, 0, 0, 0.08);
    }
}

@media (max-width: 768px) {
    .sol-carousel-section {
        padding: 60px 24px;
    }

    .sol-bg-illustration {
        display: none;
    }
}

.sol-panel-header {
    margin-bottom: 36px;
    scroll-margin-top: 140px;
}

.sol-panel-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b0000;
    margin-bottom: 14px;
}

.sol-panel-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #065991;
    line-height: 1.25;
    margin-bottom: 16px;
}

.sol-panel-intro {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
}

.sol-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.sol-panel-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #ff9999;
    margin-bottom: 0;
}

.sol-panel-card-full {
    margin-bottom: 20px;
}

.sol-panel-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #065991;
    margin-bottom: 12px;
}

.sol-panel-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.sol-panel-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sol-panel-card ul li {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    padding: 6px 0 6px 20px;
    position: relative;
}

.sol-panel-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b0000;
}

.inline-logo {
    height: 36px;
    width: auto;
    vertical-align: middle;
    margin: 0 6px;
    border: none;
    outline: none;
}

.sol-partner-logos-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 40px;
    background: #f5f5f5;
    border: 2px solid #e8a317;
    border-radius: 14px;
    padding: 30px 36px;
    margin-top: 24px;
}

.sol-partner-logos-box img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.sol-panel-banner {
    background: #065991;
    border-radius: 14px;
    padding: 32px 36px;
    margin: 28px 0;
}

.sol-panel-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.sol-panel-banner h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.sol-panel-banner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sol-panel-banner ul li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    padding: 5px 0 5px 20px;
    position: relative;
}

.sol-panel-banner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cc3333;
}

/* Product sub-sections */
.sol-panel-product {
    background: #faf8fd;
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 20px;
    border: 1px solid #ff9999;
}

.sol-panel-product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sol-panel-product-header h4 {
    font-size: 19px;
    font-weight: 700;
    color: #065991;
    margin-bottom: 6px;
}

.sol-panel-product-title-row h4 {
    margin-bottom: 0;
}

.sol-panel-product-link {
    font-size: 14px;
    font-weight: 600;
    color: #8b0000;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sol-panel-product-link:hover {
    color: #5b3ec4;
}

.sol-panel-product-tagline {
    font-size: 14px;
    font-weight: 600;
    color: #8b0000;
    margin-bottom: 16px;
}

.sol-panel-product > p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sol-panel-product .sol-panel-grid {
    margin-bottom: 0;
}

.sol-panel-product .sol-panel-card {
    border: 1px solid #e0dae8;
}

/* Platform Suite */
.sol-panel-suite {
    margin: 28px 0;
}

.sol-panel-suite-title {
    font-size: 22px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 10px;
}

.sol-panel-suite-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 800px;
}

@media (max-width: 768px) {
    .sol-panel-grid {
        grid-template-columns: 1fr;
    }

    .sol-panel-product {
        padding: 24px 20px;
    }
}

/* ===== DELIVERY APPROACH — TRAVELLING DOT ===== */
.section-process {
    background: #ffffff;
    padding: 120px 0 100px;
}

.section-process-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

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

.section-process .section-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8b7cf6;
    margin-bottom: 14px;
    display: block;
}

.section-process .section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #2D1B69;
    margin-bottom: 18px;
}

.section-process .section-description {
    font-size: 15px;
    color: #5a5a6a;
    line-height: 1.8;
    margin: 0 auto;
}

/* Timeline container */
.dz-timeline {
    position: relative;
    height: 600px;
    margin: 56px 0 60px;
    overflow: visible;
}

.dz-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Each step node */
.dz-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Numbered circle — red by default, blue when reached */
.dz-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9999 0%, #e07777 100%);
    box-shadow: 0 0 28px rgba(255, 153, 153, 0.6), 0 0 60px rgba(255, 153, 153, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, box-shadow;
}

/* Step label */
.dz-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #3a3a4a;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 140px;
    position: relative;
    z-index: 2;
    background: #ddd8eb;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

/* Active state — turns blue when reached */
.dz-node.dz-active .dz-circle {
    background: linear-gradient(135deg, #0a7bc2 0%, #065991 100%);
    animation: dzPulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 0 44px rgba(6, 89, 145, 1), 0 0 88px rgba(6, 89, 145, 0.5);
}

.dz-node.dz-active .dz-label {
    color: #2D1B69;
    letter-spacing: 0.08em;
}

@keyframes dzPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); }
    100% { transform: scale(1.2); }
}

/* Mobile: vertical timeline (left-aligned) */
@media (max-width: 768px) {
    .section-process {
        padding: 60px 0 70px;
    }

    .section-process-inner {
        padding: 0 24px;
    }

    .dz-timeline {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 16px 0 56px;
        margin: 36px 0 48px;
        overflow: visible;
        position: relative;
    }

    /* Vertical line on the left */
    .dz-timeline::before {
        content: '';
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 39px;
        width: 3px;
        background: linear-gradient(to bottom,
            rgba(139, 124, 246, 0.1),
            rgba(139, 124, 246, 0.35) 20%,
            rgba(139, 124, 246, 0.35) 80%,
            rgba(139, 124, 246, 0.1));
        border-radius: 2px;
        z-index: 0;
    }

    .dz-svg { display: none; }

    .dz-node {
        position: relative;
        transform: none;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        flex-direction: row;
        gap: 0;
        align-items: center;
        padding: 0;
        z-index: 1;
    }

    .dz-node:nth-child(odd),
    .dz-node:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
        align-self: auto;
        padding-left: 0;
        padding-right: 0;
    }

    /* Remove diagonal connectors */
    .dz-node:not(:last-child)::after,
    .dz-node:nth-child(even):not(:last-child)::after,
    .dz-node:nth-child(odd):not(:last-child)::after {
        display: none;
    }

    .dz-circle {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
        flex-shrink: 0;
        position: absolute;
        left: -52px;
        box-shadow: 0 0 0 4px #ddd8eb, 0 2px 8px rgba(83, 70, 200, 0.25);
    }

    .dz-label {
        max-width: none;
        background: #fff;
        text-align: left;
        font-size: 0.75rem;
        padding: 14px 16px;
        border-radius: 10px;
        width: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        margin: 6px 0;
        border-left: 3px solid rgba(139, 124, 246, 0.5);
    }

    .dz-node:nth-child(odd) .dz-label,
    .dz-node:nth-child(even) .dz-label {
        text-align: left;
    }
}

/* ===== SECTIONS (generic) ===== */
.section {
    padding: 100px 60px;
}

.section-dark {
    background: #0d0a1a;
}

.section-purple {
    background: linear-gradient(135deg, #065991, #065991);
}

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

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #cc3333;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SOLUTIONS GRID ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateY(-4px);
}

.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(79, 70, 229, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.solution-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== ABOUT / WHY SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #cc3333;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 100px 60px;
    background: linear-gradient(135deg, #065991, #065991);
}

.cta-section h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #065991;
    padding: 60px 60px 30px;
    color: #fff;
}

.site-footer,
.site-footer a,
.site-footer h4,
.site-footer span,
.site-footer p,
.site-footer svg {
    color: #fff;
    opacity: 1;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 48px;
}

.footer-brand-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand-tagline {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: #fff;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #cc3333;
}

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

.footer-social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 0 !important;
}

.footer-social-link:hover {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 14px;
    color: #fff;
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: #fff;
}

.footer-bottom strong {
    color: #fff;
    font-weight: 600;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #065991;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 89, 145, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1001;
    border: none;
    color: #fff;
    font-size: 20px;
}

.chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(6, 89, 145, 0.6);
}

.chat-widget.active {
    background: #065991;
    box-shadow: 0 4px 20px rgba(26, 10, 62, 0.5);
}

/* Chat popup */
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-popup-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0edf5;
}

.chat-popup-title {
    font-size: 18px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 4px;
}

.chat-popup-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.chat-popup-links {
    padding: 8px 0;
}

.chat-popup-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #065991;
    transition: background 0.2s ease;
}

.chat-popup-link:hover {
    background: #f8f6fc;
}

.chat-popup-link svg {
    flex-shrink: 0;
    color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        width: 60%;
    }

    .hero-visual {
        width: 50%;
        right: -10%;
    }

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

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

@media (max-width: 768px) {
    .site-header {
        padding: 16px 24px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 32px 32px;
        transition: right 0.3s ease;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .main-nav a {
        font-size: 18px;
    }

    .hero-section {
        padding: 120px 24px 60px;
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-visual {
        position: relative;
        width: 100%;
        height: 300px;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .section {
        padding: 60px 24px;
    }

    .cta-section {
        padding: 60px 24px;
    }

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

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

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

    .site-footer {
        padding: 40px 24px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

/* ===== CASE STUDY DETAIL PAGES ===== */
.cs-detail-hero {
    background: #065991;
    padding: 160px 60px 80px;
    text-align: center;
}

.cs-detail-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cs-detail-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.cs-detail-tag-red {
    background: rgba(220, 80, 60, 0.15);
    color: #e8453c;
}

.cs-detail-tag-teal {
    background: rgba(0, 150, 136, 0.15);
    color: #00897b;
}

.cs-detail-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 12px;
}

.cs-detail-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
}

.cs-detail-content {
    background: #ffffff;
    padding: 80px 60px;
}

.cs-detail-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Overview: image + table side by side */
.cs-detail-overview {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 36px;
}

.cs-detail-img {
    flex-shrink: 0;
    width: 280px;
    border-radius: 16px;
    overflow: hidden;
}

.cs-detail-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.cs-detail-overview-text {
    flex: 1;
    min-width: 0;
}

/* Details table */
.cs-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.cs-detail-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.cs-detail-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    vertical-align: top;
}

.cs-detail-table td:first-child {
    padding-left: 0;
}

.cs-detail-label {
    font-weight: 700;
    color: #065991;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 120px;
    white-space: nowrap;
}

/* Stats row */
.cs-detail-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.cs-detail-stat {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-detail-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.1);
}

.cs-detail-stat-icon {
    width: 44px;
    height: 44px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.cs-detail-stat-text {
    font-size: 15px;
    font-weight: 700;
    color: #065991;
    letter-spacing: 0.5px;
}

/* Cards grid */
.cs-detail-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.cs-detail-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
}

.cs-detail-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #065991;
    margin-bottom: 16px;
}

.cs-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-detail-card ul li {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.cs-detail-card ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b0000;
    position: absolute;
    left: 0;
    top: 12px;
}

/* Banner */
.cs-detail-banner {
    background: #065991;
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 36px;
    color: #fff;
}

.cs-detail-banner h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.cs-detail-banner p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.cs-detail-banner-cite {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* Back link */
.cs-detail-back {
    padding-top: 24px;
}

.cs-detail-back-link {
    font-size: 15px;
    font-weight: 600;
    color: #8b0000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cs-detail-back-link:hover {
    color: #065991;
}

@media (max-width: 768px) {
    .cs-detail-hero {
        padding: 120px 24px 60px;
    }

    .cs-detail-content {
        padding: 48px 24px;
    }

    .cs-detail-overview {
        flex-direction: column;
    }

    .cs-detail-img {
        width: 100%;
    }

    .cs-detail-img img {
        height: auto;
    }

    .cs-detail-stats {
        flex-direction: column;
    }

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

    .cs-detail-banner {
        padding: 24px;
    }
}
