/* =========================================================
   TRANSGENERATIONAL RECRUITMENT
   ABOUT PAGE
   ========================================================= */

/* =========================================================
   GLOBAL
   ========================================================= */

.about-page {
  --primary: #03275a;
  --primary-dark: #021d43;
  --accent: #ff8318;
  --accent-dark: hsl(28, 100%, 55%);
  --text: #172033;
  --muted: #667085;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e4e7ec;

  width: 100%;
  overflow: hidden;
  background: var(--white);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.about-page img {
  max-width: 100%;
}

/* =========================================================
   COMMON TYPOGRAPHY
   ========================================================= */

.section-eyebrow,
.about-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.4;
}

.about-section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.about-section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-section-heading h2,
.about-intro-content h2,
.about-more-heading h2,
.about-employer-content h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.about-section-heading h2 span,
.about-intro-content h2 span,
.about-more-heading h2 span,
.about-employer-content h2 span {
  color: var(--accent);
}

.about-section-heading p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   HERO
   ========================================================= */

.about-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      110deg,
      rgba(3, 39, 90, 0.97) 0%,
      rgba(3, 39, 90, 0.87) 48%,
      rgba(3, 39, 90, 0.48) 100%
    ),
    url("../assets/team-office.png") center center / cover no-repeat;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 39, 90, 0.95),
    rgba(3, 39, 90, 0.65),
    rgba(3, 39, 90, 0.2)
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.about-hero .about-eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

.about-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.98;
}

.about-hero h1 em {
  color: #ffffff;
  font-style: normal;
}

.about-hero p {
  max-width: 650px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

.about-hero-button,
.about-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.about-hero-button:hover,
.about-cta-button:hover {
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 21, 20, 0.25);
}

/* =========================================================
   WHO WE ARE
   ========================================================= */

.about-intro {
  padding: 110px 0;
  background: #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 85px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(3, 39, 90, 0.13);
}

.about-established {
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 145px;
  height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(196, 21, 20, 0.28);
}

.about-established strong {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.about-established span {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.about-intro-content {
  max-width: 560px;
}

.about-intro-content h2 {
  margin-bottom: 26px;
}

.about-intro-content p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-accreditation {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding: 19px 20px;
  border-left: 4px solid var(--accent);
  background: #f7f9fc;
}

.about-accreditation svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.about-accreditation div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-accreditation strong {
  color: var(--primary);
  font-size: 14px;
}

.about-accreditation span {
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   INDUSTRIES
   ========================================================= */

.about-industries {
  padding: 105px 0;
  background: var(--light);
}

.industry-tags {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(16, 24, 40, 0.03);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.industry-tag span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.industry-tag:hover {
  border-color: rgba(196, 21, 20, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(3, 39, 90, 0.08);
}

/* =========================================================
   OUR APPROACH
   ========================================================= */

.about-more {
  padding: 110px 0;
  background: var(--primary);
}

.about-more-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.about-more .section-eyebrow {
  color: #ffffff;
  opacity: 0.75;
}

.about-more-heading h2 {
  color: #ffffff;
}

.about-more-content {
  max-width: 650px;
}

.about-more-content p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.85;
}

.about-more-content .about-lead {
  margin-bottom: 25px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
}

/* =========================================================
   RECRUITMENT PROCESS
   ========================================================= */

.about-process {
  padding: 110px 0;
  background: #ffffff;
}

.process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}

.process-card {
  position: relative;
  min-height: 270px;
  padding: 27px 23px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 39, 90, 0.12);
}

.process-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #dfe5ed;
  font-size: 30px;
  font-weight: 800;
}

.process-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: rgba(196, 21, 20, 0.08);
  color: var(--accent);
}

.process-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 19px;
  font-weight: 700;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}

/* =========================================================
   WHY TRANSGENERATIONAL
   ========================================================= */

.about-values {
  padding: 110px 0;
  background: var(--light);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.reason-card {
  min-height: 160px;
  padding: 27px 24px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 7px 25px rgba(16, 24, 40, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(3, 39, 90, 0.09);
}

.reason-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--primary);
  color: #ffffff;
}

.reason-card h3 {
  margin: 0;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

/* =========================================================
   EMPLOYER CTA
   ========================================================= */

.about-employer {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-employer-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-employer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 39, 90, 0.97) 0%,
    rgba(3, 39, 90, 0.86) 45%,
    rgba(3, 39, 90, 0.35) 100%
  );
}

.about-employer-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.about-employer-content .section-eyebrow {
  color: #ffffff;
  opacity: 0.85;
}

.about-employer-content h2 {
  max-width: 720px;
  color: #ffffff;
}

.about-employer-content p {
  max-width: 620px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .about-container,
  .about-hero-content {
    width: min(100% - 40px, 1000px);
  }

  .about-intro-grid {
    gap: 55px;
  }

  .industry-tags {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .process-arrow {
    display: none;
  }

  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .about-container,
  .about-hero-content {
    width: calc(100% - 32px);
  }

  /* HERO */

  .about-hero {
    min-height: 520px;
  }

  .about-hero-content {
    padding: 80px 0;
  }

  .about-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: -2px;
  }

  .about-hero p {
    font-size: 16px;
    line-height: 1.65;
  }

  /* SECTIONS */

  .about-intro,
  .about-industries,
  .about-more,
  .about-process,
  .about-values {
    padding: 75px 0;
  }

  .about-section-heading {
    margin-bottom: 40px;
  }

  .about-section-heading h2,
  .about-intro-content h2,
  .about-more-heading h2,
  .about-employer-content h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  /* INTRO */

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-image-wrap img {
    height: 390px;
  }

  .about-established {
    right: 15px;
    bottom: -25px;
    width: 125px;
    height: 125px;
  }

  .about-established strong {
    font-size: 29px;
  }

  /* INDUSTRIES */

  .industry-tags {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-tag {
    min-height: 60px;
    padding: 14px;
    font-size: 13px;
  }

  /* APPROACH */

  .about-more-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-more-content .about-lead {
    font-size: 19px;
  }

  /* PROCESS */

  .process-flow {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .process-card {
    min-height: auto;
    padding: 25px;
  }

  .process-number {
    font-size: 26px;
  }

  /* VALUES */

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .reason-card {
    min-height: 145px;
    padding: 20px;
  }

  .reason-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .reason-card h3 {
    font-size: 14px;
  }

  /* EMPLOYER */

  .about-employer {
    min-height: 480px;
  }

  .about-employer-content {
    padding: 75px 0;
  }

  .about-employer-content p {
    font-size: 16px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .about-container,
  .about-hero-content {
    width: calc(100% - 28px);
  }

  .about-hero {
    min-height: 500px;
  }

  .about-hero-content {
    padding: 65px 0;
  }

  .about-hero h1 {
    font-size: 42px;
  }

  .about-hero-button,
  .about-cta-button {
    width: 100%;
  }

  .about-image-wrap img {
    height: 300px;
  }

  .about-established {
    right: 10px;
    width: 110px;
    height: 110px;
  }

  .about-established strong {
    font-size: 25px;
  }

  .about-section-heading h2,
  .about-intro-content h2,
  .about-more-heading h2,
  .about-employer-content h2 {
    font-size: 32px;
  }

  .industry-tags {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .reason-card {
    min-height: auto;
  }

  .about-accreditation {
    align-items: flex-start;
  }
}

/* =========================================================
   ACCESSIBILITY / MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
