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

/* ── Hero ── */
.about-hero {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #1e3a8a 100%);
  padding: 160px 0 110px;
  overflow: hidden;
}

.about-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.ah-shape { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.22; }
.ah-shape-1 { width: 600px; height: 600px; background: radial-gradient(#818cf8, #4f46e5); top: -220px; right: -100px; animation: float1 10s ease-in-out infinite; }
.ah-shape-2 { width: 380px; height: 380px; background: radial-gradient(#06b6d4, #0891b2); bottom: -80px; left: -60px;  animation: float2 13s ease-in-out infinite; }
.ah-shape-3 { width: 260px; height: 260px; background: radial-gradient(#f59e0b, #d97706); top: 40%;  left: 45%;  animation: float1 16s ease-in-out infinite reverse; }

.about-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin: 16px 0 22px;
}
.about-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 520px;
}

/* Stat cards cluster */
.about-hero-visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat-card {
  position: absolute;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  animation: chip-float 6s ease-in-out infinite;
}
.about-stat-num   { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.about-stat-label { font-size: 0.74rem; color: rgba(255,255,255,0.55); font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; }

.about-stat-1 { top: 20px;  left: 0;   animation-delay: 0s; }
.about-stat-2 { top: 80px;  right: 0;  animation-delay: 0.8s; }
.about-stat-3 { bottom: 40px; left: 30px; animation-delay: 1.5s; }

.about-hero-badge {
  position: absolute;
  bottom: 20px;
  right: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  animation: chip-float 8s ease-in-out infinite 0.5s;
}
.about-badge-icon { color: #818cf8; font-size: 0.9rem; }

/* ── Mission ── */
.mission-section { background: #fff; }

.mission-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.mission-text p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.mission-text p:last-child { margin-bottom: 0; }
.mission-text strong { color: var(--text); }

.mission-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.mission-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}
.mission-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.mission-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,0.2); }
.mission-card:hover::before { transform: scaleY(1); }

.mc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.mc-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  transition: color 0.3s ease;
}
.mission-card:hover .mc-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.mission-card:hover .mc-icon svg {
  color: #fff;
}
.mission-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.mission-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ── Founder ── */
.founder-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.founder-bg-shape {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(79,70,229,0.05), transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.founder-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Photo */
.founder-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 280px;
  flex-shrink: 0;
}

.founder-photo-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #312e81, #4f46e5, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 40px rgba(79,70,229,0.35);
}

.founder-initials {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.04em;
}

.founder-photo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(79,70,229,0.25);
}
.founder-ring-1 { width: 190px; height: 190px; animation: ring-spin 20s linear infinite; }
.founder-ring-2 { width: 210px; height: 210px; border-style: dashed; border-color: rgba(6,182,212,0.2); animation: ring-spin 30s linear infinite reverse; }

@keyframes ring-spin { to { transform: rotate(360deg); } }

.founder-quote-card {
  background: linear-gradient(135deg, #1e1b4b, #2d2980);
  border-radius: 16px;
  padding: 22px 22px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(79,70,229,0.25);
  width: 100%;
}
.founder-quote-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  line-height: 1.65;
  margin: 0 0 10px;
}
.founder-quote-card span {
  font-size: 0.75rem;
  color: #818cf8;
  font-weight: 700;
}

/* Founder content */
.founder-role-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  margin: -8px 0 28px;
  display: block;
}

.founder-bio p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 16px;
}
.founder-bio p:last-child { margin-bottom: 28px; }

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cred-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.cred-icon svg {
  width: 18px; height: 18px;
  color: var(--primary);
  transition: color 0.3s ease;
}
.credential:hover .cred-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.credential:hover .cred-icon svg { color: #fff; }
.credential strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.credential span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Timeline ── */
.timeline-section { background: #fff; }

.timeline {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

/* Center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--success));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}

.tl-left  { flex-direction: row; }
.tl-right { flex-direction: row-reverse; }

.tl-year {
  width: 50%;
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Playfair Display', Georgia, serif;
  position: relative;
}

.tl-left  .tl-year { text-align: right; padding-right: 48px; }
.tl-right .tl-year { text-align: left;  padding-left: 48px; }

/* Dot on the line */
.tl-left .tl-year::after,
.tl-right .tl-year::before {
  content: '';
  position: absolute;
  top: 10px;
  width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.tl-left  .tl-year::after  { right: -6px; }
.tl-right .tl-year::before { left: -6px; }

.tl-card {
  width: 50%;
  flex-shrink: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  transition: all 0.28s ease;
}
.tl-left  .tl-card { margin-left: 0; padding-left: 40px; }
.tl-right .tl-card { margin-right: 0; padding-right: 40px; }

.tl-card:hover { box-shadow: var(--shadow-md); border-color: rgba(79,70,229,0.18); transform: scale(1.02); }

.highlight-card {
  background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(6,182,212,0.05));
  border-color: rgba(79,70,229,0.2);
}

.tl-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tl-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,0.2); }

.value-number {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  color: rgba(79,70,229,0.06);
  line-height: 1;
  position: absolute;
  top: 14px; right: 22px;
  transition: color 0.3s;
}
.value-card:hover .value-number { color: rgba(79,70,229,0.1); }

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── CTA Section ── */
.about-cta-section {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #1e3a8a 100%);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.about-cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.acs-shape { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.2; }
.acs-1 { width: 500px; height: 500px; background: radial-gradient(#818cf8, #4f46e5); top: -150px; left: -100px; }
.acs-2 { width: 400px; height: 400px; background: radial-gradient(#06b6d4, #0891b2); bottom: -100px; right: -80px; }

.about-cta-inner { position: relative; z-index: 1; }
.about-cta-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.about-cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,0.65); margin: 0 0 36px; }
.about-cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Nav active */
.nav-links a.active { color: var(--primary) !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .founder-inner { grid-template-columns: 1fr; gap: 48px; }
  .founder-visual { width: 100%; flex-direction: row; align-items: flex-start; gap: 40px; }
  .founder-photo-wrap { flex-shrink: 0; }
  .founder-quote-card { flex: 1; text-align: left; }
}

@media (max-width: 768px) {
  .about-hero { padding: 130px 0 80px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-hero-visual { height: 220px; }
  .about-stat-1 { top: 10px; left: 0; }
  .about-stat-2 { top: 10px; right: 0; }
  .about-stat-3 { bottom: 10px; left: 50%; transform: translateX(-50%); }
  .mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-visual { flex-direction: column; align-items: center; }
  .founder-quote-card { text-align: center; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column !important; padding-left: 52px; }
  .tl-year { width: 100%; text-align: left !important; padding: 0 0 8px !important; font-size: 1.4rem; }
  .tl-left  .tl-year::after,
  .tl-right .tl-year::before { display: none; }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: 14px; top: 6px;
    width: 12px; height: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
  }
  .tl-card { width: 100%; padding: 20px !important; }
  .values-grid { grid-template-columns: 1fr; }
  .about-cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .about-hero-visual { display: none; }
  .founder-visual { align-items: center; }
}

/* ── Student Journey Grid ── */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 900px) { .journey-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .journey-grid { grid-template-columns: 1fr; } }

.journey-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.journey-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(79,70,229,0.25);
  transform: translateY(-4px);
}
.journey-step {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
  opacity: 0.5;
}
.journey-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(6,182,212,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.journey-icon svg { width: 20px; height: 20px; color: var(--primary); transition: color 0.3s ease; }
.journey-card:hover .journey-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.journey-card:hover .journey-icon svg { color: #fff; }
.journey-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; }
.journey-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; flex: 1; }
.journey-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(79,70,229,0.08);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}
