/* ==========================================================================
   Help Wala Trust of India - inner pages (About Us, Contact Us, CMS pages)
   Builds on the variables and components in style.css.
   ========================================================================== */

/* Page banner ------------------------------------------------------------- */
.page-banner {
  position: relative;
  background-color: #051a0d;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 7, 0.9) 0%, rgba(4, 20, 9, 0.72) 45%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-amber), var(--accent-saffron));
  z-index: 2;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.page-banner-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f1f5f9;
  max-width: 640px;
  margin-bottom: 0;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: #cbd5e1;
}

.page-breadcrumb a {
  color: #fef08a;
  text-decoration: none;
  font-weight: 600;
}

.page-breadcrumb a:hover {
  color: #fff;
}

.page-breadcrumb li + li::before {
  content: "\203A";
  margin-right: 0.4rem;
  color: #94a3b8;
}

/* About — story ----------------------------------------------------------- */
.about-photo-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: visible;
  isolation: isolate; /* keeps the dashed ::before frame above the section background */
}

.about-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.about-photo-frame::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px dashed rgba(21, 128, 61, 0.35);
  border-radius: 1.5rem;
  z-index: -1;
}

.about-photo-badge {
  position: absolute;
  left: -0.75rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 1rem;
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-text);
}

.about-photo-badge i {
  font-size: 1.4rem;
  color: var(--accent-saffron);
}

@media (max-width: 575.98px) {
  .about-photo-frame::before { display: none; }
  .about-photo-badge { left: 0.75rem; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted-text);
  font-size: 0.95rem;
}

.check-list i {
  color: var(--primary-green);
  font-size: 1.1rem;
  line-height: 1.4;
}

/* About — mission / vision / values -------------------------------------- */
.mission-card {
  height: 100%;
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #fff;
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.mission-card.is-dark {
  background: linear-gradient(145deg, #072111 0%, #0d3517 55%, #15803d 100%);
  border-color: transparent;
  color: #fff;
}

.mission-card.is-dark h4 { color: #fff; }
.mission-card.is-dark p { color: #e2e8f0; }

.mission-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--primary-green-subtle);
  color: var(--primary-green);
}

.mission-card.is-dark .mission-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fef08a;
}

.value-card {
  height: 100%;
  text-align: center;
  padding: 1.5rem 1.1rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1.5px solid var(--card-border);
  transition: var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--accent-saffron);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card .value-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--accent-saffron-subtle);
  color: var(--accent-saffron);
}

/* Contact — info cards & timings ----------------------------------------- */
.info-card {
  height: 100%;
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.info-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.info-card-icon.green { background: var(--primary-green-subtle); color: var(--primary-green); }
.info-card-icon.saffron { background: var(--accent-saffron-subtle); color: var(--accent-saffron); }
.info-card-icon.amber { background: var(--accent-amber-light); color: var(--accent-amber); }

.info-card a {
  color: var(--dark-text);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.info-card a:hover { color: var(--primary-green); }

.hours-card {
  background: linear-gradient(145deg, #072111 0%, #0d3517 60%, #15803d 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}

.hours-card h5 { color: #fff; }

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
}

.hours-list li:last-child { border-bottom: 0; }
.hours-list span:first-child { color: #e2e8f0; }
.hours-list span:last-child { color: #fef08a; font-weight: 700; text-align: right; }

/* Closing call-to-action band --------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: clamp(2rem, 4.5vw, 3.25rem);
  background: linear-gradient(120deg, #072111 0%, #0f3d1b 45%, #c2410c 140%);
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 { color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: #e2e8f0; }

/* CMS page body ----------------------------------------------------------- */
.cms-page-content { color: var(--muted-text); line-height: 1.8; }
.cms-page-content h2,
.cms-page-content h3,
.cms-page-content h4 { color: var(--dark-text); margin-top: 1.75rem; }
.cms-page-content a { color: var(--primary-green); }

/* Outline button on dark backgrounds (hero slides, CTA band) ---------------- */
.btn-modern-outline.btn-on-dark {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.btn-modern-outline.btn-on-dark:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary-green-dark) !important;
}
