/* ============================================================
   VOLUNTEER PAGE — Page-specific styles
   Shared styles (FAQ, chapter-banner, benefit-card) in membership-common.css
   ============================================================ */

/* ── 1. Hero ── */
.vol-hero {
  background: linear-gradient(
    135deg,
    var(--clr-brand-deep) 0%,
    var(--clr-brand-violet) 55%,
    var(--clr-brand-purple) 100%
  );
  padding-block: var(--space-20);
  position: relative;
  overflow: hidden;
}

.vol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/banner-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.vol-hero .container {
  position: relative;
  z-index: 1;
}

.vol-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-6);
}

.vol-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.vol-hero__breadcrumb a:hover {
  color: var(--clr-white);
}

.vol-hero__breadcrumb i {
  font-size: 10px;
}

.vol-hero__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-orange);
  display: block;
  margin-bottom: var(--space-3);
}

.vol-hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 760px;
}

.vol-hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.vol-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.vol-hero__badges {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

.vol-hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

.vol-hero__badge i {
  color: var(--clr-orange);
  font-size: var(--fs-md);
}


/* ── 2. Intro ── */
.vol-intro {
  background: var(--clr-white);
  padding-block: var(--space-20);
}

.vol-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.vol-intro__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.vol-intro__label {
  font-family: "Roboto Mono", monospace;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-orange);
}

.vol-intro__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--clr-brand-dark);
  line-height: 1.2;
}

.vol-intro__body {
  font-size: var(--fs-base);
  color: var(--clr-gray-mid);
  line-height: 1.75;
}

.vol-intro__note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: rgba(79, 23, 168, 0.05);
  border-left: 3px solid var(--clr-brand-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--clr-brand-dark);
  line-height: 1.6;
}

.vol-intro__note i {
  color: var(--clr-brand-purple);
  font-size: var(--fs-md);
  flex-shrink: 0;
  margin-top: 2px;
}

.vol-intro__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  background: linear-gradient(135deg, var(--clr-brand-deep) 0%, var(--clr-brand-purple) 100%);
}

.vol-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vol-intro__stat-overlay {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  display: flex;
  gap: var(--space-3);
}

.vol-stat-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.vol-stat-pill__value {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-brand-purple);
  display: block;
  line-height: 1;
}

.vol-stat-pill__label {
  font-size: 10px;
  font-weight: var(--fw-medium);
  color: var(--clr-gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}


/* ── 3. Why Volunteer (benefits) ── */
.vol-why {
  background: var(--clr-page-bg);
  padding-block: var(--space-20);
}

.vol-why .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.vol-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}


/* ── 4. Volunteer Roles ── */
.vol-roles {
  background: var(--clr-white);
  padding-block: var(--space-20);
}

.vol-roles .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.vol-roles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.role-card {
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  background: var(--clr-white);
}

.role-card:hover {
  border-color: var(--clr-brand-purple);
  box-shadow: var(--shadow-btn);
  transform: translateY(-3px);
}

.role-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.role-card__icon--purple { background: rgba(79, 23, 168, 0.1); color: var(--clr-brand-purple); }
.role-card__icon--orange { background: rgba(255, 111, 0, 0.1); color: var(--clr-orange); }
.role-card__icon--green  { background: rgba(69, 197, 128, 0.1); color: var(--clr-green); }
.role-card__icon--cyan   { background: rgba(56, 190, 244, 0.1); color: var(--clr-cyan); }
.role-card__icon--teal   { background: rgba(5, 192, 225, 0.1); color: var(--clr-teal); }
.role-card__icon--navy   { background: rgba(35, 10, 73, 0.08); color: var(--clr-brand-dark); }

.role-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--clr-brand-dark);
  line-height: 1.3;
}

.role-card__body {
  font-size: var(--fs-sm);
  color: var(--clr-gray-mid);
  line-height: 1.65;
  flex: 1;
}

.role-card__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--clr-brand-purple);
  background: rgba(79, 23, 168, 0.07);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  width: fit-content;
}


/* ── 5. How to Get Involved (steps) ── */
.vol-steps {
  background: var(--clr-page-bg);
  padding-block: var(--space-20);
}

.vol-steps .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.vol-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.vol-steps__grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-brand-purple) 0%, var(--clr-purple-light) 100%);
  opacity: 0.3;
  pointer-events: none;
}

.vol-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.vol-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-brand-purple);
  color: var(--clr-white);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(79, 23, 168, 0.3);
  position: relative;
  z-index: 1;
}

.vol-step__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--clr-brand-dark);
  line-height: 1.3;
}

.vol-step__desc {
  font-size: var(--fs-sm);
  color: var(--clr-gray-mid);
  line-height: 1.65;
}

.vol-steps__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.vol-steps__cta-note {
  font-size: var(--fs-sm);
  color: var(--clr-gray-mid);
}

.vol-steps__cta-note a {
  color: var(--clr-brand-purple);
  font-weight: var(--fw-semibold);
}


/* ── 6. Volunteer Voices ── */
.vol-voices {
  background: var(--clr-white);
  padding-block: var(--space-20);
}

.vol-voices .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.vol-voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.voice-card {
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--clr-border);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: var(--clr-white);
  transition: box-shadow var(--transition);
}

.voice-card:hover {
  box-shadow: var(--shadow-card);
}

.voice-card__quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--clr-brand-purple);
  font-family: Georgia, serif;
  opacity: 0.4;
  margin-bottom: calc(-1 * var(--space-4));
}

.voice-card__text {
  font-size: var(--fs-sm);
  color: var(--clr-gray-mid);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.voice-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-5);
}

.voice-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-brand-purple) 0%, var(--clr-brand-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  flex-shrink: 0;
}

.voice-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-brand-dark);
}

.voice-card__role {
  font-size: var(--fs-xs);
  color: var(--clr-gray-mid);
  margin-top: 2px;
}


/* ── Responsive ── */
@media (max-width: 1100px) {
  .vol-why__grid    { grid-template-columns: repeat(2, 1fr); }
  .vol-roles__grid  { grid-template-columns: repeat(2, 1fr); }
  .vol-voices__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .vol-intro .container {
    grid-template-columns: 1fr;
  }
  .vol-intro__visual {
    order: -1;
    min-height: 280px;
  }
  .vol-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vol-steps__grid::before { display: none; }
}

@media (max-width: 767px) {
  .vol-hero__title   { font-size: var(--fs-2xl); }
  .vol-intro__title  { font-size: var(--fs-2xl); }
  .vol-hero__actions { flex-direction: column; }
  .vol-hero__badges  { gap: var(--space-4); }
  .vol-why__grid     { grid-template-columns: 1fr; }
  .vol-roles__grid   { grid-template-columns: 1fr; }
  .vol-steps__grid   { grid-template-columns: 1fr; }
  .vol-voices__grid  { grid-template-columns: 1fr; }
  .vol-intro__stat-overlay { gap: var(--space-2); }
}
