/* ================================================================
   ABOUT.CSS — AIHR Job Portal
   Uses only :root variables from style.css / auth.css / custom.css
================================================================ */

/* ── SHARED UTILITIES ── */
.abt-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.abt-section-eyebrow--light {
    color: rgba(255, 255, 255, 0.75);
}

.abt-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex-shrink: 0;
    animation: abt-pulse-dot 2s ease-in-out infinite;
}

.abt-eyebrow-dot--light {
    background: rgba(255, 255, 255, 0.75);
}

@keyframes abt-pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.abt-section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin: 0 0 10px;
}

.abt-section-title--light {
    color: #fff;
}

.abt-hl {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abt-hl-light {
    background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abt-section-sub {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.65;
    margin: 0 auto;
}

.abt-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.abt-section-head .abt-section-sub {
    margin: 8px auto 0;
}


/* ================================================================
   HERO — Dark Cinematic Full-bleed
================================================================ */
.abt-hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050d18;
    padding: 100px 0 80px;
}

/* Background image layer */
.abt-hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&auto=format&fit=crop&q=60');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    pointer-events: none;
}

.abt-hero-section:hover .abt-hero-bg-img {
    transform: scale(1.0);
}

/* Gradient overlay — deep dark to branded */
.abt-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(5, 13, 24, 0.98) 0%,
            rgba(7, 20, 38, 0.92) 40%,
            rgba(13, 55, 100, 0.78) 70%,
            rgba(46, 139, 224, 0.25) 100%),
        linear-gradient(to right, rgba(5, 13, 24, 0.6) 0%, transparent 100%);
    pointer-events: none;
}

/* Subtle dot-grid pattern */
.abt-hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(46, 139, 224, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Glowing orbs */
.abt-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: abt-orb-drift 10s ease-in-out infinite alternate;
}

.abt-hero-orb--1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(46, 139, 224, 0.22) 0%, transparent 70%);
    animation-delay: 0s;
}

.abt-hero-orb--2 {
    width: 350px;
    height: 350px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 70%);
    animation-delay: 3s;
}

.abt-hero-orb--3 {
    width: 280px;
    height: 280px;
    top: 40%;
    left: 45%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, transparent 70%);
    animation-delay: 6s;
}

@keyframes abt-orb-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.08);
    }
}

/* Hero inner layout — full width, centered */
.abt-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Breadcrumb */
.abt-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
}

.abt-bc-link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.abt-bc-link:hover {
    color: var(--accent-light);
}

.abt-bc-current {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.abt-breadcrumb svg {
    opacity: 0.4;
}

/* Tag pill */
.abt-hero-tag-row {
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
}

.abt-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 139, 224, 0.14);
    border: 1px solid rgba(46, 139, 224, 0.35);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
}

.abt-hero-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
    animation: abt-live-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes abt-live-pulse {
    0%, 100% {
        box-shadow: 0 0 4px #34D399;
    }

    50% {
        box-shadow: 0 0 14px #34D399, 0 0 24px #34D39944;
    }
}

/* Main title */
.abt-hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 22px;
    letter-spacing: -0.025em;
    text-align: center;
}

.abt-hero-title-grad {
    background: linear-gradient(90deg,
            #60A5FA 0%,
            var(--accent-light) 35%,
            #A5B4FC 70%,
            #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* Description */
.abt-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.78;
    margin: 0 0 36px;
    max-width: 580px;
    font-weight: 400;
    text-align: center;
}

/* CTA row */
.abt-hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.abt-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(46, 139, 224, 0.40), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    white-space: nowrap;
}

.abt-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(46, 139, 224, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.abt-hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.80);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.abt-hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* Stats bar — centered, glassmorphism */
.abt-hero-stats-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    padding: 18px 32px;
    gap: 0;
}

.abt-hero-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.abt-hero-stat-pill:first-child {
    padding-left: 0;
}

.abt-hero-stat-pill:last-child {
    padding-right: 0;
}

.abt-hero-stat-val {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 3px;
}

.abt-hero-stat-lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.abt-hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* Scroll cue */
.abt-hero-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.abt-hero-scroll-cue span {
    display: block;
    width: 2px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    animation: abt-scroll-cue 1.4s ease-in-out infinite;
}

.abt-hero-scroll-cue span:nth-child(2) {
    animation-delay: 0.2s;
}

.abt-hero-scroll-cue span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes abt-scroll-cue {
    0%, 100% {
        opacity: 0.2;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}


/* ================================================================
   WHO WE ARE
================================================================ */
.abt-who-section {
    padding: 80px 0;
    background: #fff;
}

.abt-who-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.abt-who-img-stack {
    position: relative;
    height: 440px;
}

.abt-who-img {
    border-radius: var(--radius-2xl);
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    display: block;
}

.abt-who-img--main {
    width: 75%;
    height: 380px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: transform var(--transition-slow);
}

.abt-who-img--accent {
    width: 55%;
    height: 220px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 4px solid #fff;
    transition: transform var(--transition-slow);
}

.abt-who-img-stack:hover .abt-who-img--main {
    transform: translateY(-6px);
}

.abt-who-img-stack:hover .abt-who-img--accent {
    transform: translateY(-4px) rotate(1deg);
}

.abt-who-years-badge {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 4;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: 14px 18px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    min-width: 90px;
}

.abt-who-years-badge strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.abt-who-years-badge span {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.88;
    line-height: 1.3;
}

.abt-who-lead {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 14px 0 12px;
}

.abt-who-body {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.abt-who-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.abt-who-hl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.abt-who-hl-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--bg-accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.abt-mission-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
}

.abt-mission-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.abt-mission-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.abt-mission-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}


/* ================================================================
   STATS / ACHIEVEMENTS
================================================================ */
.abt-stats-section {
    position: relative;
    padding: 72px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.abt-stats-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 10% 50%, rgba(46, 139, 224, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 30%, rgba(46, 139, 224, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.abt-stats-header {
    text-align: center;
    margin-bottom: 44px;
    position: relative;
    z-index: 2;
}

.abt-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.abt-stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: 32px 24px 28px;
    text-align: center;
    overflow: hidden;
    transition: transform var(--transition-base), background var(--transition-base);
    cursor: default;
}

.abt-stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.10);
}

.abt-stat-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-lg);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.abt-stat-card--blue .abt-stat-icon-wrap {
    background: rgba(37, 99, 235, 0.30);
    border: 1px solid rgba(37, 99, 235, 0.4);
}

.abt-stat-card--violet .abt-stat-icon-wrap {
    background: rgba(124, 58, 237, 0.30);
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.abt-stat-card--emerald .abt-stat-icon-wrap {
    background: rgba(5, 150, 105, 0.30);
    border: 1px solid rgba(5, 150, 105, 0.4);
}

.abt-stat-card--amber .abt-stat-icon-wrap {
    background: rgba(217, 119, 6, 0.30);
    border: 1px solid rgba(217, 119, 6, 0.4);
}

.abt-stat-body {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}

.abt-stat-val {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.abt-stat-suffix {
    font-size: 24px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
}

.abt-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.abt-stat-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60px;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.abt-stat-card--blue .abt-stat-glow {
    background: rgba(37, 99, 235, 0.35);
}

.abt-stat-card--violet .abt-stat-glow {
    background: rgba(124, 58, 237, 0.35);
}

.abt-stat-card--emerald .abt-stat-glow {
    background: rgba(5, 150, 105, 0.35);
}

.abt-stat-card--amber .abt-stat-glow {
    background: rgba(217, 119, 6, 0.35);
}


/* ================================================================
   WHY CHOOSE AIHR
================================================================ */
.abt-why-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.abt-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.abt-why-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 28px 24px;
    overflow: hidden;
    border: 1.5px solid var(--border-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.abt-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.abt-why-card--blue:hover {
    border-color: rgba(37, 99, 235, 0.35);
}

.abt-why-card--violet:hover {
    border-color: rgba(124, 58, 237, 0.35);
}

.abt-why-card--emerald:hover {
    border-color: rgba(5, 150, 105, 0.35);
}

.abt-why-card--amber:hover {
    border-color: rgba(217, 119, 6, 0.35);
}

.abt-why-card--rose:hover {
    border-color: rgba(225, 29, 72, 0.35);
}

.abt-why-card--cyan:hover {
    border-color: rgba(8, 145, 178, 0.35);
}

.abt-why-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform var(--transition-base);
}

.abt-why-card:hover .abt-why-icon-wrap {
    transform: scale(1.1) rotate(-3deg);
}

.abt-why-card--blue .abt-why-icon-wrap {
    background: #DBEAFE;
    color: #2563EB;
}

.abt-why-card--violet .abt-why-icon-wrap {
    background: #EDE9FE;
    color: #7C3AED;
}

.abt-why-card--emerald .abt-why-icon-wrap {
    background: #D1FAE5;
    color: #059669;
}

.abt-why-card--amber .abt-why-icon-wrap {
    background: #FEF3C7;
    color: #D97706;
}

.abt-why-card--rose .abt-why-icon-wrap {
    background: #FFE4E6;
    color: #E11D48;
}

.abt-why-card--cyan .abt-why-icon-wrap {
    background: #CFFAFE;
    color: #0891B2;
}

.abt-why-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.abt-why-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.abt-why-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(30px);
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.abt-why-card:hover .abt-why-card-glow {
    opacity: 1;
}

.abt-why-card--blue .abt-why-card-glow {
    background: rgba(37, 99, 235, 0.18);
}

.abt-why-card--violet .abt-why-card-glow {
    background: rgba(124, 58, 237, 0.18);
}

.abt-why-card--emerald .abt-why-card-glow {
    background: rgba(5, 150, 105, 0.18);
}

.abt-why-card--amber .abt-why-card-glow {
    background: rgba(217, 119, 6, 0.18);
}

.abt-why-card--rose .abt-why-card-glow {
    background: rgba(225, 29, 72, 0.18);
}

.abt-why-card--cyan .abt-why-card-glow {
    background: rgba(8, 145, 178, 0.18);
}


/* ================================================================
   OUR TEAM
================================================================ */
.abt-team-section {
    padding: 80px 0;
    background: #fff;
}

.abt-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.abt-team-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #fff;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.abt-team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.abt-team-card-top {
    position: relative;
    padding: 28px 20px 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.abt-team-img-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    background: var(--bg-card);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.abt-team-card:hover .abt-team-img-wrap {
    transform: translateX(-50%) scale(1.06);
}

.abt-team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.abt-team-dept-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.abt-team-card-body {
    padding: 54px 20px 20px;
    text-align: center;
}

.abt-team-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.abt-team-role {
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 14px;
}

.abt-team-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.abt-team-social-link {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.abt-team-social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}


/* ================================================================
   TIMELINE — Pixel-Perfect Left-Rail v2
   Grid: [120px year] [48px dot-col] [1fr card]
   Rail pinned at left: 120 + 24 = 144px (center of 48px dot col)
   Dot top: padding-top(20px) → dot center at 20+10=30px from row top
================================================================ */
.abt-timeline-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.abt-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Hide the old rail span — rail now via ::before on wrapper */
.abt-tl-rail {
    display: none;
}

/* THE RAIL — ::before on .abt-timeline */
.abt-timeline::before {
    content: '';
    position: absolute;
    /* year(120) + half of dot-col(48/2=24) = 144, then -1px to center the 2px line */
    left: 143px;
    top: 30px;
    /* aligns to first dot center: padding-top(20) + dot-radius(10) */
    bottom: 30px;
    /* aligns to last dot center */
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(46, 139, 224, 0.45) 5%,
            rgba(46, 139, 224, 0.45) 95%,
            transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* Row grid: [120px year] [48px mid/dot] [1fr card] */
.abt-tl-row {
    display: grid;
    grid-template-columns: 120px 48px 1fr;
    gap: 0;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.abt-tl-row--last {
    margin-bottom: 0;
}

/* ── Year column ── right-aligned, vertically centred with dot */
.abt-tl-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 14px;
    padding-top: 20px;
    /* matches .abt-tl-mid padding-top so text aligns with dot */
}

.abt-tl-year {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
    /* gradient year text */
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Dot column — 48px wide, dot centred horizontally ── */
.abt-tl-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centres 20px dot within 48px col → left edge at 14px */
    padding-top: 20px;
    /* dot top edge at 20px; center at 30px */
    position: relative;
    z-index: 2;
}

/* ── DOT ── */
.abt-tl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-main);
    /* background-matching border = clean cut through rail */
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 0 2px currentColor;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.abt-tl-row:hover .abt-tl-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px currentColor, 0 0 10px currentColor;
}

.abt-tl-dot--blue {
    background: #2563EB;
    color: #2563EB;
}

.abt-tl-dot--violet {
    background: #7C3AED;
    color: #7C3AED;
}

.abt-tl-dot--emerald {
    background: #059669;
    color: #059669;
}

.abt-tl-dot--amber {
    background: #D97706;
    color: #D97706;
}

.abt-tl-dot--rose {
    background: #E11D48;
    color: #E11D48;
}

.abt-tl-dot--cyan {
    background: #0891B2;
    color: #0891B2;
}

/* Ripple on the latest/current milestone */
.abt-tl-dot--pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: abt-tl-ripple 2s ease-out infinite;
}

@keyframes abt-tl-ripple {
    0% {
        inset: -2px;
        opacity: 0.8;
    }

    100% {
        inset: -14px;
        opacity: 0;
    }
}

/* ── Card column ── */
.abt-tl-right {
    padding-left: 14px;
    padding-bottom: 6px;
}

/* THE CARD */
.abt-tl-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 15px 18px 14px;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Arrow nub pointing LEFT (top-left corner of rotated square) */
.abt-tl-card::before {
    content: '';
    position: absolute;
    /* vertically: padding-top(20px of mid) + dot-center(10px) - nub-half(6px) = 24px */
    top: 24px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1.5px solid var(--border-light);
    border-left: 1.5px solid var(--border-light);
    transform: rotate(-45deg);
}

.abt-tl-row:hover .abt-tl-card {
    transform: translateX(4px) translateY(-2px);
    box-shadow: var(--shadow-md);
}

.abt-tl-row:hover .abt-tl-card--blue {
    border-color: rgba(37, 99, 235, 0.40);
}

.abt-tl-row:hover .abt-tl-card--violet {
    border-color: rgba(124, 58, 237, 0.40);
}

.abt-tl-row:hover .abt-tl-card--emerald {
    border-color: rgba(5, 150, 105, 0.40);
}

.abt-tl-row:hover .abt-tl-card--amber {
    border-color: rgba(217, 119, 6, 0.40);
}

.abt-tl-row:hover .abt-tl-card--rose {
    border-color: rgba(225, 29, 72, 0.40);
}

.abt-tl-row:hover .abt-tl-card--cyan {
    border-color: rgba(8, 145, 178, 0.40);
}

/* Left gradient accent bar */
.abt-tl-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.abt-tl-card--blue::after {
    background: linear-gradient(to bottom, #2563EB, #60A5FA);
}

.abt-tl-card--violet::after {
    background: linear-gradient(to bottom, #7C3AED, #C4B5FD);
}

.abt-tl-card--emerald::after {
    background: linear-gradient(to bottom, #059669, #6EE7B7);
}

.abt-tl-card--amber::after {
    background: linear-gradient(to bottom, #D97706, #FCD34D);
}

.abt-tl-card--rose::after {
    background: linear-gradient(to bottom, #E11D48, #FDA4AF);
}

.abt-tl-card--cyan::after {
    background: linear-gradient(to bottom, #0891B2, #67E8F9);
}

/* Card inner: icon + title/tag row, then desc */
.abt-tl-card-top {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 8px;
}

.abt-tl-card-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.2;
    margin-top: 1px;
}

.abt-tl-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.2;
}

.abt-tl-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 2px 9px;
    border: 1px solid;
    line-height: 1.5;
}

.abt-tl-tag--blue {
    background: #DBEAFE;
    color: #1E40AF;
    border-color: rgba(37, 99, 235, 0.22);
}

.abt-tl-tag--violet {
    background: #EDE9FE;
    color: #5B21B6;
    border-color: rgba(124, 58, 237, 0.22);
}

.abt-tl-tag--emerald {
    background: #D1FAE5;
    color: #065F46;
    border-color: rgba(5, 150, 105, 0.22);
}

.abt-tl-tag--amber {
    background: #FEF3C7;
    color: #92400E;
    border-color: rgba(217, 119, 6, 0.22);
}

.abt-tl-tag--rose {
    background: #FFE4E6;
    color: #9F1239;
    border-color: rgba(225, 29, 72, 0.22);
}

.abt-tl-tag--cyan {
    background: #CFFAFE;
    color: #164E63;
    border-color: rgba(8, 145, 178, 0.22);
}

.abt-tl-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    padding-left: 31px;
    /* indent under the 20px icon + 11px gap */
}


/* ================================================================
   CTA
================================================================ */
.abt-cta-section {
    padding: 60px 0;
}


/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1199px) {
    .abt-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .abt-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {

    /* Hero — remains centered */
    .abt-hero-section {
        padding: 70px 0 56px;
        min-height: 480px;
    }

    .abt-hero-stats-bar {
        padding: 14px 20px;
    }

    .abt-hero-stat-pill {
        padding: 0 14px;
    }

    /* Who */
    .abt-who-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .abt-who-img-stack {
        height: 300px;
    }

    .abt-who-img--main {
        width: 68%;
        height: 280px;
    }

    .abt-who-img--accent {
        width: 50%;
        height: 180px;
    }

    .abt-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .abt-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline — narrow year col, keep alignment math */
    /* year(80px) dot-col(48px) → rail at 80+24=104 → left:103px */
    .abt-timeline::before {
        left: 103px;
    }

    .abt-tl-row {
        grid-template-columns: 80px 48px 1fr;
    }

    .abt-tl-left {
        padding-top: 20px;
        padding-right: 10px;
    }
}

@media (max-width: 767px) {
    .abt-hero-section {
        padding: 54px 0 44px;
        min-height: auto;
    }

    .abt-hero-title {
        font-size: clamp(34px, 8vw, 52px);
    }

    .abt-hero-stats-bar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 18px;
        justify-content: center;
    }

    .abt-hero-stat-sep {
        display: none;
    }

    .abt-hero-stat-pill {
        padding: 0 8px;
    }

    .abt-who-section,
    .abt-why-section,
    .abt-team-section,
    .abt-timeline-section {
        padding: 52px 0;
    }

    .abt-stats-section {
        padding: 52px 0;
    }

    .abt-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .abt-why-grid {
        grid-template-columns: 1fr;
    }

    .abt-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .abt-section-head {
        margin-bottom: 32px;
    }

    .abt-stat-val {
        font-size: 28px;
    }

    /* Timeline — hide year col, pin rail to left edge of dot-col */
    /* year(0) dot-col(48px) → rail at 0+24=24 → left:23px */
    .abt-timeline::before {
        left: 23px;
        top: 30px;
        bottom: 30px;
    }

    .abt-tl-row {
        grid-template-columns: 0 48px 1fr;
    }

    .abt-tl-left {
        display: none;
    }

    .abt-tl-desc {
        padding-left: 0;
    }

    /* Remove card arrow nub on mobile (no room) */
    .abt-tl-card::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .abt-team-grid {
        grid-template-columns: 1fr;
    }

    .abt-stats-grid {
        grid-template-columns: 1fr;
    }

    .abt-hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .abt-hero-btn-primary,
    .abt-hero-btn-ghost {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}