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


/* =========================
   HERO
========================= */

.about-hero {
  padding: 175px 0 95px;

  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(59, 130, 246, 0.18),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #061426 0%,
      #0b2342 100%
    );

  color: #ffffff;
}

.about-hero h1 {
  max-width: 950px;

  margin-bottom: 23px;

  color: #ffffff;

  font-size: clamp(48px, 6vw, 72px);

  line-height: 1.05;

  letter-spacing: -2px;
}

.about-hero > .container > p:last-child {
  max-width: 790px;

  color: #b5c6da;

  font-size: 18px;

  line-height: 1.75;
}


/* =========================
   STORY
========================= */

.about-story {
  padding: 105px 0;
}

.about-story-grid {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 85px;
}

.about-story h2 {
  max-width: 470px;

  color: #102440;

  font-size: 46px;

  line-height: 1.12;

  letter-spacing: -1.3px;
}

.story-copy {
  display: flex;

  flex-direction: column;

  gap: 22px;
}

.story-copy p {
  color: #647287;

  font-size: 17px;

  line-height: 1.85;
}


/* =========================
   MISSION & VISION
========================= */

.mission-vision-section {
  padding: 90px 0;

  background: #f4f7fb;
}

.mission-vision-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.mission-vision-card {
  min-height: 390px;

  padding: 38px;

  background: #ffffff;

  border: 1px solid #dfe7f0;

  border-radius: 16px;
}

.mission-vision-card h2 {
  margin-bottom: 20px;

  color: #102440;

  font-size: 35px;

  line-height: 1.18;

  letter-spacing: -0.8px;
}

.mission-vision-card > p:last-child {
  color: #68768a;

  font-size: 16px;

  line-height: 1.8;
}


/* =========================
   SERVICES
========================= */

.about-services {
  padding: 100px 0 110px;
}

.about-service-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.about-service {
  min-height: 260px;

  padding: 28px;

  border: 1px solid #e0e7ef;

  border-radius: 14px;

  background: #ffffff;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.about-service:hover {
  transform: translateY(-5px);

  border-color: #bdd5fa;

  box-shadow:
    0 16px 38px rgba(15, 35, 64, 0.08);
}

.about-service-number {
  display: block;

  margin-bottom: 24px;

  color: #3479e7;

  font-size: 13px;

  font-weight: 700;
}

.about-service h3 {
  margin-bottom: 11px;

  color: #102440;

  font-size: 21px;
}

.about-service p {
  color: #68768a;

  font-size: 15px;

  line-height: 1.7;
}


/* =========================
   VALUES
========================= */

.values-section {
  padding: 95px 0;

  background: #07182e;

  color: #ffffff;
}

.values-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 32px;
}

.value-item {
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.value-item > span {
  display: block;

  margin-bottom: 20px;

  color: #6ea8ff;

  font-size: 13px;

  font-weight: 700;
}

.value-item h3 {
  margin-bottom: 10px;

  color: #ffffff;

  font-size: 20px;
}

.value-item p {
  color: #a5b7cb;

  font-size: 14px;

  line-height: 1.7;
}


/* =========================
   FOUNDER
========================= */

.founder-section {
  padding: 110px 0;

  background: #ffffff;
}

.founder-grid {
  display: grid;

  grid-template-columns: 1fr 1.15fr;

  gap: 70px;

  align-items: start;
}


/* LEFT PHOTO COLUMN */

.founder-images {
  display: flex;

  flex-direction: column;

  gap: 26px;
}

.founder-image-card {
  margin: 0;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #dce5ef;

  border-radius: 18px;

  box-shadow:
    0 14px 38px rgba(16, 36, 64, 0.08);
}


/* BOTH PHOTOS */

.founder-image-card img {
  width: 100%;
  height: 330px;

  display: block;

  object-fit: cover;
}


/*
   FOUNDER PHOTO

   We keep the image cropped,
   but move the crop upward so
   his face stays clearly visible.
*/

.founder-image-card:first-child img {
  object-position: center 22%;
}


/*
   FOUNDER + DR. OVERTON PHOTO

   This also stays cropped,
   but prioritizes the upper portion
   where the faces are located.
*/

.mentor-image-card img {
  object-position: center 18%;
}


/* PHOTO CAPTIONS */

.founder-image-card figcaption {
  padding: 17px 20px;

  background: #ffffff;

  color: #102440;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.4;
}

.mentor-image-card figcaption {
  color: #3479e7;
}


/* =========================
   FOUNDER CONTENT
========================= */

.founder-content {
  padding-top: 4px;
}

.founder-content .eyebrow {
  margin-bottom: 18px;
}

.founder-content h2 {
  max-width: 620px;

  margin-bottom: 24px;

  color: #102440;

  font-size: 46px;

  line-height: 1.12;

  letter-spacing: -1.2px;
}

.founder-content > p {
  max-width: 690px;

  margin-bottom: 20px;

  color: #647287;

  font-size: 16px;

  line-height: 1.85;
}


/* =========================
   MENTORSHIP BOX
========================= */

.mentor-note {
  margin: 34px 0 28px;

  padding: 28px 30px;

  background: #f4f8fd;

  border-left: 4px solid #3b82f6;

  border-radius: 12px;
}

.mentor-label {
  margin-bottom: 10px;

  color: #3479e7;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 2px;
}

.mentor-note h3 {
  margin-bottom: 13px;

  color: #102440;

  font-size: 23px;

  line-height: 1.3;
}

.mentor-note p {
  color: #647287;

  font-size: 15px;

  line-height: 1.8;
}


/* FOUNDER LINK */

.about-cta-link {
  display: inline-flex;

  margin-top: 8px;

  color: #3479e7;

  font-size: 15px;

  font-weight: 700;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.about-cta-link:hover {
  color: #245faf;

  transform: translateX(3px);
}


/* =========================
   FINAL CTA
========================= */

.about-cta {
  padding: 100px 0;

  background: #f2f6fc;

  text-align: center;
}

.about-cta-content {
  max-width: 760px;
}

.about-cta h2 {
  margin-bottom: 17px;

  color: #102440;

  font-size: clamp(40px, 5vw, 54px);

  line-height: 1.1;

  letter-spacing: -1.3px;
}

.about-cta-content > p {
  max-width: 650px;

  margin: 0 auto 30px;

  color: #68768a;

  font-size: 17px;

  line-height: 1.7;
}

.about-cta-buttons {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 14px;
}

.about-secondary-button {
  min-height: 52px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 24px;

  border: 1px solid #cbd7e6;

  border-radius: 9px;

  color: #29415f;

  font-size: 15px;

  font-weight: 600;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.about-secondary-button:hover {
  transform: translateY(-2px);

  background: #ffffff;
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

  .about-story-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  .mission-vision-grid {
    grid-template-columns: 1fr;
  }


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


  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .founder-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  /*
     Put both photos beside each other on tablet.
  */

  .founder-images {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
  }


  .founder-image-card img {
    height: 320px;
  }


  .founder-image-card:first-child img {
    object-position: center 20%;
  }


  .mentor-image-card img {
    object-position: center 15%;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .about-hero {
    padding: 140px 0 70px;
  }


  .about-hero h1 {
    font-size: 44px;
  }


  .about-story {
    padding: 75px 0;
  }


  .about-story h2 {
    font-size: 38px;
  }


  .mission-vision-card {
    min-height: auto;

    padding: 28px;
  }


  .mission-vision-card h2 {
    font-size: 30px;
  }


  .about-service-grid {
    grid-template-columns: 1fr;
  }


  .values-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }


  /* STACK THE PHOTOS AGAIN */

  .founder-images {
    display: flex;

    flex-direction: column;

    gap: 22px;
  }


  .founder-image-card img {
    height: 285px;
  }


  /*
     Slightly different crop positioning
     specifically for phone screens.
  */

  .founder-image-card:first-child img {
    object-position: center 20%;
  }


  .mentor-image-card img {
    object-position: center 15%;
  }


  .founder-content h2 {
    font-size: 38px;
  }


  .mentor-note {
    padding: 22px;

    margin-top: 28px;
  }


  .mentor-note h3 {
    font-size: 21px;
  }


  .about-cta-buttons {
    flex-direction: column;

    max-width: 340px;

    margin: auto;
  }


  .about-secondary-button {
    width: 100%;
  }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 430px) {

  .about-hero h1 {
    font-size: 38px;
  }


  .founder-image-card img {
    height: 250px;
  }


  .founder-image-card:first-child img {
    object-position: center 18%;
  }


  .mentor-image-card img {
    object-position: center 14%;
  }


  .founder-content h2 {
    font-size: 34px;
  }


  .mentor-note {
    padding: 20px;
  }

}