/*
 * about.css — Samatva Solutions · About Us page
 * ──────────────────────────────────────────────
 * Layered on top of style.css (which provides all design tokens,
 * the header, nav, buttons, animations, and base reset).
 *
 * SECTIONS IN THIS FILE:
 *   1.  Scroll-reveal animation (.reveal)
 *   2.  Hero section (.au-hero)
 *   3.  Shared section utilities
 *   4.  Our Story section (.au-story-*)
 *   5.  Team cards (.au-cards / .au-card)
 *   6.  Approach steps (.au-steps / .au-step)
 *   7.  Why Samatva (.au-why-*)
 *   8.  Bottom CTA banner (.au-cta-banner)
 *   9.  Footer (.au-footer)
 *  10.  Responsive breakpoints
 * ──────────────────────────────────────────────
 */


/* ═══════════════════════════════════════════════
   1. SCROLL-REVEAL ANIMATION
   Elements with class .reveal start invisible (translateY 32px, opacity 0)
   and animate in once IntersectionObserver fires.
   The script.js already adds .visible when they enter the viewport.
   .stagger-load children get sequential delays via :nth-child selectors.
   ═══════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children of .stagger-load so they animate in sequence */
.stagger-load.visible>*:nth-child(1) {
    transition-delay: 0ms;
}

.stagger-load.visible>*:nth-child(2) {
    transition-delay: 120ms;
}

.stagger-load.visible>*:nth-child(3) {
    transition-delay: 240ms;
}

/* Respect user's motion preference (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ═══════════════════════════════════════════════
   2. HERO SECTION
   ─────────────────────────────────────────────
   Same light-blue (#e8f0fc) as the main hero's left panel.
   Two-column grid: text left, stat cards right.

   TO CHANGE:
     Background colour    → background in .au-hero
     Heading size         → font-size in .au-hero-title
     Eyebrow text/colour  → .au-eyebrow
   ═══════════════════════════════════════════════ */

.au-hero {
    background: #e8f0fc;
    /* ← same as main hero left panel */
    padding: 6rem 0 5rem;
    overflow: hidden;
}

/* Two-column grid — text | stat cards */
.au-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* equal halves — adjust e.g. 55fr 45fr */
    align-items: center;
    gap: 4rem;
}

/* ── Eyebrow label ── */
.au-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    background: rgba(27, 79, 216, 0.10);
    /* translucent brand blue */
    border: 1.5px solid rgba(27, 79, 216, 0.20);
    border-radius: 9999px;
    color: #1B4FD8;
    /* brand blue */
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* Main h1 */
.au-hero-title {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    /* ← adjust max (3rd value) to size */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0d1117;
    /* near-black */
    margin-bottom: 1.25rem;
}

/* Coloured word(s) in heading */
.au-title-accent {
    color: #1B4FD8;
    /* brand blue */
}

/* Subheading description */
.au-hero-desc {
    font-size: 1.0625rem;
    /* 17px */
    color: #333333;
    line-height: 1.7;
    max-width: 440px;
}

/* ── Right side: Stat cards cluster ── */
.au-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.au-stat-card {
    background: #ffffff;
    border: 1px solid #dce9f8;
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 4px 16px rgba(27, 79, 216, 0.08);
    min-width: 210px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.au-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(27, 79, 216, 0.14);
}

/* Second card is accent — brand blue fill */
.au-stat-card--accent {
    background: #1B4FD8;
    border-color: #1B4FD8;
    box-shadow: 0 6px 24px rgba(27, 79, 216, 0.30);
}

.au-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d1117;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.au-stat-card--accent .au-stat-num {
    color: #ffffff;
}

.au-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: #333333;
    margin-top: 0.25rem;
    font-weight: 500;
}

.au-stat-card--accent .au-stat-label {
    color: #ffffff;
}

/* Offset the second and third cards for a stacked feel */
.au-hero-stats>.au-stat-card:nth-child(2) {
    align-self: center;
}

.au-hero-stats>.au-stat-card:nth-child(3) {
    align-self: flex-end;
}


/* ═══════════════════════════════════════════════
   3. SHARED SECTION UTILITIES
   ─────────────────────────────────────────────
   Reused across all content sections below the hero.
   ═══════════════════════════════════════════════ */

/* Standard section padding */
.au-section {
    padding: 5rem 0;
    background: #ffffff;
}

/* Alternate background (light gray) */
.au-section--alt {
    background: #f8fafc;
    /* ← change for alt section BG */
}

/* Blue background (Why Samatva section) */
.au-section--blue {
    background: #1B4FD8;
    /* brand blue */
}

/* Centred section header block */
.au-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

/* Small eyebrow label above section h2 */
.au-section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1B4FD8;
    margin-bottom: 0.6rem;
}

.au-section-eyebrow--light {
    color: #ffffff;
}

/* Section h2 */
.au-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #003366;
    margin-bottom: 0.75rem;
}

.au-section-title--center {
    text-align: center;
}

.au-section-title--light {
    color: #ffffff;
}

/* Subtitle below section h2 */
.au-section-sub {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.65;
    text-align: center;
}

.au-section-sub--light {
    color: #ffffff;
}

/* Body text paragraph */
.au-body-text {
    font-size: 1rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.au-body-text:last-child {
    margin-bottom: 0;
}

.au-body-text strong {
    color: #0d1117;
    font-weight: 700;
}


/* ═══════════════════════════════════════════════
   4. OUR STORY SECTION
   ─────────────────────────────────────────────
   Two-column grid: text | pull-quote card
   ═══════════════════════════════════════════════ */

.au-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* ← adjust split e.g. 55fr 45fr */
    gap: 5rem;
    align-items: center;
}

/* Left col — text heading + paragraphs */
.au-story-text .au-section-eyebrow {
    margin-bottom: 0.75rem;
}

.au-story-text .au-section-title {
    margin-bottom: 1.5rem;
}

/* Right col — quote / highlight card */
.au-story-quote {
    background: #e8f0fc;
    /* matches hero bg */
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative left colour bar */
.au-quote-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #1B4FD8;
    border-radius: 20px 0 0 20px;
}

.au-quote-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.55;
    color: #0d1117;
    font-style: normal;
    /* override browser italic on <blockquote> */
    margin-bottom: 1.75rem;
    padding-left: 0.5rem;
}

/* Tag pills */
.au-quote-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.au-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: #ffffff;
    border: 1.5px solid #c7d9f5;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1b4fd8;
    letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════
   5. TEAM CARDS
   ─────────────────────────────────────────────
   Three cards in a 3-column grid.
   Hover: card lifts, icon colour brightens.
   ═══════════════════════════════════════════════ */

.au-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* ← change to repeat(2,1fr) for 2-col */
    gap: 1.5rem;
}

.au-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.au-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
    border-color: #c7d9f5;
}

/* Icon circle */
.au-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #e8f0fc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B4FD8;
    transition: background 0.25s ease;
}

.au-card:hover .au-card-icon {
    background: #1B4FD8;
    color: #ffffff;
}

.au-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0d1117;
    line-height: 1.3;
}

.au-card-desc {
    font-size: 0.9375rem;
    color: #000000;
    line-height: 1.7;
    flex: 1;
}


/* ═══════════════════════════════════════════════
   6. APPROACH STEPS
   ─────────────────────────────────────────────
   Numbered horizontal steps in a vertical flex column.
   Each step: large number on the left, text on the right.
   Connector lines between steps via pseudo-elements.
   ═══════════════════════════════════════════════ */

.au-steps {
    list-style: none;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.au-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    /* number | content */
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    transition: background 0.2s ease;
}

.au-step:last-child {
    border-bottom: none;
}

/* Hover: light blue wash */
.au-step:hover {
    background: #f8fafc;
    border-radius: 12px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 -1rem;
}

/* Large step number */
.au-step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1B4FD8;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: color 0.25s ease;
    padding-top: 0.15rem;
}

.au-step:hover .au-step-number {
    color: #1239a6;
    /* accent on hover */
}

.au-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0d1117;
    margin-bottom: 0.5rem;
}

.au-step-desc {
    font-size: 0.9375rem;
    color: #111827;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   7. WHY CHOOSE SAMATVA
   ─────────────────────────────────────────────
   Three glass-effect cards on brand-blue background.
   Summary paragraph + two CTA buttons below cards.
   ═══════════════════════════════════════════════ */

.au-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.au-why-card {
    background: rgba(255, 255, 255, 0.10);
    /* glass effect on blue BG */
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.au-why-card:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.au-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 1rem;
}

.au-why-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.au-why-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* Summary + CTA row below the cards */
.au-why-footer {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.au-why-summary {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.au-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}


/* ═══════════════════════════════════════════════
   8. BUTTON VARIANTS (about-page specific)
   ─────────────────────────────────────────────
   .au-btn          — base
   .au-btn--white   — white fill (used on blue/dark sections)
   .au-btn--outline-white — transparent + white border
   .au-btn--lg      — larger size
   ═══════════════════════════════════════════════ */

.au-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease,
        border-color 0.2s ease, transform 0.15s ease,
        box-shadow 0.2s ease;
    cursor: pointer;
}

.au-btn--white {
    background: #ffffff;
    color: #1B4FD8;
    border-color: #ffffff;
}

.au-btn--white:hover {
    background: #f0f4ff;
    border-color: #f0f4ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.au-btn--outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

.au-btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.80);
    transform: translateY(-1px);
}

.au-btn--lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

/* Keyboard focus ring for all buttons */
.au-btn:focus-visible {
    outline: 3px solid var(--clr-focus, #f59e0b);
    outline-offset: 3px;
}


/* ═══════════════════════════════════════════════
   9. BOTTOM CTA BANNER
   ─────────────────────────────────────────────
   Dark navy strip with heading + single CTA button.
   ═══════════════════════════════════════════════ */

.au-cta-banner {
    background: #0c1a3a;
    /* ← deep navy — change hex to restyle */
    padding: 5rem 0;
}

.au-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.au-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.au-cta-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.6;
    max-width: 480px;
}


/* ═══════════════════════════════════════════════
   10. FOOTER
   ─────────────────────────────────────────────
   Minimal dark strip with copyright + footer nav.
   ═══════════════════════════════════════════════ */

.au-footer {
    background: #07101e;
    /* ← almost-black footer */
    padding: 1.5rem 0;
}

.au-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.au-footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

.au-footer-link {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    margin-left: 1.25rem;
    transition: color 0.2s ease;
}

.au-footer-link:hover {
    color: #ffffff;
}

.au-footer-link:focus-visible {
    outline: 2px solid var(--clr-focus, #f59e0b);
    outline-offset: 2px;
    border-radius: 2px;
}


/* ═══════════════════════════════════════════════
   10. RESPONSIVE BREAKPOINTS
   ─────────────────────────────────────────────
   Tablet  ≤ 900px  : collapse 2-col grids to 1-col
   Mobile  ≤ 600px  : tighten padding, single col
   ═══════════════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 900px) {

    /* Hero: stack text above, stats below */
    .au-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .au-hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .au-hero-stats>* {
        align-self: auto !important;
        /* reset nth-child offsets */
    }

    /* Story: stack side by side to single col */
    .au-story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Team: 2 columns on tablet */
    .au-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Why: 2 columns on tablet */
    .au-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA banner: stack text + button vertically */
    .au-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .au-cta-sub {
        max-width: 100%;
    }
}

/* ── Mobile ── */
@media (max-width: 600px) {

    .au-hero {
        padding: 4rem 0 3rem;
    }

    .au-hero-title {
        font-size: 2.2rem;
    }

    /* Full-width stat cards */
    .au-hero-stats {
        flex-direction: column;
    }

    .au-stat-card {
        min-width: auto;
        width: 100%;
    }

    /* Team: single column */
    .au-cards {
        grid-template-columns: 1fr;
    }

    /* Why: single column */
    .au-why-grid {
        grid-template-columns: 1fr;
    }

    .au-section {
        padding: 3.5rem 0;
    }

    /* Steps: stack number above content */
    .au-step {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .au-step-number {
        font-size: 1.75rem;
    }

    /* Footer: stack vertically */
    .au-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .au-footer-link:first-of-type {
        margin-left: 0;
    }

    .au-cta-row {
        flex-direction: column;
        align-items: center;
    }
}