/* ==========================================================
   public-about.css — page-specific styles for the About page.
   Loaded after base.css and public.css. Shared nav/mobile-nav/footer
   base/body live in public.css; only About-specific tokens and layout
   live here.
   ========================================================== */

:root {
  --bg-section: #e8effe;
  --text-muted: #475569;
  --radius: 18px;
  --radius-sm: 12px;
}

/* ── HERO ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-content > p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-point .point-icon {
  color: var(--blue-accent);
  margin-bottom: 10px;
}

.hero-point h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.hero-point p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-section);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

/* ── WHY WE BUILT THIS ── */
.why-section {
  background: var(--bg-section);
  padding: 56px 24px;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 40px;
}

.why-header .eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.why-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.why-card .why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-card:nth-child(1) .why-icon { background: #fee2e2; color: #dc2626; }
.why-card:nth-child(2) .why-icon { background: #e2e8f0; color: #475569; }
.why-card:nth-child(3) .why-icon { background: var(--navy); color: #fff; }

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ENGINEERED FOR STUDENTS ── */
.features-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.features-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card2 {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,32,68,0.05);
  display: flex;
  gap: 18px;
}

.feature-card2 .feature-icon2 {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card2 h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-bottom: 8px;
}

.feature-card2 p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TEAM ── */
.team-section {
  background: var(--navy);
  color: #fff;
  padding: 64px 24px;
}

.team-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.team-inner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.team-inner > p {
  font-size: 0.92rem;
  color: #c5cfe6;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: #dde3ee;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.team-card .name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.team-card .email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  text-decoration: none;
}

.team-card .email svg {
  flex: 0 0 auto;
}

.team-card .email span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-card .email:hover {
  text-decoration: underline;
}

.team-card .role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── FOOTER ── */
footer {
  background: var(--bg);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
    min-height: 260px;
  }

  .why-grid,
  .features-grid2,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .feature-card2 { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-points {
    grid-template-columns: 1fr;
  }
}
