/* --- Professional Color Palette --- */
:root {
  --navy-deep: #0f172a;
  --navy-light: #1e293b;
  --gold: #d4af37;
  --gold-muted: #b59431;
  --slate: #64748b;
  --white: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
}

/* --- Base Typography & Reset --- */
body.public-page {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--navy-deep);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Professional Hero Section --- */
.about-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  /* Replace with your actual hero background */
  background: url("/assets/academy-hero.jpg") center/cover no-repeat fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.95)
  );
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: #cbd5e1;
  font-weight: 300;
}

/* --- Narrative (Philosophy) Section --- */
.narrative-section {
  padding: 100px 0;
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.gold-label {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2.5px;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.narrative-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  margin-bottom: 24px;
  color: var(--navy-deep);
}

.narrative-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--slate);
  text-align: justify;
}

/* --- Stats Cards (Bento Style) --- */
.stats-card {
  background: var(--navy-deep);
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.stat-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--gold);
  margin: 0;
}

.stat-item p {
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin: 4px 0 0 0;
}

/* --- Compact Data Sections --- */
.compact-data-section {
  padding: 80px 0;
}

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

.centered-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.centered-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.centered-header p {
  color: var(--slate);
  font-size: 1rem;
}

/* --- Faculty Compact Tiles --- */
.faculty-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.faculty-mini-tile {
  background: var(--white);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-mini-tile:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.faculty-mini-tile img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.tile-meta h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy-deep);
}

.tile-meta span {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

/* --- Philosophy Grid --- */
.philosophy-section {
  padding: 100px 0;
}

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

.phil-item {
  text-align: center;
}

.phil-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 24px;
}

.phil-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.phil-item p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Center Network Table --- */
.center-table-wrapper {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.center-table {
  width: 100%;
  border-collapse: collapse;
}

.center-table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 20px 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  border-bottom: 1px solid var(--border);
}

.center-table td {
  padding: 20px 30px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.branch-name {
  font-weight: 700;
  color: var(--navy-deep);
}

.branch-name i {
  color: var(--gold);
  margin-right: 12px;
}

.branch-time {
  color: var(--slate);
  font-size: 0.95rem;
}

.btn-map-mini {
  display: inline-block;
  padding: 8px 16px;
  background: var(--navy-deep);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  transition: background 0.3s;
}

.btn-map-mini:hover {
  background: var(--gold);
}

.no-map {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .narrative-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  .center-table th:nth-child(2),
  .center-table td:nth-child(2) {
    display: none;
  } /* Hide timings on small mobile to save space */

  .narrative-text h2 {
    font-size: 2.25rem;
  }
  .faculty-compact-grid {
    grid-template-columns: 1fr;
  }
}
