/* ==========================================================================
   About Us (/about-us) — ported verbatim from MOA_Final_27112026/about-us.css
   (verified side by side in the browser). Template: static_templates/about.html.
   `.moa-container` = the design's `.container`.
   ========================================================================== */

.about-page { color: #20242a; background: #fff; }
.about-page * { box-sizing: border-box; }
.about-hero { padding: 90px 20px; background: linear-gradient(120deg, #141c28, #344254); color: #fff; text-align: center; }
.about-hero h1 { font-size: clamp(38px, 5vw, 64px); margin: 12px 0; }
.about-hero p { font-size: 18px; color: #e7e9ec; }
.about-eyebrow, .about-kicker { font-size: 12px; letter-spacing: 2px; font-weight: 800; color: #ee343b; }
.about-section { padding-top: 75px; padding-bottom: 75px; }
.about-section h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; margin: 12px 0 22px; }
.about-section p { font-size: 16px; line-height: 1.8; margin: 0 0 17px; color: #505967; }
.about-intro, .about-two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 55px; align-items: center; }
.about-visual { border-radius: 22px; overflow: hidden; background: #eef1f3; min-height: 360px; }
.about-visual img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.about-soft { background: #f6f7f9; }
.about-checklist { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.about-checklist li {
  background: #fff; padding: 14px 18px 14px 44px; border-radius: 10px; position: relative;
  box-shadow: 0 4px 18px #1b243008; font-size: 15px;
}
.about-checklist li::before { content: "\2713"; position: absolute; left: 17px; color: #ee343b; font-weight: 900; }
.about-heading { text-align: center; max-width: 790px; margin: 0 auto 36px; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-competency { border: 1px solid #e8eaed; border-radius: 18px; padding: 28px; transition: transform .25s, box-shadow .25s; background: #fff; }
.about-competency:hover { transform: translateY(-5px); box-shadow: 0 16px 30px #15253c14; }
.about-competency h3 { font-size: 20px; line-height: 1.35; margin: 17px 0 12px; }
.about-competency p { font-size: 15px; margin: 0; }
.about-master { max-width: 960px; }
.about-partners { text-align: center; }

/* About page image and logo enhancements */
.about-competency-icon {
  display: block; box-sizing: content-box; width: 44px; height: 44px; padding: 9px; border-radius: 12px;
  background: #fff2f3; color: #ee343b;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.about-learning-image { overflow: hidden; border-radius: 20px; min-height: 300px; }
.about-learning-image img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.about-master { max-width: 1200px; }
.about-master-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-master-image { border-radius: 20px; overflow: hidden; }
.about-master-image img { display: block; width: 100%; height: auto; object-fit: cover; }
.about-logo-marquee {
  overflow: hidden; width: 100%; margin-top: 34px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.about-logo-track { display: flex; width: max-content; animation: about-logo-scroll 32s linear infinite; }
.about-logo-set { display: flex; gap: 22px; padding-right: 22px; flex-shrink: 0; }
.about-logo-tile {
  width: 170px; height: 128px; display: flex; align-items: center; justify-content: center; padding: 15px;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 14px; flex-shrink: 0;
}
.about-logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.about-logo-marquee:hover .about-logo-track, .about-logo-marquee:focus-within .about-logo-track { animation-play-state: paused; }
@keyframes about-logo-scroll { to { transform: translateX(-50%); } }

/* Thin red outline on hover for About Us cards and visual blocks */
.about-page :is(.about-competency, .about-checklist li, .about-visual, .about-learning-image, .about-master-image, .about-logo-tile) {
  outline: 1px solid transparent; outline-offset: -1px; transition: outline-color .22s ease, transform .25s ease, box-shadow .25s ease;
}
.about-page :is(.about-competency, .about-checklist li, .about-visual, .about-learning-image, .about-master-image, .about-logo-tile):hover { outline-color: #ee343b; }

@media (max-width: 800px) {
  .about-intro, .about-two-col { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { padding-top: 52px; padding-bottom: 52px; }
  .about-master-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-logo-tile { width: 135px; height: 110px; }
}
@media (max-width: 560px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-hero { padding: 65px 15px; }
  .about-visual, .about-visual img { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-logo-track { animation: none; }
  .about-logo-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .about-logo-set[aria-hidden="true"] { display: none; }
}
