:root {
    --ex-blue: #0ea5e9;
    --ex-blue-dark: #0284c7;
    --ex-red: #f43f5e;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --bg-off: #f8fafc;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 30px 60px rgba(14, 165, 233, 0.15);
}

body {
    background-color: var(--bg-off);
    color: var(--text-main);
}

/* Typography & Utilities */
.ab-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ex-blue);
    margin-bottom: 1rem;
    background: rgba(14, 165, 233, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
}

.ab-highlight {
    background: linear-gradient(120deg, var(--ex-blue), var(--ex-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ab-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.ab-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* ================= HERO SECTION ================= */
.ab-hero {
    position: relative;
    padding: 140px 0 100px;
    /* Eye-catching bright background image */
    background-image: url('https://images.unsplash.com/photo-1515162816999-a0c47dc192f7?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* White/Blue frosted glass overlay */
.ab-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.85) 100%);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.ab-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ab-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.ab-hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.ab-hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-excitel-primary {
    background: linear-gradient(135deg, var(--ex-blue), var(--ex-blue-dark));
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-excitel-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    color: #fff;
}

.ab-hero-link {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.ab-hero-link:hover {
    color: var(--ex-blue);
}

/* ================= HERO GLASS CARD & ANIMATIONS ================= */
.ab-glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
}

.ab-signal-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Background dashed track */
.ab-path-track {
    fill: none;
    stroke: var(--ex-blue);
    stroke-width: 3;
    stroke-dasharray: 6 8;
    opacity: 0.25;
}

/* Glowing active fiber line */
.ab-path-active {
    fill: none;
    stroke: var(--ex-blue);
    stroke-width: 4;
    stroke-linecap: round;
    /* 1000 is enough to cover the whole SVG path length */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawFiber 2.5s ease-in-out infinite;
}

/* The travelling light/packet */
.ab-data-packet {
    fill: var(--ex-red);
}

/* The stationary connection points */
.ab-node {
    fill: #ffffff;
    stroke: var(--ex-blue-dark);
    stroke-width: 4;
}

/* Radar pulse effect on the nodes */
.ab-node-pulse {
    fill: none;
    stroke: var(--ex-red);
    stroke-width: 2;
    animation: nodePulse 2.5s infinite ease-out;
}

/* Labels positioning over the SVG */
.ab-visual-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ab-label {
    position: absolute;
    background: var(--bg-light);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* Exact placement to match the SVG nodes */
.ab-label-1 {
    bottom: 12%;
    left: 8%;
}

.ab-label-2 {
    top: 40%;
    left: 45%;
    transform: translate(-50%, -50%);
}

.ab-label-3 {
    top: 8%;
    right: 5%;
}

/* --- Keyframe Animations --- */

/* Draws the line right behind the moving dot */
@keyframes drawFiber {
    0% {
        stroke-dashoffset: 1000;
        opacity: 1;
    }

    80% {
        stroke-dashoffset: 500;
        opacity: 1;
    }

    /* Line connects */
    100% {
        stroke-dashoffset: 500;
        opacity: 0;
    }

    /* Line fades out before repeating */
}

/* Expands and fades out like a sonar ping */
@keyframes nodePulse {
    0% {
        r: 8;
        opacity: 1;
        stroke-width: 4;
    }

    50% {
        r: 24;
        opacity: 0;
        stroke-width: 1;
    }

    100% {
        r: 24;
        opacity: 0;
        stroke-width: 0;
    }
}

/* ================= STATS SECTION ================= */
.ab-stats {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.ab-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ab-stat-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s;
}

.ab-stat-card:hover {
    transform: translateY(-10px);
}

.ab-stat-icon {
    font-size: 2rem;
    color: var(--ex-blue);
    margin-bottom: 1rem;
}

.ab-stat-data {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.ab-stat-suffix {
    font-size: 1.5rem;
    color: var(--ex-red);
}

.ab-stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ================= TIMELINE SECTION ================= */
/* ============================================================
   ROLLOUT / TIMELINE SECTION
   ============================================================ */

.ab-route {
    padding: 100px 0 80px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* subtle background pattern */
.ab-route::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, .06) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, .06) 0%, transparent 60%);
    pointer-events: none;
}

/* ── Section header ──────────────────────────────────────── */
.ab-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.ab-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .5rem;
}

.ab-route-sub {
    color: #64748b;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Outer wrapper holds spine + all stops ───────────────── */
.ab-route-line {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 40px;
}

/* ── Centre vertical spine ───────────────────────────────── */
.ab-route-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 0;
}

.ab-route-spine-fill {
    display: block;
    width: 100%;
    height: 0%;
    /* animated by JS on scroll */
    background: linear-gradient(180deg, #0ea5e9 0%, #38bdf8 100%);
    border-radius: 4px;
    transition: height .1s linear;
}

/* ── Each stop row ───────────────────────────────────────── */
.ab-stop {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 56px;
    z-index: 1;
}

.ab-stop:last-child {
    margin-bottom: 0;
}

/* LEFT stop → card on left, dot on centre */
.ab-stop-left {
    flex-direction: row;
    /* card | dot | empty */
    justify-content: flex-start;
}

.ab-stop-left .ab-stop-card {
    margin-right: calc(50% + 28px);
    /* push card to left of spine */
    margin-left: 0;
    text-align: right;
}

.ab-stop-left .ab-stop-icon-wrap {
    margin-left: auto;
    margin-right: 0;
}

/* RIGHT stop → empty | dot | card on right */
.ab-stop-right {
    flex-direction: row;
    justify-content: flex-end;
}

.ab-stop-right .ab-stop-card {
    margin-left: calc(50% + 28px);
    /* push card to right of spine */
    margin-right: 0;
    text-align: left;
}

/* ── Centre dot ──────────────────────────────────────────── */
.ab-stop-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .2);
    z-index: 2;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ab-stop:hover .ab-stop-dot {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(14, 165, 233, .15);
}

/* ── Card ────────────────────────────────────────────────── */
.ab-stop-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    width: calc(50% - 40px);
    /* fills exactly one side */
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.ab-stop-card::before {
    content: '';
    position: absolute;
    top: 18px;
    width: 20px;
    height: 2px;
    background: #e2e8f0;
}

/* connector line for left card (arrow points right toward spine) */
.ab-stop-left .ab-stop-card::before {
    right: -21px;
}

/* connector line for right card (arrow points left toward spine) */
.ab-stop-right .ab-stop-card::before {
    left: -21px;
}

.ab-stop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
}

/* ── Icon inside card ────────────────────────────────────── */
.ab-stop-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    border-radius: 12px;
    margin-bottom: 12px;
}

.ab-stop-icon-wrap i {
    font-size: 1.25rem;
    color: #ffffff;
}

/* ── Year badge ──────────────────────────────────────────── */
.ab-stop-year {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0ea5e9;
    background: rgba(14, 165, 233, .1);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 10px;
}

/* ── Card text ───────────────────────────────────────────── */
.ab-stop-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.ab-stop-desc {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ── Reveal animations ───────────────────────────────────── */
.ab-stop.reveal {
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease;
}

.ab-stop-left.reveal {
    transform: translateX(-40px);
}

.ab-stop-right.reveal {
    transform: translateX(40px);
}

.ab-stop.reveal.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* stagger delay per card */
.ab-stop[data-index="0"] {
    transition-delay: 0ms;
}

.ab-stop[data-index="1"] {
    transition-delay: 100ms;
}

.ab-stop[data-index="2"] {
    transition-delay: 200ms;
}

.ab-stop[data-index="3"] {
    transition-delay: 300ms;
}

.ab-stop[data-index="4"] {
    transition-delay: 400ms;
}

.ab-stop[data-index="5"] {
    transition-delay: 500ms;
}

/* ============================================================
   MOBILE  ≤ 640px  — single column, spine on left
   ============================================================ */
@media (max-width: 640px) {

    .ab-route-spine {
        left: 20px;
        transform: none;
    }

    .ab-stop {
        flex-direction: column;
        padding-left: 52px;
        margin-bottom: 36px;
    }

    /* reset both left and right to same layout */
    .ab-stop-left,
    .ab-stop-right {
        flex-direction: column;
        justify-content: flex-start;
    }

    .ab-stop-left .ab-stop-card,
    .ab-stop-right .ab-stop-card {
        margin: 0;
        width: 100%;
        text-align: left;
    }

    .ab-stop-left .ab-stop-icon-wrap,
    .ab-stop-right .ab-stop-icon-wrap {
        margin-left: 0;
        margin-right: auto;
    }

    /* connector line hidden on mobile */
    .ab-stop-left .ab-stop-card::before,
    .ab-stop-right .ab-stop-card::before {
        display: none;
    }

    /* dot pinned to left spine */
    .ab-stop-dot {
        left: 20px;
        top: 24px;
    }

    /* reset reveal transforms for mobile */
    .ab-stop-left.reveal,
    .ab-stop-right.reveal {
        transform: translateY(20px);
    }

    .ab-stop.reveal.is-visible {
        transform: translateY(0);
    }
}

/* ============================================================
   TABLET  641px – 900px  — same zigzag but tighter
   ============================================================ */
@media (min-width: 641px) and (max-width: 900px) {

    .ab-stop-card {
        padding: 18px 20px;
        width: calc(50% - 30px);
    }

    .ab-stop-left .ab-stop-card {
        margin-right: calc(50% + 22px);
    }

    .ab-stop-right .ab-stop-card {
        margin-left: calc(50% + 22px);
    }
}


/* ================= VALUES ================= */
.ab-values {
    background: var(--bg-light);
    padding: 80px 0;
}

.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ab-value-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-off);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.ab-value-card:hover {
    background: #fff;
    box-shadow: var(--shadow-hover);
}

.ab-value-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--ex-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* ================= LEADERSHIP ================= */
.ab-leadership {
    padding: 80px 0;
}

.ab-leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ab-lead-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.ab-avatar {
    width: 80px;
    height: 80px;
    background: var(--av-grad);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.ab-lead-role {
    display: block;
    font-size: 0.85rem;
    color: var(--ex-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ab-lead-card p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ================= CAREERS & CTA ROW ================= */
.ab-bottom-row {
    padding: 40px 0 100px;
}

.ab-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ab-careers-card,
.ab-cta-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.ab-careers-card {
    background: linear-gradient(135deg, var(--ex-blue-dark), var(--ex-blue));
    color: #fff;
}

.ab-careers-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.ab-cta-card {
    background: var(--bg-light);
}

.ab-cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.ab-cta-form {
    display: flex;
    width: 100%;
    gap: 10px;
}

.ab-cta-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
}

.ab-cta-form input:focus {
    border-color: var(--ex-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

    .ab-hero-inner,
    .ab-bottom-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ab-stats-grid,
    .ab-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    .ab-stats-grid,
    .ab-values-grid,
    .ab-leadership-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline Mobile Fix */
    .ab-route-spine {
        left: 20px;
    }

    .ab-stop {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
        left: 0 !important;
    }

    .ab-stop-card::before {
        left: -40px !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
    }

    .ab-cta-form {
        flex-direction: column;
    }

    .btn-excitel-primary {
        width: 100%;
    }
}