/* ══════════════════════════════════════════════════════════════
   SMRITI INDUSTRIES — SIB Theme (about.css)
   Fonts: Fraunces (display) · Instrument Sans (body) · Fredoka (logo)
══════════════════════════════════════════════════════════════ */
:root {
  --bg: #F7FAFF;
  --surface: #FFFFFF;
  --surface2: #EEF4FF;
  --line: #DCE7F9;
  --ink: #0F1D3D;
  --text: #16264A;
  --muted: #5C6B85;
  --dim: #8593AC;
  --accent: #1E56C7;
  --accent-deep: #123C93;
  --sky: #4C86F0;
  --sky-soft: #DCEAFF;
  --green: #1E9E63;
  --amber: #E8960C;
  --pill: #0F1D3D;
  --radius: 18px;
  --shadow: 0 14px 36px rgba(11, 23, 54, 0.08);
  --shadow-sm: 0 6px 18px rgba(11, 23, 54, 0.04);
}

.about-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.about-section   { padding: 76px 0; }

.journey-section       { background: var(--bg); }
.profile-section       { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-section           { background: var(--ink); color: #fff; }
.infra-quality-section { background: var(--surface2); border-bottom: 1px solid var(--line); }
.team-section          { background: var(--bg); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.gap-lg { gap: 64px; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.about-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-cta { margin-top: 10px; }

.journey-buttons {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.milestone-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.milestone-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.milestone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 23, 54, 0.11);
  border-color: var(--accent);
}
.milestone-card.highlight {
  background: var(--accent);
  border-color: var(--accent-deep);
}
.milestone-card.highlight .m-year,
.milestone-card.highlight .m-label { color: #ffffff; }

.m-year {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.m-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── PROFILE SECTION ───────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.profile-card-header {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-card-header i { color: var(--sky); }

.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid var(--line); }
.profile-table tr:last-child { border-bottom: none; }
.profile-table td { padding: 12px 20px; font-size: 0.88rem; }
.profile-table td:first-child { color: var(--muted); font-weight: 500; width: 44%; }
.profile-table td:last-child  { color: var(--ink); font-weight: 600; }

/* ── WHY CHOOSE US SECTION ─────────────────────────────── */
.why-section .section-header h2 { color: #ffffff; }
.why-section .section-header p  { color: #A9B8D6; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.why-card:hover {
  background: rgba(76, 134, 240, 0.12);
  border-color: var(--sky);
  transform: translateY(-3px);
}
.why-card i { color: var(--sky); margin-top: 3px; font-size: 1rem; flex-shrink: 0; }
.why-card span { color: #DCE7F9; font-size: 0.9rem; line-height: 1.5; font-weight: 500; }

/* ── INFRASTRUCTURE & QUALITY ──────────────────────────── */
.iq-block { padding: 0; }
.iq-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.iq-icon.gold { background: var(--accent); color: #ffffff; }
.iq-block h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.iq-block p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; }
.qa-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.qa-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.92rem; font-weight: 500; }
.qa-list li i { color: var(--green); font-size: 0.95rem; }

/* ── TEAM GRID ─────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.team-dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-dept:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.dept-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent);
}
.team-dept span { font-size: 0.88rem; font-weight: 600; color: var(--ink); line-height: 1.35; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .profile-grid { grid-template-columns: 1fr; }
  .about-container { padding: 0 20px; }
}
@media (max-width: 600px) {
  .about-section { padding: 56px 0; }
  .about-container { padding: 0 16px; }
}

/* ── FOUNDER MODAL ─────────────────────────────────────── */
.founder-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 29, 61, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}

.founder-modal.active {
  display: flex;
  opacity: 1;
}

.founder-modal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(15, 29, 61, 0.25);
  max-height: calc(90vh / var(--page-zoom, 1));
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform .25s ease;
}

.founder-modal.active .founder-modal-content {
  transform: scale(1);
}

.founder-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}

.founder-close:hover {
  background: var(--accent);
  color: #ffffff;
}

.founder-modal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.founder-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.founder-info h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.founder-info p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 14px;
}

@media(max-width: 768px) {
  .founder-modal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-photo {
    max-width: 200px;
    margin: 0 auto;
  }
  .founder-modal-content {
    padding: 28px 20px;
  }
}