/* Frontend note: Styles for about inline. */
/* ABOUT PAGE — BLUEPRINT SYSTEM (DO NOT MODIFY OTHER FILES) */
.about-page,
.about-page * {
  box-sizing: border-box;
}

.about-page {
  display: flow-root;
  background: #f7f7f7;
  color: rgba(0, 0, 0, 0.72);
  font-size: 14px;
  line-height: 2;
  --ab-container: 1280px;
  --ab-gutter: 28px;
  --ab-section-xl: 96px;
  --ab-section-lg: 72px;
  --ab-section-md: 48px;
  --ab-section-sm: 32px;
  --ab-section-xs: 20px;
  --ab-radius-pill: 999px;
  --ab-radius-lg: 28px;
  --ab-radius-md: 18px;
  --ab-border-light: rgba(0, 0, 0, 0.08);
  --ab-shadow-low: 0 18px 60px rgba(0, 0, 0, 0.06);
  --ab-shadow-med: 0 26px 90px rgba(0, 0, 0, 0.10);
}

.about-page img,
.about-page video {
  max-width: 100%;
  height: auto;
}

.about-page .ab-container {
  max-width: var(--ab-container);
  margin: 0 auto;
  padding: 0 var(--ab-gutter);
}

.about-page .ab-text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.about-page .ab-section-title {
  margin: 0 0 var(--ab-section-sm);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.about-page .ab-section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--ab-section-md);
  font-size: 13px;
  line-height: 1.8;
}

.about-page .ab-accent {
  color: var(--color-primary);
}

.about-page .ab-header-shell {
  max-width: var(--ab-container);
  margin: var(--ab-section-sm) auto 0;
  padding: 12px var(--ab-gutter);
  background: #ffffff;
  border: 1px solid var(--ab-border-light);
  border-radius: var(--ab-radius-lg);
  box-shadow: var(--ab-shadow-low);
}

.about-page .ab-hero {
  padding: 0;
  margin: 48px 0 0;
  display: flow-root;
}

.about-page .ab-hero-card {
  position: relative;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--ab-border-light);
  border-radius: var(--ab-radius-lg);
  box-shadow: var(--ab-shadow-low);
  padding: 72px 40px 56px;
  max-width: 2000px;
  margin: 0 auto;
  width: 100%;
}


.about-page .ab-hero-title {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-page .ab-hero-mark {
  width: 10px;
  height: 10px;
  margin: var(--ab-section-xs) auto var(--ab-section-sm);
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 0.3;
}

.about-page .ab-hero-lede {
  max-width: 640px;
  margin: 0 auto 48px;
}

.about-page .ab-hero-illus {
  height: auto;
  max-width: 900px;
  margin: 32px auto 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
}

.about-page .ab-hero-illus-img {
  max-width: 560px;
  width: 100%;
  height: auto;
  display: block;
}

.about-page .ab-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--color-primary);
  opacity: 0.8;
  font-weight: 700;
  text-decoration: none;
}

.about-page .ab-hero-scroll-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.about-page .ab-hero-scroll:hover .ab-hero-scroll-icon {
  transform: translateY(2px);
}

.about-page .ab-metrics-toggle-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  height: 40px;
}

.about-page .ab-metrics-toggle-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.about-page .ab-metrics-toggle {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.about-page .ab-metrics-toggle-icon {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease;
}

.about-page .ab-metrics-toggle.is-collapsed .ab-metrics-toggle-icon {
  transform: rotate(180deg);
}

.about-page .ab-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-page .ab-metrics {
  padding: 72px 0 96px;
  margin-top: 96px;
  display: flow-root;
}

.about-page .ab-metrics .ab-section-title {
  margin-bottom: 72px;
}

.about-page .ab-metric-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-page .ab-metric-row + .ab-metric-row {
  margin-top: 96px;
}

.about-page .ab-metric-row--reverse .ab-metric-media {
  order: 2;
}

.about-page .ab-metric-row--reverse .ab-metric-text {
  order: 1;
}

.about-page .ab-metric-media {
  height: 340px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page .ab-metric-text h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.about-page .ab-metric-text .ab-text {
  max-width: 440px;
}

.about-page .ab-metric-media-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.about-page .ab-metrics.is-collapsed {
  display: none;
}

.about-page .ab-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 96px 0 0;
}

.about-page .ab-why {
  padding: 72px 0 96px;
  margin-top: 72px;
  display: flow-root;
}

.about-page .ab-why .ab-section-title {
  margin-bottom: 64px;
}

.about-page .ab-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.about-page .ab-why-item {
  text-align: center;
}

.about-page .ab-why-tile {
  width: 220px;
  height: 140px;
  margin: 0 auto;
  border-radius: var(--ab-radius-lg);
  background: color-mix(in srgb, var(--color-primary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.about-page .ab-why-tile svg,
.about-page .ab-why-tile img {
  max-width: 40px;
  max-height: 40px;
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.about-page .ab-why-icon {
  width: 40px;
  height: 40px;
}
.about-page .ab-why-item h3 {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.about-page .ab-why-item .ab-text {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.about-page .ab-cta {
  margin-top: 96px;
  margin-bottom: 72px;
  padding: 56px 0 96px;
  display: flow-root;
}

.about-page .ab-cta-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 44px 32px;
  background: rgba(105, 195, 80, 0.14);
  border: 1px solid rgba(105, 195, 80, 0.18);
  border-radius: var(--ab-radius-lg);
  box-shadow: var(--ab-shadow-med);
  text-align: center;
}

.about-page .ab-cta-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-page .ab-cta-logo-image {
  width: 36px;
  height: 36px;
  display: block;
}

.about-page .ab-cta-title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.about-page .ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 12px 28px;
  border-radius: var(--ab-radius-pill);
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
}

.about-page .ab-btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.about-page .ab-cta .ab-btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-page .ab-cta .ab-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about-page .ab-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.about-page .ab-cta-text {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 14px;
  line-height: 2.0;
  text-align: center;
}

.about-page .ab-cta-image-inline {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.about-page .ab-cta-image-inline-img {
  width: 100%;
  max-width: 900px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--ab-radius-md);
  display: block;
  transform: none;
}

@media (max-width: 991px) {
  .about-page .ab-hero {
    margin-top: 36px;
  }

  .about-page .ab-hero-card {
    padding: 72px 24px 56px;
  }

  .about-page .ab-hero-illus {
    height: auto;
  }

  .about-page .ab-metric-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-page .ab-metric-text {
    order: 2;
  }

  .about-page .ab-metric-media {
    order: 1;
  }

  .about-page .ab-metric-row + .ab-metric-row {
    margin-top: 64px;
  }

  .about-page .ab-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .about-page .ab-metrics {
    margin-top: 72px;
  }

  .about-page .ab-divider {
    margin-top: 72px;
  }

  .about-page .ab-why {
    margin-top: 54px;
  }

  .about-page .ab-cta {
    margin-top: 72px;
    margin-bottom: 54px;
  }

  .about-page .ab-cta-image-inline-img {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .about-page {
    --ab-gutter: 16px;
  }

  .about-page .ab-hero {
    margin-top: 32px;
  }

  .about-page .ab-hero-card {
    padding: 56px 20px 44px;
  }

  .about-page .ab-hero-title {
    font-size: 30px;
  }

  .about-page .ab-hero-illus {
    height: auto;
  }

  .about-page .ab-metric-media {
    height: 220px;
  }

  .about-page .ab-metrics {
    padding: 56px 0 72px;
  }

  .about-page .ab-why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-page .ab-why-tile {
    width: 200px;
    height: 120px;
  }

  .about-page .ab-metrics {
    margin-top: 64px;
  }

  .about-page .ab-divider {
    margin-top: 64px;
  }

  .about-page .ab-why {
    margin-top: 48px;
  }

  .about-page .ab-cta {
    margin-top: 72px;
    margin-bottom: 56px;
  }

  .about-page .ab-cta-card {
    padding: 56px 20px 32px;
  }

  .about-page .ab-cta-image-inline-img {
    height: 220px;
  }

  .about-page .ab-section-title {
    font-size: 22px;
  }
}

@media (min-height: 900px) {
  .about-page .ab-hero-card {
    min-height: 680px;
  }
}

/* =========================
   ABOUT: HEADER + HERO PATCH
   ========================= */

/* 1) Header: keep it interactive (dropdowns/clicks), prevent About typography from breaking it */
.about-page .ab-header-shell {
  position: sticky;
  top: 16px;
  z-index: 5000;
  overflow: visible;

  /* closer to screenshot */
  padding: 10px var(--ab-gutter);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}

/* Stop .about-page (line-height:2) from messing with navbar */
.about-page .ab-header-shell,
.about-page .ab-header-shell * {
  line-height: normal;
}

/* If your header uses absolute dropdowns, ensure it isn't clipped by any parent */
.about-page .page-wrap,
.about-page .main-wrap {
  overflow: visible;
}

/* 2) Hero spacing (match screenshot vertical rhythm) */
.about-page .ab-hero {
  margin-top: 28px;
}

.about-page .ab-hero-card {
  padding: 64px 40px 54px;
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.06);
  overflow: hidden; /* keeps watermark clean */
}

/* 3) Subtle watermark circle behind title (like screenshot) */
.about-page .ab-hero-card::selection { background: transparent; } /* harmless */
.about-page .ab-hero-card::before {
  /* override your existing notch border pseudo: move notch to separate element below */
  content: "";
  position: absolute;
  inset: auto;
  left: 50%;
  top: 118px;
  width: 78px;
  height: 78px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(105,195,80,0.14), rgba(105,195,80,0.02) 60%, transparent 70%);
  pointer-events: none;
  border: 1px solid rgba(105,195,80,0.10);
}

/* Remove the old notch pieces so we can rebuild it cleanly */
.about-page .ab-hero-card::after {
  content: none;
}

/* 4) Title style closer to UI */
.about-page .ab-hero-title {
  font-size: 34px;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}

.about-page .ab-hero-mark {
  display: none; /* screenshot uses watermark, not the dot */
}

.about-page .ab-hero-lede {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: 13px;
  line-height: 2.05; /* still readable but not too tall */
  color: rgba(0,0,0,0.70);
}

/* 5) Illustration positioning */
.about-page .ab-hero-illus {
  margin: 22px auto 0;
  max-width: 900px;
}
.about-page .ab-hero-illus-img {
  max-width: 620px; /* closer to screenshot size */
}

/* 6) Scroll hint: convert into bottom centered chevron */
.about-page .ab-hero-scroll {
  margin-top: 22px;
  color: rgba(105,195,80,0.85);
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
}

/* 7) Replace the metrics toggle cap with a notch + chevron like screenshot */
.about-page .ab-metrics-toggle-wrap {
  margin-top: 26px;
  height: 52px;
}

.about-page .ab-metrics-toggle-wrap::before {
  top: 26px;
  background: rgba(0,0,0,0.10);
}

/* notch/cap */
.about-page .ab-metrics-toggle {
  width: 92px;
  height: 52px;
  border-radius: 0 0 999px 999px;
  border: 1px solid rgba(0,0,0,0.10);
  border-top: 0;
  background: #ffffff; /* notch same as card */
  transform: translateY(0);
}

/* chevron icon style */
.about-page .ab-metrics-toggle-icon {
  font-size: 22px;
  color: rgba(0,0,0,0.45);
}

/* Keep collapse behavior working */
.about-page .ab-metrics-toggle.is-collapsed .ab-metrics-toggle-icon {
  transform: rotate(180deg);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .about-page .ab-header-shell { top: 10px; }
  .about-page .ab-hero-card { padding: 52px 18px 40px; }
  .about-page .ab-hero-title { font-size: 28px; }
  .about-page .ab-hero-lede { margin-bottom: 26px; }
  .about-page .ab-hero-card::before { top: 98px; width: 66px; height: 66px; }
}

/* ABOUT: make header identical to other pages (remove extra shell styling) */
.about-page .ab-header-shell {
  max-width: none;        /* don't constrain beyond header's own container */
  margin: 0;              /* remove top spacing */
  padding: 0;             /* remove extra inner padding */
  background: transparent;/* remove extra card background */
  border: 0;              /* remove extra border */
  border-radius: 0;       /* remove extra rounding */
  box-shadow: none;       /* remove extra shadow */
}

/* Match global page spacing */
.about-page.main-wrap {
  padding-top: 24px; /* adjust to match other pages */
}

/* Prevent About typography from affecting shared header */
.about-page .ab-header-shell,
.about-page .ab-header-shell * {
  font-size: inherit;
  line-height: normal;
  color: inherit;
}

/* Make sure dropdowns aren't clipped */
.about-page .ab-header-shell { overflow: visible; }

.about-page .ab-hero { margin-top: 32px; }

/* =========================================
   ABOUT HERO: 1400x900 + curved bottom tab
   ========================================= */

/* Hero wrapper spacing (keeps header spacing untouched) */
.about-page .ab-hero {
  margin-top: 28px;
}

/* Main rectangle */
.about-page .ab-hero-card {
  max-width: 1400px;
  width: 100%;
  min-height: 900px;

  /* layout */
  position: relative;
  padding: 92px 56px 130px; /* bottom padding reserves space above the tab */
  border-radius: 26px;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);

  /* very small shadow, mostly down */
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  text-align: center;
  overflow: visible; /* allow bottom tab to protrude */
}

/* Title spacing (more separation from top/bottom) */
.about-page .ab-hero-title {
  margin: 0 0 18px;
  padding-top: 4px;
  font-size: 36px;
  line-height: 1.25;
}

/* Optional subtle watermark circle behind title (like your UI) */
.about-page .ab-hero-mark {
  width: 74px;
  height: 74px;
  margin: 14px auto 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(105,195,80,0.16), rgba(105,195,80,0.03) 60%, transparent 70%);
  border: 1px solid rgba(105,195,80,0.10);
}

/* Lede spacing */
.about-page .ab-hero-lede {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: 13px;
  line-height: 2.05;
}

/* Illustration sizing/position */
.about-page .ab-hero-illus {
  margin: 18px auto 0;
  max-width: 980px;
}
.about-page .ab-hero-illus-img {
  max-width: 700px;
  width: 100%;
}

/* Move the toggle into the bottom "gap/tab" position */
.about-page .ab-metrics-toggle-wrap {
  position: absolute;
  left: 50%;
  bottom: -28px;              /* protrudes below card */
  transform: translateX(-50%);
  margin: 0;
  height: auto;
  display: flex;
  justify-content: center;
}

/* Remove the horizontal divider line that was behind the toggle */
.about-page .ab-metrics-toggle-wrap::before {
  content: none;
}

/* The curved bottom tab itself */
.about-page .ab-metrics-toggle {
  width: 96px;
  height: 56px;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
  border-top: 0;

  border-radius: 0 0 999px 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  cursor: pointer;
}

/* Chevron styling */
.about-page .ab-metrics-toggle-icon {
  font-size: 22px;
  color: rgba(0,0,0,0.45);
  transition: transform 0.25s ease;
}

/* Keep collapse rotate behavior */
.about-page .ab-metrics-toggle.is-collapsed .ab-metrics-toggle-icon {
  transform: rotate(180deg);
}

/* Make sure scroll link doesn't fight the tab visually */
.about-page .ab-hero-scroll {
  margin-top: 22px;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 991px) {
  .about-page .ab-hero-card {
    min-height: 0;
    padding: 72px 28px 110px;
  }
  .about-page .ab-hero-illus-img {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .about-page .ab-hero-card {
    padding: 56px 18px 96px;
    border-radius: 22px;
  }
  .about-page .ab-hero-title {
    font-size: 30px;
  }
  .about-page .ab-metrics-toggle {
    width: 88px;
    height: 52px;
  }
  .about-page .ab-metrics-toggle-wrap {
    bottom: -26px;
  }
}

/* Allow hero to exceed the default container width */
.about-page .ab-hero > .ab-container {
  max-width: 1700px;   /* or 1800 / 2000 */
}

/* === FINAL HERO SIZE OVERRIDE === */
.about-page .ab-hero-card {
  max-width: 2500px !important;   /* wider */
  min-height: 600px !important;   /* shorter */
  padding: 80px 64px 120px !important;
}

/* === Reduce Hero Height Properly === */
.about-page .ab-hero-card {
  min-height: auto !important;
  padding: 48px 56px 90px !important; /* reduce vertical padding */
}

.about-page .ab-hero-card {
  padding: 64px 56px 110px;
}
.about-page .ab-hero-illus-img {
  max-width: 500px;
}

.about-page .ab-hero-lede {
  margin-top: 80px !important;
}

.about-page .ab-hero-illus {
  margin-top: 40px !important;
}

/* =====================================
   HERO SCROLL ICON – ENGAGING VERSION
   ===================================== */

.about-page .ab-metrics-toggle-wrap {
  position: absolute !important;
  left: 50%;
  bottom: 24px !important;
  transform: translateX(-50%);
  margin: 0 !important;
  z-index: 20;
}

/* circular button */
.about-page .ab-metrics-toggle {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;

  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
  cursor: pointer;
}

/* icon style */
.about-page .ab-metrics-toggle-icon {
  font-size: 26px !important;
  color: var(--color-primary) !important;
  transition: transform 0.25s ease;
}

/* hover effect */
.about-page .ab-metrics-toggle:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12) !important;
}

/* bounce animation */
@keyframes ab-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.about-page .ab-metrics-toggle-icon {
  animation: ab-bounce 2s infinite ease-in-out;
}

/* Move right-side metric images 50px further right */
.about-page .ab-metric-row:not(.ab-metric-row--reverse) .ab-metric-media {
  transform: translateX(110px);
}
/* Move left-side metric images 30px further left */
.about-page .ab-metric-row.ab-metric-row--reverse .ab-metric-media {
  transform: translateX(30px);
}

/* Metric highlight color */
.about-page .ab-metric-highlight {
  color: #F25B10;
  font-weight: 800;
}

/* =====================================
   WHY SECTION: tighter title/subtitle + tile color + text size
   ===================================== */

/* 1) Title + subtitle: RTL, integrated, no extra gap */
.about-page .ab-why .ab-section-title,
.about-page .ab-why .ab-section-subtitle {
  direction: rtl;
  text-align: center;
}

.about-page .ab-why .ab-section-title {
  margin-bottom: 8px !important;   /* was large */
}

.about-page .ab-why .ab-section-subtitle {
  margin-top: 0 !important;
  margin-bottom: 28px !important;  /* keep a small gap before grid */
}

/* 2) Description text inside the 3 items: size 11 */
.about-page .ab-why-item .ab-text {
  font-size: 11px !important;
  line-height: 1.9 !important;
}

/* 3) Tile rectangle background color */
.about-page .ab-why-tile {
  background: #E8F7C8 !important;
  border-color: rgba(0, 0, 0, 0.06) !important; /* subtle, optional */
}

/* Move only WHY title + subtitle 80px higher */
.about-page .ab-why .ab-section-title,
.about-page .ab-why .ab-section-subtitle {
  transform: translateY(-60px);
}

/* Move WHY cards 100px downward */
.about-page .ab-why-grid {
  margin-top: 100px !important;
}



/* ===================== CTA (pp-cta) — 1/3 content + 2/3 image ===================== */

.projects-page .pp-cta{
  padding: 84px 0 96px;
  background: #ffffff;
}

.projects-page .pp-cta .container{
  max-width: 1391px;           /* match the rectangle target */
  padding-left: 16px;
  padding-right: 16px;
}

/* The rectangle */
.projects-page .pp-cta-card{
  position: relative;
  margin: 0 auto;
  background: #efffd6;
  border-radius: 26px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 4px rgba(0,0,0,0.12);
  overflow: hidden;

  /* key: match 1391x728 proportion */
  aspect-ratio: 1391 / 728;

  /* layout: top content + bottom image */
  display: flex;
  flex-direction: column;
}

/* Top area = 1/3 of the card */
.projects-page .pp-cta-logo,
.projects-page .pp-cta-title,
.projects-page .pp-cta-text,
.projects-page .pp-cta-btn{
  /* keep them in normal flow */
}

.projects-page .pp-cta-logo{
  width: 66px;
  height: 66px;
  margin: 28px auto 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.projects-page .pp-cta-logo-image{
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
}

.projects-page .pp-cta-title{
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #111111;
  flex: 0 0 auto;
}

.projects-page .pp-cta-text{
  margin: 10px auto 0;
  text-align: center;
  max-width: 760px;
  font-size: 16px;
  font-weight: 400; /* regular */
  line-height: 1.9;
  color: rgba(0,0,0,0.75);
  margin-top: 12px;
  padding: 0 20px;
  flex: 0 0 auto;
}

/* ================= CTA Button — same style as pdf button ================= */

.projects-page .pp-cta-btn{
  width: 209px;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 8px;
  display: flex;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(10px);
  color: #ffffff !important;
  background: #A2C84F;
  box-shadow: none;
  border: 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* remove any previous pseudo effects */
.projects-page .pp-cta-btn::before{
  display: none !important;
}

/* arrow circle appears on hover */
.projects-page .pp-cta-btn::after{
  content:"";
  width:0;
  height:0;
  opacity:0;
  transform:translateX(4px);
  transition:opacity 180ms ease, transform 180ms ease, width 180ms ease, height 180ms ease;

  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M15 12H8' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10.5 9.5L8 12l2.5 2.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* hover animation */
.projects-page .pp-cta-btn:hover::after{
  width:16px;
  height:16px;
  opacity:1;
  transform:translateX(0);
}

/* keep text always white */
.projects-page .pp-cta-btn,
.projects-page .pp-cta-btn:link,
.projects-page .pp-cta-btn:visited,
.projects-page .pp-cta-btn:hover,
.projects-page .pp-cta-btn:focus,
.projects-page .pp-cta-btn:active{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none !important;
}


/* Bottom image area = 2/3 of the card */
.projects-page .pp-cta-image-inline{
  margin-top: 0;
  flex: 2 1 0;                 /* key: 2 parts image */
  min-height: 0;
  display: flex;
  align-items: flex-end;        /* sits on the bottom like the screenshot */
  justify-content: center;
  padding: 0 44px 28px;
}

/* Image fills the 2/3 area but keeps aspect */
.projects-page .pp-cta-image-inline-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Force the top content block to roughly 1/3 using spacing */
.projects-page .pp-cta-card::before{
  content: "";
  flex: 1 1 0;                  /* 1 part content spacer bucket */
  order: 0;
  display: none;                /* not used; kept for clarity */
}

/* Responsive: keep ratio but allow height to shrink */
@media (max-width: 991px){
  .projects-page .pp-cta .container{ max-width: 100%; }
  .projects-page .pp-cta-card{
    aspect-ratio: 1391 / 820;   /* slightly taller on small screens */
  }
  .projects-page .pp-cta-title{ font-size: 26px; }
  .projects-page .pp-cta-text{ font-size: 13px; }
  .projects-page .pp-cta-image-inline{ padding: 0 22px 22px; }
}

@media (max-width: 640px){
  .projects-page .pp-cta-card{
    aspect-ratio: 4 / 3;        /* mobile-friendly */
    border-radius: 18px;
  }
  .projects-page .pp-cta-logo{ width: 58px; height: 58px; margin-top: 20px; }
  .projects-page .pp-cta-title{ font-size: 22px; }
  .projects-page .pp-cta-btn{ height: 38px; font-size: 13px; padding: 0 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .projects-page * {
    transition: none !important;
  }
}

/* =========================================
   ABOUT CTA — styled like projects pp-cta
   ========================================= */

.about-page .ab-cta {
  padding: 84px 0 96px;
  background: #ffffff;
}

.about-page .ab-cta .container,
.about-page .ab-cta .w-container {
  max-width: 1391px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Card */
.about-page .ab-cta-card {
  position: relative;
  margin: 0 auto;
  background: #efffd6;
  border-radius: 26px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 4px rgba(0,0,0,0.12);
  overflow: hidden;

  aspect-ratio: 1391 / 728;

  display: flex;
  flex-direction: column;
}

/* Logo */
.about-page .ab-cta-logo {
  width: 66px;
  height: 66px;
  margin: 28px auto 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-page .ab-cta-logo-image {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

/* Title */
.about-page .ab-cta-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #111111;
}

/* Text */
.about-page .ab-cta-text {
  margin: 12px auto 0;
  text-align: center;
  max-width: 760px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(0,0,0,0.75);
  padding: 0 20px;
}

/* Button */
.about-page .ab-cta-btn {
  width: 209px;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff !important;
  background: #A2C84F;
  border: 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Hover arrow */
.about-page .ab-cta-btn::after {
  content:"";
  width:0;
  height:0;
  opacity:0;
  margin-right:6px;
  transition:all 180ms ease;
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M15 12H8' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10.5 9.5L8 12l2.5 2.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.about-page .ab-cta-btn:hover::after {
  width:16px;
  height:16px;
  opacity:1;
}

/* Bottom Image Area (2/3) */
.about-page .ab-cta-image-inline {
  flex: 2 1 0;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 44px 28px;
}

.about-page .ab-cta-image-inline-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 991px){
  .about-page .ab-cta-card {
    aspect-ratio: 1391 / 820;
  }
  .about-page .ab-cta-title { font-size: 26px; }
  .about-page .ab-cta-text { font-size: 13px; }
  .about-page .ab-cta-image-inline { padding: 0 22px 22px; }
}

@media (max-width: 640px){
  .about-page .ab-cta-card {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .about-page .ab-cta-logo { width: 58px; height: 58px; margin-top: 20px; }
  .about-page .ab-cta-title { font-size: 22px; }
  .about-page .ab-cta-btn { height: 38px; font-size: 13px; }
}

/* CTA button text always white (all states) */
.about-page .ab-cta-btn,
.about-page .ab-cta-btn:link,
.about-page .ab-cta-btn:visited,
.about-page .ab-cta-btn:hover,
.about-page .ab-cta-btn:focus,
.about-page .ab-cta-btn:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

/* Pull CTA content upward */
.about-page .ab-cta-card {
  justify-content: flex-start !important;
  padding-top: 20px !important;
}

.profile-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 2px solid #9BCB3B; /* light green stroke */
  background: #fff;          /* white background */
  color: #9BCB3B;            /* same green text */
  border-radius: 999px;      /* pill shape */
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.profile-btn:hover{
  background: rgba(155, 203, 59, 0.08);
}

/* About page full white background */
.about-page {
  background: #ffffff !important;
}

/* Remove white square behind CTA logo */
.about-page .ab-cta-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* About page header alignment parity with other pages */
body .header-area {
  position: sticky;
  top: 0;
  z-index: 10000;
  padding-top: 12px;
  padding-bottom: 8px;
}

body .header-area .w-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

body .header-area .header-wrap.header-pill {
  width: 100%;
  margin: 0;
}
