/* ========== ABOUT PAGE SCOPED VARIABLES ========== */
/* No global reset — main.css handles that */
:root {
  --about-black: #0C120C;
  --about-white: #FFFFFF;
  --about-primary-500: #FF234F;
  --about-gray-50: #F8F8F8;
  --about-gray-500: #667085;
  --about-bg-pink: #FFF4F2;
  --about-shadow: 0px 12px 30px rgba(0, 0, 0, 0.08);
  --about-container: 1200px;
}

/* Scoped container for about page content */
.about-container {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
.h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: normal;
  text-align: center;
  color: #000000;
  margin-bottom: 16px;
}

.h2--left {
  text-align: left;
}

.body-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
}

.body-text--center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 140px 0 0;
  background: var(--about-gray-50);
  overflow: visible;
  padding-bottom: 180px;
}

.hero__bg {
  display: none;
}

.hero__bg-texture {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: normal;
  color: #000000;
  margin-bottom: 20px;
}

.hero__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
}

.hero__photo {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  margin-bottom: -200px;
  border-radius: 20px;
  overflow: hidden;
}

.hero__photo-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* ========== SCALE SECTION ========== */
.scale-section {
  position: relative;
  z-index: 0;
  padding-top: 60px;
  padding-bottom: 60px;
  background: var(--about-white);
  text-align: center;
}

/* ========== WHAT SETS US APART ========== */
.apart-section {
  position: relative;
  padding: 80px 0 100px;
  background: var(--about-bg-pink);
  overflow: hidden;
}

.apart-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #FFF4F2;
  border-radius: 0 0 60px 60px;
}

.apart-section__texture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apart-section__subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  line-height: 24px;
  margin-bottom: 48px;
}

.apart-section .h2,
.apart-section .apart-section__subtitle {
  position: relative;
  z-index: 1;
}

.cards-row {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.cards-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-row--2 {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

.card {
  background: var(--about-white);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--about-shadow);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.12);
}

.card__illustration {
  width: 100% !important;
  height: 236px !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.card__illust-svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 16px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.card:hover .card__illust-svg {
  transform: scale(1.03);
}

.card__body {
  padding: 0 32px 32px;
}

/* ---- Card 1: Global Presence ---- */
.card__illustration--globe {
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.illust-badge {
  background: var(--about-white);
  border-radius: 10px;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illust-badge--top .illust-badge__img {
  height: 32px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.illust-badge--bottom {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);
}

.illust-badge--bottom .illust-badge__img {
  height: 55px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* ---- Card 2: Trusted Clients ---- */
.card__illustration--clients {
  padding: 16px;
}

.illust-network {
  position: relative;
  width: 100%;
  height: 100%;
}

.illust-network__bird {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  z-index: 2;
}

.illust-network__logos {
  position: relative;
  width: 100%;
  height: 100%;
}

.illust-network__logo {
  position: absolute;
  background: var(--about-white);
  border-radius: 4px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.08);
  padding: 4px;
  object-fit: contain;
  width: auto;
  height: auto;
  transition: transform 0.4s ease;
}

.card:hover .illust-network__logo {
  transform: scale(1.08);
}

.illust-network__logo--tl { max-width: 44px; max-height: 30px; top: 8%; left: 8%; }
.illust-network__logo--tr { max-width: 52px; max-height: 24px; top: 5%; right: 8%; }
.illust-network__logo--tc { max-width: 32px; max-height: 32px; top: 2%; left: 50%; transform: translateX(-50%); }
.illust-network__logo--ml { max-width: 56px; max-height: 16px; top: 50%; left: 0; transform: translateY(-50%); }
.illust-network__logo--mr { max-width: 36px; max-height: 16px; top: 45%; right: 5%; }
.illust-network__logo--bl { max-width: 36px; max-height: 24px; bottom: 8%; left: 20%; }
.illust-network__logo--br { max-width: 46px; max-height: 28px; bottom: 5%; right: 18%; }

/* ---- Card 3: Proprietary Technology ---- */
.card__illustration--tech {
  background: transparent;
  padding: 20px;
}

.illust-dashboard {
  position: relative;
  width: 100%;
  height: 100%;
}

.illust-dashboard__window {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 70%;
  height: 65%;
  background: var(--about-white);
  border-radius: 10px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.illust-dashboard__bar {
  width: 70%;
  height: 8px;
  background: #d1d1d1;
  border-radius: 4px;
  margin-bottom: 10px;
}

.illust-dashboard__bar--short {
  width: 45%;
}

.illust-dashboard__arrow {
  position: absolute;
  top: 45%;
  left: 30%;
  color: var(--about-primary-500);
  font-size: 20px;
  transform: rotate(-10deg);
}

.illust-dashboard__sidebar {
  position: absolute;
  top: 45%;
  left: 5%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.illust-dashboard__checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d1d1;
  border-radius: 4px;
  background: var(--about-white);
}

.illust-dashboard__checkbox--checked {
  background: #22C05C;
  border-color: #22C05C;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illust-dashboard__save {
  position: absolute;
  bottom: 8%;
  right: 15%;
  background: var(--about-black);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
}

/* ---- Card 4: Award-Winning Solutions ---- */
.card__illustration--awards {
  background: transparent;
  height: 258px;
  padding: 20px;
}

.illust-awards {
  position: relative;
  width: 100%;
  height: 100%;
}

.illust-awards__bird {
  position: absolute;
  bottom: 10%;
  left: 8%;
  width: 60px;
  height: auto;
  transition: transform 0.5s ease;
}

.card:hover .illust-awards__bird {
  transform: translateY(-4px);
}

.illust-awards__arrow {
  position: absolute;
  top: 35%;
  left: 25%;
  width: 70px;
  height: auto;
}

.illust-awards__browser {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 180px;
  height: auto;
  transition: transform 0.5s ease;
}

.card:hover .illust-awards__browser {
  transform: scale(1.03);
}

/* ---- Card 5: Transparent Reporting ---- */
.card__illustration--reporting {
  background: transparent;
  height: 258px;
  padding: 20px;
  overflow: visible;
}

.illust-reporting {
  position: relative;
  width: 100%;
  height: 100%;
}

.illust-reporting__chart {
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 60%;
  height: auto;
}

.illust-reporting__magnifier {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 80px;
  height: auto;
  transition: transform 0.5s ease;
}

.card:hover .illust-reporting__magnifier {
  transform: rotate(5deg) scale(1.05);
}

.illust-reporting__badge {
  position: absolute;
  border-radius: 16px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: transform 0.5s ease;
}

.card:hover .illust-reporting__badge {
  transform: translateY(-3px);
}

.illust-reporting__badge--green {
  background: #22C05C;
  color: white;
  top: 5%;
  left: 5%;
}

.illust-reporting__badge--br {
  top: auto;
  left: auto;
  bottom: 5%;
  right: 5%;
}

.illust-reporting__number {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.illust-reporting__label {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: normal;
  color: #000000;
  margin-bottom: 8px;
}

.card__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
}

/* ========== LEADERSHIP ========== */
.leadership-section {
  padding: 100px 0;
  background: var(--about-white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.leadership__content .body-text {
  margin-top: 12px;
}

.leadership__photo {
  border-radius: 20px;
  overflow: hidden;
}

.leadership__photo-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}

.leadership__photo:hover .leadership__photo-img {
  transform: scale(1.04);
}

/* ========== OUR PEOPLE ========== */
.people-section {
  padding: 0 0 100px;
  background: var(--about-white);
}

.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.people__photo {
  border-radius: 20px;
  overflow: hidden;
}

.people__photo-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.people__photo:hover .people__photo-img {
  transform: scale(1.04);
}

.people__content .body-text {
  margin-top: 12px;
}

/* ========== PARTNERS ========== */
.partners-section {
  padding: 80px 0;
  background: var(--about-gray-50);
  border-radius: 60px;
  margin-bottom: 60px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.partners__text {
  max-width: 360px;
  flex-shrink: 0;
}

.partners__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: normal;
  color: #000000;
  margin-bottom: 16px;
}

.partners__label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.partners__subtitle {
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  line-height: 24px;
  margin-bottom: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.partners-logos__img {
  height: 80px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transition: transform 0.3s ease;
}

.partners-logos__img--iab {
  height: 90px;
}

.partner-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.partner-logo img:hover {
  opacity: 1;
  transform: scale(1.08);
}

.partner-logo--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.partner-logo--row img {
  max-height: 36px;
}

/* ========== CTA ========== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--about-primary-500);
  overflow: hidden;
  text-align: center;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--about-white);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--about-white);
  color: var(--about-primary-500);
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero__title { font-size: 32px; }
  .h2 { font-size: 32px; }
  .cards-row--3 { grid-template-columns: 1fr 1fr; }
  .cards-row--2 { grid-template-columns: 1fr; max-width: 400px; }
  .leadership-grid,
  .people-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta__title { font-size: 32px; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 26px; }
  .h2 { font-size: 26px; }
  .cards-row--3 { grid-template-columns: 1fr; }
  .card__title { font-size: 20px; }
  .partner-logo--row { gap: 20px; }
  .partner-logo--row img { max-height: 28px; }
  .cta__title { font-size: 26px; }
  .btn-cta { padding: 14px 32px; font-size: 14px; }
}
