/* ═══════════════════════════════════════════════════════════════════════
   Impact Infotech — Premium Design System
   Color Theme: #0841c6 (Primary) + #ffffff (White)
   Font: Inter (Google Fonts)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (Design Tokens) ─────────────────────────── */
:root {
    --primary: #0841c6;
    --primary-dark: #062d8a;
    --primary-light: #3a6cdd;
    --primary-lighter: #e8eefb;
    --primary-ghost: rgba(8, 65, 198, 0.06);
    --white: #ffffff;
    --light-bg: #f6f8fc;
    --grey-100: #f1f3f7;
    --grey-200: #e2e6ee;
    --grey-400: #9ba3b5;
    --grey-600: #5a6275;
    --grey-800: #272d3b;
    --dark: #0b1120;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(8, 65, 198, 0.08);
    --shadow-md: 0 8px 30px rgba(8, 65, 198, 0.12);
    --shadow-lg: 0 20px 60px rgba(8, 65, 198, 0.15);
    --shadow-card: 0 4px 20px rgba(8, 65, 198, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Tech Animation Tokens */
    --accent-glow: rgba(0, 212, 255, 0.5);
    --primary-glow: rgba(8, 65, 198, 0.4);
    --cursor-glow: rgba(8, 65, 198, 0.3);
    --glitch-color-1: rgba(255, 0, 80, 0.3);
    --glitch-color-2: rgba(0, 255, 235, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    color: var(--grey-600);
}

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

a:hover {
    color: var(--primary-dark);
}

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

::selection {
    background: var(--primary);
    color: var(--white);
}

/* ── Section System ────────────────────────────────────────────────── */
.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
}

/* ── Top Bar ───────────────────────────────────────────────────────── */
.top-bar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1051;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.top-bar-link:hover {
    color: var(--white);
}

.main-navbar {
    background: rgba(8, 65, 198, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    transition: var(--transition);
    top: 0;
    box-shadow: none;
    z-index: 1050;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), #00d4ff);
    width: 0%;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.1s ease-out;
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-follower {
    width: 35px;
    height: 35px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    background: var(--cursor-glow);
    backdrop-filter: blur(1px);
}

.cursor-active .custom-cursor {
    transform: translate(-50%, -50%) scale(0.5);
    background: var(--white);
}

.cursor-active .cursor-follower {
    width: 50px;
    height: 50px;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {

    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }
}

.main-navbar.scrolled {
    padding: 8px 0;
    background: rgba(8, 65, 198, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.brand-accent {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    transition: var(--transition-fast);
    position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--white);
}

.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* Nav CTA Button */
.nav-cta-btn {
    background: var(--white) !important;
    color: var(--primary) !important;
    border-radius: var(--radius-full) !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    margin-left: 8px;
    transition: var(--transition) !important;
}

.nav-cta-btn:hover {
    background: var(--primary-lighter) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Dropdown Menus */
@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-animated {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    animation: fadeInDropdown 0.3s ease;
    background: var(--white);
}

.dropdown-menu-animated .dropdown-item {
    padding: 8px 24px;
    font-size: 0.9rem;
    color: var(--grey-600);
    transition: var(--transition-fast);
}

.dropdown-menu-animated .dropdown-item:hover {
    background: var(--primary-ghost);
    color: var(--primary);
    padding-left: 28px;
}

/* Mega Menu */
.mega-menu {
    width: 100%;
    padding: 30px !important;
    left: 0;
    right: 0;
}

.mega-dropdown {
    position: static;
}

.mega-heading {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 12px;
    padding: 0 24px;
}

.mega-col {
    border-right: 1px solid var(--grey-200);
    padding: 0;
}

.mega-col:last-child {
    border-right: none;
}


@keyframes floatCircle {

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

    33% {
        transform: translate(30px, -50px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ── HERO SECTION ──────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.btn-hero-primary:hover::after {
    left: 100%;
}


/* section -intersection*/

/* .impact-section {
    padding: 100px 0;
    color: #0f172a;
} */

/* .impact-title {
    font-size: 62px;
    font-weight: 700;
    margin-bottom: 80px;
    line-height: 1.3;
} */

/* Row Layout */
/* .venn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
} */

/* Circle Base */
/* .circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px solid rgba(8, 65, 198, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;

    mix-blend-mode: multiply;
} */

/* Equal Overlap (no z-index fighting) */
/* .circle-1 {
    transform: translateX(80px);
} */

/* .circle-2 {
    transform: translateX(0px);
} */

/* .circle-3 {
    transform: translateX(-80px);
} */

/* Hover */
/* .circle:hover {
    transform: scale(1.05) translateY(-8px);
    border-color: #0f172a;
} */

/* Text */
/* .circle span {
    color: rgba(8, 65, 198, 0.98);
    font-size: 30px;
    font-weight: 500;
}

.impact-section {
    padding: 100px 0;
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

/* 🔥 Background Glow */
/* .impact-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 65, 198, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
} */

/* keep content above */
/* .impact-section .container {
    position: relative;
    z-index: 1;
} */

/* Responsive */
/* @media (max-width: 768px) {
    .venn-row {
        flex-direction: column;
        gap: 20px;
    }

    .circle-2 {
        margin: 0;
    }
} */


/* ── Dot Grid Scroll-Pinned Section ────────────────────────────────── */
.dot-scroll-wrapper {
    height: 300vh;
    /* scroll room — 3x viewport */
    position: relative;
}

.dot-section {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dotCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dot-content-overlay {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* TEXT */
.dot-text {
    color: #e5e5e5;
    font-size: clamp(42px, 10vw, 90px);
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    animation: TextPulse 2s ease-in-out infinite;
}

@keyframes TextPulse {

    0%,
    100% {
        transform: scale(1);
        /* box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); */
    }

    50% {
        transform: scale(1.05);
        /* box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3); */
    }
}

.dot-middle {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    margin: 0 16px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
    animation: TextPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3);
    }
}


/* India Video Background  */

/* ================= VIDEO HERO SECTION ================= */
.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* VIDEO BACKGROUND */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(1.2); /* Enhance visibility */
}

/* DARK OVERLAY FOR TEXT VISIBILITY */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* Reduced from 0.5 */
    /* adjust opacity if needed */
    z-index: 1;
}

/* CONTENT WRAPPER */
.video-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* LEFT SIDE CONTENT */
.content-left {
    max-width: 600px;
}

/* MAIN HEADING */
.content-left h1 {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* SUB TEXT */
.sub-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .content-left h1 {
        font-size: 40px;
    }

    .sub-text {
        font-size: 16px;
    }
}

/* ── TECH ANIMATIONS ───────────────────────────────────────────────── */
.typing-text {
    border-right: 3px solid var(--white);
    white-space: pre-wrap;
    overflow: hidden;
    margin: 0 auto;
    display: inline-block;
    min-height: 1.2em;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--white)
    }
}

.tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(8, 65, 198, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 65, 198, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.glow-card {
    transition: var(--transition);
}

.glow-card:hover {
       padding: 20px;
    box-shadow: 0 0 4px var(--primary-glow);
}

.data-stream {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    animation: dataFall 3s linear infinite;
    opacity: 0.3;
}

@keyframes dataFall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(1000%);
        opacity: 0;
    }
}

.digital-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: scanMove 4s linear infinite;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 15px var(--accent-glow);
}

@keyframes scanMove {
    0% {
        top: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Heading Glitch */
/* .glitch-hover:hover {
    animation: textGlitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--primary-light);
    text-shadow: 2px 0 var(--glitch-color-1), -2px 0 var(--glitch-color-2);
} */

@keyframes textGlitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Magnetic Link */
.magnetic-wrap {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Button Pulse */
.btn-pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 65, 198, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(8, 65, 198, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(8, 65, 198, 0);
    }
}

.parallax-wrap {
    perspective: 1000px;
}

/* Digital Scan Line */
.digital-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 212, 255, 0.2),
            rgba(0, 212, 255, 0.5),
            rgba(0, 212, 255, 0.2),
            transparent);
    z-index: 10;
    pointer-events: none;
    animation: scanLine 8s linear infinite;
    opacity: 0;
}

@keyframes scanLine {
    0% {
        top: 0;
        opacity: 0;
    }

    5% {
        opacity: 0.8;
    }

    95% {
        opacity: 0.8;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Circuit Lines decoration */
.circuit-line {
    position: absolute;
    background: rgba(0, 212, 255, 0.1);
    pointer-events: none;
    z-index: 0;
}

.circuit-line-h {
    height: 1px;
}

.circuit-line-v {
    width: 1px;
}

.circuit-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Animated Background Mesh */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatCircle 20s ease-in-out infinite;
}

.hero-bg .circle-1 {
    width: 600px;
    height: 600px;
    background: #3a6cdd;
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.hero-bg .circle-2 {
    width: 500px;
    height: 500px;
    background: #00d4ff;
    bottom: -200px;
    right: -100px;
    animation-delay: -7s;
}

.hero-bg .circle-3 {
    width: 350px;
    height: 350px;
    background: #0841c6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

/* Grid Overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #ffffff, #a0c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

/* CTA Buttons */
.btn-hero-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 14px 38px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25);
    color: var(--primary);
    background: var(--white);
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(8, 65, 198, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover::after {
    left: 100%;
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 36px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    display: block;
    margin: 0 auto 8px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

/* ── ABOUT SECTION ─────────────────────────────────────────────────── */
.about-section .about-text {
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-section .service-tag {
    display: inline-block;
    background: var(--primary-ghost);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    margin: 4px;
    transition: var(--transition);
}

.about-section .service-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── SOLUTIONS CARDS ───────────────────────────────────────────────── */
.solution-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.solution-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--primary-ghost);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.solution-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.solution-card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.solution-card p {
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.solution-card .card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.solution-card:hover .card-link {
    gap: 12px;
}

/* ── STATS SECTION ─────────────────────────────────────────────────── */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.stats-section .section-title h2,
.stats-section .section-title p {
    color: var(--white);
}

.stats-section .section-title h2::after {
    background: var(--white);
}

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

.stat-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix {
    font-size: 0.6em;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ── CORE VALUES ───────────────────────────────────────────────────── */
.value-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.value-card .value-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-ghost);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary);
    color: var(--white);
}

.value-card h4 {
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ── CLIENTS / PARTNER LOGOS ───────────────────────────────────────── */
.clients-section {
    overflow: hidden;
}

.logo-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

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

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 25px;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logo-item img {
    max-height: 50px;
    max-width: 120px;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
}

.logo-item:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--primary-lighter);
}

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

/* ── INDUSTRY SECTION ──────────────────────────────────────────────── */
.industry-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
    height: 100%;
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.industry-card .industry-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: scale(1.2);
}

.industry-card h4 {
    font-size: 1rem;
}

/* ── CONTACT FORM ──────────────────────────────────────────────────── */
.contact-section {
    background: var(--light-bg);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper .form-floating .form-control {
    border: 2px solid var(--grey-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-wrapper .form-floating .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 65, 198, 0.1);
}

.contact-form-wrapper .form-floating label {
    color: var(--grey-400);
}

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: var(--white);
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 24px;
}

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

.contact-info-item i {
    font-size: 1.3rem;
    margin-top: 4px;
    opacity: 0.7;
}

.contact-info-item a {
    color: var(--white);
    opacity: 0.9;
}

.contact-info-item a:hover {
    opacity: 1;
}

/* ── CTA BAND ──────────────────────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

/* ── GENERIC BUTTON ────────────────────────────────────────────────── */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ── PAGE HERO (Inner Pages) ───────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-hero h1 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.page-hero .breadcrumb-item.active {
    color: var(--white);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ── FOOTER ────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .brand-text {
    font-size: 2.2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 40px 0 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ── STICKY CTA ────────────────────────────────────────────────────── */
.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulseCta 3s ease-in-out infinite;
}

.sticky-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    animation: none;
}

.sticky-cta i {
    font-size: 1.2rem;
}

/* ── BACK TO TOP ───────────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 35px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════════════════════════════════════ */

@keyframes floatCircle {

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

    33% {
        transform: translate(30px, -50px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

@keyframes pulseCta {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(8, 65, 198, 0.3);
    }

    50% {
        box-shadow: 0 4px 35px rgba(8, 65, 198, 0.55);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1199.98px) {
    .mega-menu {
        padding: 20px !important;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 70px 0;
    }

    .main-navbar .navbar-collapse {
        background: var(--primary);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
    }

    .main-navbar .nav-link {
        padding: 10px 0 !important;
    }

    .main-navbar .nav-link.active::after {
        display: none;
    }

    .nav-cta-btn {
        margin-left: 0;
        text-align: center;
        margin-top: 10px;
    }

    .mega-menu {
        position: relative !important;
        box-shadow: none !important;
        padding: 10px !important;
    }

    .mega-col {
        border-right: none;
        border-bottom: 1px solid var(--grey-200);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .mega-col:last-child {
        border-bottom: none;
    }

    .hero-section {
        min-height: 90vh;
        padding: 140px 0 60px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-info-card {
        padding: 30px;
        margin-top: 30px;
    }

    .sticky-cta span {
        display: none;
    }

    .sticky-cta {
        padding: 14px;
        border-radius: 50%;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .hero-section {
        min-height: 80vh;
        padding: 120px 0 50px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stats-section {
        padding: 60px 0;
    }

    .logo-item {
        width: 140px;
        height: 70px;
        margin: 0 15px;
    }

    .page-hero {
        padding: 130px 0 60px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        margin-bottom: 10px;
    }

    .solution-card {
        padding: 30px 20px;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   INNER PAGE CONTENT
   ══════════════════════════════════════════════════════════════════════ */
.page-content {
    padding: 80px 0;
}

.page-content h2 {
    margin-bottom: 24px;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 0;
    list-style: none;
}

.page-content ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--grey-600);
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 0;
}

.sidebar-links a {
    display: block;
    padding: 10px 16px;
    color: var(--grey-600);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: var(--primary-ghost);
    color: var(--primary);
    padding-left: 20px;
}

/* Value Detail Card (Core Values inner page) */
.value-detail-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 35px;
    margin-bottom: 30px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.value-detail-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
    border-left-color: var(--primary);
}

.value-detail-card h3 {
    font-size: 1.25rem;
}

.value-detail-card p {
    font-size: 0.95rem;
}

/* Card Link (inner pages) */
.card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ── FORM SUCCESS/ERROR FEEDBACK ──────────────────────────────────── */
.form-feedback {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: none;
    margin-top: 16px;
}

.form-feedback.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ── Branch Map ─────────────────────────────────────────────────────── */
.branch-map-section {
    padding-bottom: 100px;
}

.branch-map-container {
    max-width: 600px;
    height: 600px;
    background: rgba(8, 65, 198, 0.03);
    border: 1px solid rgba(8, 65, 198, 0.1);
    border-radius: var(--radius-lg);
    position: relative;
    padding: 40px;
    margin: 0 auto;
    overflow: visible;
    backdrop-filter: blur(5px);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.india-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
}

.india-outline {
    fill: rgba(8, 65, 198, 0.08);
    stroke: var(--primary-light);
    stroke-width: 1.5;
    transition: all 0.5s ease;
}

.branch-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 20;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.pin-marker {
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 2;
    position: relative;
    border: 2px solid var(--white);
}

.pin-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350%;
    height: 350%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: pinPulse 2s infinite;
    z-index: 1;
    opacity: 0.6;
}

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

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.pin-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    padding: 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    border-top: 4px solid var(--primary-light);
    backdrop-filter: blur(10px);
    text-align: left;
}

.branch-pin:hover {
    z-index: 101;
}

.branch-pin:hover .pin-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pin-info h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pin-info p {
    font-size: 0.85rem;
    margin: 0;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .branch-map-container {
        height: 400px;
        padding: 15px;
    }

    .pin-info {
        width: 160px;
        padding: 10px;
        bottom: 25px;
    }

    .pin-info h5 {
        font-size: 0.95rem;
    }

    .pin-info p {
        font-size: 0.75rem;
    }
}

.form-feedback.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

/* ══════════════════════════════════════════════════════════════════════
   LEADERSHIP & TESTIMONIALS (High-Fidelity)
   ══════════════════════════════════════════════════════════════════════ */

.leader-card {
    background: var(--white, #fff);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(10, 110, 245, 0.10);
    box-shadow: 0 4px 24px rgba(13, 27, 46, 0.07);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10, 110, 245, 0.14);
}

.leader-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.6;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
}

.leader-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-photo-wrap img {
    transform: scale(1.04);
}

.leader-photo-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 80, 200, 0.18) 0%, transparent 100%);
    pointer-events: none;
}

.leader-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leader-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary, #0d1b2e);
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
}

.leader-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary, #0a6ef5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.leader-desc {
    font-size: 0.9rem;
    line-height: 1.72;
    color: var(--text-secondary, #3d5068);
    flex: 1;
}

.leader-card--featured {
    flex-direction: row;
    align-items: stretch;
}

.leader-card--featured .leader-photo-wrap {
    width: 340px;
    min-width: 300px;
    aspect-ratio: unset;
    flex-shrink: 0;
    border-radius: 0;
}

.leader-card--featured .leader-body {
    padding: 36px 40px;
    justify-content: center;
}

.leader-card--featured .leader-name {
    font-size: 1.6rem;
}

.leader-card--featured .leader-role {
    font-size: 0.85rem;
}

.leader-card--featured .leader-desc {
    font-size: 0.95rem;
}

.cmd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary, #0a6ef5);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.leader-divider {
    width: 40px;
    height: 3px;
    background: var(--primary, #0a6ef5);
    border-radius: 2px;
    margin: 10px 0 16px;
}

.testimonials-section {
    padding: 96px 0 80px;
    background: #f4f7fb;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 110, 245, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 110, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 110, 245, 0.08);
    color: var(--primary, #0a6ef5);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-title-testi {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 700;
    color: #0d1b2e;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-title-testi em {
    font-style: italic;
    color: var(--primary, #0a6ef5);
}

.section-subtitle {
    font-size: 1rem;
    color: #3d5068;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.testi-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(10, 110, 245, 0.10);
    box-shadow: 0 4px 24px rgba(13, 27, 46, 0.07);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(10, 110, 245, 0.12);
}

.testi-card--featured {
    grid-column: 1 / 3;
    background: linear-gradient(135deg, #0a6ef5 0%, #0851c4 100%);
    color: white;
    border-color: transparent;
}

.testi-card--tall {
    grid-row: 1 / 3;
    grid-column: 3 / 4;
}

.testi-card--accent {
    background: #0d1b2e;
    color: white;
    border-color: transparent;
}

.quote-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.2;
    font-style: italic;
    color: #0a6ef5;
}

.testi-card--featured .quote-icon,
.testi-card--accent .quote-icon {
    color: white;
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.stars i {
    font-size: 0.82rem;
    color: #f59e0b;
}

.testi-body {
    font-size: 0.96rem;
    line-height: 1.78;
    color: #3d5068;
    flex: 1;
    margin-bottom: 26px;
}

.testi-card--featured .testi-body,
.testi-card--accent .testi-body {
    color: rgba(255, 255, 255, 0.85);
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(10, 110, 245, 0.15);
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #0a6ef5;
    overflow: hidden;
}

.testi-card--featured .author-avatar {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.testi-card--accent .author-avatar {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.author-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0d1b2e;
}

.testi-card--featured .author-name,
.testi-card--accent .author-name {
    color: white;
}

.author-title {
    font-size: 0.78rem;
    color: #7a8fa6;
    margin-top: 2px;
}

.testi-card--featured .author-title,
.testi-card--accent .author-title {
    color: rgba(255, 255, 255, 0.65);
}

.company-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #7a8fa6;
    margin-bottom: 16px;
}

.featured-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

@media (max-width: 991px) {
    .leader-card--featured {
        flex-direction: column;
    }

    .leader-card--featured .leader-photo-wrap {
        width: 100%;
        aspect-ratio: 16/7;
        min-width: unset;
    }

    .leader-card--featured .leader-body {
        padding: 28px 28px;
    }

    .leader-card--featured .leader-name {
        font-size: 1.3rem;
    }
}

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

    .testi-card--featured {
        grid-column: 1 / 3;
    }

    .testi-card--tall {
        grid-row: auto;
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .testi-card--featured {
        grid-column: 1;
    }

    .testimonials-section {
        padding: 64px 0;
    }
}

/* ── Branch Map & Pins ────────────────────────────────────────────── */
.branch-map-container {
    box-shadow: var(--shadow-md);
    margin: 0 auto;
    transition: var(--transition);
}

.branch-map-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.india-svg {
    transition: var(--transition);
}

.branch-pin {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.pin-marker {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(8, 65, 198, 0.4);
    transition: var(--transition-fast);
}

.branch-pin:hover .pin-marker {
    background: var(--white);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(8, 65, 198, 0.6);
}

/* Pulsing Effect */
.branch-pin.pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pinPulse 2s infinite;
    z-index: -1;
}

@keyframes pinPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.pin-info {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 180px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    text-align: center;
    border: 1px solid var(--grey-100);
}

.branch-pin:hover .pin-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pin-info strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
}

.pin-info span {
    display: block;
    color: var(--grey-600);
    font-size: 0.8rem;
    line-height: 1.4;
}

.pin-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    border-bottom: 1px solid var(--grey-100);
    border-right: 1px solid var(--grey-100);
}

/* Highlight Corporate/Regd */
.branch-pin.corporate .pin-marker {
    background: #ff3e3e;
    width: 18px;
    height: 18px;
}
.branch-pin.regd .pin-marker {
    background: #00c853;
}