/* ================================================
   GREAT SCHOLAR — ABOUT PAGE
================================================ */

/* ── Shared section spacing ──────────────────── */
.section { padding: 90px 0; }

/* ── Scroll reveal states ────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ══════════════════════════════════════════════
   PAGE HERO BANNER
══════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
}

.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(13,27,62,0.92) 0%,
    rgba(13,27,62,0.78) 50%,
    rgba(30,144,255,0.55) 100%);
}

.page-hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ph-shape {
  position: absolute; border-radius: 50%;
  background: rgba(30,144,255,0.08);
  border: 1px solid rgba(30,144,255,0.15);
}
.ph-s1 { width: 340px; height: 340px; top: -100px; right: -80px; }
.ph-s2 { width: 200px; height: 200px; bottom: -60px; left: 20%; }

.page-hero-inner {
  position: relative; z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 28px 60px;
  flex-wrap: wrap;
}

.ph-content { flex: 1; min-width: 280px; }

.ph-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  font-weight: 500;
}
.ph-breadcrumb a {
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.ph-breadcrumb a:hover { color: var(--sky); }
.ph-breadcrumb i.fa-chevron-right { font-size: 0.6rem; }
.ph-breadcrumb span { color: rgba(255,255,255,0.9); font-weight: 600; }

.ph-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.ph-content p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

.ph-badges {
  display: flex; gap: 16px; flex-wrap: wrap;
  align-self: flex-end;
}

.ph-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--white);
  transition: background 0.25s;
}
.ph-badge:hover { background: rgba(30,144,255,0.2); }
.ph-badge i {
  font-size: 1.2rem;
  color: var(--sky);
  flex-shrink: 0;
}
.ph-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   OUR STORY
══════════════════════════════════════════════ */
.story-section { background: var(--white); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Image cluster */
.story-img-wrap {
  position: relative;
  padding: 0 0 60px 0;
}

.story-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.story-img-main img { width: 100%; height: 420px; object-fit: cover; display: block; }

.story-img-accent {
  position: absolute;
  bottom: 0; right: -30px;
  width: 200px; height: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.story-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.story-since-badge {
  position: absolute;
  top: 30px; left: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.sb-year { display: block; font-size: 1.6rem; font-weight: 800; color: var(--sky); letter-spacing: -1px; line-height: 1; }
.sb-text { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.6); }

/* Text side */
.story-text { }
.story-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 16px;
}
.story-body {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.story-highlights { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.sh-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.sh-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--sky-light);
  color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0; margin-top: 2px;
  border: 1px solid rgba(30,144,255,0.2);
}
.sh-item > div { display: flex; flex-direction: column; gap: 2px; }
.sh-item strong { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.sh-item span   { font-size: 0.8rem; color: var(--text-mid); }

/* ══════════════════════════════════════════════
   MISSION / VISION / VALUES  — with photos
══════════════════════════════════════════════ */
.mvv-section { background: var(--light-bg); }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* Card shell */
.mvv-card {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.mvv-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

/* Centre card gets navy body */
.mvv-card-center { border: none; }

/* Photo area */
.mvv-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.mvv-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.mvv-card:hover .mvv-photo img { transform: scale(1.06); }

.mvv-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,62,0.2) 0%, rgba(13,27,62,0.55) 100%);
}
.mvv-overlay-navy {
  background: linear-gradient(180deg, rgba(13,27,62,0.5) 0%, rgba(13,27,62,0.85) 100%);
}

/* Floating icon badge on photo */
.mvv-photo-badge {
  position: absolute;
  bottom: -22px; left: 28px;
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.mvv-badge-blue   { background: var(--sky);       color: var(--white); }
.mvv-badge-white  { background: var(--white);      color: var(--navy);  }
.mvv-badge-orange { background: var(--orange);     color: var(--white); }

/* Body */
.mvv-body {
  padding: 38px 28px 30px;
  background: var(--white);
}
.mvv-body-dark {
  background: var(--navy);
}

.mvv-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sky);
  margin-bottom: 8px;
  display: block;
}
.mvv-label-orange { color: var(--orange-dark); }
.mvv-label-sky    { color: var(--sky); }

.mvv-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.mvv-body-dark h3 { color: var(--white); }

.mvv-body p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.mvv-body-dark p { color: rgba(255,255,255,0.65); }

.mvv-points {
  display: flex; flex-direction: column; gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mvv-body-dark .mvv-points { border-top-color: rgba(255,255,255,0.1); }

.mvv-points span {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--text-mid); font-weight: 500;
}
.mvv-points i { color: var(--sky); font-size: 0.75rem; flex-shrink: 0; }
.mvv-points-light span { color: rgba(255,255,255,0.6); }
.mvv-points-light i   { color: var(--sky); }

/* ══════════════════════════════════════════════
   STATS SECTION  — card layout
══════════════════════════════════════════════ */
.stats-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat fixed;
}
.stats-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(140deg,
    rgba(13,27,62,0.97) 0%,
    rgba(13,50,120,0.92) 60%,
    rgba(13,27,62,0.97) 100%);
}

.stats-section .container { position: relative; z-index: 2; }

.stats-header {
  text-align: center;
  margin-bottom: 48px;
}

/* 5-card grid */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 34px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 3px;
  background: var(--sky);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  background: rgba(30,144,255,0.12);
  border-color: rgba(30,144,255,0.3);
  transform: translateY(-6px);
}
.stat-card:hover::before { opacity: 1; }

/* Featured (centre) card */
.stat-card-featured {
  background: rgba(30,144,255,0.18);
  border-color: rgba(30,144,255,0.4);
  transform: scale(1.06);
  padding: 44px 20px;
}
.stat-card-featured::before { opacity: 1; }
.stat-card-featured:hover { transform: scale(1.06) translateY(-4px); }

.sc-icon-wrap {
  width: 46px; height: 46px;
  background: rgba(30,144,255,0.15);
  border: 1px solid rgba(30,144,255,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sky); font-size: 1.1rem;
  margin: 0 auto 16px;
}
.sc-featured-icon {
  background: rgba(30,144,255,0.3);
  border-color: rgba(30,144,255,0.5);
  width: 52px; height: 52px;
  font-size: 1.25rem;
}

.sc-nums { line-height: 1; margin-bottom: 10px; }

.stat-num {
  display: inline;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
}

.stat-suffix {
  display: inline;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sky);
  vertical-align: super;
  font-size: 1.2rem;
  margin-left: 1px;
}

.sc-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sc-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════ */
.why-section { background: var(--white); }

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

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30,144,255,0.25);
}

.why-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.wc-blue   { background: var(--sky-light);    color: var(--sky); }
.wc-orange { background: var(--orange-light);  color: var(--orange-dark); }
.wc-green  { background: var(--green-light);   color: var(--green-dark); }
.wc-purple { background: var(--purple-light);  color: var(--purple); }

.why-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.why-card p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════ */
.team-section { background: var(--light-bg); }

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

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.team-img-wrap { position: relative; overflow: hidden; }
.team-img-wrap img {
  width: 100%; height: 240px;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.05); }

.team-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 6px;
}

.team-info { padding: 20px 22px 24px; }
.team-info h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.75rem;
  color: var(--sky);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}
.team-info p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}
.team-socials { display: flex; gap: 8px; }
.team-socials a {
  width: 30px; height: 30px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); font-size: 0.78rem;
  transition: all 0.2s;
}
.team-socials a:hover { background: var(--sky); color: var(--white); border-color: var(--sky); }

/* ══════════════════════════════════════════════
   AWARDS
══════════════════════════════════════════════ */
.awards-section { background: var(--white); }

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

.award-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.award-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(30,144,255,0.3); }
.award-card:hover .award-icon { background: var(--sky); color: var(--white); }

.award-year {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.7rem; font-weight: 800;
  color: var(--sky);
  background: var(--sky-light);
  padding: 3px 9px; border-radius: 5px;
  letter-spacing: 0.5px;
}

.award-icon {
  width: 50px; height: 50px;
  background: var(--sky-light);
  color: var(--sky);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.award-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  padding-right: 50px;
}
.award-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   CAMPUS GALLERY STRIP
══════════════════════════════════════════════ */
.campus-strip {
  display: flex;
  height: 300px;
  overflow: hidden;
}

.cs-img {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.cs-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.cs-img:hover img { transform: scale(1.08); }

.cs-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(13,27,62,0.45);
  transition: background 0.3s;
}
.cs-img:hover::after { background: rgba(13,27,62,0.3); }

.cs-label {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  color: var(--white);
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  background: rgba(13,27,62,0.55);
  backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

.cs-view-all {
  flex: 0 0 180px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cs-view-all a {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
  font-size: 0.82rem;
  padding: 14px 20px;
}

/* ══════════════════════════════════════════════
   ABOUT CTA
══════════════════════════════════════════════ */
.about-cta {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.about-cta-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    url('https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat fixed;
}
.about-cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(13,27,62,0.92) 0%,
    rgba(30,80,180,0.85) 100%);
}

.about-cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}

.about-cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}
.about-cta-text h2 span { color: var(--sky); }
.about-cta-text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  max-width: 480px;
}

.about-cta-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   FOOTER (referenced from style.css)
══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-cards { grid-template-columns: repeat(3, 1fr); }
  .stat-card-featured { transform: none; padding: 34px 20px; }
  .stat-card-featured:hover { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .story-grid  { grid-template-columns: 1fr; }
  .story-img-wrap { padding-bottom: 30px; }
  .story-img-accent { right: 0; }
  .story-since-badge { left: 10px; }
  .mvv-grid    { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .page-hero-inner { padding: 60px 20px 40px; flex-direction: column; align-items: flex-start; }
  .ph-badges { width: 100%; }
  .ph-badge  { flex: 1; min-width: 120px; justify-content: center; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .campus-strip { flex-wrap: wrap; height: auto; }
  .cs-img { flex: 0 0 50%; height: 160px; }
  .cs-view-all { flex: 0 0 100%; height: 100px; }
  .about-cta-inner { flex-direction: column; text-align: center; }
  .about-cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .why-grid    { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .ph-badges   { flex-direction: column; }
  .stats-cards { grid-template-columns: 1fr 1fr; }
  .team-img-wrap img { height: 320px; object-position: center top; }
}

@media (max-width: 480px) {
  .story-img-main img { height: 280px; }
  .story-img-accent { display: none; }
  .cs-img { flex: 0 0 100%; }
  .stats-cards { grid-template-columns: 1fr; }
}
