/* ══════════════════════════════════════════
   whoWeAre.css — Who We Are Page Styles
   Mirrors the design language of home.css.

   Sections:
   1. Hero
   2. Shared Label Utility
   3. About Section
   4. Mission & Vision Section
   5. Market & Differentiators Section
   6. Team Section
   7. Scroll Reveal
   8. Responsive
══════════════════════════════════════════ */


/* ══════════════════════════════════════════
   1. HERO
══════════════════════════════════════════ */
.wwa-hero {
    min-height: 100vh;
    background-image: url('../images/hero-whoWeAre.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Dark gradient overlay */
.wwa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(9, 14, 18, 0.80) 0%,
        rgba(9, 14, 18, 0.50) 50%,
        rgba(9, 14, 18, 0.90) 100%
    );
}

/* Decorative teal glow (bottom-left) */
.wwa-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 176, 240, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.wwa-hero .container {
    position: relative;
    z-index: 1;
}

/* ── Hero Eyebrow Label ── */
.wwa-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
}

.wwa-hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--teal);
}

/* ── Hero Heading ── */
.wwa-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    letter-spacing: -0.02em;
    max-width: 700px;
    margin: 0 0 24px;
}

.wwa-hero h1 em {
    font-style: normal;
    color: var(--teal);
}

/* ── Hero Subtitle ── */
.wwa-hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    line-height: 1.75;
    margin: 0;
}


/* ══════════════════════════════════════════
   2. SHARED LABEL UTILITY
   Small uppercase label with leading dash,
   reused across multiple sections.
══════════════════════════════════════════ */
.wwa-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wwa-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--teal);
}


/* ══════════════════════════════════════════
   3. ABOUT SECTION
   Two-column layout: text left, image right
══════════════════════════════════════════ */
.wwa-about {
    padding: 100px 0;
    background: #f4f6f8;
}

.wwa-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ── Heading ── */
.wwa-about h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark2);
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.wwa-about h2 em {
    font-style: normal;
    color: var(--teal);
}

.wwa-about p {
    font-size: 1rem;
    color: #4a6070;
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 500px;
}

/* ── Tag Chips ── */
.wwa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.wwa-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 176, 240, 0.08);
    color: var(--teal);
    border: 1px solid rgba(0, 176, 240, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
}

/* ── Image Wrapper ── */
.wwa-about-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(18, 44, 52, 0.14);
}

.wwa-about-img-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.wwa-about-img-wrap:hover img {
    transform: scale(1.03);
}

/* Teal bottom accent bar */
.wwa-about-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal2));
}


/* ══════════════════════════════════════════
   4. MISSION & VISION SECTION
   Dark parallax band with two glass cards
══════════════════════════════════════════ */
.wwa-mv {
    padding: 100px 0;
    background-image: url('../images/hero-whoWeAre.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay */
.wwa-mv::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 14, 18, 0.88);
}

/* Decorative teal glow (top-right) */
.wwa-mv::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 176, 240, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.wwa-mv .container {
    position: relative;
    z-index: 1;
}

/* ── Section Header ── */
.wwa-mv-header {
    text-align: center;
    margin-bottom: 60px;
}

.wwa-mv-header .wwa-label {
    justify-content: center;
    color: rgba(0, 176, 240, 0.85);
}

.wwa-mv-header .wwa-label::before {
    background: rgba(0, 176, 240, 0.85);
}

.wwa-mv-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

.wwa-mv-header h2 em {
    font-style: normal;
    color: var(--teal);
}

/* ── Card Grid ── */
.wwa-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── Glass Card ── */
.wwa-mv-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 176, 240, 0.15);
    border-radius: 16px;
    padding: 44px 40px;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

/* Teal top-border reveal on hover */
.wwa-mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.wwa-mv-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 176, 240, 0.35);
    transform: translateY(-4px);
}

.wwa-mv-card:hover::before {
    opacity: 1;
}

/* ── Card Icon ── */
.wwa-mv-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 176, 240, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--teal);
    font-size: 1.5rem;
}

.wwa-mv-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.wwa-mv-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin: 0;
}


/* ══════════════════════════════════════════
   5. MARKET & DIFFERENTIATORS SECTION
   Two-column: market stats left, diff list right
══════════════════════════════════════════ */
.wwa-market {
    padding: 100px 0;
    background: #fff;
}

.wwa-market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 60px;
}

.wwa-market h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark2);
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}

.wwa-market p {
    font-size: 1rem;
    color: #4a6070;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ── Market Stats Grid ── */
.wwa-market-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.wwa-mstat {
    background: #f4f6f8;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.25s, box-shadow 0.25s;
}

.wwa-mstat:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(18, 44, 52, 0.08);
}

.wwa-mstat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--teal);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.wwa-mstat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Differentiators List ── */
.wwa-diff-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wwa-diff-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: #2a3d4a;
    line-height: 1.6;
    padding: 16px 20px;
    background: #f4f6f8;
    border-radius: 10px;
    border-left: 3px solid var(--teal);
    transition: background 0.2s, transform 0.2s;
}

.wwa-diff-list li:hover {
    background: rgba(0, 176, 240, 0.05);
    transform: translateX(4px);
}

.wwa-diff-list li i {
    color: var(--teal);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}


/* ══════════════════════════════════════════
   6. TEAM SECTION
   Three-card grid with photo, role badge, bio
══════════════════════════════════════════ */
.wwa-team {
    padding: 100px 0;
    background: #f4f6f8;
}

/* ── Section Header ── */
.wwa-team-header {
    text-align: center;
    margin-bottom: 64px;
}

.wwa-team-header .wwa-label {
    justify-content: center;
}

.wwa-team-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--dark2);
    letter-spacing: -0.02em;
    margin: 0;
}

.wwa-team-header h2 em {
    font-style: normal;
    color: var(--teal);
}

/* ── Card Grid ── */
.wwa-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Individual Team Card ── */
.wwa-team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wwa-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(18, 44, 52, 0.13);
}

/* Teal top-border reveal on hover */
.wwa-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.wwa-team-card:hover::before {
    transform: scaleX(1);
}

/* ── Team Photo ── */
.wwa-team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: var(--dark2);
}

.wwa-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(20%);
    transition: transform 0.5s ease;
}

.wwa-team-card:hover .wwa-team-photo img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Subtle gradient fade at bottom of photo */
.wwa-team-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(9, 14, 18, 0.5), transparent);
}

/* ── Card Body ── */
.wwa-team-body {
    padding: 28px 28px 32px;
}

.wwa-team-body h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark2);
    margin: 0 0 8px;
}

/* Role badge pill */
.wwa-team-role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0, 176, 240, 0.08);
    border: 1px solid rgba(0, 176, 240, 0.2);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 16px;
}

.wwa-team-body p {
    font-size: 0.87rem;
    color: #5a6e7c;
    line-height: 1.7;
    margin: 0;
}

/* Experience badge row */
.wwa-exp-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}

.wwa-exp-badge i {
    color: var(--teal);
    font-size: 0.95rem;
}


/* ══════════════════════════════════════════
   7. SCROLL REVEAL
   Hidden state set here in CSS so elements are
   invisible from first paint. JS only adds
   .sr-visible to trigger the transition —
   it never injects styles or adds .sr-hidden.
══════════════════════════════════════════ */

/* Sections — fade up as a whole */
.js .wwa-hero .wwa-hero-eyebrow,
.js .wwa-hero h1,
.js .wwa-hero .wwa-hero-sub {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity   0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.js .wwa-about,
.js .wwa-mv,
.js .wwa-market,
.js .wwa-team {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity   0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Cards & list items — slightly snappier */
.js .wwa-team-card,
.js .wwa-mv-card,
.js .wwa-diff-list li,
.js .wwa-mstat {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity   0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Stagger delays */
.wwa-team-grid    .wwa-team-card:nth-child(2)  { transition-delay: 100ms; }
.wwa-team-grid    .wwa-team-card:nth-child(3)  { transition-delay: 200ms; }
.wwa-mv-grid      .wwa-mv-card:nth-child(2)    { transition-delay: 120ms; }
.wwa-diff-list    li:nth-child(2)              { transition-delay:  60ms; }
.wwa-diff-list    li:nth-child(3)              { transition-delay: 120ms; }
.wwa-diff-list    li:nth-child(4)              { transition-delay: 180ms; }
.wwa-market-stats .wwa-mstat:nth-child(2)      { transition-delay:  80ms; }
.wwa-market-stats .wwa-mstat:nth-child(3)      { transition-delay: 160ms; }
.js .wwa-hero h1                               { transition-delay: 100ms; }
.js .wwa-hero .wwa-hero-sub                    { transition-delay: 180ms; }

/* Revealed state — added by JS IntersectionObserver */
.wwa-hero.sr-visible .wwa-hero-eyebrow,
.wwa-hero.sr-visible h1,
.wwa-hero.sr-visible .wwa-hero-sub,
.wwa-about.sr-visible,
.wwa-mv.sr-visible,
.wwa-market.sr-visible,
.wwa-team.sr-visible,
.wwa-team-card.sr-visible,
.wwa-mv-card.sr-visible,
.wwa-diff-list li.sr-visible,
.wwa-mstat.sr-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ══════════════════════════════════════════
   8. RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {

    /* Stack two-column layouts */
    .wwa-about-grid,
    .wwa-market-grid { grid-template-columns: 1fr; gap: 48px; }

    .wwa-mv-grid     { grid-template-columns: 1fr; }

    /* Two columns for team on tablet */
    .wwa-team-grid   { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 600px) {

    .wwa-team-grid    { grid-template-columns: 1fr; }
    .wwa-market-stats { grid-template-columns: 1fr 1fr; }
    .wwa-hero         { min-height: 60vh; }

}