/**
 * BuyFast UAE — Scoped Stylesheet for About Us Page
 * Responsive, accessible, RTL-ready & reduced-motion compliant
 */

:root {
  --abt-navy: #0a1747;
  --abt-blue: #1648e8;
  --abt-blue-hover: #0f3bc4;
  --abt-orange: #ff6b00;
  --abt-orange-hover: #ff7e1e;
  --abt-ink: #14203a;
  --abt-muted: #63708a;
  --abt-bg: #f3f6fc;
  --abt-line: #e2e8f3;
  --abt-white: #ffffff;
}

.abt-page {
  padding-bottom: 48px;
  color: var(--abt-ink);
}

.abt-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 12px;
  color: #7b8599;
  font-size: 13px;
}

.abt-crumbs a {
  color: #687590;
  text-decoration: none;
}

.abt-crumbs a:hover {
  color: var(--abt-blue);
  text-decoration: underline;
}

.abt-crumb-current {
  color: var(--abt-ink);
  font-weight: 600;
}

/* Hero Section */
.abt-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(115deg, #08164b 0%, #1032aa 58%, #2057ff 100%);
  color: #ffffff;
  padding: clamp(34px, 5.5vw, 68px);
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  box-shadow: 0 20px 48px rgba(16, 42, 119, 0.14);
  margin-bottom: 24px;
}

.abt-hero::before,
.abt-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.abt-hero::before {
  width: 440px;
  height: 440px;
  border: 1px solid rgba(125, 180, 255, 0.25);
  right: 6%;
  top: -45%;
  box-shadow: 0 0 0 32px rgba(125, 180, 255, 0.05), 0 0 0 75px rgba(125, 180, 255, 0.03);
}

.abt-hero::after {
  width: 240px;
  height: 240px;
  background: rgba(255, 122, 0, 0.08);
  right: 15%;
  bottom: -65%;
}

html[dir="rtl"] .abt-hero::before {
  right: auto;
  left: 6%;
}

html[dir="rtl"] .abt-hero::after {
  right: auto;
  left: 15%;
}

.abt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  padding: 6px 14px;
  color: #ffcf42;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.abt-hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  color: #ffffff;
}

html[dir="rtl"] .abt-hero h1 {
  letter-spacing: 0;
  line-height: 1.25;
}

.abt-hero p {
  color: #e3ebff;
  max-width: 580px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
}

.abt-btnrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.abt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.abt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 10, 48, 0.3);
}

.abt-btn-primary {
  background: var(--abt-orange);
  color: #ffffff !important;
}

.abt-btn-primary:hover {
  background: var(--abt-orange-hover);
}

.abt-btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.abt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

/* Hero Visual Art */
.abt-visual {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
  transform: rotate(-2deg);
}

html[dir="rtl"] .abt-visual {
  transform: rotate(2deg);
}

.abt-visual-card {
  background: #f6f8ff;
  border-radius: 18px;
  min-height: 125px;
  display: grid;
  place-items: center;
  color: var(--abt-blue);
  box-shadow: 0 16px 36px rgba(0, 16, 59, 0.2);
  transition: transform 0.3s ease;
}

.abt-visual-card:hover {
  transform: translateY(-4px) rotate(1deg);
}

.abt-visual-card svg {
  width: 70px;
  height: 70px;
}

.abt-visual-card:nth-child(2) {
  transform: translateY(16px);
}

.abt-visual-card:nth-child(3) {
  transform: translateY(-8px);
}

.abt-visual-card:nth-child(4) {
  transform: translateY(10px);
}

.abt-deal-badge {
  position: absolute;
  left: 44%;
  top: 38%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--abt-orange);
  border: 4px solid #ffffff;
  color: #ffffff;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.05;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 16, 59, 0.35);
  transform: rotate(7deg);
  transition: transform 0.3s ease;
}

html[dir="rtl"] .abt-deal-badge {
  left: auto;
  right: 44%;
  transform: rotate(-7deg);
}

.abt-deal-badge strong {
  font-size: 22px;
  font-weight: 900;
}

.abt-visual:hover .abt-deal-badge {
  transform: rotate(0deg) scale(1.06);
}

/* Proof Strip */
.abt-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 38px;
}

.abt-proof-card {
  background: #ffffff;
  border: 1px solid var(--abt-line);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(16, 42, 119, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abt-proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(16, 42, 119, 0.08);
}

.abt-proof-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #edf2ff;
  color: var(--abt-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 20px;
}

.abt-proof-card h3 {
  font-size: 14px;
  margin: 0 0 3px;
  color: var(--abt-ink);
  font-weight: 700;
}

.abt-proof-card p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--abt-muted);
  margin: 0;
}

/* Section Common */
.abt-section {
  margin: 44px 0;
}

.abt-section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.abt-eyebrow-light {
  color: var(--abt-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 4px;
}

.abt-section-heading h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 4px 0 8px;
  color: var(--abt-ink);
  font-weight: 800;
}

html[dir="rtl"] .abt-section-heading h2 {
  letter-spacing: 0;
}

.abt-section-heading p {
  color: var(--abt-muted);
  margin: 0;
  font-size: 15px;
}

/* 3-Col Value Grid */
.abt-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.abt-info-card {
  background: #ffffff;
  border: 1px solid var(--abt-line);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.abt-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 42, 119, 0.08);
  border-color: #c9d6ff;
}

.abt-info-card .abt-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #edf2ff;
  color: var(--abt-blue);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.abt-info-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--abt-ink);
}

.abt-info-card p {
  margin: 0;
  color: var(--abt-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 10 Category Grid */
.abt-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.abt-category {
  background: #ffffff;
  border: 1px solid var(--abt-line);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  text-decoration: none !important;
  color: var(--abt-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.abt-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 42, 119, 0.08);
  border-color: var(--abt-blue);
}

.abt-category-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #edf2ff;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--abt-blue);
}

.abt-category strong {
  display: block;
  font-size: 13px;
  color: var(--abt-ink);
  font-weight: 700;
}

/* 3 Steps */
.abt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.abt-step {
  background: #ffffff;
  border: 1px solid var(--abt-line);
  border-radius: 15px;
  padding: 22px;
  counter-increment: step;
  position: relative;
}

.abt-step::before {
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--abt-blue);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 850;
  font-size: 14px;
  margin-bottom: 14px;
}

.abt-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--abt-ink);
}

.abt-step p {
  margin: 0;
  color: var(--abt-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Contact Details Cards */
.abt-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.abt-contact-card {
  background: #ffffff;
  border: 1px solid var(--abt-line);
  border-radius: 16px;
  padding: 24px;
}

.abt-contact-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--abt-ink);
}

.abt-contact-card p {
  margin: 6px 0;
  color: var(--abt-muted);
  font-size: 14px;
  line-height: 1.6;
}

.abt-contact-card strong {
  color: var(--abt-ink);
}

.abt-contact-card a {
  color: var(--abt-blue);
  font-weight: 700;
  text-decoration: none;
}

.abt-contact-card a:hover {
  text-decoration: underline;
}

/* Disclaimer Notice */
.abt-disclaimer {
  background: #fff8ee;
  border: 1px solid #ffe1c2;
  color: #68441e;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 32px 0;
}

.abt-disclaimer strong {
  color: #4d2f10;
}

/* Callout Banner */
.abt-callout {
  background: linear-gradient(115deg, #0b1b57 0%, #1648e8 100%);
  border-radius: 18px;
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 38px 0 16px;
  box-shadow: 0 14px 34px rgba(16, 42, 119, 0.12);
}

.abt-callout h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.abt-callout p {
  margin: 0;
  color: #e2eaff;
  font-size: 14.5px;
}

.abt-callout .abt-btn {
  flex-shrink: 0;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .abt-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 28px;
  }
  .abt-hero .abt-visual {
    min-height: 210px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }
  .abt-proof {
    grid-template-columns: repeat(2, 1fr);
  }
  .abt-grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .abt-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .abt-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .abt-hero {
    padding: 26px 20px;
    border-radius: 16px;
  }
  .abt-hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .abt-hero p {
    font-size: 14px;
  }
  .abt-visual {
    min-height: 180px;
  }
  .abt-visual-card {
    min-height: 94px;
    border-radius: 14px;
  }
  .abt-visual-card svg {
    width: 54px;
    height: 54px;
  }
  .abt-deal-badge {
    width: 76px;
    height: 76px;
    font-size: 9px;
  }
  .abt-deal-badge strong {
    font-size: 18px;
  }
  .abt-proof {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 0 28px;
  }
  .abt-grid3 {
    grid-template-columns: 1fr;
  }
  .abt-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .abt-contact-grid {
    grid-template-columns: 1fr;
  }
  .abt-callout {
    padding: 24px;
    display: block;
  }
  .abt-callout .abt-btn {
    margin-top: 16px;
    display: inline-flex;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .abt-btn,
  .abt-visual-card,
  .abt-deal-badge,
  .abt-proof-card,
  .abt-info-card,
  .abt-category {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}
