/* =========================================================
   SCVSKM — ABOUT US DEDICATED STYLESHEET (REFINED)
   Strict Theme: Cinnamon Maroon | Ivory Cream | Gold Accent
   Standard Uniform Typography Scale Applied
   ========================================================= */

/* --- 1. Main Card Container --- */
.about-page-wrapper {
  width: 100%;
}

.about-page-card,
.about-us-card {
  background: #ffffff;
  border: 1.5px solid var(--card-border, #e2e8f0);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(119, 29, 29, 0.05);
  margin-top: 15px;
  margin-bottom: 34px;
}

/* --- 2. Page Header Styling --- */
.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.about-us-card > .section-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

/* Small Text 1 (Desktop: 12px / Mobile: 10px) */
.section-badge {
  display: inline-block;
  background: var(--cinnamon-bg, #fcdada);
  color: var(--cinnamon-dark, #771d1d);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--cinnamon-light, #faaaaa);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

/* Heading 2 Main Title (Desktop: 24px / Mobile: 20px) */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--cinnamon-dark, #771d1d);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

/* Paragraph 1 Subtitle (Desktop: 16px / Mobile: 14px) */
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted, #475569);
  margin: 0 auto;
  max-width: 780px;
  line-height: 1.6;
}

/* --- 3. Content Blocks with Maroon Vertical Strip --- */
.about-content-block {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e2e8f0;
}

/* Left-aligned block title sathe maroon accent strip */
.about-content-block .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-bottom: 12px;
}

.about-content-block .section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--cinnamon-primary, #a72626);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Paragraph 1 (Desktop: 16px / Mobile: 14px) */
.about-content-block p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-main, #0f172a);
  margin: 0 0 14px 0;
  text-align: justify;
}

.about-content-block p:last-child {
  margin-bottom: 0;
}

/* --- 4. Mission & Vision Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.about-feature {
  background: #fffdfa;
  border: 1.5px solid var(--gold-accent, #dfc39a);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(119, 29, 29, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(119, 29, 29, 0.08);
}

.about-feature-text {
  flex: 1 1 auto;
}

/* Heading 3 / Subtitle (Desktop: 20px / Mobile: 16px) */
.about-feature-text h4 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--cinnamon-dark, #771d1d);
  line-height: 1.35;
}

/* Paragraph 2 (Desktop: 14px / Mobile: 12px) */
.about-feature-text p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted, #475569);
  line-height: 1.6;
}

/* --- 5. Closing Narrative Statement --- */
.about-closing-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--cinnamon-dark, #771d1d);
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  padding: 16px 20px;
  background: #fdf8f6;
  border: 1px solid var(--cinnamon-light, #faaaaa);
  border-left: 4px solid var(--cinnamon-primary, #a72626);
  border-radius: 8px;
}

/* =========================================================
   6. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================= */

@media (max-width: 768px) {
  .about-page-card,
  .about-us-card {
    padding: 22px 16px;
    margin-top: 10px;
  }

  /* Heading 2 Mobile: 20px */
  .section-title {
    font-size: 20px;
  }

  .about-content-block .section-title::before {
    height: 18px;
  }

  /* Paragraph 1 Mobile: 14px */
  .section-subtitle,
  .about-content-block p,
  .about-closing-text {
    font-size: 14px;
    line-height: 1.75;
  }

  .about-content-block p {
    text-align: left;
  }

  /* Grid transforms to single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Heading 3 / Subtitle Mobile: 16px */
  .about-feature-text h4 {
    font-size: 16px;
  }

  /* Paragraph 2 Mobile: 12px */
  .about-feature-text p {
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 600px) {
  /* Small Text 1 Mobile: 10px */
  .section-badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .about-feature {
    padding: 16px 14px;
  }
}