/* ============================= ABOUT PAGE – FINAL CLEAN CSS (NO NAV/FOOTER) ============================= */
:root {
  --primary: #1E3F5C;
  --primary-light: #37A2B5;
  --secondary: #1E3F5C;
  --secondary-dark: #0b233e;
  --accent: #FF6B35;
  --text-dark: #111827;
  --text-light: #f1f2f5;
  --text-muted: #64748b;
  --bg-light: #f5f8fb;
  --bg-white: #fff;
  --border: #e5e8ed;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all .3s ease;
  --nav-h: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--site-nav-h-px, 80px);
}

/* ==================== UNIFIED TYPOGRAPHY (LATO + INTER) ==================== */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-copy h1,
.vm h2,
.founders h2 {
  font-family: 'Lato', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.4px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
}

p,
.vm-lead,
.bio,
.role,
.lead,
.vm-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.7vw, 1.1rem);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================== HERO SECTION ========================== */
.about-hero {
  position: relative;
  height: 75vh;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 0;
}

/* Use your <img> as the full background */
.hero-image {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fills hero, no empty space */
  object-position: center;
}

/* Dark overlay on top of image */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  z-index: 1;
}

/* Remove the old Unsplash background */
.about-hero::before {
  content: none;
}

/* Text block on left (DESKTOP) */
.hero-copy {
  position: absolute;
  left: 6%;
  top: 30%;
  transform: translateY(-50%);
  max-width: 550px;    /* max width of text block */
  width: 80vw;         /* scales with screen on wide displays */
  text-align: left;
  color: #f8fbff;
  z-index: 2;
  text-shadow: 0 3px 18px rgba(8, 15, 32, 0.32);
}

.hero-copy h1 {
  margin: 0 0 12px;
  line-height: 1.1;
}

.hero-copy .hero-tagline {
  font-size: 1.52rem;
  font-weight: 600;
  line-height: 1.6;      /* more readable */
  max-width: 100%;
  white-space: normal;   /* allow normal wrapping */
  margin: 0;
  color: inherit;
}

/* ===== SLIDE-IN FROM LEFT ANIMATION ===== */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply animation to the hero content */
.hero-enhanced {
  animation: slideInLeft 1.2s ease-out forwards;
  opacity: 0;  /* ensures animation starts hidden */
}

.hero-enhanced .hero-tagline {
  animation: slideInLeft 1.4s ease-out forwards;
  opacity: 0;
}

/* ========================== MOBILE HERO FIX ========================== */
/* ===== FIX MOBILE NAVBAR GAP ===== */
@media (max-width: 600px) {
  body {
    padding-top: var(--site-nav-h-px, 60px) !important;
  }

  .about-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }



  .hero-image img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
  }

  /* Text moves lower and wider, fills empty space as a paragraph */
  .hero-copy {
    top: auto;
    bottom: 10%;
    left: 5%;
    right: 5%;
    transform: none;
    max-width: 90%;
    width: 90%;
    padding: 0;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 5.2vw, 2.4rem);
    margin-bottom: 10px;
  }

  .hero-copy .hero-tagline {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e7e7e7;
    white-space: normal;
    max-width: 100%;
  }
}

/* ========================== VISION & MISSION ========================== */
.vm {
  padding: 70px 6vw;
  background: #f1f5ff;
}

.vm h2 {
  text-align: center;
  margin: 0 0 24px;
}

.vm-sub {
  text-align: center;
  margin: 0 auto 30px;
  color: var(--text-muted);
  max-width: 800px;
}

.vm-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.vm-card {
  background: var(--bg-white);
  border-radius: 14px;
  padding: 28px 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: transform .2s, box-shadow .2s;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.vm-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: #0f172a;
}

.vm-badge {
  height: 42px;
  width: 42px;
  border-radius: 10px;
  background: #e0ecff;
  color: var(--accent);
  display: grid;
  place-items: center;
}

.vm-lead {
  margin: 10px 0 0;
  color: #222;
  font-weight: 600;
  line-height: 1.85;
}

/* ========================== FOUNDERS ========================== */
.founders {
  padding: 74px 6vw;
  background: #fff;
}

.founders h2 {
  text-align: center;
  margin: 0 0 10px;
}

.founders p.lead {
  text-align: center;
  margin: 0 auto 26px;
  max-width: 820px;
  color: var(--text-muted);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.person {
  text-align: center;
}

.person .pic {
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  margin: 8px 0 2px;
  font-weight: 900;
  color: #09a7e7;
}

.person .role {
  margin: 0;
  color: #1f2937;
  font-weight: 700;
}

.person .bio {
  margin: 10px auto 0;
  max-width: 320px;
  color: #475569;
  line-height: 1.65;
  font-size: .97rem;
}

/* ========================== REDUCED MOTION ========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
