/* =============================================================
   NIRJA VIKAS VARDHINI — volunteers.css
   Page-specific styles for volunteers.html only.

   Shared:  style.css   → header, footer, cursor, buttons,
                          .nvv-chip, .nvv-divider, .nvv-section-title,
                          .nvv-btn, .nvv-footer, .nvv-header, reveal etc.
   Reused:  about.css   → .nvv-page-header + breadcrumb
                          (volunteers.html loads both about.css + this file)
   This file: team cards, volunteer grid, become-volunteer CTA only.
   ============================================================= */

/* ============================================================
   TEAM SECTION WRAPPER
   ============================================================ */
.nvv-team {
    padding: 96px 0 80px;
    background: var(--bg);
    position: relative;
}

/* Alternate section background for volunteers block */
.nvv-team--volunteers {
    background: var(--white);
}

/* ---- Section heading block ---- */
.nvv-team__section-head {
    margin-bottom: 56px;
}

.nvv-team__section-head .nvv-divider {
    /* override default left-align from style.css */
    margin-left: auto;
    margin-right: auto;
}

/* ---- GRID ---- */
.nvv-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ============================================================
   TEAM CARD
   ============================================================ */
.nvv-team__card {
    background: var(--white);
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: visible;
    border: none;
    box-shadow: none;
    transition: transform 0.32s ease;
    position: relative;
    text-align: center;
}

.nvv-team__card:hover {
    transform: translateY(-8px);
}

/* Remove bottom accent line for circular design */

/* ---- Photo wrapper ---- */
.nvv-team__card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* circular shape */
    background: var(--bg);
    border-radius: 50%;
    margin: 0 auto 20px;
    width: 200px;
    height: 200px;
    border: 4px solid var(--orange);
    box-shadow: 0 4px 12px rgba(232, 100, 10, 0.2);
}

.nvv-team__card-img img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 50%;
}

.nvv-team__card:hover .nvv-team__card-img img {
    transform: scale(1.06);
}

/* ---- Card body ---- */
.nvv-team__card-body {
    padding: 0 22px 22px;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nvv-team__card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.3;
}

.nvv-team__card-role {
    display: block;
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 0.03em;
    /* allow long role titles to wrap naturally */
    white-space: normal;
}

/* ============================================================
   BECOME A VOLUNTEER CTA
   ============================================================ */
.nvv-become-vol {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

/* Jarallax bg div */
.nvv-become-vol__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.nvv-become-vol__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(14, 32, 64, 0.86) 0%,
            rgba(14, 32, 64, 0.65) 100%);
}

.nvv-become-vol .container {
    position: relative;
    z-index: 1;
}

/* Inner flex row */
.nvv-become-vol__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 52px 56px;
    transition: background 0.3s;
}

.nvv-become-vol__inner:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Left text */
.nvv-become-vol__left h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.nvv-become-vol__left h2 em {
    color: var(--orange);
    font-style: italic;
}

/* Large watermark text — original "Become a Volunteers" big text */
.nvv-become-vol__big-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    letter-spacing: -0.02em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* ============================================================
   SECTION DIVIDER — thin line between board & volunteers
   ============================================================ */
.nvv-team+.nvv-team {
    border-top: 1px solid var(--line);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .nvv-team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nvv-team {
        padding: 72px 0 60px;
    }

    .nvv-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .nvv-become-vol {
        padding: 72px 0;
    }

    .nvv-become-vol__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 28px;
        gap: 24px;
    }

    .nvv-become-vol__big-text {
        font-size: 2rem;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .nvv-team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nvv-team__card-img {
        width: 150px;
        height: 150px;
    }

    .nvv-become-vol__inner {
        padding: 28px 20px;
    }
}