/* ==================================================
   ABOUT HERO (compact)
   ================================================== */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-dark) 0%, #1c3f73 55%, #1e4a85 100%);
  /* nav is fixed at 88px tall — clear it, then a small breathing gap */
  padding: clamp(104px, 10vw, 130px) 5% 56px;
  text-align: center;
  isolation: isolate;
}

/* -- decorative background layer -- */
.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ah-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}
.ah-orb-1 {
  top: -30%;
  right: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 30% 30%, rgba(79, 203, 170, 0.16), rgba(79, 203, 170, 0) 70%);
}
.ah-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 40%, transparent 85%);
  opacity: 0.55;
}

/* -- content -- */
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.about-hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  display: inline-block;
  animation: ahPulseDot 2.2s ease-in-out infinite;
}
@keyframes ahPulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 203, 170, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(79, 203, 170, 0); }
}
.about-hero h1 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.about-hero h1 em {
  font-style: italic;
  color: var(--brand-pale);
}
.about-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 26px;
  line-height: 1.6;
}
.about-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.about-hero-actions .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  padding: 12px 24px;
  font-size: 14px;
}
.about-hero-actions .btn-primary:hover {
  background: var(--brand-pale);
  transform: translateY(-2px);
}
.about-hero-actions .btn-ghost {
  color: #fff;
  font-size: 14px;
}
.about-hero-actions .btn-ghost:hover {
  color: var(--brand-pale);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-badge span { animation: none; }
}

@media (max-width: 600px) {
  .about-hero { padding: 104px 6% 40px; }
  .about-hero-actions { gap: 14px; }
  .ah-orb-1 { width: 220px; height: 220px; }
}

/* ---------- Company Overview ---------- */
.ov-section {
  background: var(--white);
}
.ov-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}
.ov-left .section-desc {
  margin-bottom: 18px;
  max-width: 100%;
}
.ov-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ov-fact-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.ov-fact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 39, 77, 0.1);
  border-color: var(--brand-pale);
  background: white;
}
.ov-fact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ov-fact-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ov-fact-num {
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.ov-fact-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Core Values ---------- */
.cv-section {
  background: var(--off-white);
}
.cv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
}
.cv-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 28px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}
.cv-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--brand-ultra);
  transition:
    transform 0.4s ease,
    background 0.4s ease;
  z-index: 0;
}
.cv-card:hover::after {
  transform: scale(1.5);
  background: var(--accent-ultra);
}
.cv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(20, 39, 77, 0.12);
  border-color: var(--brand-light);
}
.cv-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.cv-card:hover .cv-icon {
  /* background: var(--brand-light); */
  transform: rotate(-6deg) scale(1.05);
}
.cv-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cv-card h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.cv-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ---------- Why Choose NDRX ---------- */
.wc-section {
  background: var(--white);
}
.wc-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto 48px;
}
.wc-header .section-tag,
.wc-header .section-title {
  margin-bottom: 0;
}
.wc-header .section-title {
  margin-top: 12px;
}
.wc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 1360px;
  margin: 0 auto;
}
.wc-item {
  background: white;
  padding: 36px 30px;
  transition: background 0.25s ease;
}
.wc-item:hover {
  background: var(--brand-ultra);
}
.wc-num {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-pale);
  margin-bottom: 14px;
  transition: color 0.25s ease;
}
.wc-item:hover .wc-num {
  color: var(--brand-mid);
}
.wc-item h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 700;
}
.wc-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ---------- Quality Commitment ---------- */
.qc-section {
  background: var(--off-white);
}
.qc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}
.qc-left .section-desc {
  margin-bottom: 30px;
  max-width: 100%;
}
.qc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qc-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.qc-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--accent-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.qc-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qc-badge-card {
  background: linear-gradient(160deg, var(--brand-dark), #1e4a85);
  border-radius: 18px;
  padding: 44px 36px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(20, 39, 77, 0.25);
}
.qc-badge-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.qc-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.qc-badge-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qc-badge-title {
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.qc-badge-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.qc-mini-stats {
  display: flex;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}
.qc-mini-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qc-mini-stats strong {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.qc-mini-stats span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- CTA banner ---------- */
.about-cta {
  background: linear-gradient(135deg, var(--brand-dark), #1e4a85);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cta::before {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.about-cta-inner {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.about-cta h2 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  color: white;
  font-weight: 700;
  margin-bottom: 14px;
}
.about-cta p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.7;
}
.about-cta .btn-primary {
  background: white;
  color: var(--brand-dark);
}
.about-cta .btn-primary:hover {
  background: var(--brand-pale);
  transform: translateY(-2px);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ov-grid,
  .qc-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .qc-right {
    order: -1;
  }
  .cv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wc-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .ov-fact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ov-fact-card {
    padding: 20px 16px;
  }
  .cv-grid {
    grid-template-columns: 1fr;
  }
  .wc-grid {
    grid-template-columns: 1fr;
  }
  .qc-badge-card {
    padding: 32px 24px;
  }
  .qc-mini-stats {
    flex-wrap: wrap;
    gap: 18px;
  }
  .about-cta {
    padding: 60px 6%;
  }
}