/* ==========================================================================
   SCCWS Nepal — About page additions
   Builds on top of assets/css/style.css (shared design tokens, header,
   footer, buttons, section-heading, icon-badge, etc.). Only the
   component styles that Home doesn't already define live here.
   ========================================================================== */

:root {
  --color-step-number: #ffdcc3;
}

.bg-card { background-color: var(--color-bg-card); }

/* ---- Inner page hero (About / secondary pages) --------------------------- */
.inner-hero {
  position: relative;
  background-color: var(--color-brand-forest);
  overflow: hidden;
  padding-block: var(--space-20);
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inner-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.inner-hero__content {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.4px;
  color: var(--color-white);
  margin-block: var(--space-4) var(--space-6);
}

.inner-hero__lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-brand-mint);
  max-width: 672px;
  margin-bottom: var(--space-4);
}

.inner-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-4);
}

.pill-tag-dark {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand-forest-light);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

.inner-hero__photo {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.inner-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .inner-hero { padding-block: var(--space-12) var(--space-10); }
  .inner-hero h1 { font-size: 26px; line-height: 32px; }
}

/* ---- Pull quote (Our Belief) ---------------------------------------------- */
.pull-quote {
  max-width: 672px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.pull-quote__icon {
  width: 34px;
  height: 24px;
  color: var(--color-brand-amber);
}

.pull-quote blockquote {
  margin: 0;
  font-style: italic;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-brand-forest);
}

.pull-quote p.lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-body);
  max-width: 672px;
  margin: 0;
}

/* ---- Mission / Vision cards ------------------------------------------------ */
.icon-badge--solid-amber { background-color: var(--color-brand-amber); color: var(--color-white); }

.mission-card {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mission-card .icon-badge { width: 48px; height: 48px; }
.mission-card .icon-badge svg { width: 20px; height: 20px; }
.mission-card h3 { font-size: 20px; }
.mission-card p { font-size: 16px; line-height: 24px; }

/* ---- Core values grid ------------------------------------------------------ */
.value-card {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.value-card__icon {
  color: var(--color-brand-forest);
  height: 28px;
  width: auto;
  display: block;
}

.value-card h4 { font-size: 20px; }
.value-card p { font-size: 14px; line-height: 20px; }

/* ---- Timeline (Our Journey) ------------------------------------------------ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background-color: rgba(192, 201, 195, 0.3);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.timeline-item__marker {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.timeline-item__card {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  flex: 1 1 0;
  min-width: 0;
}

.timeline-item__card h4 { font-size: 20px; margin-bottom: var(--space-2); }
.timeline-item__card p { font-size: 16px; line-height: 24px; }

/* ---- Process steps (How We Work) ------------------------------------------- */
.process-step {
  background-color: var(--color-brand-forest-light);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
}

.process-step__num {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-step-number);
}

.process-step h3 {
  font-size: 16px;
  color: var(--color-white);
  letter-spacing: 0.2px;
}

.process-step p {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---- Scholarship selection criteria list ----------------------------------- */
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.criteria-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.criteria-item__num {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-amber);
  line-height: 24px;
  min-width: 28px;
}

.criteria-item h4 { font-size: 20px; margin-bottom: var(--space-1); }
.criteria-item p { font-size: 14px; line-height: 20px; }

/* ---- Areas of work tag grid ------------------------------------------------- */
.tag-card {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  height: 100%;
  display: flex;
  align-items: center;
}

.tag-card span {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-forest);
}

/* ---- Registration & credibility panel --------------------------------------- */
.credibility-panel {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.detail-list dt {
  display: inline;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-body);
}

.detail-list dd {
  display: inline;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-body);
}

.cert-card {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  height: 100%;
}

.cert-card__icon {
  color: var(--color-brand-forest);
  width: 40px;
  height: auto;
}

.cert-card h4 { font-size: 14px; }

.btn-tiny {
  padding: 8px 16px !important;
  font-size: 12px !important;
}

@media (max-width: 991.98px) {
  .credibility-panel { padding: var(--space-6) var(--space-5); }
}
