/* about.css - styles unique to this page. Shared nav, footer, reset and colours are in base.css. */

/* ============================================
  ABOUT PAGE 
   ============================================ */

/* ---------- About hero: same hero, soft cream overlay ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.hero-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fdfdfd;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  width: 90%;
  max-width: 1000px;
}

/* ---------- Section label (small eyebrow above headings) ---------- */

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-serif);
  color: var(--brown-dark);
  font-size: 1.9rem;
  margin-bottom: 16px;
}

/* ---------- Our Story: milestone highlights ---------- */

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  max-width: 500px;
}

.milestone-item {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.milestone-year {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.milestone-label {
  display: block;
  font-size: 0.78rem;
  color: var(--brown);
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .milestone-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

/* ---------- Mission & Vision ---------- */

.mv-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 10px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.mv-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mv-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.mv-card h3 {
  color: var(--brown);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.mv-card p {
  color: var(--brown);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Principal's Welcome ---------- */

.principal-img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  max-height: 380px;
}

.principal-quote {
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 16px 0;
}

.principal-signature {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--brown);
  margin-top: 10px;
}

/* ---------- Meet Our Team ---------- */

.team-text {
  text-align: center;
  margin-top: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1000px;
  padding: 24px 16px 10px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--brown-line);
  margin: 0 auto 14px;
}

.team-card h3 {
  color: var(--brown-dark);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card p {
  color: var(--brown-mid);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Our Journey: timeline ---------- */

.timeline-text {
  text-align: center;
  margin-top: 20px;
}

.timeline-list {
  max-width: 700px;
  margin: 24px auto 10px;
  padding: 0 16px;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--cream-border);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 56px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--cream-border);
}

.timeline-year {
  display: block;
  font-weight: 800;
  color: var(--brown);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-item p {
  color: var(--brown);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--brown);
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 40px;
  border-radius: 14px;
  margin-left: 20px;
  margin-right: 20px;
}

.cta-band h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 26px;
  line-height: 1.7;
  color: #f4f1ea;
}

.cta-band .cta-btn {
  position: static;
}

/* ---------- Responsive tweaks specific to About sections ---------- */

@media (max-width: 768px) {
  .cta-band {
    padding: 40px 16px;
  }

  .cta-band h3 {
    font-size: 1.4rem;
  }

  .principal-img {
    max-height: 260px;
  }
}
