/* ==========================================================================
   UpgradePakistan — Government Portal Style (inspired by punjab.gov.pk)
   Brand: Emerald Green · White · Deep Navy · Soft Gold
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --green-900: #0b3d2e;
  --green-800: #0f5c3a;
  --green-700: #147a4a;
  --green-600: #1a9d5c;
  --green-500: #22b869;
  --green-100: #d4f0e0;
  --green-50: #edf8f1;

  --navy-900: #005e84;
  --navy-800: #122240;

  --gold-500: #c9a227;
  --gold-400: #dbb84a;
  --gold-300: #e8cc6e;

  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #dde3ea;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;

  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;

  --container: 1240px;
  --header-h: 150px;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
  --shadow-hover: 0 12px 40px rgba(10, 22, 40, 0.12);
  --shadow-btn: 0 8px 24px rgba(20, 122, 74, 0.28);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-500);
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section--white {
  background: var(--white);
}

.section--alt {
  background: var(--gray-50);
}

/* ---------- Buttons (polished) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--sm {
  padding: 0.6rem 1.35rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(20, 122, 74, 0.35);
}

.btn--outline {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--green-600);
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.06);
}

.btn--outline:hover {
  background: var(--green-50);
  color: var(--green-800);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--green {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.btn--green:hover {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: var(--white);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* ---------- Top Utility Bar ---------- */
.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--gold-500);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.topbar__item a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar__item a:hover {
  color: var(--gold-300);
}

.topbar__badge {
  font-weight: 500;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.header-logos__item {
  display: block;
  line-height: 0;
  transition: opacity var(--transition);
}

.header-logos__item:hover {
  opacity: 0.9;
}

.header-logos__img {
  display: block;
  width: auto;
  object-fit: contain;
}

.header-logos__img--up {
  height: clamp(72px, 8vw, 88px);
  max-width: min(320px, 55vw);
}

.header-logos__img--lu {
  height: clamp(48px, 5vw, 56px);
}

.header-logos__divider {
  width: 1px;
  height: 52px;
  background: var(--gray-200);
  margin-inline: 1.25rem;
  flex-shrink: 0;
}

/* ---------- Main Navigation ---------- */
.main-nav {
  background: linear-gradient(90deg, var(--green-900), var(--green-800));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.main-nav__list {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.main-nav__list::-webkit-scrollbar {
  display: none;
}

.main-nav__link {
  display: block;
  padding: 0.8rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.main-nav__link:hover,
.main-nav__link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--gold-400);
}

/* ---------- Hero (banner design) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f8fbf9 0%, #eef5f1 55%, #e8f2ec 100%);
  overflow: hidden;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Pakistan map watermark */
.hero__map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -48%);
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  opacity: 0.14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath fill='%23147a4a' d='M100 10c-20 25-45 40-55 70-8 25-5 55 15 75 12 12 28 20 40 35 15-20 35-35 45-60 12-30 5-65-15-90-8-10-18-18-30-30z'/%3E%3Ccircle cx='118' cy='88' r='14' fill='none' stroke='%23ffffff' stroke-width='3'/%3E%3Ccircle cx='124' cy='84' r='5' fill='%23ffffff'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__dots {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 80px;
  height: 80px;
  opacity: 0.25;
  background-image: radial-gradient(circle, var(--gray-400) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.hero__swoosh {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero__swoosh--gold {
  top: -2rem;
  right: -4rem;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, transparent 40%, rgba(219, 184, 74, 0.45) 100%);
  transform: rotate(-15deg);
}

.hero__swoosh--green {
  top: 0;
  right: 2rem;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(26, 157, 92, 0.35), transparent 60%);
}

.hero__landmarks {
  position: absolute;
  bottom: 7rem;
  left: 0;
  width: 45%;
  height: 120px;
  opacity: 0.07;
  background: linear-gradient(0deg, var(--gray-600), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80'%3E%3Cpath fill='%2364748b' d='M30 80V40l15-25 15 25v40M90 80V30l8-20 8 20v50M150 80V20l12-15 12 15v60M210 80V35l20-30 20 30v45M290 80V25l10-18 10 18v55M350 80V45l18-28 18 28v35'/%3E%3C/svg%3E") left bottom / contain no-repeat;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-bottom: 2rem;
}

.hero__content {
  animation: heroFadeIn 0.8s ease-out both;
}

.hero__visual {
  position: relative;
  animation: heroFadeIn 0.8s ease-out 0.15s both;
}

.hero__brand {
  margin-bottom: 1.25rem;
}

.hero__brand-logo {
  height: clamp(80px, 12vw, 110px);
  width: auto;
  max-width: 340px;
  margin-bottom: 0.75rem;
  display: block;
}

.hero__brand-tag {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

.hero__brand-tag strong {
  color: var(--green-700);
  font-weight: 700;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.hero__highlight {
  color: var(--green-600);
  position: relative;
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero photo */
.hero__photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.85);
}

.hero__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(11, 61, 46, 0.15) 100%);
  pointer-events: none;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: -0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 61, 46, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 240px;
}

.hero__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(219, 184, 74, 0.2);
  border-radius: 10px;
  color: var(--gold-300);
  flex-shrink: 0;
}

.hero__badge-icon svg {
  width: 22px;
  height: 22px;
}

.hero__badge-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.hero__badge-text strong {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Green wave transition */
.hero__wave {
  position: relative;
  height: 70px;
  background: var(--green-900);
  margin-top: -1px;
}

.hero__wave::before {
  content: "";
  position: absolute;
  top: -68px;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--green-900);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* Features bar */
.hero__features {
  background: var(--green-900);
  padding-block: 0;
  border-bottom: 3px solid var(--gold-500);
}

.hero__features-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.35rem 0.75rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition);
}

.hero__feature:last-child {
  border-right: none;
}

.hero__feature:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-300);
}

.hero__feature-icon svg {
  width: 22px;
  height: 22px;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Section Headers ---------- */
.section-head {
  margin-bottom: 2.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--green-600);
}

.section-head--center {
  text-align: center;
  padding-left: 0;
  border-left: none;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-head--center .section-head__label::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold-500);
  margin: 0.5rem auto 0;
}

.section-head__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 0.5rem;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-head__desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-head__desc a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Partner Showcase ---------- */
.partner-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.partner-showcase__brand {
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.partner-showcase__logo-wrap {

  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.partner-showcase__logo {
  height: 48px;
  width: auto;
}

.partner-showcase__tagline {
  font-size: 1rem;
  color: var(--gold-300);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.partner-showcase__facts {
  flex: 1;
  margin-bottom: 1.5rem;
}

.partner-showcase__facts li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.partner-showcase__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--green-100);
  transform: translateY(-2px);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border-radius: var(--radius);
  color: var(--green-700);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Highlights strip */
.highlights-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.highlight-item {
  background: var(--green-50);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background var(--transition);
}

.highlight-item:hover {
  background: var(--green-100);
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--green-800);
  margin-bottom: 0.2rem;
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ---------- Service Cards (Programs) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
}

.service-card__link:hover {
  color: var(--gold-500);
}

/* ---------- K-12 Strip ---------- */
.k12-strip {
  background: var(--green-800);
  color: var(--white);
  padding-block: 2.5rem;
}

.k12-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.k12-strip__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.k12-strip__text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  line-height: 1.65;
}

.k12-strip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.k12-strip__tags li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  white-space: nowrap;
}

/* ---------- About Layout ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-layout__media {
  position: relative;
}

.about-layout__image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.about-layout__badge {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  padding: 0.25rem 0;
  background: transparent;
  box-shadow: none;
}

.about-layout__badge img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(10, 22, 40, 0.2));
}

.about-layout__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-layout__text {
  color: var(--gray-600);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
  color: var(--gray-800);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

/* ---------- Why Grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green-600);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-left-color var(--transition);
}

.why-box:hover {
  box-shadow: var(--shadow-hover);
  border-left-color: var(--gold-500);
}

.why-box__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 48px;
  height: 48px;
  padding: 0.5rem 0.75rem;
  background: var(--navy-900);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.why-box__icon svg {
  width: 36px;
  height: 36px;
  color: var(--green-500);
}

.why-box__icon img {
  height: 26px;
  width: auto;
  display: block;
}

.why-box__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.why-box__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  padding-block: 3rem;
  border-block: 3px solid var(--gold-500);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-item__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--gold-300);
  font-weight: 500;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-layout__text {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-details__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius);
  color: var(--green-700);
  flex-shrink: 0;
}

.contact-details__icon svg {
  width: 20px;
  height: 20px;
}

.contact-details__item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: 0.15rem;
}

.contact-details__item a {
  font-weight: 500;
  color: var(--navy-900);
}

.contact-details__item a:hover {
  color: var(--green-700);
}

/* Contact form */
.contact-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--green-600);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(26, 157, 92, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.site-footer__logo {
  height: 72px;
  width: auto;
  max-width: 280px;
  margin-bottom: 1rem;
  display: block;
}

.site-footer__tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.site-footer__partner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.site-footer__partner span {
  color: var(--gray-400);
}

.site-footer__partner a {
  display: flex;
  padding: 0.35rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.site-footer__partner a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer__partner img {
  height: 24px;
  width: auto;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.site-footer__heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__col li {
  margin-bottom: 0.55rem;
}

.site-footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__col a:hover {
  color: var(--gold-300);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.site-footer__bottom a {
  color: var(--gold-300);
  font-weight: 500;
}

.site-footer__bottom a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --header-h: 110px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .hero__badge {
    left: 1rem;
    bottom: 1rem;
  }

  .hero__features-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__feature:nth-child(3) {
    border-right: none;
  }

  .hero__feature:nth-child(4),
  .hero__feature:nth-child(5) {
    grid-column: span 1;
  }

  .partner-showcase {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .header-logos {
    flex: 1;
    min-width: 0;
  }

  .header-logos__img--up {
    height: 64px;
    max-width: 240px;
  }

  .header-logos__img--lu {
    height: 42px;
  }

  .header-logos__divider {
    height: 44px;
    margin-inline: 0.85rem;
  }

  .site-header__inner > .btn {
    width: 100%;
  }

  .hero__features-list,
  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero__feature {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 1rem 1.25rem;
  }

  .hero__feature:last-child {
    border-bottom: none;
  }

  .k12-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-logos__img--up {
    height: 56px;
    max-width: 200px;
  }

  .header-logos__img--lu {
    height: 36px;
  }

  .highlights-strip,
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
