/* ============================================================
   ABOUT PAGE — about-page.css
   Loads ONLY on About page (page-template-page-about).
   ============================================================ */

/* ── SECTION 1: Hero ── */
.ab-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: calc(var(--site-header-full-height, 153px) + 120px);
  padding-bottom: 120px;
  text-align: center;
}

.ab-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.ab-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.ab-hero__title {
  font-size: 52px;
  line-height: 62px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 24px;
}

.ab-hero__title-highlight {
  color: #D6B54A;
}

.ab-hero__desc {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  color: #D1D5DC;
  max-width: 720px;
  margin: 0 auto;
}

/* ── SECTION 2: Our Story ── */
.about-story-section {
  background: #FFFFFF;
  padding: 100px 0;
}

.about-story-section__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 144px;
}

.about-story-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left content */
.about-story-section__label {
  display: block;
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D6B54A;
  margin-bottom: 32px;
}

.about-story-section__title {
  font-weight: 700;
  color: #071B2E;
  max-width: 680px;
  margin: 0 0 32px;
}

.about-story-section__text {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 18px;
  line-height: 34px;
  color: #64748B;
  max-width: 680px;
}

.about-story-section__text p {
  margin: 0 0 24px;
}

.about-story-section__text p:last-child {
  margin-bottom: 0;
}

/* Right visual */
.about-story-section__visual {
  position: relative;
  padding-bottom: 80px; /* space for the card that hangs below the image */
}

.about-story-section__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 16px 40px rgba(15, 23, 42, 0.10);
}

.about-story-section__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Floating yellow card */
.about-story-section__card {
  position: absolute;
  bottom: 0;
  left: -48px;
  background: #FFC000;
  border-radius: 16px;
  padding: 24px;
  min-width: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0px 25px 50px rgba(15, 23, 42, 0.20);
}

.about-story-section__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #030A12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-story-section__card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.about-story-section__card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-story-section__card-title {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  color: #111111;
  margin: 0;
}

.about-story-section__card-subtitle {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #030A12;
  margin: 0;
}

/* ── SECTION 3: Driving the Future ── */
.about-future-section {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative route SVG — sits behind content */
.afs-route-svg {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.afs-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 144px;
  position: relative;
  z-index: 1;
}

.afs-header {
  text-align: center;
  margin-bottom: 80px;
}

.afs-title {
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 20px;
}

.afs-subtitle {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #D1D5DC;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards grid — left card top-aligned, right card offset down */
.afs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.afs-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)), #0B223D;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 48px 40px;
  min-height: 420px;
  box-shadow: 0px 20px 60px rgba(0,0,0,0.18);
}

/* Right card drops 56px lower */
.afs-card:nth-child(2) {
  margin-top: 56px;
}

/* Icon box */
.afs-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(214,181,74,0.10);
  border: 1px solid rgba(214,181,74,0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.afs-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Label row: gold line + uppercase text */
.afs-card__label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  margin-bottom: 24px;
}

.afs-card__label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: #D6B54A;
  flex-shrink: 0;
}

.afs-card__label {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D6B54A;
}

.afs-card__title {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 40px;
  color: #FFFFFF;
  margin: 0 0 24px;
}

.afs-card__desc {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #D1D5DC;
  margin: 0;
}

/* ── SECTION 4: Core Values ── */
.ab-values {
  background: #F8FAFC;
  padding: 80px 0;
}

.ab-values__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.ab-values__header {
  text-align: center;
  margin-bottom: 56px;
}

.ab-values__header h2 {
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: #071B2E;
  margin: 0 0 16px;
}

.ab-values__header p {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 18px;
  line-height: 30px;
  color: #64748B;
  max-width: 560px;
  margin: 0 auto;
}

.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-values__card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-values__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.ab-values__card-icon {
  width: 48px;
  height: 48px;
  background: #F5F7FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ab-values__card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ab-values__card-icon svg {
  width: 28px;
  height: 28px;
}

.ab-values__card-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: #071B2E;
  margin: 0 0 10px;
}

.ab-values__card-desc {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 15px;
  line-height: 24px;
  color: #64748B;
  margin: 0;
}

/* ── SECTION 5: Timeline ── */
.ab-journey {
  background: #FFFFFF;
  padding: 80px 0;
}

.ab-journey__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.ab-journey__header {
  text-align: center;
  margin-bottom: 64px;
}

.ab-journey__header h2 {
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: #071B2E;
  margin: 0 0 16px;
}

.ab-journey__header p {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 18px;
    line-height: 30px;
    color: #64748B;
    max-width: 100%;
    margin: 0 auto;
}

.ab-journey__timeline {
  position: relative;
  display: flex;
  gap: 0;
}

/* Connecting line behind all items */
.ab-journey__timeline-track {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E5E7EB;
  z-index: 0;
}

.ab-journey__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.ab-journey__year {
  display: block;
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #D6B54A;
  margin-bottom: 12px;
}

.ab-journey__dot {
  width: 16px;
  height: 16px;
  background: #071B2E;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 2px #071B2E;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.ab-journey__item-title {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: #1B2033;
  margin: 0;
}

/* ── SECTION 6: Why Riders Trust Us ── */
.ab-trust {
  background: #071B2E;
  padding: 80px 0;
}

.ab-trust__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.ab-trust__header {
  text-align: center;
  margin-bottom: 56px;
}

.ab-trust__header h2 {
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.ab-trust__header p {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-size: 18px;
  line-height: 30px;
  color: #D1D5DC;
  max-width: 540px;
  margin: 0 auto;
}

.ab-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-trust__card {
  background: #0E2238;
  border: 1px solid #FFFFFF1A;
  border-radius: 24px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: border-color 0.2s ease;
}

.ab-trust__card:hover {
  border-color: rgba(214, 181, 74, 0.3);
}

.ab-trust__card-icon {
  width: 32px;
  height: 32px;
  background: #0000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ab-trust__card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ab-trust__card-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

/* ── SECTION 8: Operations Team ── */
.ab-team {
  background: #071B2E;
  padding: 80px 0;
}

.ab-team__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.ab-team__header {
  text-align: center;
  margin-bottom: 48px;
}

.ab-team__header h2 {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 54px;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.ab-team__header p {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255,255,255,0.65);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Top grid: large left (640×560) + right 2-stack (488×268 each) ── */
.ops-top-grid {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 24px;
  align-items: stretch;
}

.ops-top-grid__right {
  display: grid;
  grid-template-rows: 268px 268px;
  gap: 24px;
}

/* ── Bottom grid: 3 equal images (368×280 each) ── */
.ops-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* ── Image wrappers ── */
.ops-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.ops-img-wrap--large { height: 560px; }
.ops-img-wrap--wide  { height: 268px; }
.ops-img-wrap--small { height: 280px; }

.ops-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Badge strip ── */
.ops-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #00000033;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #FFFFFF33;
}

.ops-img-wrap--wide .ops-badge,
.ops-img-wrap--small .ops-badge {
  left: 18px;
  bottom: 18px;
}

.ops-badge__icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #00000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ops-badge__icon-circle svg { display: block; }

.ops-badge__icon-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(74%) sepia(53%) saturate(421%) hue-rotate(5deg) brightness(98%) contrast(88%);
}

.ops-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ops-badge__title {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #FFFFFF;
  white-space: nowrap;
}

.ops-badge__subtitle {
  font-family: var(--font-family, 'Open Sans', sans-serif);
  font-weight: 700;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D6B54A;
  white-space: nowrap;
}

/* ── Scroll animations ── */
.ab-journey__item,
.ab-values__card,
.ab-trust__card,
.ops-img-wrap,
.afs-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ab-journey__item.is-visible,
.ab-values__card.is-visible,
.ab-trust__card.is-visible,
.ops-img-wrap.is-visible,
.afs-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 1200px */
@media (max-width: 1200px) {
  .about-story-section__container,
  .afs-container,
  .ab-values__container,
  .ab-journey__container,
  .ab-trust__container,
  .ab-team__container { padding: 0 40px; }

  .about-story-section__grid { gap: 48px; }
  .afs-grid { gap: 24px; }
  .ab-values__grid { grid-template-columns: repeat(3, 1fr); }
  .ab-trust__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet: 991px */
@media (max-width: 991px) {
  .ab-hero {
    padding-top: calc(var(--site-header-full-height, 153px) + 80px);
    padding-bottom: 80px;
  }

  .ab-hero__title { font-size: 40px; line-height: 50px; }

  .about-story-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-story-section__title { font-size: 30px; line-height: 40px; }
  .about-story-section__visual { padding-bottom: 0; }
  .about-story-section__card {
    position: static;
    margin-top: 24px;
    min-width: auto;
    width: 100%;
    left: auto;
  }

  .afs-grid { grid-template-columns: 1fr; }
  .afs-card:nth-child(2) { margin-top: 0; }
  .afs-title { font-size: 30px; line-height: 40px; }
  .afs-route-svg { display: none; }

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

  .ab-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-trust__header h2,
  .ab-values__header h2,
  .ab-journey__header h2,
  .ab-team__header h2 { font-size: 30px; line-height: 40px; }

  /* Timeline: vertical on tablet */
  .ab-journey__timeline { flex-direction: column; gap: 32px; }
  .ab-journey__timeline-track { display: none; }
  .ab-journey__item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
  }
  .ab-journey__dot { margin-bottom: 0; flex-shrink: 0; margin-top: 2px; }

  /* Operations Team — tablet */
  .ops-top-grid { grid-template-columns: 1fr; }
  .ops-top-grid__right { grid-template-rows: none; grid-template-columns: repeat(2, 1fr); height: auto; }
  .ops-img-wrap--large { height: 360px; }
  .ops-img-wrap--wide  { height: 220px; }
  .ops-bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-img-wrap--small { height: 220px; }
}

/* Mobile: 767px */
@media (max-width: 767px) {
  .about-story-section__container,
  .afs-container,
  .ab-values__container,
  .ab-journey__container,
  .ab-trust__container,
  .ab-team__container { padding: 0 20px; }

  .about-story-section,
  .about-future-section,
  .ab-values,
  .ab-journey,
  .ab-trust,
  .ab-team { padding: 60px 0; }

  .ab-hero {
    padding-top: calc(var(--site-header-full-height, 153px) + 60px);
    padding-bottom: 60px;
  }

  .ab-hero__title { font-size: 36px; line-height: 46px; }
  .ab-hero__desc { font-size: 16px; }

  .about-story-section__title { font-size: 26px; line-height: 36px; }
  .about-story-section__img { height: 280px; }
  .about-story-section__visual { padding-bottom: 0; }
  .about-story-section__card {
    position: static;
    margin-top: 16px;
    min-width: 0;
    width: 100%;
    left: auto;
  }
  .about-story-section__card-icon { width: 56px; height: 56px; }
  .about-story-section__card-title { font-size: 22px; line-height: 32px; }
  .about-story-section__card-subtitle { font-size: 16px; }

  .afs-title,
  .ab-values__header h2,
  .ab-journey__header h2,
  .ab-trust__header h2,
  .ab-team__header h2 { font-size: 28px; line-height: 38px; }

  .afs-card { padding: 32px 24px; }

  .ab-values__grid { grid-template-columns: 1fr; }

  .ab-trust__grid { grid-template-columns: 1fr; }
  .ab-trust__card { flex-direction: column; align-items: flex-start; padding: 20px 24px; }

  /* Operations Team — mobile: single column, aspect-ratio heights */
  .ops-top-grid { grid-template-columns: 1fr; }
  .ops-top-grid__right { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .ops-img-wrap--large { height: auto; aspect-ratio: 640 / 560; }
  .ops-img-wrap--wide  { height: auto; aspect-ratio: 488 / 268; }
  .ops-img-wrap--small { height: auto; aspect-ratio: 368 / 280; }
  .ops-bottom-grid { grid-template-columns: 1fr; }
  .ops-badge { left: 16px; bottom: 16px; padding: 8px 12px; gap: 8px; }
  .ops-badge__title { font-size: 12px; line-height: 16px; }
  .ops-badge__subtitle { font-size: 9px; }
}
