/* ============================================================
   get-involved.css  —  Get Involved Page Specific Styles
   NGO Theme · Yuva Shakti
   Depends on: variables.css, global.css, header-footer.css
   ============================================================ */

/* ── Utility overrides ─────────────────────────────────────── */
.bg-brand-primary   { background-color: var(--color-primary)   !important; }
.bg-brand-secondary { background-color: var(--color-secondary) !important; }
.bg-brand-light     { background-color: var(--color-light)     !important; }
.bg-color-light     { background-color: var(--color-bg)        !important; }
.bg-color-white     { background-color: var(--color-white)     !important; }
.text-brand-primary { color: var(--color-primary)              !important; }
.text-brand-secondary { color: var(--color-secondary)          !important; }
.text-brand-h       { color: var(--color-text)                 !important; }
.text-muted-p       { color: var(--color-muted)                !important; }


/* ══════════════════════════════════════════════════════════════
   SECTION 1 – Hero
══════════════════════════════════════════════════════════════ */
.section-csr-hero {
  background-color: #fff8f3;
}

.section-csr-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.12;
  margin-bottom: 20px;
}

.section-csr-hero .lead-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--color-muted);
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 500;
  padding: 0 16px;
}

/* Hero image wrapper */
.csr-hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.csr-hero-img-wrap img {
  width: 100%;
  height: clamp(200px, 40vw, 420px);
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.csr-hero-img-wrap:hover img {
  transform: scale(1.03);
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 – Benefits / Why Volunteer?
══════════════════════════════════════════════════════════════ */
.benefits-section {
  background-color: var(--color-white);
  padding: clamp(48px, 8vw, 72px) 0;
}

.benefits-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.benefits-section .section-sub {
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2vw, 1.05rem);
  margin-bottom: 3rem;
}


/* Benefit card */
.benefit-card {
  background-color: #fff8f3;
  border-radius: 18px;
  border: none;
  padding: 32px 28px 28px;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(222, 56, 8, 0.1);
}

/* Icon — top right */
.card-icon-wrap {
  position: absolute;
  top: 24px;
  right: 24px;
}

.card-icon-wrap svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-secondary);
}

.benefit-card .card-title {
    font-size: clamp(1.4rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--color-text);
    margin-top: 4px;
    margin-bottom: 12px;
    padding-right: 64px;
    line-height: 1.35;
}


.benefit-card .card-text {
  color: var(--color-muted); 
  font-size: clamp(1rem, 1.8vw, 1rem);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 3 – FAQ + Volunteer Form
══════════════════════════════════════════════════════════════ */
.volunteer-section {
  background-color: #fff8f3;
  padding: clamp(48px, 8vw, 80px) 0;
}

/* FAQ heading */
.faq-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

/* ── Accordion ── */
.accordion-item {
  background-color: var(--color-white) !important;
  border: 0.5px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-button {
  background-color: var(--color-white) !important;
  color: var(--color-text) !important;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  box-shadow: none !important;
  padding: 1.2rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  color: var(--color-primary) !important;
  background-color: var(--color-white) !important;
}

/* Custom chevron — default (grey) */
.accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b6b6b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Custom chevron — open (brand red) */
.accordion-button:not(.collapsed)::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23de3808'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--color-muted);
  line-height: 1.6;
  padding: 0 1.25rem 1rem;
  font-weight: 500;
  word-spacing: 1px;
}

/* ── Form card ── */
.form-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  display: block;
}

.form-label .req {
  color: var(--color-primary);
  margin-left: 2px;
}

.form-control,
.form-select {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-white);
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(222, 56, 8, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-submit:hover  { background-color: var(--color-primary-dark); color: #fff; }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════════ */

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
    
   :root {
    --section-padding: 60px;
  }


  .section-csr-hero .lead-text {
    padding: 0;
    margin-bottom: 32px;
  }

  .csr-hero-img-wrap {
    border-radius: 14px;
  }

  .benefit-card {
    padding: 24px 20px 22px;
  }

  .card-icon-wrap svg {
    width: 40px;
    height: 40px;
  }

  .benefit-card .card-title {
    padding-right: 54px;
  }

  .volunteer-section {
    padding: 48px 0;
  }

  .form-card {
    border-radius: 12px;
  }
  
  .section-csr-hero h1 {
    font-weight: 500;
    margin-bottom: 10px;
  }

 .benefits-section .section-sub {
    margin-bottom: 2rem;
    font-weight: 500;
    
}
    .section-csr-hero .lead-text {
        padding: 0;
        margin-bottom: 32px;
        text-align: justify !important;
    }

.benefit-card .card-title {
    font-weight: 600;
}

.benefit-card .card-text {
    font-weight: 500;
    text-align: justify;
}

 .accordion-header {
    font-size: 16px;
    font-weight: 500;
 }

 .faq-heading {
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

}

/* ── Tablets (481px – 767px) ── */
@media (min-width: 481px) and (max-width: 767px) {


  .section-csr-hero .lead-text {
    padding: 0 8px;
  }
}

/* ── Medium tablets (768px – 991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
  .benefit-card {
    padding: 28px 24px 24px;
  }
}

/* ── Large screens (≥ 1200px) ── */
@media (min-width: 1200px) {

  .section-csr-hero .lead-text {
    padding: 0 48px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .csr-hero-img-wrap img,
  .benefit-card,
  .btn-submit {
    transition: none;
  }
}