/* ============================================================
   ABOUT PAGE (Vision, Mission & Founder) — PSI PHI INDIA
   ============================================================ */

/* --- Design Tokens (scoped) --- */
.about-page {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --accent: #e8a838;
  --accent-light: #f0c060;
  --dark: #0d1b2a;
  --dark-surface: #1b2d44;
  --light: #f8f9fa;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.about-page .page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-page .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.88) 0%,
    rgba(26, 58, 92, 0.78) 50%,
    rgba(13, 27, 42, 0.88) 100%
  );
  z-index: 1;
}

.about-page .page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 24px;
}

.about-page .page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-page .page-hero-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 18px auto 0;
}

.about-page .page-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SECTION TITLES & DESCRIPTIONS
   ============================================================ */
.about-page .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.about-page .section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 14px auto 0;
}

.about-page .section-title--light {
  color: #fff;
}

.about-page .section-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 760px;
  margin: 20px auto 48px;
  line-height: 1.7;
}

.about-page .section-description--light {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   VISION & MISSION SECTION
   ============================================================ */
.about-page .vm-section {
  padding: 80px 24px;
  background: var(--light);
}

.about-page .vm-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.about-page .vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-page .vm-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 44px 38px;
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-page .vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.about-page .vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.about-page .vm-card:hover .vm-icon {
  transform: rotate(-8deg) scale(1.08);
}

.about-page .vm-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.about-page .vm-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.about-page .vm-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   FOUNDER'S MESSAGE SECTION
   ============================================================ */
.about-page .founder-section {
  padding: 90px 24px;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-surface) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative glow */
.about-page .founder-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-page .founder-section .container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- Founder Card --- */
.about-page .founder-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
}

/* --- Founder Photo --- */
.about-page .founder-photo {
  flex-shrink: 0;
}

.about-page .founder-photo-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 168, 56, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* --- Founder Content --- */
.about-page .founder-content {
  display: flex;
  flex-direction: column;
}

.about-page .founder-quote-mark {
  width: 44px;
  height: 44px;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 8px;
}

.about-page .founder-message {
  margin: 0;
  padding: 0;
  border: 0;
}

.about-page .founder-message p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin: 0 0 16px;
}

.about-page .founder-message p:last-child {
  margin-bottom: 0;
}

.about-page .founder-signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page .founder-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.about-page .founder-role {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-page .founder-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  margin-top: 22px;
  padding: 10px 22px;
  border: 1px solid rgba(232, 168, 56, 0.35);
  border-radius: 30px;
  transition:
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

.about-page .founder-email:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.about-page .founder-email svg {
  flex-shrink: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.about-page .scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: revealFallback 0.7s ease 2s forwards;
}

.about-page .scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

.about-page .vm-card.scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.about-page .vm-card.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .about-page .page-hero {
    min-height: 340px;
  }

  .about-page .page-hero-content {
    padding: 48px 20px;
  }

  .about-page .vm-section {
    padding: 60px 20px;
  }

  .about-page .vm-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-page .vm-card {
    padding: 36px 28px;
  }

  .about-page .founder-section {
    padding: 64px 20px;
  }

  .about-page .founder-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 28px;
    text-align: center;
  }

  .about-page .founder-photo {
    max-width: 260px;
    margin: 0 auto;
  }

  .about-page .founder-quote-mark {
    margin-left: auto;
    margin-right: auto;
  }

  .about-page .founder-signature {
    align-items: center;
  }

  .about-page .founder-email {
    align-self: center;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .about-page .page-hero {
    min-height: 280px;
  }

  .about-page .page-hero-content {
    padding: 40px 16px;
  }

  .about-page .vm-section {
    padding: 48px 16px;
  }

  .about-page .vm-card {
    padding: 30px 22px;
  }

  .about-page .vm-card h3 {
    font-size: 1.25rem;
  }

  .about-page .founder-section {
    padding: 48px 16px;
  }

  .about-page .founder-card {
    padding: 32px 20px;
  }

  .about-page .founder-message p {
    font-size: 0.95rem;
  }

  .about-page .founder-name {
    font-size: 1.2rem;
  }
}
