/* ==========================================================
   LAGOS AVIATION ACADEMY - ABOUT PAGE STYLES
   Design: Modern, Professional Aviation Academy About Page
   ========================================================== */

/* ----- Local Font Declarations ----- */
@font-face {
  font-family: 'Cinzel';
  src: url('../assets/fonts/Cinzel-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('../assets/fonts/Cinzel-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('../assets/fonts/Cinzel-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ----- CSS Variables ----- */
:root {
  --primary: #026084;
  --primary-dark: #014a64;
  --secondary: #01B2CB;
  --secondary-dark: #007F95;
  --cyan: #22BBD1;
  --cyan-light: #44C5D8;
  --ink: #23282b;
  --gray-bg: #F9F9F9;
  --light-blue-bg: #DCF7FD;
  --border: #e4e7e9;
  --muted: #6b7479;
  --white: #ffffff;
  --blue-bg: #026084;
  --card-radius: 16px;
  --btn-radius: 8px;
}

/* ----- About Page Wrapper ----- */
.about-wrapper {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.about-wrapper h1,
.about-wrapper h2,
.about-wrapper h3,
.about-wrapper h4,
.about-wrapper .heading-cinzel {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  line-height: 1.12;
  font-weight: 600;
}

.about-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

.about-wrapper a {
  text-decoration: none;
  color: inherit;
}

.about-wrapper .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.about-wrapper .container::before,
.about-wrapper .container::after {
  content: none;
  display: none;
}

/* ----- Section Header (reusable) ----- */
.about-wrapper .ab-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--primary);
}

.about-wrapper .ab-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--secondary);
  display: inline-block;
  flex-shrink: 0;
}

.about-wrapper .ab-eyebrow-light {
  color: #dceef2;
}

.about-wrapper .ab-eyebrow-light::before {
  background: var(--secondary);
}

.about-wrapper .ab-section-title {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 50px);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.12;
}

.about-wrapper .ab-section-title-light {
  color: var(--white);
}

.about-wrapper .ab-section-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 48px;
}

/* ===================== 1. HERO SECTION (Frame 43) ===================== */
.about-wrapper .ab-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  min-height: 800px;
  display: flex;
  align-items: center;
}

.about-wrapper .ab-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-wrapper .ab-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.4);
  transform-origin: center bottom;
}

.about-wrapper .ab-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.08) 44%,
    rgba(1, 67, 90, 0.74) 100%
  ),
  linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.08) 62%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.about-wrapper .ab-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 0 80px;
}

.about-wrapper .ab-hero-content h1 {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  color: var(--white);
  max-width: 900px;
  margin: 0 0 24px;
}

.about-wrapper .ab-hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #e7eef0;
  max-width: 680px;
  margin: 0;
}

/* ===================== 2. MISSION STATEMENT (Frame 40042) ===================== */
.about-wrapper .ab-mission-statement {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 100px;
  gap: 8px;
  background: #DCF7FD;
}

.about-wrapper .ab-mission-text {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.25px;
  color: #1F1F1F;
  max-width: 1240px;
  margin: 0;
}

.about-wrapper .ab-mission-text .ab-mission-highlight {
  color: var(--secondary-dark);
}

/* ===================== 3. WHY CHOOSE US (Frame 40049) ===================== */
.about-wrapper .ab-why-choose {
  padding: 100px 0;
  background: var(--white);
}

.about-wrapper .ab-why-choose .ab-section-title {
  max-width: 50%;
}

.about-wrapper .ab-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-wrapper .ab-why-card {
  background: var(--gray-bg);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid transparent;
}

.about-wrapper .ab-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

.about-wrapper .ab-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-wrapper .ab-why-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.about-wrapper .ab-why-number {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--white);
}

.about-wrapper .ab-why-card h3 {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.about-wrapper .ab-why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ===================== 4. LEADERSHIP (Frame 40059) ===================== */
.about-wrapper .ab-leadership {
  background: var(--white);
  overflow: hidden;
  padding: 60px 0 0;
}

.about-wrapper .ab-leadership-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 526px;
  max-width: 1240px;
  margin: 48px auto;
  background: url('../assets/images/about/leadership-bg.png') center bottom / cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.about-wrapper .ab-leader-photo {
  flex: 0 0 380px;
  width: 380px;
  padding: 24px;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.about-wrapper .ab-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 12px;
}

.about-wrapper .ab-leader-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 80px;
}

.about-wrapper .ab-leader-name {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}

.about-wrapper .ab-leader-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 24px;
}

.about-wrapper .ab-leader-bio {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0;
  max-width: 680px;
}

/* ===================== 5. MISSION / VISION (Frame 40051) ===================== */
.about-wrapper .ab-mission-vision {
  position: relative;
  background: #1a6685;
  padding: 48px 5%;
  color: var(--white);
  overflow: hidden;
  min-height: 280px;
}

.about-wrapper .ab-mission-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--mv-bg-pattern);
  background-repeat: repeat;
  background-size: 420px auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.about-wrapper .ab-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-wrapper .ab-mv-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 32px 28px 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 200px;
}

.about-wrapper .mv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2fbdbd;
  border-radius: 6px;
  padding: 5px 14px;
  width: fit-content;
}

.about-wrapper .mv-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.about-wrapper .mv-badge span {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.about-wrapper .ab-mv-card p {
  font-size: 0.935rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.about-wrapper .mv-photo-wrap {
  width: 100%;
  height: 100%;
  border-radius: 1000px;
  border: 0.5px solid #D9D9D9;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
  background-image: var(--mv-photo-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===================== 6. AWARDS & RECOGNITION ===================== */
.about-wrapper .ab-awards {
  padding: 100px 0;
  background: #f5f5f5;
}

.about-wrapper .ab-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.about-wrapper .ab-award-card {
  background: #F9F9F9;
  border-radius: 14px;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 100px;
}

.about-wrapper .ab-award-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about-wrapper .ab-award-badge {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #2fbdbd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-wrapper .ab-award-badge svg {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke: #fff;
}

.about-wrapper .ab-award-stat {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.about-wrapper .ab-award-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: auto;
}

/* ===================== 7. TESTIMONIALS (Frame 40053) ===================== */
.about-wrapper .ab-testimonials {
  padding: 100px 0;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* --- Header Block --- */
.about-wrapper .ab-testi-header {
  margin-bottom: 48px;
}

.about-wrapper .ab-testi-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #4DBDBD;
  max-width: 680px;
}

.about-wrapper .ab-testi-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #4DBDBD;
  display: inline-block;
  flex-shrink: 0;
}

.about-wrapper .ab-testi-header .ab-section-title-light {
  color: #1F1F1F;
}

.about-wrapper .ab-testi-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #999999;
  margin: 0;
  max-width: 680px;
}

/* --- Headline Row (H2 + Quote Mark SVG) --- */
.about-wrapper .ab-testi-headline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.about-wrapper .ab-testi-headline-row .ab-section-title {
  flex: 1;
  max-width: 50%;
}

/* --- Decorative Quote Mark SVG --- */
.about-wrapper .ab-testi-quote-mark {
  width: 112px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.2;
  display: block;
  margin-top: 8px;
}

/* --- Card Grid --- */
.about-wrapper .ab-testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* --- Individual Card --- */
.about-wrapper .ab-testi-card {
  background: #F9F9F9;
  border-radius: 14px;
  border: 0.5px solid #D9D9D9;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 240px;
}

.about-wrapper .ab-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.about-wrapper .ab-testi-card-quote {
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
  margin: 0 0 24px;
  font-style: italic;
  flex: 1;
}

/* --- Card Author (Avatar + Name/Role) --- */
.about-wrapper .ab-testi-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.about-wrapper .ab-testi-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Avatar Photo Variants --- */
.about-wrapper .ab-testi-avatar-1 {
  background-image: var(--avatar-1-bg);
}

.about-wrapper .ab-testi-avatar-2 {
  background-image: var(--avatar-2-bg);
}

.about-wrapper .ab-testi-avatar-3 {
  background-image: var(--avatar-3-bg);
}

.about-wrapper .ab-testi-avatar-4 {
  background-image: var(--avatar-4-bg);
}

.about-wrapper .ab-testi-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-wrapper .ab-testi-card-name {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}

.about-wrapper .ab-testi-card-role {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: #777777;
  line-height: 1.3;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .about-wrapper .ab-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-wrapper .ab-why-grid .ab-why-card:nth-child(7) {
    grid-column: auto;
  }

  .about-wrapper .ab-why-grid .ab-why-card:nth-child(8) {
    grid-column: auto;
  }

  .about-wrapper .ab-leadership-inner {
    flex-direction: column;
  }

  .about-wrapper .ab-leader-photo {
    flex: 0 0 auto;
    width: 100%;
    height: 360px;
    border-radius: 0;
  }

  .about-wrapper .ab-leader-info {
    padding: 40px 40px;
  }

  .about-wrapper .ab-mv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-wrapper .ab-mv-card {
    min-height: unset;
  }

  .about-wrapper .mv-photo-wrap {
    height: 180px;
  }

  .about-wrapper .ab-awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-wrapper .ab-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-wrapper .ab-testi-quote-mark {
    width: 80px;
  }
}

@media (max-width: 760px) {
  .about-wrapper .container {
    padding: 0 20px;
  }

  .about-wrapper .ab-why-choose .ab-section-title {
    max-width: none;
  }

  .about-wrapper .ab-hero {
    min-height: 600px;
  }

  .about-wrapper .ab-hero-media img {
    transform: scaleY(1.1);
  }

  .about-wrapper .ab-hero-content {
    padding: 100px 0 60px;
  }

  .about-wrapper .ab-hero-content h1 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .about-wrapper .ab-mission-statement {
    padding: 60px 20px;
  }

  .about-wrapper .ab-leadership {
    padding: 40px 0 0;
  }

  .about-wrapper .ab-leadership-inner {
    margin: 32px 20px;
    border-radius: 0;
  }

  .about-wrapper .ab-why-choose,
  .about-wrapper .ab-mission-vision,
  .about-wrapper .ab-awards,
  .about-wrapper .ab-testimonials {
    padding: 60px 0;
  }

  .about-wrapper .ab-leadership-inner {
    flex-direction: column;
    min-height: auto;
  }

  .about-wrapper .ab-leader-photo {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    padding: 0;
    border-radius: 0;
  }

  .about-wrapper .ab-leader-photo img {
    border-radius: 0;
  }

  .about-wrapper .ab-leader-info {
    padding: 36px 20px;
  }

  .about-wrapper .ab-why-grid {
    grid-template-columns: 1fr;
  }

  .about-wrapper .ab-awards-grid {
    grid-template-columns: 1fr;
  }

  .about-wrapper .ab-testi-grid {
    grid-template-columns: 1fr;
  }

  .about-wrapper .ab-testi-card {
    padding: 24px 20px;
    min-height: unset;
  }

  .about-wrapper .ab-testi-headline-row .ab-section-title {
    max-width: none;
  }

  .about-wrapper .ab-testi-quote-mark {
    width: 60px;
  }

  .about-wrapper .ab-mission-vision {
    padding: 40px 5%;
  }

  .about-wrapper .ab-mv-card {
    padding: 28px 24px;
  }

  .about-wrapper .mv-photo-wrap {
    height: 160px;
  }
}
