/* NextGen Impact - Focus Areas section
   Colors taken from the logo: navy + green */
:root {
  --navy: #04406f;
  --navy-deep: #022b4d;
  --green: #12c25a;
  --green-dark: #0c8f43;
  --green-title: #14994a;
  --bg-top: #f4f9fc;
  --bg-bottom: #eef8f2;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Lato", system-ui, sans-serif;
  color: var(--navy-deep);
  background: #fff;
}

.focus {
  padding: 72px 24px;
}

.focus__inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* ---------- Heading ---------- */
.focus__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.focus__eyebrow {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-dark);
}

.focus__title {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--navy);
  text-wrap: balance;
}

.focus__title span { color: var(--green-title); }

/* ---------- Cards ---------- */
.focus__grid {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px 20px;
}

.card {
  width: 200px;
  border: 0px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  /* scroll reveal: script.js adds .is-visible */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.is-visible {
  opacity: 1;
  transform: none;
}

.card__ring {
  width: 170px;
  height: 170px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 45%, var(--green) 100%);
  box-shadow: 0 12px 26px rgba(4, 64, 111, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card__circle {
  width: 100%;
  height: 100%;
  border: 4px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.card__circle img {
  display: block;
  width: 100%;
  height: 100%;
}

.card:hover .card__ring {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 34px rgba(4, 64, 111, 0.26);
}

.card__label {
  margin: 0;
  max-width: 150px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  text-align: center;
  color: var(--navy);
}

/* ---------- Small screens ---------- */
@media (max-width: 520px) {
  .focus { padding: 56px 16px; }
  .focus__grid { gap: 36px 16px; }
  .card { width: 150px; }
  .card__ring { width: 150px; height: 150px; }
  .card__label { font-size: 17px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card__ring { transition: none; }
  .card { opacity: 1; transform: none; }
}


@media only screen and (max-width:1300px){
  .focus__grid {
    gap: 24px 10px !important;
  }
  .card__ring, .card {
    width: 140px;
    height: 140px;
  }
}


@media only screen and (max-width:768px){
.card__ring, .card {
  width: 100px;
  height: 100px;
}
.focus__grid {
  gap: 36px 10px !important;
}
}