/* About page only.
   1. "Why choose" and "Values" cards: same muted accent borders as the Services,
      Products, Projects and Careers pages, with an even layout.
   2. Policies: a clear heading hierarchy (title > section > subsection > text),
      consistent spacing, left-aligned text.
   The site sets html { font-size: 10px }, so sizes here are in px. */

html {
  --ab-text: #14213d;
  --ab-soft: #3a4560;
  --ab-line: #dfe6f1;
  --ab-card: #ffffff;
  --ab-navy: #042664;
}
html[data-theme="dark"] {
  --ab-text: #e8ecff;
  --ab-soft: #c4cdec;
  --ab-line: rgba(255, 255, 255, .14);
  --ab-card: rgba(20, 30, 64, .9);
  --ab-navy: #8fb0ff;
}

/* ================= cards: Why choose / Values ================= */
.why-choose-card:nth-child(6n+1), .value-card:nth-child(4n+1) { --acc: #2f5fb3; }
.why-choose-card:nth-child(6n+2), .value-card:nth-child(4n+2) { --acc: #148f8a; }
.why-choose-card:nth-child(6n+3), .value-card:nth-child(4n+3) { --acc: #6b5fc0; }
.why-choose-card:nth-child(6n+4), .value-card:nth-child(4n+4) { --acc: #b98a1f; }
.why-choose-card:nth-child(6n+5) { --acc: #2f8a5a; }
.why-choose-card:nth-child(6n+6) { --acc: #c0603a; }

.why-choose-cards,
.values-cards { gap: 22px; margin-top: 34px; align-items: stretch; }
.why-choose-cards { grid-template-columns: repeat(3, 1fr); }
.values-cards { grid-template-columns: repeat(4, 1fr); }

.why-choose-card,
.value-card {
  background: var(--ab-card);
  border: 2px solid var(--acc, #2f5fb3);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 30, 70, .10);
  text-align: left;
}
.why-choose-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  background: var(--ab-card);
  box-shadow: 0 14px 30px rgba(15, 30, 70, .16);
}

/* icon badge, tinted with the card's accent */
.why-choose-card i,
.value-card i {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  font-size: 22px;
  color: var(--acc, #2f5fb3);
  background: color-mix(in srgb, var(--acc, #2f5fb3) 13%, transparent);
}
html[data-theme="dark"] .why-choose-card i,
html[data-theme="dark"] .value-card i { color: var(--acc) !important; }

/* why-choose: icon beside the title, one steady height */
.why-choose-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  min-height: 104px;
}
.why-choose-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ab-text);
}

/* values: icon, name, then the sentence, all left-aligned */
.value-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}
.value-card i { margin-bottom: 16px; }
.value-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ab-text);
}
.values-cards .value-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
  color: var(--ab-soft);
}
html[data-theme="dark"] .why-choose-card h3,
html[data-theme="dark"] .value-card h3 { color: var(--ab-text) !important; }

/* logo tiles (certifications, partners): accent borders like the other cards.
   The certifications slider wraps every 7 tiles and the partners slider every 12,
   so the colours cycle by 7 and by 6 to keep the loop seamless. */
.certification-item:nth-child(7n+1) { --acc: #2f5fb3; }
.certification-item:nth-child(7n+2) { --acc: #148f8a; }
.certification-item:nth-child(7n+3) { --acc: #6b5fc0; }
.certification-item:nth-child(7n+4) { --acc: #b98a1f; }
.certification-item:nth-child(7n+5) { --acc: #2f8a5a; }
.certification-item:nth-child(7n+6) { --acc: #c0603a; }
.certification-item:nth-child(7n+7) { --acc: #b03f72; }
.partner-item:nth-child(6n+1) { --acc: #2f5fb3; }
.partner-item:nth-child(6n+2) { --acc: #148f8a; }
.partner-item:nth-child(6n+3) { --acc: #6b5fc0; }
.partner-item:nth-child(6n+4) { --acc: #b98a1f; }
.partner-item:nth-child(6n+5) { --acc: #2f8a5a; }
.partner-item:nth-child(6n+6) { --acc: #c0603a; }
.certification-item,
.partner-item {
  background: var(--ab-card);
  border: 2px solid var(--acc, #2f5fb3);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 30, 70, .10);
}
.certification-item:hover,
.partner-item:hover { background: var(--ab-card); box-shadow: 0 12px 26px rgba(15, 30, 70, .16); }

/* ================= policies ================= */
.policy-card {
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-left: 5px solid #0623b1;
  border-radius: 14px;
  padding: 40px 44px 12px;
  box-shadow: 0 8px 22px rgba(15, 30, 70, .08);
}
.policy-card h3.policy-title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.35;
  color: var(--ab-navy);
}

/* one numbered section = number | heading + content */
.policy-card .policy-sec {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--ab-line);
}
.policy-card .policy-sec:first-of-type { margin-top: 22px; }
.policy-card .policy-num {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-width: 56px;
  padding: 6px 0;
  text-align: center;
  font: 700 15px/1.2 'Orbitron', sans-serif;
  letter-spacing: .5px;
  color: #ffffff;
  background: #0623b1;
  border-radius: 8px;
}
.policy-card .policy-sec > h4 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ab-navy);
}
.policy-card .policy-body { grid-column: 2; grid-row: 2; }
.policy-card .policy-body > p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
  color: var(--ab-soft);
}
.policy-card .policy-body > p:last-child { margin-bottom: 0; }

/* subsections 4.1 - 4.4: their own bordered blocks, two across on wide screens */
.policy-card .policy-subs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.policy-card .policy-sub[data-acc="1"] { --acc: #2f5fb3; }
.policy-card .policy-sub[data-acc="2"] { --acc: #148f8a; }
.policy-card .policy-sub[data-acc="3"] { --acc: #6b5fc0; }
.policy-card .policy-sub[data-acc="4"] { --acc: #b98a1f; }
.policy-card .policy-sub {
  padding: 22px 24px 8px;
  background: var(--ab-card);
  border: 2px solid var(--acc, #2f5fb3);
  border-radius: 12px;
}
.policy-card .policy-sub h5 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ab-text);
  border-bottom: 1px solid var(--ab-line);
}
.policy-card .policy-subnum {
  flex: 0 0 auto;
  font: 700 14px/1 'Orbitron', sans-serif;
  color: var(--acc, #2f5fb3);
}

/* item list: bold label, then its sentence underneath */
.policy-card .policy-items { list-style: none; margin: 0; padding: 0; }
.policy-card .policy-items > li {
  position: relative;
  padding: 0 0 18px 18px;
}
.policy-card .policy-items > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc, #0623b1);
}
.policy-card .policy-label {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ab-text);
}
.policy-card .policy-text {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ab-soft);
}
/* section 5 has no colour block, so its list reads in the brand colour */
.policy-card .policy-sec > .policy-body > .policy-items > li { --acc: #0623b1; }

html[data-theme="dark"] .policy-card { border-left-color: #7f9dff; }
html[data-theme="dark"] .policy-card .policy-num { background: #2f5fb3; }
html[data-theme="dark"] .policy-card .policy-body > p,
html[data-theme="dark"] .policy-card .policy-text { color: var(--ab-soft) !important; }
html[data-theme="dark"] .policy-card .policy-label,
html[data-theme="dark"] .policy-card .policy-sub h5 { color: var(--ab-text) !important; }
html[data-theme="dark"] .policy-card .policy-sec > h4,
html[data-theme="dark"] .policy-card h3.policy-title { color: var(--ab-navy) !important; }

/* ================= tablets and phones ================= */
@media (max-width: 1000px) {
  .why-choose-cards { grid-template-columns: repeat(2, 1fr); }
  .values-cards { grid-template-columns: repeat(2, 1fr); }
  .policy-card .policy-subs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .policy-card { padding: 26px 20px 6px; }
  .policy-card h3.policy-title { font-size: 21px; }
  .policy-card .policy-sec { grid-template-columns: 1fr; padding: 24px 0; }
  .policy-card .policy-num,
  .policy-card .policy-sec > h4,
  .policy-card .policy-body { grid-column: 1; }
  .policy-card .policy-num { grid-row: auto; margin-bottom: 12px; }
  .policy-card .policy-sec > h4 { grid-row: auto; font-size: 20px; }
  .policy-card .policy-body { grid-row: auto; }
  .policy-card .policy-body > p { font-size: 15px; line-height: 1.8; }
  .policy-card .policy-sub { padding: 18px 18px 4px; }
}
@media (max-width: 560px) {
  .why-choose-cards,
  .values-cards { grid-template-columns: 1fr; gap: 16px; }
  .why-choose-card { min-height: 0; padding: 18px 20px; }
}
