/* about.css — styling unique to about-us.html. Mobile-first; desktop upgrades at the bottom.
   Matches the finalised home page: same dark-sky hero, eyebrow + heading rhythm, photo-behind-navy band,
   navy cards and closing CTA. Photos: only two (our story, mission), both blended into the page — no frames.
   NOTE: .pill and .cta below are identical to home.css. They are now used on 2 pages, so move them
   into components.css and delete them from both home.css and this file. */

/* ================= HERO (home look, photo-free) ================= */
.about-hero { position: relative; overflow: hidden; color: var(--color-text-inverse);
  padding: var(--sp-7) 0 var(--sp-7); border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px) 0 0 / 22px 22px, var(--grad-hero); }
.about-hero__globe { position: absolute; width: 560px; height: 560px; right: -250px; top: -140px; color: rgba(255,255,255,.17); pointer-events: none; }
.about-hero__arc { display: none; position: absolute; right: 0; bottom: 8%; width: 58%; max-width: 980px; height: auto; pointer-events: none; opacity: .7; }
.about-hero__arc-path { fill: none; stroke: rgba(255,255,255,.38); stroke-width: 1.6; stroke-dasharray: 3 9; stroke-linecap: round; }
.about-hero__plane { fill: #fff; color: #fff; }
@media (prefers-reduced-motion: reduce) { .about-hero__plane { display: none; } }
.about-hero__inner { position: relative; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); font-size: var(--fs-xs); font-weight: 700; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse-dot 2s ease-in-out infinite; }
.about-hero h1 { margin-top: var(--sp-4); max-width: 18ch; color: var(--color-text-inverse); font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.about-hero h1 em { font-style: normal; color: var(--color-blue-pale); }
.about-hero__lead { margin-top: var(--sp-3); max-width: 52ch; color: var(--color-text-inverse-muted); font-size: var(--fs-lead); line-height: 1.7; }
.about-hero .btn-row { margin-top: var(--sp-5); }
.about-hero .btn-row .btn { flex: 1 1 100%; }

/* ================= OUR STORY (photo fades into the page) ================= */
.about-story { position: relative; display: grid; background: var(--color-bg); }
.about-story__media .img-slot { aspect-ratio: 16 / 10; border-radius: 0; background: linear-gradient(135deg, var(--color-wash), var(--color-wash-deep));
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.about-story__media .img-slot img { object-position: 30% 30%; }
.about-story__media .img-slot.is-empty::after { align-items: flex-start; justify-content: flex-end; border: 0; padding: var(--sp-3); color: var(--color-text-muted); }
.about-story__text { padding: var(--sp-4) var(--gutter) var(--sp-7); }
.about-story__text h2 { margin-bottom: var(--sp-3); }
.about-story__text h2 em { font-style: normal; color: var(--color-blue-light); }
.about-story__text p { color: var(--color-text-muted); line-height: 1.8; }
.about-story__text p + p { margin-top: var(--sp-3); }

/* ================= WHAT MAKES US DIFFERENT =================
   Phone: one list card, four rows. Desktop: four separate cards in a row. */
.about-features { overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.about-feature { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); }
.about-feature + .about-feature { border-top: 1px solid var(--color-border); }
.about-feature .icon-badge { width: 42px; height: 42px; }
.about-feature h3 { font-size: 1rem; }
.about-feature p { margin-top: .2rem; font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.6; }

/* ================= MISSION (photo behind navy — same pattern as the home trust banner) ================= */
.about-mission { position: relative; isolation: isolate; overflow: hidden; color: var(--color-text-inverse); background: var(--grad-night); }
.about-mission__bg { position: relative; }
.about-mission__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, var(--color-night), transparent); pointer-events: none; }
.about-mission__bg .img-slot { aspect-ratio: 4 / 3; border-radius: 0; background: var(--grad-night); }
.about-mission__bg .img-slot img { object-position: 60% 50%; }
.about-mission__bg .img-slot.is-empty::after { align-items: center; justify-content: center; border: 0; color: rgba(255,255,255,.55); }
.about-mission__shade { display: none; }
.about-mission > .container { padding-block: var(--sp-5) var(--sp-7); }
.about-mission h2 { color: var(--color-text-inverse); }
.about-mission p { margin-top: var(--sp-3); color: var(--color-text-inverse-muted); line-height: 1.8; }

/* ================= OUR JOURNEY (home journey look: one colour, dashed route, icon nodes) ================= */
.about-timeline { position: relative; display: grid; gap: var(--sp-5); max-width: 720px; margin: var(--sp-5) auto 0; }
.about-timeline::before { content: ""; position: absolute; left: 22px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: repeating-linear-gradient(to bottom, var(--color-border) 0 6px, transparent 6px 12px); }
.about-timeline__step { position: relative; display: flex; gap: var(--sp-4); align-items: flex-start; }
.about-timeline__node { position: relative; z-index: 1; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface); color: var(--color-primary); border: 2px solid var(--color-primary); }
.about-timeline__step.is-now .about-timeline__node { background: var(--color-primary); color: #fff; box-shadow: 0 6px 16px rgba(30,58,138,.35); }
.about-timeline__text small { display: block; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.about-timeline__text h3 { font-size: var(--fs-base); }
.about-timeline__text p { margin-top: .2rem; font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.6; }

/* ================= OUR STANDARDS (one navy card, compact list) ================= */
.about-vet { position: relative; overflow: hidden; display: grid; gap: var(--sp-4); padding: var(--sp-5) var(--sp-4); border-radius: var(--radius-xl); color: var(--color-text-inverse); box-shadow: var(--shadow-lg);
  background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.6px) 0 0 / 22px 22px, var(--grad-night); }
.about-vet__globe { position: absolute; right: -130px; bottom: -150px; width: 380px; height: 380px; color: rgba(255,255,255,.08); pointer-events: none; }
.about-vet > *:not(.about-vet__globe) { position: relative; }
.about-vet__intro h2 { color: var(--color-text-inverse); font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; }
.about-vet__intro p { margin-top: var(--sp-2); color: var(--color-text-inverse-muted); font-size: var(--fs-sm); line-height: 1.65; max-width: 44ch; }
.about-vet__list { display: grid; gap: var(--sp-2); }
.about-vet__item { display: flex; align-items: center; gap: var(--sp-3); padding: .65rem var(--sp-3); border-radius: var(--radius-md); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; color: var(--color-text-inverse); }
.about-vet__num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface); color: var(--color-primary); font-size: var(--fs-xs); font-weight: 800; }

/* ================= STUDENT STORIES (six equal cards; first one highlighted) ================= */
.about-reviews { align-items: stretch; padding-bottom: var(--sp-5); }
.about-reviews > * { flex-basis: 84%; }
.about-review { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-5); margin: 0; }
.about-review::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-hero); }
.about-review__mark { width: 32px; height: 32px; color: var(--color-wash-deep); }
.about-review blockquote { flex: 1; font-size: var(--fs-sm); line-height: 1.75; color: var(--color-text); }
.about-review__who { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--color-border); }
.about-review__avatar { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-hero); color: #fff; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; }
.about-review__name { font-weight: 800; font-size: var(--fs-sm); color: var(--color-primary); }
.about-review__meta { margin-top: .1rem; font-size: var(--fs-xs); line-height: 1.35; color: var(--color-text-muted); }
.about-review--feature { border: 0; color: var(--color-text-inverse); box-shadow: var(--shadow-lg);
  background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px) 0 0 / 20px 20px, var(--grad-hero); }
.about-review--feature::before { display: none; }
.about-review--feature .about-review__mark { color: rgba(255,255,255,.35); }
.about-review--feature blockquote { color: #fff; font-weight: 600; }
.about-review--feature .about-review__who { border-top-color: rgba(255,255,255,.25); }
.about-review--feature .about-review__avatar { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); }
.about-review--feature .about-review__name { color: #fff; }
.about-review--feature .about-review__meta { color: var(--color-text-inverse-muted); }

/* ================= CLOSING CTA (identical to home) ================= */
.cta { position: relative; overflow: hidden; display: grid; gap: var(--sp-4); padding: var(--sp-6) var(--sp-5); border-radius: var(--radius-xl); color: var(--color-text-inverse); background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px) 0 0 / 22px 22px, var(--grad-hero); }
.cta__globe { position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; color: rgba(255,255,255,.14); pointer-events: none; }
.cta > *:not(.cta__globe) { position: relative; }
.cta h2 { color: var(--color-text-inverse); }
.cta p { color: var(--color-text-inverse-muted); font-size: var(--fs-sm); margin-top: var(--sp-1); }
.cta .btn-row .btn { flex: 1 1 100%; }

/* ================= TABLET / DESKTOP ================= */
@media (min-width: 768px) {
  .about-hero .btn-row .btn { flex: 0 0 auto; }
  .about-reviews > * { flex-basis: auto; }
  .about-vet { padding: var(--sp-6); }
  .cta { padding: var(--sp-6); }
}
@media (min-width: 1024px) {
  .section-head { margin-bottom: var(--sp-6); }

  .about-hero { padding: var(--sp-8) 0 calc(var(--sp-8) + var(--sp-3)); }
  .about-hero__arc { display: block; }

  /* Story: photo hugs the left screen edge and dissolves into the text column */
  .about-story { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .about-story__media { position: relative; margin-right: calc(-1 * var(--sp-8)); }
  .about-story__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 55%, transparent 100%); }
  .about-story__text { align-self: center; padding: var(--sp-8) max(var(--gutter), calc((100vw - var(--content-width)) / 2 + var(--gutter))) var(--sp-8) var(--sp-4); }

  /* Differences: four separate cards in a row */
  .about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .about-feature { flex-direction: column; gap: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-md); transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
  .about-feature + .about-feature { border-top: 1px solid var(--color-border); }
  .about-feature .icon-badge { width: 48px; height: 48px; }
  .about-feature h3 { font-size: 1.05rem; }
  .about-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

  /* Mission: photo fills the band, navy shade on the text side */
  .about-mission { padding: var(--sp-8) 0; }
  .about-mission__bg { position: absolute; inset: 0; z-index: -2; }
  .about-mission__bg::after { display: none; }
  .about-mission__bg .img-slot { height: 100%; aspect-ratio: auto; background: none; }
  .about-mission__bg .img-slot img { object-position: center; }
  .about-mission__bg .img-slot.is-empty::after { align-items: flex-start; justify-content: flex-end; }
  .about-mission__shade { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,29,78,.94) 0%, rgba(12,29,78,.78) 50%, rgba(12,29,78,.3) 100%); }
  .about-mission > .container { padding-block: 0; }
  .about-mission__inner { max-width: 560px; }
  .about-mission p { font-size: 1.05rem; }

  /* Journey: four columns on one dashed route */
  .about-timeline { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); max-width: none; }
  .about-timeline::before { left: 12.5%; right: 12.5%; top: 22px; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(to right, var(--color-border) 0 6px, transparent 6px 12px); }
  .about-timeline__step { flex-direction: column; align-items: center; text-align: center; padding: 0 var(--sp-2); }

  /* Standards: heading left, list right */
  .about-vet { grid-template-columns: 1fr 1.1fr; align-items: center; gap: var(--sp-7); padding: var(--sp-7); }
  .about-vet__item { padding: .8rem var(--sp-4); }

  /* Stories: 3 x 2 grid */
  .about-reviews { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  .about-review { padding: var(--sp-6) var(--sp-5) var(--sp-5); }

  .cta { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .cta .btn-row { justify-content: flex-end; }
  .cta .btn-row .btn { flex: 0 0 auto; }
}

/* ================= OUR COMPANY (Mathura One Global) =================
   A navy card: slow orbiting rings around the logo cap (the group around Mathura Overseas),
   then the short company note and three facts. Only transform animates, so it stays smooth on phones. */
.about-group__card { position: relative; overflow: hidden; display: grid; gap: var(--sp-5); justify-items: center; text-align: center;
  padding: var(--sp-6) var(--sp-5); border-radius: var(--radius-xl); color: var(--color-text-inverse);
  background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.6px) 0 0 / 20px 20px, var(--grad-night); box-shadow: var(--shadow-lg); }
.about-group__card::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58,99,209,.45), transparent); pointer-events: none; }

.about-group__art { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.about-group__orbits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.about-group__ring { transform-box: view-box; transform-origin: 50% 50%; }
.about-group__ring circle:first-child { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.2; stroke-dasharray: 3 6; }
.about-group__ring--outer { animation: group-spin 28s linear infinite; }
.about-group__ring--inner { animation: group-spin 18s linear infinite reverse; }
.about-group__ring--inner circle:first-child { stroke: rgba(255,255,255,.32); stroke-dasharray: none; }
.about-group__dot { fill: var(--color-blue-pale); }
.about-group__dot--soft { fill: rgba(255,255,255,.55); }
.about-group__core { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; display: grid; place-items: center;
  border-radius: 22px; color: var(--color-primary); background: var(--color-surface); box-shadow: 0 10px 30px rgba(7,18,52,.45); }
.about-group__core svg { width: 46px; height: 46px; fill: currentColor; }
@keyframes group-spin { to { transform: rotate(360deg); } }

.about-group__text { position: relative; z-index: 1; display: grid; justify-items: center; }
.about-group__text h2 { color: var(--color-text-inverse); text-wrap: balance; }
.about-group__text p { margin-top: var(--sp-3); max-width: 52ch; color: var(--color-text-inverse-muted); }
.about-group__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-5); padding: 0; list-style: none; }
.about-group__facts li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .45rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); font-size: var(--fs-sm); font-weight: 700; }
.about-group__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.14); }
.about-group__ico .icon { width: 15px; height: 15px; }

@media (min-width: 768px) {
  .about-group__card { grid-template-columns: 220px 1fr; justify-items: start; text-align: left; gap: var(--sp-6); padding: var(--sp-7) var(--sp-7); }
  .about-group__art { width: 220px; height: 220px; }
  .about-group__core { width: 96px; height: 96px; border-radius: 26px; }
  .about-group__core svg { width: 58px; height: 58px; }
  .about-group__text { justify-items: start; }
  .about-group__facts { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .about-group__ring--outer, .about-group__ring--inner { animation: none; } }

/* ================= QUICK FACTS (#facts) — question-and-answer cards about the company =================
   Phones: one column · tablets: two · computers: three, with the address and countries cards spanning two. */
.about-facts { display: grid; gap: var(--sp-3); margin: 0; }
.about-fact { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico q" "ico a"; column-gap: var(--sp-3); row-gap: .35rem; align-content: start;
  padding: var(--sp-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease); }
.about-fact .icon-badge { grid-area: ico; }
.about-fact dt { grid-area: q; align-self: center; color: var(--color-status-ink); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.about-fact dd { grid-area: a; margin: 0; color: var(--color-primary); font-size: var(--fs-base); font-weight: 700; line-height: 1.5; }
.about-fact dd a { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-blue-pale); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.about-fact dd a:hover { text-decoration-color: var(--color-primary); }
.about-fact--wide { background: var(--color-wash); border-color: transparent; }
@media (hover: hover) { .about-fact:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--color-blue-pale); } }
@media (min-width: 768px) {
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
  .about-fact--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .about-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-fact--wide { grid-column: span 2; }
  .about-fact { padding: var(--sp-5); }
}
@media (prefers-reduced-motion: reduce) { .about-fact { transition: none; } }
