@font-face {
  font-family: "NT Panorama Naskh";
  src: url("../fonts/panorama-naskh/NTPanoramaNaskh-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  size-adjust: 112%;
  /* Panorama's Western digit glyphs are empty. Keep it for Arabic text and
     let the Tahoma/Arial fallback render every number clearly. */
  unicode-range:
    U+0600-065F,
    U+066A-06EF,
    U+06FA-06FF,
    U+0750-077F,
    U+0870-089F,
    U+08A0-08FF,
    U+FB50-FDFF,
    U+FE70-FEFF,
    U+1EE00-1EEFF;
}

:root {
  --ink: #101010;
  --muted: #5b605d;
  --green: #00b95a;
  --green-dark: #009d4c;
  --red: #ff1932;
  --red-dark: #e3152b;
  --mint: #eaf7f0;
  --cream: #f7f7f3;
  --line: #d8dad8;
  --white: #ffffff;
}

/* Bilingual language and Arabic RTL support */
html[dir="rtl"] body {
  direction: rtl;
  font-family: "NT Panorama Naskh", Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .back-link__copy small,
html[dir="rtl"] .program-prose__count {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .inner-hero h1,
html[dir="rtl"] .m-hero h1,
html[dir="rtl"] .proposal-hero h1 {
  line-height: 1.16;
}

html[dir="rtl"] .nav-wrap,
html[dir="rtl"] .desktop-nav,
html[dir="rtl"] .utility-inner,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .contact-actions,
html[dir="rtl"] .form-actions,
html[dir="rtl"] .moallimi-actions,
html[dir="rtl"] .m-store-actions {
  flex-direction: row;
}

html[dir="rtl"] .nav-dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .inner-hero-grid,
html[dir="rtl"] .story-grid,
html[dir="rtl"] .corporate-grid,
html[dir="rtl"] .moallimi-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .contact-layout,
html[dir="rtl"] .proposal-hero-grid,
html[dir="rtl"] .proposal-form-layout,
html[dir="rtl"] .program-detail-grid,
html[dir="rtl"] .faq-grid,
html[dir="rtl"] .content-grid,
html[dir="rtl"] .m-hero-grid,
html[dir="rtl"] .m-requirements,
html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .button span,
html[dir="rtl"] .back-link__icon {
  display: inline-block;
  transform: scaleX(-1);
}

html[dir="rtl"] .button span {
  margin-left: 0;
  margin-right: 5px;
}

html[dir="rtl"] .check-list,
html[dir="rtl"] .prose,
html[dir="rtl"] .faq-list,
html[dir="rtl"] .contact-details,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .program-prose__item,
html[dir="rtl"] .m-path-card,
html[dir="rtl"] .m-feature-grid article,
html[dir="rtl"] .m-steps article {
  text-align: right;
}

html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] .contact-details a,
html[dir="rtl"] .utility a {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .program-prose__item > span,
html[dir="rtl"] .program-number,
html[dir="rtl"] .m-card-number,
html[dir="rtl"] .m-steps article > span {
  direction: ltr;
}

html[dir="rtl"] .floating-whatsapp {
  left: 22px;
  right: auto;
}

html[dir="rtl"] .mobile-menu nav {
  text-align: right;
}

.program-page-hero-no-image .inner-hero-grid,
.inner-hero-grid:has(> div:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.program-page-hero-no-image .inner-hero-grid > div:first-child {
  max-width: 900px;
}

.m-hero-grid-no-image {
  grid-template-columns: minmax(0, 900px);
}

.inner-hero-no-image .inner-hero-grid,
.corporate-grid-no-image,
.moallimi-grid-no-image {
  grid-template-columns: minmax(0, 900px);
}

.testimonial-avatar {
  border-radius: 50%;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

@media (max-width: 900px) {
  html[dir="rtl"] .nav-wrap {
    flex-direction: row;
  }

}

@media (max-width: 800px) {
  .contact-map-section {
    padding: 20px 0 72px;
  }

  .contact-map-card {
    border-radius: 22px;
    grid-template-columns: 1fr;
  }

  .contact-map-copy {
    padding: 38px 28px;
  }

  .contact-map-frame {
    min-height: 360px;
  }
}

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 16px;
  padding: 12px 18px;
  position: fixed;
  top: -80px;
  transition: top 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.inner-hero {
  overflow: hidden;
  padding: 72px 0 90px;
}

.inner-hero-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 0.9fr 1.1fr;
}

.inner-hero h1 {
  font-size: clamp(54px, 6vw, 90px);
  letter-spacing: -0.065em;
  line-height: 0.95;
  margin: 0;
}

.inner-hero h1 span {
  color: var(--red);
}

.inner-hero .hero-lead {
  max-width: 660px;
}

.inner-hero-image {
  border-radius: 28px;
  height: 570px;
  overflow: hidden;
  position: relative;
}

.inner-hero-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.program-logo-lockup {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.program-logo-lockup span {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  height: auto;
  justify-content: center;
  padding: 0;
  width: auto;
}

.program-logo-lockup img {
  height: auto;
  max-height: 76px;
  max-width: 230px;
  object-fit: contain;
  width: auto;
}

.page-brand-logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.program-logo-fallback {
  background: var(--ink);
  border-radius: 18px;
  color: var(--white);
  display: grid;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .08em;
  min-height: 68px;
  min-width: 92px;
  padding: 12px 18px;
  place-items: center;
}

.program-logo-pending,
.program-card-pending {
  align-items: center;
  background: #f5f3ed;
  border: 1px dashed #b8b4aa;
  color: #6c6962;
  display: flex;
  font-size: .72rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.program-logo-pending {
  border-radius: 18px;
  min-height: 88px;
  min-width: 184px;
  padding: 16px 22px;
}

.program-page-hero {
  border-top: 6px solid var(--program-accent, var(--green));
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--program-accent, var(--green)) 7%, #fff) 0%, #fff 44%, #f7faf8 100%);
  padding: 76px 0 92px;
  position: relative;
}

.program-page-hero::after {
  border: 58px solid color-mix(in srgb, var(--program-accent, var(--green)) 14%, transparent);
  border-radius: 50%;
  content: "";
  height: 360px;
  position: absolute;
  right: -190px;
  top: -190px;
  width: 360px;
}

.program-page-hero .inner-hero-grid {
  position: relative;
  z-index: 1;
}

.program-page-hero .program-logo-lockup {
  margin-top: 42px;
}

.program-template .program-page-hero .back-link {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
  transition: color 180ms ease, transform 180ms ease;
}

.program-template .program-page-hero .back-link:hover {
  color: var(--green-dark);
  transform: translateX(-3px);
}

.back-link__icon {
  align-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: var(--program-accent, var(--green));
  display: inline-flex;
  font-size: 18px;
  height: 44px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease;
  width: 44px;
}

.back-link:hover .back-link__icon {
  background: var(--program-accent, var(--green));
  color: var(--ink);
}

.back-link__copy {
  display: grid;
  gap: 2px;
}

.back-link__copy small {
  color: #68716c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.back-link__copy strong {
  font-size: 14px;
  font-weight: 850;
}

.program-template .program-page-hero .program-logo-lockup span {
  box-shadow: none;
}

.program-template .program-page-hero h1 {
  max-width: 720px;
}

.program-template .program-page-hero .hero-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
}

.program-page-visual {
  background: var(--ink);
  box-shadow: 0 28px 70px rgba(16, 16, 16, .16);
  isolation: isolate;
}

.program-visual-placeholder {
  background:
    radial-gradient(circle at 84% 16%, color-mix(in srgb, var(--program-accent, var(--green)) 48%, transparent) 0 16%, transparent 17%),
    linear-gradient(145deg, #101010 0%, #202420 58%, color-mix(in srgb, var(--program-accent, var(--green)) 46%, #101010) 100%);
}

.program-visual-placeholder::before,
.program-visual-placeholder::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
  position: absolute;
  z-index: -1;
}

.program-visual-placeholder::before {
  height: 360px;
  right: -105px;
  top: -95px;
  width: 360px;
}

.program-visual-placeholder::after {
  bottom: -180px;
  height: 430px;
  left: -165px;
  width: 430px;
}

.program-visual-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 52px;
}

.program-visual-content > span {
  color: var(--program-accent, var(--green));
  font-size: clamp(118px, 13vw, 190px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .8;
}

.program-visual-content > div {
  border-top: 1px solid rgba(255, 255, 255, .25);
  padding-top: 28px;
}

.program-visual-content small {
  color: var(--program-accent, var(--green));
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.program-visual-content strong {
  display: block;
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -.055em;
  line-height: .98;
}

.program-visual-content p {
  color: #c8cdca;
  font-size: 15px;
  margin: 18px 0 0;
}

.page-brand-logo {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  height: 118px;
  justify-content: center;
  margin-bottom: 28px;
  padding: 16px;
  width: 240px;
}

.content-band {
  background: var(--cream);
  padding: 96px 0;
}

.content-grid {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.82fr 1.18fr;
}

.program-template .content-band {
  background:
    linear-gradient(135deg, #f7f7f3 0%, #f4f8f5 56%, color-mix(in srgb, var(--program-accent, var(--green)) 8%, #fff) 100%);
  border-bottom: 1px solid #e6ebe7;
  border-top: 1px solid #e6ebe7;
}

.program-template .content-grid {
  align-items: start;
  grid-template-columns: .72fr 1.28fr;
}

.program-template .content-grid > div {
  position: sticky;
  top: 130px;
}

.program-template .content-grid h2 {
  max-width: 500px;
}

.content-grid h2,
.contact-form-section h2 {
  font-size: clamp(38px, 4vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.check-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 700;
  padding: 18px 20px 18px 52px;
  position: relative;
}

.check-list li::before {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  display: flex;
  height: 26px;
  justify-content: center;
  left: 16px;
  position: absolute;
  top: 15px;
  width: 26px;
}

.program-template .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.program-template .check-list li {
  align-items: center;
  box-shadow: 0 9px 26px rgba(16, 16, 16, .045);
  display: flex;
  min-height: 74px;
  padding: 16px 18px 16px 50px;
}

.program-template .check-list li::before {
  top: 23px;
}

.program-detail {
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--program-accent, var(--green)) 8%, transparent), transparent 24%),
    #fff;
  padding: 112px 0;
}

.program-detail-grid {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
}

.prose {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.program-template .program-detail .prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(16, 16, 16, .07);
  padding: clamp(34px, 4vw, 58px);
}

.program-template .program-detail .prose h2 {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 62px);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 0 0 34px;
}

.program-prose__heading {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 10px;
  padding-bottom: 28px;
}

.program-prose__heading h2 {
  margin-bottom: 18px !important;
}

.program-prose__count {
  color: #69716c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  margin: 0;
  text-transform: uppercase;
}

.program-prose__cta {
  align-items: center;
  display: inline-flex;
  justify-content: space-between;
  min-width: 220px;
  padding-inline: 20px;
}

.program-prose__cta span {
  align-items: center;
  background: rgba(255, 255, 255, .28);
  border-radius: 50%;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.program-prose__list {
  display: grid;
  column-gap: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-prose__item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 34px 1fr;
  padding: 25px 0;
}

.program-prose__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.program-prose__item > span {
  align-items: center;
  background: var(--mint);
  border: 1px solid color-mix(in srgb, var(--program-accent, var(--green)) 28%, #dfe5e1);
  border-radius: 50%;
  color: #07643a;
  display: flex;
  font-size: 10px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  margin-top: 2px;
  width: 32px;
}

.program-prose__item p {
  margin: 0;
}

.program-prose__item.is-lead p {
  color: #242a26;
  font-size: 20px;
  line-height: 1.62;
}

.program-prose__item.is-lead {
  grid-column: 1 / -1;
}

.prose p {
  margin: 0 0 22px;
}

.aside-card {
  background: var(--ink);
  border-radius: 24px;
  color: var(--white);
  padding: 34px;
  position: sticky;
  top: 134px;
}

.aside-card h3 {
  font-size: 30px;
  margin: 0 0 14px;
}

.aside-card p {
  color: #cdd1ce;
  line-height: 1.7;
}

.aside-card .button {
  margin-top: 18px;
  width: 100%;
}

.program-link-card {
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--program-accent, var(--green)) 36%, transparent), transparent 30%),
    #101211;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 34px 80px rgba(16, 16, 16, .2);
  overflow: hidden;
  padding: 30px;
}

.program-link-card::before {
  background: var(--program-accent, var(--green));
  content: "";
  height: 5px;
  left: 30px;
  position: absolute;
  right: 30px;
  top: 0;
}

.program-link-card__topline {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 5px 0 20px;
}

.program-link-card__eyebrow {
  color: var(--program-accent, var(--green));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.program-link-card__host {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: #e7ebe8;
  font-size: 11px;
  max-width: 54%;
  overflow: hidden;
  padding: 7px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-link-card h3 {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -.04em;
  line-height: 1.04;
  margin-bottom: 12px;
}

.program-link-card > p {
  font-size: 15px;
  margin: 0;
}

.program-link-card .program-link-card__action {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 24px 0 20px;
  padding-inline: 20px;
}

.program-link-card__action span {
  align-items: center;
  background: rgba(255, 255, 255, .27);
  border-radius: 50%;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.program-destination-card {
  background: #f5f8f6;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .16);
  overflow: hidden;
}

.program-destination-card__bar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #dde4df;
  color: #57605b;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 12px;
  height: 46px;
  justify-content: space-between;
  padding: 0 15px;
}

.program-destination-card__dots {
  display: flex;
  gap: 5px;
}

.program-destination-card__dots i {
  background: #d2d8d4;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.program-destination-card__dots i:first-child {
  background: #ff735f;
}

.program-destination-card__dots i:nth-child(2) {
  background: #ffc84a;
}

.program-destination-card__dots i:last-child {
  background: var(--program-accent, var(--green));
}

.program-destination-card__address {
  color: #505b55;
  flex: 1;
  max-width: 50%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-destination-card__status {
  color: #087442;
  white-space: nowrap;
}

.program-destination-card__status::before {
  background: var(--program-accent, var(--green));
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  margin-right: 6px;
  width: 7px;
}

.program-destination-card__body {
  background:
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--program-accent, var(--green)) 30%, transparent) 0 17%, transparent 17.5%),
    linear-gradient(145deg, #f8fbf9 0%, #e7f2eb 100%);
  color: var(--ink);
  display: flex;
  min-height: 410px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.program-destination-card__body::after {
  border: 1px solid color-mix(in srgb, var(--program-accent, var(--green)) 25%, transparent);
  border-radius: 50%;
  content: "";
  height: 250px;
  position: absolute;
  right: -118px;
  top: -112px;
  width: 250px;
}

.program-destination-card__body:hover {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--program-accent, var(--green)) 35%, transparent);
}

.program-destination-card__number {
  color: color-mix(in srgb, var(--program-accent, var(--green)) 78%, #063c24);
  font-size: 94px;
  font-weight: 950;
  left: 30px;
  letter-spacing: -.1em;
  line-height: .8;
  position: absolute;
  top: 35px;
}

.program-destination-card__logo {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(20, 42, 30, .12);
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(8, 36, 22, .1);
  height: 68px;
  object-fit: contain;
  padding: 10px 14px;
  position: absolute;
  right: 28px;
  top: 28px;
  width: 118px;
  z-index: 1;
}

.program-destination-card__content {
  align-self: flex-end;
  display: grid;
  position: relative;
  width: 100%;
  z-index: 1;
}

.program-destination-card__content small {
  color: #527263;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.program-destination-card__content strong {
  font-size: clamp(27px, 2.5vw, 38px);
  letter-spacing: -.05em;
  line-height: 1.02;
}

.program-destination-card__url {
  color: #526059;
  font-size: 12px;
  margin-top: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-destination-card__open {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 10px;
  justify-self: start;
  margin-top: 22px;
  padding: 12px 16px;
}

.program-destination-card__open b {
  color: var(--program-accent, var(--green));
}

.program-destination-card__note {
  align-items: center;
  background: #fff;
  border-top: 1px solid #dfe3e0;
  color: #68716c;
  display: flex;
  font-size: 10px;
  font-weight: 750;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
}

.program-link-card__contact {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 22px;
}

.program-link-card__direct {
  align-items: center;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 4px;
  padding: 15px 16px;
}

.program-link-card__direct > span {
  color: #aeb6b1;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.program-link-card__direct a {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-link-card__direct b {
  color: var(--program-accent, var(--green));
}

.program-link-card__assurance {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.program-link-card__assurance span {
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  color: #dce2de;
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 10px;
  padding: 10px 12px;
}

.program-link-card__assurance i {
  align-items: center;
  background: color-mix(in srgb, var(--program-accent, var(--green)) 22%, transparent);
  border-radius: 999px;
  color: var(--program-accent, var(--green));
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  letter-spacing: .04em;
}

.program-link-card__contact span {
  color: #aeb6b1;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.faq-block {
  background: var(--cream);
  padding: 90px 0;
}

.page-sections {
  padding: 100px 0;
}

.page-section-card {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 100px;
}

.page-section-card:nth-child(even) .section-media {
  order: 2;
}

.section-media {
  border-radius: 26px;
  height: 460px;
  overflow: hidden;
}

.section-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section-copy h2 {
  font-size: clamp(38px, 4.8vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 22px;
}

.section-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-form-section {
  background: var(--cream);
  padding: 100px 0;
}

.contact-layout {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.82fr 1.18fr;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-details a,
.contact-details span {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 0 0 14px;
}

.contact-map-section {
  background: var(--white);
  padding: 28px 0 110px;
}

.contact-map-card {
  align-items: stretch;
  background: var(--ink);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(16, 16, 16, 0.12);
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  min-height: 470px;
  overflow: hidden;
  padding: 0;
}

.contact-map-copy {
  align-content: center;
  display: grid;
  padding: 54px;
}

.contact-map-copy .eyebrow {
  color: var(--green);
}

.contact-map-copy h2 {
  color: var(--white);
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 12px 0 20px;
}

.contact-map-copy p {
  color: #b9c1bc;
  line-height: 1.7;
  margin: 0 0 30px;
}

.contact-map-copy .button {
  justify-self: start;
}

.contact-map-frame {
  min-height: 470px;
  position: relative;
}

.contact-map-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.lead-form {
  background: var(--white);
  border: 1px solid #e1e3e1;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(16, 16, 16, 0.07);
  padding: 36px;
}

.proposal-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(0, 185, 90, .13), transparent 27%),
    linear-gradient(145deg, #f3fbf7 0%, #fff 55%);
  border-top: 6px solid var(--green);
  padding: 74px 0 86px;
}

.proposal-hero-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1.12fr .88fr;
}

.proposal-hero .back-link {
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 44px;
}

.proposal-hero h1 {
  font-size: clamp(58px, 7vw, 104px);
  letter-spacing: -.065em;
  line-height: .9;
  margin: 12px 0 28px;
  max-width: 820px;
}

.proposal-hero h1 span {
  color: var(--red);
}

.proposal-promise {
  background: var(--ink);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(16, 16, 16, .16);
  color: var(--white);
  padding: 44px;
}

.proposal-promise > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.proposal-promise ol {
  counter-reset: proposal-step;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.proposal-promise li {
  align-items: center;
  border-top: 1px solid #343936;
  counter-increment: proposal-step;
  display: grid;
  gap: 16px;
  grid-template-columns: 42px 1fr;
  line-height: 1.5;
  padding: 20px 0;
}

.proposal-promise li::before {
  color: var(--green);
  content: "0" counter(proposal-step);
  font-size: 13px;
  font-weight: 900;
}

.proposal-form-section {
  background: var(--cream);
  padding: 105px 0;
}

.proposal-form-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: .66fr 1.34fr;
}

.proposal-form-intro {
  position: sticky;
  top: 34px;
}

.proposal-form-intro h2 {
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 14px 0 24px;
}

.proposal-form-intro > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.proposal-form {
  padding: 44px;
}

.proposal-form fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 0 30px;
  padding: 0 0 14px;
}

.proposal-form legend {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.proposal-consent span {
  align-items: flex-start;
  display: flex;
  font-weight: 600;
  gap: 10px;
  line-height: 1.5;
}

.proposal-consent input {
  min-height: auto;
  margin-top: 4px;
  width: auto;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.lead-form label {
  display: grid;
  font-size: 14px;
  font-weight: 750;
  gap: 8px;
  margin-bottom: 18px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #fafbf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

.phone-input-group {
  direction: ltr;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, .9fr) minmax(150px, 1.1fr);
  width: 100%;
}

.phone-input-group select,
.phone-input-group input {
  min-width: 0;
}

.phone-input-group input {
  direction: ltr;
  text-align: left !important;
}

.honeypot {
  height: 1px !important;
  left: -10000px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 1px !important;
}

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

.testimonial-role {
  bottom: 28px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  left: 30px;
  position: absolute;
}

.lead-form textarea {
  min-height: 140px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(0, 185, 90, 0.14);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}

.site-alert {
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
}

.site-alert.success {
  background: var(--mint);
  color: #07582e;
}

.site-alert.error {
  background: #fff0f1;
  color: #a40b20;
}

.not-found {
  min-height: 60vh;
  padding: 120px 0;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(60px, 10vw, 140px);
  letter-spacing: -0.08em;
  margin: 0;
}

.floating-whatsapp {
  background: #16a75c;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 14px 20px;
  position: fixed;
  right: 22px;
  z-index: 25;
}

@media (max-width: 960px) {
  .inner-hero-grid,
  .content-grid,
  .program-detail-grid,
  .page-section-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .inner-hero-image {
    height: 430px;
  }

  .page-section-card:nth-child(even) .section-media {
    order: initial;
  }

  .aside-card {
    position: static;
  }

  .program-template .content-grid > div {
    position: static;
  }

  .program-destination-card__body {
    min-height: 460px;
  }

  .program-prose__list {
    grid-template-columns: 1fr;
  }

  .program-prose__item.is-lead {
    grid-column: auto;
  }

  .program-prose__heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .program-prose__cta {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .inner-hero {
    padding: 50px 0 66px;
  }

  .inner-hero h1 {
    font-size: 50px;
  }

  .inner-hero-image,
  .section-media {
    height: 320px;
  }

  .program-visual-content {
    padding: 30px;
  }

  .program-detail {
    padding: 72px 0;
  }

  .program-template .program-detail .prose,
  .program-link-card {
    border-radius: 20px;
    padding: 24px;
  }

  .program-link-card__topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-link-card__host {
    max-width: 100%;
  }

  .program-link-card__direct {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-link-card__direct a {
    max-width: 100%;
  }

  .program-template .check-list {
    grid-template-columns: 1fr;
  }

  .program-prose__item {
    gap: 13px;
    grid-template-columns: 30px 1fr;
  }

  .program-prose__item > span {
    height: 28px;
    width: 28px;
  }

  .program-prose__cta {
    width: 100%;
  }

  .program-destination-card__bar {
    gap: 7px;
    padding-inline: 10px;
  }

  .program-destination-card__address {
    max-width: 42%;
  }

  .program-destination-card__status {
    font-size: 0;
  }

  .program-destination-card__status::before {
    margin-right: 0;
  }

  .program-destination-card__body {
    min-height: 370px;
    padding: 24px;
  }

  .program-destination-card__number {
    font-size: 76px;
    left: 23px;
    top: 30px;
  }

  .program-destination-card__logo {
    height: 54px;
    right: 20px;
    top: 20px;
    width: 94px;
  }

  .program-destination-card__note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .lead-form {
    padding: 24px;
  }
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-geist-sans), "Segoe UI", Arial, sans-serif;
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: 48px;
}

.utility {
  border-bottom: 1px solid #eceeec;
  font-size: 13px;
}

.utility-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 38px;
}

.utility-inner a {
  margin-left: auto;
}

.utility-divider {
  background: var(--line);
  height: 16px;
  width: 1px;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eeeeeb;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 44px;
  min-height: 104px;
}

.brand {
  flex: 0 0 auto;
  width: 225px;
}

.brand img {
  height: 76px;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

.desktop-nav a::after {
  background: var(--green);
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  gap: 14px;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: #04140b;
  box-shadow: 0 16px 36px rgba(0, 185, 90, 0.2);
}

.button-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 18px 40px rgba(0, 157, 76, 0.28);
}

.button-outline {
  background: var(--white);
  border-color: var(--ink);
}

.button-outline:hover {
  background: var(--mint);
  border-color: var(--green);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.nav-cta {
  min-height: 54px;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

.hero {
  overflow: hidden;
  padding-top: 60px;
  position: relative;
}

.hero::before {
  border: 2px solid var(--red);
  border-radius: 50%;
  content: "";
  height: 190px;
  position: absolute;
  right: -80px;
  top: -120px;
  width: 190px;
}

.hero-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(620px, 1.25fr);
  min-height: 630px;
}

.hero-copy {
  align-self: center;
  padding: 22px 0 70px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(58px, 5.7vw, 94px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0;
  max-width: 670px;
}

.hero h1 span {
  color: var(--red);
}

.hero-lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 30px 0 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-bento {
  align-self: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.5fr 0.95fr;
  grid-template-rows: 260px 180px 180px;
  padding: 22px 0 34px;
}

.hero-photo {
  border-radius: 28px;
  grid-column: 1;
  grid-row: 1 / 3;
  overflow: hidden;
}

.hero-photo img,
.corporate-image img,
.moallimi-visual > img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.hero-photo:hover img,
.corporate-image:hover img,
.moallimi-visual:hover > img {
  transform: scale(1.025);
}

.bento-card {
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 28px;
  position: relative;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.bento-card:hover {
  box-shadow: 0 20px 46px rgba(16, 16, 16, 0.14);
  transform: translateY(-4px);
}

.bento-card small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bento-card strong {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: auto;
}

.bento-card > span {
  font-size: 38px;
  opacity: 0.45;
  position: absolute;
  right: 24px;
  top: 18px;
}

.bento-green {
  background: var(--green);
}

.bento-program-icons {
  align-items: center;
  align-self: flex-start;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  display: flex;
  gap: 7px;
  margin-top: 18px;
  max-width: calc(100% - 34px);
  padding: 6px 8px;
  position: relative;
  width: max-content;
  z-index: 2;
}

.bento-program-icon {
  align-items: center;
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  flex: 0 1 auto;
  height: 28px;
  justify-content: center;
  max-width: 70px;
  min-width: 26px;
  padding: 1px 2px;
  transition: background 180ms ease, transform 180ms ease;
}

.bento-program-icon:hover,
.bento-program-icon:focus-visible {
  background: rgba(0, 91, 52, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.bento-program-icon:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 91, 52, 0.38);
}

.bento-program-icon .theme-logo-pair,
.bento-program-icon img {
  height: 28px;
  max-height: 28px;
  max-width: 66px;
  object-fit: contain;
  width: auto;
}

.bento-program-icon-partner,
.bento-program-icon-partner .theme-logo-pair,
.bento-program-icon-partner img {
  max-width: 32px;
}

html[data-theme="dark"] .bento-program-icons {
  background: rgba(7, 21, 13, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .bento-program-icon:hover,
html[data-theme="dark"] .bento-program-icon:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.bento-mint {
  background: var(--mint);
  grid-column: 1;
  grid-row: 3;
}

.bento-red {
  background: var(--red);
  color: var(--white);
  grid-column: 2;
  grid-row: 2 / 4;
}

.bento-red strong {
  font-size: 72px;
  margin: auto 0 0;
}

.bento-red small {
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 8px;
}

.trust-row {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-row > div {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 18px;
  min-height: 108px;
  padding: 22px 30px;
}

.trust-row > div:last-child {
  border-right: 0;
}

.trust-row > div > span {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.trust-row p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.trust-row small {
  color: var(--muted);
}

.section {
  padding-block: 112px;
}

.programs-section {
  background: var(--cream);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 52px;
}

.section h2 {
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

.section-heading > p,
.story-copy > p,
.corporate-copy > p,
.moallimi-section p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.program-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.program-card {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--program-accent, var(--green)) 5%, #fff) 0%, #fff 52%);
  border: 1px solid #e0e2df;
  border-top: 6px solid var(--program-accent, var(--green));
  border-radius: 22px;
  min-height: 310px;
  padding: 30px;
  position: relative;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.program-card:hover {
  box-shadow: 0 18px 50px rgba(16, 16, 16, 0.08);
  transform: translateY(-5px);
}

.program-number {
  color: color-mix(in srgb, var(--program-accent, var(--green)) 62%, var(--ink));
  font-size: 13px;
  font-weight: 800;
}

.program-card-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  min-height: 58px;
}

.program-card-logo {
  height: 54px;
  max-width: 132px;
  object-fit: contain;
  object-position: right top;
}

.program-card-logos {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.program-card-logos .program-card-logo {
  max-width: 94px;
}

.program-card-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  height: 48px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-width: 58px;
  padding: 0 12px;
}

.program-card h3 {
  font-size: 31px;
  letter-spacing: -0.04em;
  margin: 34px 0 12px;
}

.program-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.program-card a {
  bottom: 28px;
  font-size: 14px;
  font-weight: 800;
  left: 30px;
  position: absolute;
}

.program-card a span {
  color: var(--program-accent, var(--green));
}

.program-green {
  border-top: 6px solid var(--green);
}

.program-red {
  border-top: 6px solid var(--red);
}

.program-ink {
  border-top: 6px solid var(--ink);
}

.program-mint {
  background: var(--mint);
  border-top: 6px solid #8ed7ad;
}

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

.story-grid {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: 1fr 1fr;
}

.story-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.25fr 0.75fr;
}

.stat-main,
.stat-mini {
  border-radius: 24px;
  padding: 34px;
}

.stat-main {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  grid-row: 1 / 3;
  min-height: 430px;
}

.stat-main strong {
  color: var(--green);
  font-size: 110px;
  letter-spacing: -0.08em;
  line-height: 0.8;
  margin-top: auto;
}

.stat-main span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 24px;
}

.stat-mini {
  background: var(--mint);
  display: flex;
  flex-direction: column;
  min-height: 205px;
}

.stat-mini strong {
  font-size: 56px;
  letter-spacing: -0.07em;
  margin-top: auto;
}

.stat-mini span {
  color: var(--muted);
  font-weight: 700;
}

.stat-mini.accent {
  background: var(--red);
  color: var(--white);
}

.stat-mini.accent span {
  color: var(--white);
}

.story-copy h2 {
  margin-bottom: 28px;
}

.story-copy ul {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.story-copy li {
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  padding: 0 0 16px 32px;
  position: relative;
}

.story-copy li::before {
  color: var(--green);
  content: "↗";
  left: 0;
  position: absolute;
}

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

.corporate-grid {
  align-items: center;
  display: grid;
  gap: 74px;
  grid-template-columns: 1.15fr 0.85fr;
}

.corporate-image {
  border-radius: 28px;
  height: 560px;
  overflow: hidden;
}

.corporate-copy h2 {
  margin-bottom: 28px;
}

.corporate-copy > p {
  color: #c8cdca;
}

.delivery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.delivery-list span {
  border: 1px solid #484b49;
  border-radius: 999px;
  font-size: 13px;
  padding: 10px 15px;
}

.moallimi-section {
  background: #f4f8f5;
}

.moallimi-grid {
  align-items: center;
  display: grid;
  gap: 86px;
  grid-template-columns: 0.85fr 1.15fr;
}

.moallimi-section h2 {
  margin-bottom: 28px;
}

.moallimi-brand-logo {
  height: 108px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
  width: 220px;
}

.moallimi-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.text-link {
  font-weight: 800;
}

.moallimi-visual {
  border-radius: 28px;
  height: 520px;
  overflow: hidden;
  position: relative;
}

.floating-note {
  background: var(--white);
  border-radius: 16px;
  bottom: 24px;
  box-shadow: 0 16px 44px rgba(16, 16, 16, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
  left: 24px;
  padding: 20px 24px;
  position: absolute;
}

.floating-note span {
  color: var(--muted);
  font-size: 13px;
}

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

.faq-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.8fr 1.2fr;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-list summary {
  cursor: pointer;
  display: flex;
  font-size: 20px;
  font-weight: 750;
  justify-content: space-between;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--green);
  font-size: 30px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 50px 0 0;
}

.contact-section {
  background: var(--green);
  padding-block: 80px;
}

.contact-grid {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-section .eyebrow {
  color: #053e20;
}

.contact-section h2 {
  font-size: clamp(40px, 4.5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 20px;
}

.contact-section p {
  color: #08361f;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.contact-actions .button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

footer {
  background: var(--ink);
  color: var(--white);
  padding: 74px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.5fr 0.7fr 1fr;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  height: 98px;
  object-fit: contain;
  object-position: left center;
  width: 270px;
}

.footer-brand p {
  color: #bfc3c0;
  line-height: 1.6;
  max-width: 390px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid strong {
  color: var(--green);
  margin-bottom: 8px;
}

.footer-grid a,
.footer-grid span {
  color: #d9dcda;
}

.footer-bottom {
  border-top: 1px solid #373a38;
  color: #8f9491;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
}

@media (max-width: 1180px) {
  .container {
    padding-inline: 30px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero-bento {
    grid-template-rows: 220px 160px 160px;
  }

  .brand {
    width: 190px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
    position: relative;
  }

  .mobile-menu summary {
    border: 1px solid var(--ink);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 750;
    list-style: none;
    padding: 12px 16px;
  }

  .mobile-menu nav {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(16, 16, 16, 0.12);
    display: grid;
    gap: 16px;
    min-width: 210px;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 54px;
  }

  .hero-grid,
  .section-heading,
  .story-grid,
  .corporate-grid,
  .moallimi-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 12px;
  }

  .hero-bento {
    grid-template-rows: 280px 160px 160px;
  }

  .trust-row,
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-row > div {
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .story-grid,
  .corporate-grid,
  .moallimi-grid,
  .faq-grid {
    gap: 45px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }

  .utility-inner {
    gap: 8px;
  }

  .utility-inner a,
  .utility-divider {
    display: none;
  }

  .nav-wrap {
    min-height: 82px;
  }

  .brand {
    width: 170px;
  }

  .brand img {
    height: 64px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 150px 150px;
  }

  .hero-photo {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .bento-green {
    grid-column: 1;
    grid-row: 2;
  }

  .bento-mint {
    grid-column: 1;
    grid-row: 3;
  }

  .bento-red {
    grid-column: 2;
    grid-row: 2 / 4;
  }

  .bento-card {
    padding: 20px;
  }

  .bento-program-icons {
    border-radius: 10px;
    gap: 5px;
    margin-top: 11px;
    max-width: calc(100% - 25px);
    padding: 4px 6px;
  }

  .bento-program-icon,
  .bento-program-icon .theme-logo-pair,
  .bento-program-icon img {
    height: 22px;
    max-height: 22px;
    max-width: 49px;
  }

  .bento-program-icon-partner,
  .bento-program-icon-partner .theme-logo-pair,
  .bento-program-icon-partner img {
    max-width: 25px;
  }

  .bento-card strong {
    font-size: 20px;
  }

  .bento-red strong {
    font-size: 50px;
  }

  .trust-row,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .trust-row > div {
    border-right: 0;
    min-height: 92px;
  }

  .section {
    padding-block: 78px;
  }

  .section h2,
  .contact-section h2 {
    font-size: 42px;
  }

  .program-card {
    min-height: 280px;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-main {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 290px;
  }

  .stat-main strong {
    font-size: 84px;
  }

  .stat-mini {
    min-height: 170px;
    padding: 24px;
  }

  .corporate-image,
  .moallimi-visual {
    height: 380px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 960px) {
  .proposal-hero-grid,
  .proposal-form-layout {
    grid-template-columns: 1fr;
  }

  .proposal-form-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .proposal-hero {
    padding: 48px 0 64px;
  }

  .proposal-hero .back-link {
    margin-bottom: 30px;
  }

  .proposal-promise,
  .proposal-form {
    border-radius: 20px;
    padding: 28px 22px;
  }

  .proposal-form-section {
    padding: 72px 0;
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  list-style: none;
  padding: 24px 0;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary span {
  color: var(--green-dark);
  margin-left: 3px;
}

.nav-dropdown summary.active {
  color: var(--green-dark);
}

.nav-dropdown-menu {
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(16, 16, 16, .18);
  display: grid;
  gap: 2px;
  left: 50%;
  min-width: 210px;
  padding: 10px;
  position: absolute;
  top: 58px;
  transform: translateX(-50%);
  z-index: 40;
}

.nav-dropdown-menu a {
  border-radius: 8px;
  color: var(--white);
  padding: 12px 14px;
}

.nav-dropdown-menu a:hover {
  background: var(--green);
  color: var(--ink);
}

.nav-dropdown-menu a::after {
  display: none;
}

.moallimi-subnav {
  background: var(--ink);
  border-bottom: 1px solid #313532;
}

.moallimi-subnav-inner {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-block: 10px;
}

.moallimi-subnav a {
  border-radius: 999px;
  color: #bdc5c0;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
}

.moallimi-subnav a.active,
.moallimi-subnav a:hover {
  background: var(--green);
  color: var(--ink);
}

.m-hero {
  background: #f2f8f4;
  overflow: hidden;
  padding: 78px 0 92px;
  position: relative;
}

.m-hero::after {
  border: 68px solid rgba(0, 185, 90, .1);
  border-radius: 50%;
  content: "";
  height: 380px;
  position: absolute;
  right: -190px;
  top: -190px;
  width: 380px;
}

.m-hero-grid {
  align-items: center;
  display: grid;
  gap: 82px;
  grid-template-columns: .92fr 1.08fr;
  position: relative;
  z-index: 1;
}

.m-hero h1 {
  font-size: clamp(64px, 7.2vw, 112px);
  letter-spacing: -.07em;
  line-height: .88;
  margin: 14px 0 30px;
}

.m-hero h1 span {
  color: var(--green-dark);
}

.m-store-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.m-app-showcase {
  background: var(--ink);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(16, 16, 16, .16);
  height: 570px;
  overflow: hidden;
  position: relative;
}

.m-app-showcase > img {
  height: 100%;
  object-fit: cover;
  opacity: .55;
  width: 100%;
}

.m-phone-card {
  background: linear-gradient(165deg, #fff, #e9f7ef);
  border: 8px solid #161817;
  border-radius: 34px;
  bottom: -50px;
  display: grid;
  min-height: 360px;
  padding: 52px 28px;
  position: absolute;
  right: 44px;
  transform: rotate(4deg);
  width: 230px;
}

.m-phone-card span,
.m-match-card small {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.m-phone-card strong {
  align-self: end;
  font-size: 38px;
  letter-spacing: -.05em;
  line-height: .96;
}

.m-phone-card small {
  color: var(--muted);
}

.m-proof {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.m-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.m-proof-grid > div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding: 30px;
}

.m-proof-grid > div:last-child {
  border-right: 0;
}

.m-proof strong {
  font-size: 22px;
}

.m-proof span {
  color: var(--muted);
  font-size: 13px;
}

.m-section {
  padding: 105px 0;
}

.m-section-soft {
  background: var(--cream);
}

.m-section-dark {
  background: var(--ink);
  color: var(--white);
}

.m-section-dark .section-heading > p,
.m-section-dark .m-steps p {
  color: #abb3ae;
}

.m-path-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.m-path-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 560px;
  padding: 46px;
  position: relative;
}

.m-path-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.m-card-number {
  color: var(--green);
  font-size: 74px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.m-path-card h3,
.m-feature-grid h3,
.m-steps h3 {
  font-size: 31px;
  letter-spacing: -.045em;
  margin: 18px 0 14px;
}

.m-path-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.m-path-dark > p:not(.eyebrow) {
  color: #b8bfbb;
}

.m-path-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 36px;
  padding: 0;
}

.m-path-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  margin-right: 10px;
}

.m-steps,
.m-feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.m-steps article,
.m-feature-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 250px;
  padding: 30px;
}

.m-section-dark .m-steps article {
  border-color: #343836;
}

.m-steps article > span,
.m-feature-grid article > span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.m-steps p,
.m-feature-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.m-match-board,
.m-teacher-panel {
  background: linear-gradient(145deg, #101010, #183a28);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(16, 16, 16, .16);
  height: 530px;
  overflow: hidden;
  padding: 46px;
  position: relative;
}

.m-match-card {
  background: var(--white);
  border-radius: 20px;
  display: grid;
  gap: 10px;
  left: 48px;
  padding: 30px;
  position: absolute;
  top: 80px;
  width: 300px;
}

.m-match-card strong {
  font-size: 28px;
}

.m-match-card > span {
  color: var(--muted);
  font-size: 13px;
}

.m-match-card.secondary {
  bottom: 64px;
  left: auto;
  right: 48px;
  top: auto;
}

.m-orbit {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  height: 400px;
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
}

.m-orbit-two {
  height: 280px;
  right: -20px;
  top: -20px;
  width: 280px;
}

.m-subject-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.m-subject-grid > div {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 18px;
  padding: 20px;
}

.m-subject-grid span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.m-teacher-panel {
  color: var(--white);
  display: grid;
}

.m-teacher-panel > strong {
  align-self: center;
  font-size: clamp(42px, 4vw, 66px);
  letter-spacing: -.06em;
  line-height: .98;
}

.m-teacher-panel > div {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-teacher-panel > div span {
  border: 1px solid #516358;
  border-radius: 999px;
  font-size: 12px;
  padding: 9px 13px;
}

.m-requirements {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: .85fr 1.15fr;
}

.m-requirements h2 {
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 14px 0 22px;
}

.m-requirements ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-requirements li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 750;
  padding: 20px;
}

.m-requirements li::before {
  color: var(--green);
  content: "✓";
  margin-right: 12px;
}

.m-final-cta {
  background: var(--green);
  padding: 76px 0;
}

.m-final-cta > .container {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.m-final-cta h2 {
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 10px 0 0;
}

.m-final-cta .button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

@media (max-width: 960px) {
  .nav-dropdown {
    display: none;
  }

  .m-hero-grid,
  .m-path-grid,
  .m-requirements {
    grid-template-columns: 1fr;
  }

  .m-proof-grid,
  .m-steps,
  .m-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .m-subject-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .moallimi-subnav-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .moallimi-subnav a {
    flex: 0 0 auto;
  }

  .m-hero {
    padding: 54px 0 66px;
  }

  .m-app-showcase,
  .m-match-board,
  .m-teacher-panel {
    height: 420px;
  }

  .m-phone-card {
    right: 20px;
  }

  .m-match-card {
    left: 20px;
    top: 44px;
    width: calc(100% - 70px);
  }

  .m-match-card.secondary {
    bottom: 34px;
    right: 20px;
  }

  .m-proof-grid,
  .m-steps,
  .m-feature-grid,
  .m-subject-grid {
    grid-template-columns: 1fr;
  }

  .m-proof-grid > div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .m-path-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .m-final-cta > .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Moallimi refinement: align the three-page experience with the main site. */
.moallimi-subnav {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e8ece9;
  box-shadow: 0 12px 30px rgba(16, 16, 16, .035);
  position: relative;
  z-index: 12;
}

.moallimi-subnav-inner {
  gap: 2px;
  justify-content: flex-start;
  padding-block: 12px;
}

.moallimi-subnav a {
  color: #68716c;
  padding: 10px 16px;
}

.moallimi-subnav a.active,
.moallimi-subnav a:hover {
  background: var(--ink);
  color: var(--white);
}

.m-hero {
  background:
    radial-gradient(circle at 95% 8%, rgba(0, 185, 90, .12) 0 11%, transparent 11.4%),
    linear-gradient(135deg, #f5fbf7 0%, #fff 48%, #f8f9f7 100%);
  border-top: 5px solid var(--green);
  min-height: 680px;
  padding: 90px 0 104px;
}

.m-hero::after {
  border-width: 44px;
  height: 330px;
  opacity: .65;
  width: 330px;
}

.m-hero-grid {
  gap: clamp(58px, 7vw, 110px);
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
}

.m-hero-copy .eyebrow {
  letter-spacing: .18em;
}

.m-hero h1 {
  font-size: clamp(68px, 7vw, 108px);
  letter-spacing: -.068em;
  line-height: .9;
  margin-top: 18px;
}

.m-hero h1 span {
  color: var(--green-dark);
}

.m-hero .hero-lead {
  color: #646c67;
  font-size: 18px;
  line-height: 1.7;
  max-width: 650px;
}

.m-store-actions {
  gap: 10px;
  margin-top: 38px;
}

.m-store-actions .text-link {
  margin-left: 10px;
}

.m-app-showcase,
.m-match-board,
.m-teacher-panel {
  border: 1px solid #292e2a;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(16, 16, 16, .15);
}

.m-app-showcase {
  height: 560px;
}

.m-app-showcase::after {
  background: linear-gradient(90deg, rgba(16,16,16,.58), transparent 64%);
  content: "";
  inset: 0;
  position: absolute;
}

.m-phone-card {
  border-width: 6px;
  border-radius: 30px;
  bottom: -34px;
  right: 42px;
  transform: rotate(2.5deg);
  z-index: 2;
}

.m-proof {
  background: var(--cream);
}

.m-proof-grid > div {
  min-height: 112px;
  padding: 28px 32px;
}

.m-proof strong {
  font-size: 21px;
  letter-spacing: -.025em;
}

.m-section {
  padding: 118px 0;
}

.m-section .section-heading {
  align-items: end;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
  padding-bottom: 40px;
}

.m-section .section-heading h2 {
  max-width: 820px;
}

.m-path-grid {
  gap: 28px;
}

.m-path-card {
  background: var(--white);
  border-radius: 22px;
  border-top: 6px solid var(--green);
  box-shadow: 0 22px 65px rgba(16, 16, 16, .055);
  min-height: 570px;
  padding: 50px;
}

.m-path-card.m-path-dark {
  background:
    radial-gradient(circle at 92% 9%, rgba(0,185,90,.26), transparent 25%),
    var(--ink);
  border-color: var(--green);
}

.m-card-number {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 86px;
  font-weight: 500;
}

.m-path-card h3 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: .98;
  margin-top: 24px;
}

.m-feature-grid,
.m-steps {
  gap: 0;
}

.m-feature-grid article,
.m-steps article {
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  min-height: 280px;
  padding: 36px;
}

.m-feature-grid article:first-child,
.m-steps article:first-child {
  border-left: 0;
}

.m-section-dark .m-steps article {
  border-color: #383d39;
}

.m-feature-grid h3,
.m-steps h3 {
  font-size: 28px;
  margin-top: 52px;
}

.m-section-dark {
  background:
    radial-gradient(circle at 92% 8%, rgba(0,185,90,.16), transparent 24%),
    var(--ink);
}

.m-section-dark .section-heading {
  border-color: #343936;
}

.m-match-board,
.m-teacher-panel {
  background:
    radial-gradient(circle at 88% 8%, rgba(0,185,90,.28), transparent 30%),
    linear-gradient(145deg, #101010 0%, #1b251f 100%);
}

.m-match-card {
  border: 1px solid #e0e4e1;
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

.m-match-card.secondary {
  background: #e8f7ef;
}

.m-subject-grid {
  gap: 10px;
}

.m-subject-grid > div {
  border-radius: 12px;
  min-height: 72px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.m-subject-grid > div:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.m-requirements {
  gap: 100px;
}

.m-requirements li {
  border-radius: 12px;
  padding: 22px 24px;
}

.m-final-cta {
  background:
    radial-gradient(circle at 90% 0, rgba(255,255,255,.18), transparent 27%),
    var(--green);
  padding: 88px 0;
}

.m-final-cta > .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.m-final-cta .contact-actions {
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .m-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .m-hero {
    min-height: auto;
  }

  .m-hero-grid,
  .m-final-cta > .container {
    grid-template-columns: 1fr;
  }

  .m-feature-grid article,
  .m-steps article {
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .m-final-cta .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .m-hero h1 {
    font-size: 58px;
  }

  .m-hero-grid {
    gap: 44px;
  }

  .m-app-showcase,
  .m-match-board,
  .m-teacher-panel {
    border-radius: 20px;
  }

  .m-section {
    padding: 82px 0;
  }

  .m-section .section-heading {
    margin-bottom: 34px;
    padding-bottom: 28px;
  }

  .m-path-card {
    padding: 34px 26px;
  }

  .m-store-actions .text-link {
    margin-left: 0;
    width: 100%;
  }
}

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

/* Professional bilingual navigation — 25 Aug 2026 */
.site-header {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(16, 16, 16, .08);
  box-shadow: 0 12px 32px rgba(16, 16, 16, .045);
}

.nav-wrap {
  gap: 24px;
  min-height: 94px;
}

.brand {
  width: 205px;
}

.brand img {
  height: 70px;
}

.desktop-nav {
  background: rgba(247, 247, 243, .88);
  border: 1px solid rgba(16, 16, 16, .075);
  border-radius: 20px;
  gap: 4px;
  padding: 6px;
}

.desktop-nav > a,
.nav-dropdown > summary {
  align-items: center;
  border-radius: 13px;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 13px;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.desktop-nav > a::after {
  display: none;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown > summary:hover,
.nav-dropdown > summary.active,
.nav-dropdown[open] > summary {
  background: var(--white);
  box-shadow: 0 8px 22px rgba(16, 16, 16, .08);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.nav-dropdown > summary {
  padding-block: 0;
}

.nav-dropdown > summary span {
  font-size: 14px;
  margin-inline-start: 5px;
  transition: transform 180ms ease;
}

.nav-dropdown[open] > summary span {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(16, 16, 16, .22);
  min-width: 230px;
  padding: 9px;
  top: 56px;
}

.nav-dropdown-menu a {
  border-radius: 11px;
  font-size: 14px;
  padding: 13px 14px;
}

.nav-cta {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 13px 28px rgba(0, 185, 90, .18);
  color: #06150d;
  min-height: 50px;
}

.nav-cta:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 16px 34px rgba(0, 157, 76, .24);
  color: var(--white);
}

.language-menu {
  flex: 0 0 auto;
  position: relative;
}

.language-menu > summary {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 13px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  list-style: none;
  min-height: 42px;
  padding: 0 11px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.language-menu > summary::-webkit-details-marker {
  display: none;
}

.language-menu > summary:hover,
.language-menu[open] > summary {
  background: #202420;
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(16, 16, 16, .16);
  transform: translateY(-1px);
}

.language-menu__globe {
  fill: none;
  flex: 0 0 auto;
  height: 17px;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 17px;
}

.language-menu__code {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border-radius: 7px;
  color: #d9dedb;
  display: inline-flex;
  font-size: 10px;
  height: 23px;
  justify-content: center;
  letter-spacing: .08em;
  padding-inline: 6px;
}

.language-menu__chevron {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
  width: 14px;
}

.language-menu[open] .language-menu__chevron {
  transform: rotate(180deg);
}

.language-menu__panel {
  background: var(--white);
  border: 1px solid rgba(16, 16, 16, .09);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(16, 16, 16, .16);
  display: grid;
  gap: 5px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 230px;
  z-index: 55;
}

.language-menu__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 7px 9px 5px;
  text-transform: uppercase;
}

.language-menu__panel a {
  align-items: center;
  border-radius: 11px;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  padding: 11px;
  transition: background-color 160ms ease, color 160ms ease;
}

.language-menu__panel a::after {
  display: none;
}

.language-menu__panel a:hover {
  background: var(--mint);
  color: var(--green-dark);
}

.language-menu__panel a.active {
  background: #eef8f2;
  color: #08743d;
}

.language-menu__option-code {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-size: 10px;
  height: 29px;
  justify-content: center;
  letter-spacing: .08em;
}

.language-menu__check {
  color: var(--green-dark);
  font-size: 15px;
  opacity: 0;
}

.language-menu__panel a.active .language-menu__check {
  opacity: 1;
}

.desktop-nav > a:focus-visible,
.nav-dropdown > summary:focus-visible,
.language-menu > summary:focus-visible,
.language-menu__panel a:focus-visible,
.mobile-menu-trigger:focus-visible {
  outline: 3px solid rgba(0, 185, 90, .32);
  outline-offset: 3px;
}

html[dir="rtl"] .language-menu__panel {
  left: 0;
  right: auto;
  text-align: right;
}

html[dir="rtl"] .language-menu__label {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  font-family: "NT Panorama Naskh", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-weight: 400;
}

html[dir="rtl"] .desktop-nav > a,
html[dir="rtl"] .nav-dropdown > summary,
html[dir="rtl"] .language-menu > summary {
  font-weight: 400;
}

.mobile-menu-trigger__icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.mobile-menu-trigger__icon i {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 18px;
}

@media (max-width: 1180px) and (min-width: 961px) {
  .nav-wrap {
    gap: 14px;
  }

  .brand {
    width: 175px;
  }

  .desktop-nav > a,
  .nav-dropdown > summary {
    font-size: 13px;
    padding-inline: 10px;
  }

  .language-menu__current {
    display: none;
  }

  .nav-cta {
    padding-inline: 18px;
  }
}

@media (max-width: 960px) {
  .nav-wrap {
    min-height: 88px;
  }

  .mobile-menu {
    margin-inline-start: auto;
  }

  .mobile-menu > .mobile-menu-trigger {
    align-items: center;
    background: var(--ink);
    border-color: var(--ink);
    border-radius: 13px;
    color: var(--white);
    display: flex;
    gap: 9px;
    min-height: 46px;
    padding: 0 15px;
  }

  .mobile-menu[open] > .mobile-menu-trigger {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
  }

  .mobile-menu[open] > .mobile-menu-trigger .mobile-menu-trigger__icon i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu[open] > .mobile-menu-trigger .mobile-menu-trigger__icon i:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu[open] > .mobile-menu-trigger .mobile-menu-trigger__icon i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu nav {
    border: 1px solid rgba(16, 16, 16, .09);
    border-radius: 22px;
    box-shadow: 0 26px 70px rgba(16, 16, 16, .18);
    gap: 3px;
    min-width: 0;
    padding: 12px;
    right: 0;
    top: 58px;
    width: min(360px, calc(100vw - 32px));
  }

  html[dir="rtl"] .mobile-menu nav {
    left: 0;
    right: auto;
  }

  .mobile-menu nav > a {
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 14px;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .mobile-menu nav > a:hover {
    background: var(--mint);
    color: var(--green-dark);
  }

  .language-menu--mobile {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 11px;
  }

  .language-menu--mobile > summary {
    justify-content: flex-start;
    min-height: 48px;
    width: 100%;
  }

  .language-menu--mobile .language-menu__current {
    flex: 1;
    text-align: start;
  }

  .language-menu--mobile .language-menu__panel {
    border-radius: 14px;
    box-shadow: none;
    margin-top: 7px;
    position: static;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 82px;
  }

  .brand {
    width: 168px;
  }

  .brand img {
    height: 62px;
  }
}


/* 2026-08-29: Arabic headline collision / wrapping fix.
   Panorama Naskh needs more vertical room than the Latin display face. */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  letter-spacing: 0 !important;
  line-height: 1.44 !important;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .inner-hero h1,
html[dir="rtl"] .m-hero h1,
html[dir="rtl"] .proposal-hero h1,
html[dir="rtl"] .program-page-hero h1 {
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.36 !important;
  max-width: 15ch;
}

html[dir="rtl"] .section h2,
html[dir="rtl"] .content-grid h2,
html[dir="rtl"] .program-detail h2,
html[dir="rtl"] .contact-section h2,
html[dir="rtl"] .contact-map-copy h2,
html[dir="rtl"] .contact-form-section h2 {
  line-height: 1.48 !important;
}

html[dir="rtl"] .eyebrow {
  line-height: 1.7;
}

@media (max-width: 640px) {
  html[dir="rtl"] .hero h1,
  html[dir="rtl"] .inner-hero h1,
  html[dir="rtl"] .m-hero h1,
  html[dir="rtl"] .proposal-hero h1,
  html[dir="rtl"] .program-page-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
    line-height: 1.42 !important;
    max-width: 100%;
  }

  html[dir="rtl"] h2 {
    line-height: 1.5 !important;
  }
}

/* ========================================================================== */
/* SynergyMind Website Experience v76: refined navigation, themes, leadership, */
/* news/promotions and installable web-app controls.                            */
/* ========================================================================== */

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f7f5;
  --muted: #aeb9b3;
  --cream: #0a100d;
  --mint: #12231b;
  --line: #2a3831;
}

body {
  transition: background-color 180ms ease, color 180ms ease;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: 0 10px 34px rgba(16, 16, 16, 0.035);
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
}

.nav-wrap {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 92px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  display: block;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  width: 106px;
}

.desktop-nav {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: clamp(16px, 1.45vw, 27px);
  justify-content: center;
  min-width: 0;
  padding: 0;
}

.desktop-nav > a,
.nav-dropdown > summary {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  min-width: 0;
}

.theme-toggle,
.pwa-install-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #101010;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 12px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.theme-toggle:hover,
.pwa-install-button:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.theme-icon,
.pwa-install-button svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

html[data-theme="light"] .theme-icon-sun,
html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.language-menu--header {
  flex: 0 0 auto;
}

.language-menu--header > summary {
  background: #101010;
  border: 1px solid #101010;
  border-radius: 999px;
  color: #fff;
  gap: 8px;
  height: 42px;
  min-width: 74px;
  padding: 0 13px;
}

.language-menu--header > summary:hover,
.language-menu--header[open] > summary {
  background: #181f1c;
  border-color: #181f1c;
}

.language-menu--header .language-menu__panel {
  right: 0;
  top: calc(100% + 10px);
}

html[dir="rtl"] .language-menu--header .language-menu__panel {
  left: 0;
  right: auto;
}

.nav-explore {
  border-radius: 999px;
  font-size: 13px;
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

.site-promo-banner {
  background: #101713;
  color: #fff;
}

.site-promo-banner__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 56px;
  padding-bottom: 8px;
  padding-top: 8px;
}

.site-promo-banner__inner > div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-promo-banner__inner span {
  color: #54d990;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-promo-banner__inner strong {
  font-size: 14px;
}

.site-promo-banner__inner small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.site-promo-banner__inner a {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* CEO / Founder section */
.leadership-section {
  background: linear-gradient(180deg, #fbfcfb 0%, #f4f7f5 100%);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.leadership-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(44px, 6vw, 86px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.leadership-portrait {
  align-self: start;
  background: #101713;
  border-radius: 32px;
  min-height: 610px;
  overflow: hidden;
  position: relative;
}

.leadership-portrait::after {
  background: linear-gradient(180deg, transparent 52%, rgba(4, 12, 8, 0.82) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.leadership-portrait img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  width: 100%;
}

.leadership-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  color: #0d1713;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  left: 22px;
  letter-spacing: 0.12em;
  padding: 9px 13px;
  position: absolute;
  top: 22px;
  z-index: 2;
}

html[dir="rtl"] .leadership-badge {
  left: auto;
  right: 22px;
  letter-spacing: 0;
}

.leadership-id {
  bottom: 26px;
  color: #fff;
  display: grid;
  gap: 4px;
  left: 28px;
  position: absolute;
  z-index: 2;
}

html[dir="rtl"] .leadership-id {
  left: auto;
  right: 28px;
}

.leadership-id strong {
  font-size: 23px;
}

.leadership-id span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.leadership-copy {
  align-self: center;
  max-width: 790px;
}

.leadership-copy blockquote {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 16px 0 30px;
  max-width: 830px;
}

html[dir="rtl"] .leadership-copy blockquote {
  font-family: "NT Panorama Naskh", Tahoma, Arial, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: 0;
  line-height: 1.35;
}

.leadership-message {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.leadership-message p {
  margin: 0 0 16px;
}

.leadership-signoff {
  border-left: 3px solid var(--green);
  display: grid;
  gap: 3px;
  margin: 30px 0 22px;
  padding-left: 16px;
}

html[dir="rtl"] .leadership-signoff {
  border-left: 0;
  border-right: 3px solid var(--green);
  padding-left: 0;
  padding-right: 16px;
}

.leadership-signoff strong {
  color: var(--ink);
  font-size: 20px;
}

.leadership-signoff span {
  color: var(--muted);
  font-size: 13px;
}

.leadership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* News and promotion system */
.news-section,
.news-listing-section {
  background: #f8faf9;
}

.news-hero {
  background: linear-gradient(135deg, #eef8f2 0%, #ffffff 75%);
  border-bottom: 1px solid var(--line);
}

.news-hero h1,
.news-article__header h1 {
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -0.055em;
  line-height: .98;
  margin: 12px 0 18px;
  max-width: 1000px;
}

html[dir="rtl"] .news-hero h1,
html[dir="rtl"] .news-article__header h1 {
  letter-spacing: 0;
  line-height: 1.18;
}

.news-hero p,
.news-article__header-inner > p:last-child {
  color: var(--muted);
  max-width: 760px;
}

.news-grid,
.promotion-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.promotion-card {
  background: #fff;
  border: 1px solid #e0e7e3;
  border-radius: 24px;
  min-width: 0;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover,
.promotion-card:hover {
  border-color: #c3d9cd;
  box-shadow: 0 20px 52px rgba(25, 58, 41, .08);
  transform: translateY(-3px);
}

.news-card__image,
.promotion-card > img,
.promotion-card__media {
  display: block;
  height: 220px;
  overflow: hidden;
  width: 100%;
}

.news-card__image img,
.promotion-card > img,
.promotion-card__media img,
.promotion-card__media video,
.promotion-card__media iframe {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-card__body,
.promotion-card__body {
  padding: 24px;
}

.news-card time {
  color: var(--green-dark);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.news-card h3,
.news-card h2,
.promotion-card h3 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.news-card p,
.promotion-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-footer-action {
  margin-top: 28px;
  text-align: center;
}

.news-empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
  padding: 30px;
  text-align: center;
}

.news-article__header {
  background: #f6f9f7;
  padding-bottom: 64px;
}

.news-article__header-inner time {
  color: var(--muted);
  display: inline-block;
  font-size: 13px;
  margin-bottom: 18px;
}

.news-article__hero {
  margin-top: -32px;
}

.news-article__hero img {
  border-radius: 28px;
  display: block;
  height: min(58vw, 620px);
  object-fit: cover;
  width: 100%;
}

.news-article__content {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.85;
  max-width: 880px;
  padding-bottom: 110px;
  padding-top: 56px;
}

.news-article__content p {
  margin: 0 0 24px;
}

.back-link {
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
}

.promotions-section {
  background: #fff;
}

.promotion-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

/* Dark theme */
html[data-theme="dark"] body {
  background: #090e0c;
  color: var(--ink);
}

html[data-theme="dark"] .utility {
  background: #070b09;
  border-color: #1d2a24;
  color: #b6c1bb;
}

html[data-theme="dark"] .site-header {
  background: rgba(11, 17, 14, .95);
  border-color: #223029;
  box-shadow: 0 12px 34px rgba(0,0,0,.26);
}


html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .pwa-install-button {
  background: #111a16;
  border-color: #2b3a32;
  color: #f5f8f6;
}

html[data-theme="dark"] .nav-dropdown-menu,
html[data-theme="dark"] .language-menu__panel,
html[data-theme="dark"] .mobile-menu nav,
html[data-theme="dark"] .program-card,
html[data-theme="dark"] .page-section-card,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .promotion-card,
html[data-theme="dark"] .news-empty,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .proposal-form-card {
  background: #111815;
  border-color: #293830;
  color: #f4f7f5;
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .inner-hero,
html[data-theme="dark"] .page-sections,
html[data-theme="dark"] .programs-section,
html[data-theme="dark"] .moallimi-section,
html[data-theme="dark"] .testimonials-section,
html[data-theme="dark"] .news-section,
html[data-theme="dark"] .news-listing-section,
html[data-theme="dark"] .promotions-section,
html[data-theme="dark"] .news-hero,
html[data-theme="dark"] .news-article__header,
html[data-theme="dark"] .leadership-section {
  background: #0b110e;
  border-color: #26342d;
}

html[data-theme="dark"] .story-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .contact-section {
  background: #0d1511;
}

html[data-theme="dark"] footer {
  background: #070b09;
  border-color: #1c2822;
}

html[data-theme="dark"] .button-outline {
  border-color: #42554b;
  color: #f4f7f5;
}

html[data-theme="dark"] .button-outline:hover {
  background: #f4f7f5;
  color: #101010;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #101713;
  border-color: #314137;
  color: #f4f7f5;
}

html[data-theme="dark"] .leadership-copy blockquote,
html[data-theme="dark"] .news-card h3,
html[data-theme="dark"] .news-card h2,
html[data-theme="dark"] .promotion-card h3 {
  color: #f4f7f5;
}

/* Admin additions */
.ceo-admin-preview {
  border-radius: 18px;
  height: 220px;
  object-fit: cover;
  width: 180px;
}

.news-admin-preview {
  border-radius: 14px;
  max-height: 220px;
  object-fit: cover;
  width: 100%;
}

.admin-textarea-large {
  min-height: 290px !important;
}

.content-list-card {
  align-items: flex-start;
  border: 1px solid var(--admin-line, #d9dfdc);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px;
}

/* Arabic leadership and content refinements */
html[dir="rtl"] .leadership-grid,
html[dir="rtl"] .news-grid,
html[dir="rtl"] .promotion-grid {
  direction: rtl;
}

html[dir="rtl"] .leadership-copy,
html[dir="rtl"] .news-card__body,
html[dir="rtl"] .promotion-card__body,
html[dir="rtl"] .news-article__content,
html[dir="rtl"] .news-article__header-inner {
  text-align: right;
}

html[dir="rtl"] .site-promo-banner__inner,
html[dir="rtl"] .nav-actions {
  direction: rtl;
}

@media (max-width: 1180px) {
  .nav-wrap {
    gap: 16px;
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav > a,
  .nav-dropdown > summary {
    font-size: 13px;
  }

  .pwa-install-button span {
    display: none;
  }

  .pwa-install-button {
    padding: 0;
    width: 42px;
  }

  .nav-explore {
    padding-inline: 14px;
  }
}

@media (max-width: 1000px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    min-height: 82px;
  }

  .desktop-nav,
  .nav-actions .language-menu--header,
  .nav-actions .nav-explore,
  .nav-actions .pwa-install-button {
    display: none;
  }

  .nav-actions {
    justify-self: end;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
  }

  .brand img {
    max-height: 58px;
    width: 92px;
  }

  .leadership-grid {
    gap: 40px;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  }

  .leadership-portrait {
    min-height: 530px;
  }

  .news-grid,
  .promotion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .utility {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .nav-wrap {
    gap: 10px;
    min-height: 72px;
  }

  .brand img {
    max-height: 50px;
    width: 82px;
  }

  .nav-actions .theme-toggle {
    height: 38px;
    min-width: 38px;
  }

  .mobile-menu nav {
    border: 1px solid var(--line);
    border-radius: 20px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 16px;
  }

  .mobile-explore {
    background: var(--green);
    border-radius: 12px;
    color: #fff !important;
    margin-top: 8px;
    padding: 13px 14px !important;
    text-align: center;
  }

  .mobile-tools {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
  }

  .mobile-tools .theme-toggle,
  .mobile-tools .pwa-install-button {
    border-radius: 12px;
    display: inline-flex;
    height: 42px;
    padding: 0 12px;
    width: 100%;
  }

  .mobile-tools .theme-toggle span,
  .mobile-tools .pwa-install-button span {
    display: inline;
  }

  .mobile-language-links {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
  }

  .mobile-language-links a {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px !important;
    text-align: center;
  }

  .site-promo-banner__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .site-promo-banner__inner > div {
    display: grid;
    gap: 4px;
  }

  .leadership-grid,
  .news-grid,
  .promotion-grid {
    grid-template-columns: 1fr;
  }

  .leadership-portrait {
    min-height: 510px;
  }

  .leadership-copy blockquote {
    font-size: 34px;
  }

  html[dir="rtl"] .leadership-copy blockquote {
    font-size: 32px;
  }

  .leadership-actions {
    display: grid;
  }

  .leadership-actions .button {
    justify-content: center;
    width: 100%;
  }

  .news-card__image,
  .promotion-card > img,
  .promotion-card__media {
    height: 210px;
  }

  .news-hero h1,
  .news-article__header h1 {
    font-size: 48px;
  }

  html[dir="rtl"] .news-hero h1,
  html[dir="rtl"] .news-article__header h1 {
    font-size: 42px;
    line-height: 1.25;
  }

  .news-article__content {
    font-size: 16px;
    padding-top: 38px;
  }

  .content-list-card {
    display: grid;
  }
}


/* v77 — theme-aware transparent branding */
.theme-logo-pair {
  display: inline-grid;
  place-items: center;
  line-height: 0;
  max-width: 100%;
}

.theme-logo-pair > img {
  grid-area: 1 / 1;
  max-width: 100%;
}

.theme-logo-dark {
  display: none !important;
}

html[data-theme="dark"] .theme-logo-light {
  display: none !important;
}

html[data-theme="dark"] .theme-logo-dark {
  display: block !important;
}

.brand,
.brand-theme-logo,
.brand-theme-logo img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-theme-logo {
  height: 76px;
  justify-items: start;
  width: 100%;
}

.brand-theme-logo img {
  height: 76px;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

/* Program cards and program pages use an uploaded light logo on dark mode.
   When one is not yet uploaded, a clean white silhouette is used as fallback. */
.program-theme-logo {
  height: 54px;
  max-width: 94px;
  width: auto;
}

.program-theme-logo .program-card-logo {
  height: 54px;
  max-width: 94px;
  width: auto;
}

.program-page-theme-logo {
  min-height: 54px;
  min-width: 64px;
}

.theme-logo-dark-auto {
  filter: brightness(0) invert(1) contrast(1.08);
}

/* Light mode footer is intentionally light, with the full-color logo. */
footer {
  background: #f7f7f3;
  border-top: 1px solid #e1e4df;
  color: var(--ink);
}

.footer-theme-logo {
  height: 98px;
  justify-items: start;
  width: 270px;
}

.footer-theme-logo img,
.footer-brand img {
  filter: none !important;
  height: 98px;
  object-fit: contain;
  object-position: left center;
  width: 270px;
}

.footer-brand p {
  color: #555d58;
}

.footer-grid a,
.footer-grid span {
  color: #252a27;
}

.footer-bottom {
  border-top-color: #d7dcd8;
  color: #69716c;
}

html[data-theme="dark"] footer {
  background: #070b09;
  border-color: #1c2822;
  color: #f5f8f6;
}

html[data-theme="dark"] .footer-brand p {
  color: #bfc8c2;
}

html[data-theme="dark"] .footer-grid a,
html[data-theme="dark"] .footer-grid span {
  color: #d9dfdb;
}

html[data-theme="dark"] .footer-bottom {
  border-top-color: #26322c;
  color: #99a49e;
}

.admin-logo-previews-dark {
  background: #101713;
  border-radius: 14px;
  padding: 14px;
}

@media (max-width: 900px) {
  .brand-theme-logo,
  .brand-theme-logo img {
    height: 62px;
  }

  .footer-theme-logo,
  .footer-theme-logo img,
  .footer-brand img {
    max-width: 220px;
    width: 100%;
  }
}

/* ========================================================================== */
/* v78 — dark-mode contrast hardening + brand-colour-preserving program logos */
/* ========================================================================== */

/* Do not flatten programme marks to white. The PHP theme-logo helper converts
   only neutral black/charcoal pixels while keeping real brand colours intact. */
.theme-logo-dark-auto {
  filter: none !important;
}

.theme-logo-dark-preserve {
  filter:
    drop-shadow(0 0 .55px rgba(255, 255, 255, .72))
    drop-shadow(0 0 1.1px rgba(255, 255, 255, .22));
}

.theme-logo-dark-selective {
  filter:
    url(#sm-black-to-light)
    drop-shadow(0 0 .55px rgba(255, 255, 255, .68))
    drop-shadow(0 0 1.1px rgba(255, 255, 255, .18));
}

/* Keep semantic "ink" text light in dark mode, but never use that variable as
   a structural surface where it would become white-on-white. */
html[data-theme="dark"] .skip-link,
html[data-theme="dark"] .program-logo-fallback,
html[data-theme="dark"] .program-card-mark,
html[data-theme="dark"] .aside-card,
html[data-theme="dark"] .contact-map-card,
html[data-theme="dark"] .proposal-promise,
html[data-theme="dark"] .m-app-showcase,
html[data-theme="dark"] .m-section-dark,
html[data-theme="dark"] .m-path-dark,
html[data-theme="dark"] .moallimi-subnav {
  background: #0b120e !important;
  border-color: #2a3a31 !important;
  color: #f4f7f5 !important;
}

html[data-theme="dark"] .program-destination-card__open,
html[data-theme="dark"] .m-final-cta .button-primary,
html[data-theme="dark"] .contact-actions .button-primary {
  background: #f4f7f5 !important;
  border-color: #f4f7f5 !important;
  color: #0b120e !important;
}

html[data-theme="dark"] .button-light {
  background: #f4f7f5;
  border-color: #f4f7f5;
  color: #0b120e;
}

html[data-theme="dark"] .button-light:hover,
html[data-theme="dark"] .contact-actions .button-primary:hover,
html[data-theme="dark"] .m-final-cta .button-primary:hover {
  background: #dff6e9 !important;
  border-color: #dff6e9 !important;
  color: #07110b !important;
}

/* Home story: the large "One" panel was becoming white-on-white because its
   background used --ink. Keep it a premium dark card in the dark theme. */
html[data-theme="dark"] .stat-main {
  background: #101a15;
  border: 1px solid #2a3a31;
  color: #f4f7f5;
}

html[data-theme="dark"] .stat-main span {
  color: #f4f7f5;
}

html[data-theme="dark"] .stat-mini {
  background: #13241c;
  border: 1px solid #2a3a31;
  color: #f4f7f5;
}

html[data-theme="dark"] .stat-mini span {
  color: #b7c2bc;
}

html[data-theme="dark"] .stat-mini.accent {
  background: #e51c2f;
  border-color: #e51c2f;
  color: #fff;
}

html[data-theme="dark"] .stat-mini.accent span {
  color: #fff;
}

/* Corporate & Government section: keep one consistent dark surface instead of
   a pale copy area with light text. */
html[data-theme="dark"] .corporate-section {
  background: #09100d !important;
  color: #f4f7f5 !important;
}

html[data-theme="dark"] .corporate-copy h2,
html[data-theme="dark"] .corporate-copy .eyebrow {
  color: #f4f7f5;
}

html[data-theme="dark"] .corporate-copy .eyebrow {
  color: #16c96a;
}

html[data-theme="dark"] .corporate-copy > p {
  color: #b9c7bf !important;
}

html[data-theme="dark"] .delivery-list span {
  background: #101a15;
  border-color: #3a5145;
  color: #eef5f1;
}

html[data-theme="dark"] .corporate-image {
  box-shadow: 0 24px 64px rgba(0, 0, 0, .26);
}

/* Green CTA section needs explicit dark-theme text colours after --ink swaps. */
html[data-theme="dark"] .contact-section {
  background: #0d1712 !important;
  color: #f4f7f5;
}

html[data-theme="dark"] .contact-section .eyebrow {
  color: #16c96a;
}

html[data-theme="dark"] .contact-section h2 {
  color: #f4f7f5;
}

html[data-theme="dark"] .contact-section p {
  color: #b9c7bf !important;
}

/* Contact / proposal / programme supporting surfaces. */
html[data-theme="dark"] .contact-map-section,
html[data-theme="dark"] .proposal-form-section,
html[data-theme="dark"] .content-band,
html[data-theme="dark"] .program-detail {
  background: #0b110e;
  color: #f4f7f5;
}

html[data-theme="dark"] .contact-map-copy h2,
html[data-theme="dark"] .proposal-promise,
html[data-theme="dark"] .aside-card,
html[data-theme="dark"] .m-section-dark,
html[data-theme="dark"] .m-path-dark {
  color: #f4f7f5;
}

html[data-theme="dark"] .proposal-promise li,
html[data-theme="dark"] .m-section-dark .m-steps article {
  border-color: #2b3a32;
}

/* Light panels that intentionally remain light must force dark copy, so they
   cannot inherit the dark theme's light --ink value. */
html[data-theme="dark"] .m-phone-card,
html[data-theme="dark"] .program-destination-card__note {
  color: #101613;
}

html[data-theme="dark"] .program-destination-card__note {
  background: #f7faf8;
  border-color: #dfe5e1;
}

/* Program page prose/lead text that used fixed dark colours. */
html[data-theme="dark"] .program-prose__item.is-lead p,
html[data-theme="dark"] .program-detail p,
html[data-theme="dark"] .program-detail li,
html[data-theme="dark"] .content-band li {
  color: #c3cec8;
}

html[data-theme="dark"] .program-template .program-page-hero .back-link,
html[data-theme="dark"] .program-template .program-page-hero .back-link__copy strong {
  color: #f4f7f5;
}

html[data-theme="dark"] .program-template .program-page-hero .back-link__copy small {
  color: #aeb9b3;
}

html[data-theme="dark"] .back-link__icon {
  background: #15221b;
  border: 1px solid #33463b;
}

/* Global dark-mode readability guardrails for common copy and controls. */
html[data-theme="dark"] .page-section-card h2,
html[data-theme="dark"] .page-section-card h3,
html[data-theme="dark"] .faq-list summary,
html[data-theme="dark"] .proposal-form legend,
html[data-theme="dark"] .contact-card h2,
html[data-theme="dark"] .contact-card h3 {
  color: #f4f7f5;
}

html[data-theme="dark"] .page-section-card p,
html[data-theme="dark"] .faq-list details p,
html[data-theme="dark"] .proposal-form-intro > p:last-child,
html[data-theme="dark"] .form-note {
  color: #b5c1ba;
}

html[data-theme="dark"] .floating-note {
  background: #101a15;
  border: 1px solid #2a3a31;
  color: #f4f7f5;
}

html[data-theme="dark"] .floating-note span {
  color: #b5c1ba;
}

/* Better card separation in the dark theme without introducing bright boxes. */
html[data-theme="dark"] .program-card,
html[data-theme="dark"] .page-section-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .promotion-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .proposal-form-card {
  box-shadow: 0 16px 42px rgba(0, 0, 0, .16);
}

/* Do not allow inherited theme colours to make primary navigation controls or
   common fields unreadable. */
html[data-theme="dark"] .program-card a,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .back-link {
  color: #eef5f1;
}

html[data-theme="dark"] .program-card a:hover,
html[data-theme="dark"] .text-link:hover,
html[data-theme="dark"] .back-link:hover {
  color: #20d978;
}

/* Theme switch should not create accidental transparent/low-contrast states. */
html[data-theme="dark"] ::selection {
  background: #1bbf67;
  color: #06110a;
}

html[data-theme="light"] ::selection {
  background: #b9f1d1;
  color: #101010;
}

html[data-theme="dark"] .program-page-visual {
  background: #0b120e;
}

html[data-theme="dark"] .moallimi-subnav a.active,
html[data-theme="dark"] .moallimi-subnav a:hover {
  background: #f4f7f5;
  color: #0b120e;
}

@media (max-width: 960px) {
  html[data-theme="dark"] .mobile-menu > .mobile-menu-trigger {
    background: #101713;
    border-color: #314137;
    color: #f4f7f5;
  }

  html[data-theme="dark"] .mobile-menu[open] > .mobile-menu-trigger {
    background: #18c96b;
    border-color: #18c96b;
    color: #06110a;
  }
}

/* Remaining light surfaces that inherited light text in dark mode. */
html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .lead-form,
html[data-theme="dark"] .program-template .program-detail .prose,
html[data-theme="dark"] .m-match-card,
html[data-theme="dark"] .m-subject-grid > div,
html[data-theme="dark"] .m-requirements li,
html[data-theme="dark"] .m-path-card:not(.m-path-dark) {
  background: #111815 !important;
  border-color: #2b3a32 !important;
  color: #f4f7f5 !important;
}

html[data-theme="dark"] .program-template .program-detail .prose h2,
html[data-theme="dark"] .m-match-card strong,
html[data-theme="dark"] .m-subject-grid > div,
html[data-theme="dark"] .m-requirements li,
html[data-theme="dark"] .m-path-card:not(.m-path-dark) h3 {
  color: #f4f7f5 !important;
}

html[data-theme="dark"] .m-match-card > span,
html[data-theme="dark"] .m-path-card:not(.m-path-dark) > p:not(.eyebrow) {
  color: #b6c2bb !important;
}

html[data-theme="dark"] .program-template .content-band {
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--program-accent, var(--green)) 13%, transparent), transparent 26%),
    #0b110e !important;
  border-color: #26362d !important;
}

html[data-theme="dark"] .program-template .program-detail {
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--program-accent, var(--green)) 10%, transparent), transparent 25%),
    #0b110e !important;
}

/* Standalone proposal and Moallimi heroes used fixed light gradients. */
html[data-theme="dark"] .proposal-hero,
html[data-theme="dark"] .m-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 185, 90, .14), transparent 28%),
    linear-gradient(145deg, #0a100d 0%, #0d1712 56%, #09100d 100%) !important;
  border-color: #18c96b;
  color: #f4f7f5;
}

html[data-theme="dark"] .proposal-hero h1,
html[data-theme="dark"] .m-hero h1 {
  color: #f4f7f5;
}

html[data-theme="dark"] .m-hero .hero-lead,
html[data-theme="dark"] .proposal-hero .hero-lead {
  color: #b7c3bc !important;
}

html[data-theme="dark"] .desktop-nav > a:hover,
html[data-theme="dark"] .desktop-nav > a.active,
html[data-theme="dark"] .nav-dropdown > summary:hover,
html[data-theme="dark"] .nav-dropdown > summary.active,
html[data-theme="dark"] .nav-dropdown[open] > summary {
  background: #15211b;
  box-shadow: none;
  color: #1ed175;
}

/* ========================================================================== */
/* v79 — global light/dark button system                                      */
/* Prevent theme variables such as --ink from inverting button text/background */
/* independently. Every public CTA now follows one semantic, contrast-safe set. */
/* ========================================================================== */

:root {
  --sm-btn-primary-bg: #00b95a;
  --sm-btn-primary-bg-hover: #009d4c;
  --sm-btn-primary-text: #ffffff;
  --sm-btn-primary-border: #00b95a;
  --sm-btn-secondary-bg: #ffffff;
  --sm-btn-secondary-bg-hover: #eaf7f0;
  --sm-btn-secondary-text: #101010;
  --sm-btn-secondary-border: #303632;
  --sm-btn-secondary-border-hover: #00b95a;
  --sm-btn-light-bg: #ffffff;
  --sm-btn-light-bg-hover: #edf8f2;
  --sm-btn-light-text: #101010;
  --sm-btn-light-border: #ffffff;
  --sm-btn-focus: rgba(0, 185, 90, .36);
}

html[data-theme="dark"] {
  --sm-btn-primary-bg: #00b95a;
  --sm-btn-primary-bg-hover: #00a650;
  --sm-btn-primary-text: #ffffff;
  --sm-btn-primary-border: #00b95a;
  --sm-btn-secondary-bg: transparent;
  --sm-btn-secondary-bg-hover: #14231b;
  --sm-btn-secondary-text: #f4f7f5;
  --sm-btn-secondary-border: #708078;
  --sm-btn-secondary-border-hover: #00b95a;
  --sm-btn-light-bg: #f4f7f5;
  --sm-btn-light-bg-hover: #dff6e9;
  --sm-btn-light-text: #101010;
  --sm-btn-light-border: #f4f7f5;
  --sm-btn-focus: rgba(0, 185, 90, .5);
}

/* Primary actions are always SynergyMind green with white text in both themes. */
.button-primary,
.nav-cta,
.contact-actions .button-primary,
.m-final-cta .button-primary,
.program-destination-card__open {
  background: var(--sm-btn-primary-bg) !important;
  border-color: var(--sm-btn-primary-border) !important;
  color: var(--sm-btn-primary-text) !important;
  text-shadow: none !important;
}

.button-primary:hover,
.nav-cta:hover,
.contact-actions .button-primary:hover,
.m-final-cta .button-primary:hover,
.program-destination-card__open:hover {
  background: var(--sm-btn-primary-bg-hover) !important;
  border-color: var(--sm-btn-primary-bg-hover) !important;
  color: var(--sm-btn-primary-text) !important;
}

/* Secondary actions remain light/outlined in light mode and transparent/light in dark. */
.button-outline {
  background: var(--sm-btn-secondary-bg) !important;
  border-color: var(--sm-btn-secondary-border) !important;
  color: var(--sm-btn-secondary-text) !important;
  text-shadow: none !important;
}

.button-outline:hover {
  background: var(--sm-btn-secondary-bg-hover) !important;
  border-color: var(--sm-btn-secondary-border-hover) !important;
  color: var(--sm-btn-secondary-text) !important;
}

/* White/light CTA stays readable even though --ink becomes light in dark mode. */
.button-light {
  background: var(--sm-btn-light-bg) !important;
  border-color: var(--sm-btn-light-border) !important;
  color: var(--sm-btn-light-text) !important;
  text-shadow: none !important;
}

.button-light:hover {
  background: var(--sm-btn-light-bg-hover) !important;
  border-color: var(--sm-btn-light-bg-hover) !important;
  color: var(--sm-btn-light-text) !important;
}

/* Child icons/arrows must never retain a stale theme colour. */
.button > span,
.button svg,
.button svg path,
.button svg use {
  color: inherit !important;
}

.button svg,
.button svg path {
  stroke: currentColor;
}

/* Accessible keyboard focus in both themes. */
.button:focus-visible,
.nav-cta:focus-visible,
.program-destination-card__open:focus-visible {
  outline: 3px solid var(--sm-btn-focus) !important;
  outline-offset: 3px;
}

/* Safe disabled state: readable, visibly disabled, but never white-on-white. */
.button[aria-disabled="true"],
.button:disabled {
  background: #d9ddda !important;
  border-color: #c8ceca !important;
  color: #5d6661 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1 !important;
  pointer-events: none;
  transform: none !important;
}

html[data-theme="dark"] .button[aria-disabled="true"],
html[data-theme="dark"] .button:disabled {
  background: #253029 !important;
  border-color: #37443d !important;
  color: #aeb9b3 !important;
}

/* Keep CTA groups balanced and prevent text clipping on narrow screens. */
.contact-actions .button,
.hero-actions .button,
.leadership-actions .button,
.form-actions .button,
.section-footer-action .button {
  max-width: 100%;
  white-space: normal;
}

/* ========================================================================== */
/* v80 — Moallimi brand logo: preserve colours, lift only dark pixels in dark */
/* ========================================================================== */

/* Keep the original red/green Moallimi identity. In dark mode the shared SVG
   filter overlays white only on near-black artwork/text, matching the program
   logo treatment without flattening the whole mark to white. */
html[data-theme="dark"] .moallimi-brand-logo,
html[data-theme="dark"] img[src*="/moallimi-logo.png"],
html[data-theme="dark"] img[src*="/moallimi-logo.webp"] {
  background: transparent !important;
  filter:
    url(#sm-black-to-light)
    drop-shadow(0 0 .55px rgba(255, 255, 255, .52))
    drop-shadow(0 0 1px rgba(255, 255, 255, .14)) !important;
  mix-blend-mode: normal !important;
}

html[data-theme="light"] .moallimi-brand-logo,
html[data-theme="light"] img[src*="/moallimi-logo.png"],
html[data-theme="light"] img[src*="/moallimi-logo.webp"] {
  background: transparent !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Moallimi navigation refinement — v81 */
/* The former page-level sub-navigation is intentionally retired. */
.moallimi-subnav {
  display: none !important;
}

.nav-dropdown--moallimi > summary {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ink);
  min-height: 42px;
  padding: 0 2px !important;
  position: relative;
  transform: none !important;
}

.nav-dropdown--moallimi > summary::after {
  background: var(--green);
  border-radius: 999px;
  bottom: 2px;
  content: "";
  height: 2px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) scaleX(.5);
  transition: opacity 160ms ease, transform 160ms ease;
  width: 22px;
}

.nav-dropdown--moallimi > summary:hover,
.nav-dropdown--moallimi > summary.active,
.nav-dropdown--moallimi[open] > summary {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--green-dark);
  transform: none !important;
}

.nav-dropdown--moallimi > summary:hover::after,
.nav-dropdown--moallimi > summary.active::after,
.nav-dropdown--moallimi[open] > summary::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav-dropdown-chevron {
  color: var(--green-dark) !important;
  display: inline-block;
  font-size: 13px !important;
  margin-inline-start: 4px !important;
  transition: transform 160ms ease;
}

.nav-dropdown--moallimi[open] .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu--moallimi {
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(16,16,16,.09);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(16,16,16,.16);
  gap: 5px;
  left: 50%;
  min-width: 360px;
  padding: 9px;
  top: calc(100% + 14px);
  transform: translateX(-50%);
}

.nav-dropdown-menu--moallimi::before {
  background: inherit;
  border-left: 1px solid rgba(16,16,16,.07);
  border-top: 1px solid rgba(16,16,16,.07);
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  top: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
}

.nav-dropdown-menu--moallimi .nav-dropdown-card {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #101713;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  min-height: 68px;
  padding: 10px 11px;
  position: relative;
  text-align: start;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.nav-dropdown-menu--moallimi .nav-dropdown-card:hover,
.nav-dropdown-menu--moallimi .nav-dropdown-card.active {
  background: #eef9f3;
  border-color: #d8f0e3;
  color: #0c2418;
  transform: translateX(2px);
}

.nav-dropdown-card__icon {
  align-items: center;
  background: #e7f8ef;
  border: 1px solid #d1efdf;
  border-radius: 12px;
  color: #008f48;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-dropdown-card__icon svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 20px;
}

.nav-dropdown-card__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.nav-dropdown-card__copy strong {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.nav-dropdown-card__copy small {
  color: #66736d;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.nav-dropdown-card__arrow {
  color: #009b4f;
  font-size: 17px;
  justify-self: end;
  transition: transform 150ms ease;
}

.nav-dropdown-card:hover .nav-dropdown-card__arrow,
.nav-dropdown-card.active .nav-dropdown-card__arrow {
  transform: translateX(2px);
}

html[dir="rtl"] .nav-dropdown-menu--moallimi .nav-dropdown-card:hover,
html[dir="rtl"] .nav-dropdown-menu--moallimi .nav-dropdown-card.active {
  transform: translateX(-2px);
}

html[dir="rtl"] .nav-dropdown-card__arrow {
  transform: rotate(180deg);
}

html[dir="rtl"] .nav-dropdown-card:hover .nav-dropdown-card__arrow,
html[dir="rtl"] .nav-dropdown-card.active .nav-dropdown-card__arrow {
  transform: rotate(180deg) translateX(2px);
}

html[data-theme="dark"] .nav-dropdown--moallimi > summary {
  color: #f4f7f5;
}

html[data-theme="dark"] .nav-dropdown--moallimi > summary:hover,
html[data-theme="dark"] .nav-dropdown--moallimi > summary.active,
html[data-theme="dark"] .nav-dropdown--moallimi[open] > summary {
  color: #54d990;
}

html[data-theme="dark"] .nav-dropdown-menu--moallimi {
  background: rgba(17,24,21,.99);
  border-color: #2a3931;
  box-shadow: 0 28px 74px rgba(0,0,0,.38);
}

html[data-theme="dark"] .nav-dropdown-menu--moallimi::before {
  border-color: #2a3931;
}

html[data-theme="dark"] .nav-dropdown-menu--moallimi .nav-dropdown-card {
  color: #f4f7f5;
}

html[data-theme="dark"] .nav-dropdown-menu--moallimi .nav-dropdown-card:hover,
html[data-theme="dark"] .nav-dropdown-menu--moallimi .nav-dropdown-card.active {
  background: #16251e;
  border-color: #2b4738;
  color: #fff;
}

html[data-theme="dark"] .nav-dropdown-card__icon {
  background: #10261b;
  border-color: #294b39;
  color: #5be19a;
}

html[data-theme="dark"] .nav-dropdown-card__copy small {
  color: #aab8b1;
}

html[data-theme="dark"] .nav-dropdown-card__arrow {
  color: #5be19a;
}

.mobile-nav-group {
  border-top: 1px solid var(--line);
  margin-top: 2px;
  padding-top: 2px;
}

.mobile-nav-group > summary {
  align-items: center;
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 750;
  justify-content: space-between;
  list-style: none;
  min-height: 48px;
  padding: 0 14px;
}

.mobile-nav-group > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-group > summary span {
  color: var(--green-dark);
  transition: transform 160ms ease;
}

.mobile-nav-group[open] > summary {
  background: var(--mint);
  color: var(--green-dark);
}

.mobile-nav-group[open] > summary span {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: grid;
  gap: 5px;
  padding: 6px 4px 8px 12px;
}

html[dir="rtl"] .mobile-nav-submenu {
  padding: 6px 12px 8px 4px;
}

.mobile-nav-submenu a {
  border-left: 2px solid var(--line);
  border-radius: 0 10px 10px 0;
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  text-align: start;
}

html[dir="rtl"] .mobile-nav-submenu a {
  border-left: 0;
  border-radius: 10px 0 0 10px;
  border-right: 2px solid var(--line);
}

.mobile-nav-submenu a:hover,
.mobile-nav-submenu a.active {
  background: var(--mint);
  border-color: var(--green);
}

.mobile-nav-submenu strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.mobile-nav-submenu small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

html[data-theme="dark"] .mobile-nav-group {
  border-color: #293830;
}

html[data-theme="dark"] .mobile-nav-group > summary {
  color: #f4f7f5;
}

html[data-theme="dark"] .mobile-nav-group[open] > summary,
html[data-theme="dark"] .mobile-nav-submenu a:hover,
html[data-theme="dark"] .mobile-nav-submenu a.active {
  background: #16251e;
}

html[data-theme="dark"] .mobile-nav-submenu a {
  border-color: #2a3931;
}

html[data-theme="dark"] .mobile-nav-submenu a:hover,
html[data-theme="dark"] .mobile-nav-submenu a.active {
  border-color: #42cf85;
}

html[data-theme="dark"] .mobile-nav-submenu strong {
  color: #f4f7f5;
}

html[data-theme="dark"] .mobile-nav-submenu small {
  color: #a9b7b0;
}

@media (max-width: 1180px) and (min-width: 1001px) {
  .nav-dropdown-menu--moallimi {
    min-width: 330px;
  }
}

/* v82 — global public-site mobile containment + responsive map */
html,body{max-width:100%;overflow-x:clip}
img,svg,video,canvas,iframe{max-width:100%}
.container{width:min(100% - 32px,var(--container,1280px));max-width:100%;margin-inline:auto}
.contact-map-card{width:100%;max-width:100%}
.contact-map-frame{width:100%;overflow:hidden}
.contact-map-frame iframe{display:block;max-width:none}
@media(max-width:800px){
 .contact-map-card{display:grid;grid-template-columns:minmax(0,1fr)!important;min-height:0!important}
 .contact-map-copy{min-width:0;padding:34px 24px!important}
 .contact-map-copy h2{font-size:clamp(34px,11vw,48px)!important;overflow-wrap:anywhere}
 .contact-map-frame{position:relative!important;min-height:0!important;height:clamp(300px,72vw,390px)!important}
 .contact-map-frame iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
}
@media(max-width:520px){
 .container{width:calc(100% - 24px)}
 section,.hero,.inner-hero,.contact-form-section,.contact-map-section{max-width:100%;overflow:hidden}
 .contact-map-card{border-radius:20px!important}
 .contact-map-copy{padding:28px 20px!important}
 .contact-map-frame{height:310px!important}
 input,select,textarea,button{max-width:100%}
 .form-grid,.contact-layout,.content-grid,.program-detail-grid,.page-section-card{min-width:0}
 .phone-input-group{grid-template-columns:minmax(130px,.95fr) minmax(0,1.05fr);gap:8px}
}

/* v83 — responsive image/video system for news, promotions and side media */
.website-media{background:#090d0b;display:block;max-width:100%;overflow:hidden;position:relative;width:100%}
.website-media img,.website-media video,.website-media iframe{border:0;display:block;height:100%;margin:0;max-width:none;width:100%}
.website-media img,.website-media video{object-fit:cover}
.website-media iframe{background:#090d0b}
.news-card__image,.promotion-card__media{height:220px}
.news-card__image.website-media--embed iframe,.promotion-card__media.website-media--embed iframe{position:absolute;inset:0}
.news-article__hero{border-radius:28px;height:min(58vw,620px);margin-top:-32px}
.news-article__hero.website-media--embed iframe{position:absolute;inset:0}
.section-media.website-media,.corporate-image.website-media{height:460px}
.section-media.website-media--embed iframe,.corporate-image.website-media--embed iframe{position:absolute;inset:0}
.website-media--tiktok iframe{background:#000}
.website-media__source{align-items:center;background:rgba(6,18,11,.86);border:1px solid rgba(255,255,255,.18);border-radius:999px;bottom:9px;color:#fff;display:inline-flex;font-size:10px;font-weight:800;gap:5px;letter-spacing:.02em;max-width:calc(100% - 18px);padding:7px 10px;position:absolute;right:9px;z-index:3}
.website-media__source:hover{background:#00a962;color:#fff}
.website-media--external{align-items:center;background:radial-gradient(circle at 18% 14%,rgba(0,185,90,.34),transparent 34%),linear-gradient(145deg,#07130c,#10291b);color:#fff;display:flex!important;flex-direction:column;justify-content:center;padding:24px;text-align:center}
.website-media--external:hover{color:#fff}
.website-media--external .website-media__play{align-items:center;background:#00b96a;border-radius:50%;box-shadow:0 12px 28px rgba(0,185,106,.28);display:flex;font-size:20px;height:54px;justify-content:center;margin-bottom:14px;padding-left:3px;width:54px}
.website-media--external strong{font-size:18px;letter-spacing:-.02em}
.website-media--external small{color:#b9cec1;font-size:11px;margin-top:6px}
html[data-theme="dark"] .website-media{border-color:#293830}
@media(max-width:720px){
 .news-card__image,.promotion-card__media{height:210px}
 .news-article__hero{border-radius:20px;height:clamp(230px,62vw,390px)}
 .section-media.website-media,.corporate-image.website-media{height:clamp(260px,72vw,390px)}
 .website-media__source{bottom:7px;font-size:9px;padding:6px 8px;right:7px}
}

/* v87 — Admin-managed, fully clickable cards with transparent brand imagery */
[data-card-link]{cursor:pointer}
[data-card-link]:focus-visible{outline:3px solid color-mix(in srgb,var(--green) 72%,#fff);outline-offset:4px}
.admin-managed-card{isolation:isolate;overflow:hidden;position:relative}
.admin-managed-card[style*="--card-background"]{background:var(--card-background)}
.admin-managed-card[style*="--card-text"],
.admin-managed-card[style*="--card-text"] :is(h1,h2,h3,strong,p,span,small,li,.eyebrow){color:var(--card-text)}
.admin-managed-card>:not(.website-card-watermarks){position:relative;z-index:1}
.website-card-watermarks{align-items:center;display:flex;gap:12px;inset:18px;justify-content:center;opacity:var(--card-image-opacity,.18);pointer-events:none;position:absolute;z-index:0}
.website-card-watermark{flex:1 1 0;height:min(42%,92px);max-width:42%;width:100%}
.website-card-watermark img{height:100%;max-height:100%;object-fit:contain;width:100%}
.website-card-content{display:flex;flex:1;flex-direction:column;min-height:100%;position:relative;z-index:1}
.website-card-content strong{margin-top:auto}
.website-card-arrow{position:absolute!important;z-index:2!important}
.bento-card.admin-managed-card{background:var(--card-background,var(--green));color:var(--card-text,inherit)}
.bento-card.admin-managed-card.bento-mint{background:var(--card-background,var(--mint))}
.bento-card.admin-managed-card.bento-red{background:var(--card-background,var(--red));color:var(--card-text,var(--white))}
.bento-card .website-card-watermarks{inset:54px 20px 48px}
.bento-card .website-card-watermark{height:70px;max-width:44%}
.program-card[data-card-link],.news-card[data-card-link],.promotion-card[data-card-link],.page-section-card[data-card-link]{cursor:pointer}
.program-card[data-card-link]:focus-visible,.news-card[data-card-link]:focus-visible,.promotion-card[data-card-link]:focus-visible,.page-section-card[data-card-link]:focus-visible{border-color:var(--green)}
.m-match-card.admin-managed-card,.floating-note.admin-managed-card{position:absolute}
.m-match-card.admin-managed-card,.m-subject-grid>.admin-managed-card{background:var(--card-background,var(--white))}
@media(max-width:720px){
 .website-card-watermarks{gap:8px;inset:14px}
 .website-card-watermark{height:min(38%,72px);max-width:46%}
 .bento-card .website-card-watermarks{inset:46px 14px 42px}
 .bento-card .website-card-watermark{height:54px}
}

/* v89 — media visibility, fit controls and professional full-screen viewer */
.website-media__frame{background:#090d0b;inset:0;overflow:hidden;position:absolute}
.website-media__frame iframe{height:100%!important;inset:0;position:absolute;width:100%!important}
.website-media--fit-contain img,.website-media--fit-contain video{background:#090d0b;object-fit:contain!important}
.website-media--fit-cover img,.website-media--fit-cover video{object-fit:cover!important}
.website-media__expand{align-items:center;background:rgba(6,18,11,.9);border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;display:inline-flex;font-size:10px;font-weight:850;gap:6px;min-height:32px;padding:6px 10px;position:absolute;right:9px;top:9px;z-index:6}
.website-media__expand:hover{background:#00a962;color:#fff}.website-media__expand>span:first-child{font-size:15px;line-height:1}
.website-media__source{bottom:9px;right:9px}
.website-media__expand+.website-media__source{max-width:calc(100% - 18px)}
.news-card__image.website-media--instagram,.promotion-card__media.website-media--instagram{height:clamp(360px,52vw,520px)}
.news-card__image.website-media--tiktok,.promotion-card__media.website-media--tiktok{height:clamp(390px,58vw,560px)}
.website-media--instagram .website-media__frame,.website-media--tiktok .website-media__frame{overflow:hidden}
.website-media--instagram iframe,.website-media--tiktok iframe{scrollbar-width:none}
.website-media--instagram iframe::-webkit-scrollbar,.website-media--tiktok iframe::-webkit-scrollbar{display:none}
body.video-lightbox-open{overflow:hidden}
.website-video-lightbox{align-items:center;background:rgba(3,9,6,.94);display:flex;inset:0;justify-content:center;padding:clamp(12px,3vw,34px);position:fixed;z-index:99999}
.website-video-lightbox[hidden]{display:none}
.website-video-lightbox__dialog{background:#07100c;border:1px solid rgba(255,255,255,.18);border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.55);display:grid;grid-template-rows:auto minmax(0,1fr);height:min(92vh,900px);max-width:1500px;overflow:hidden;width:min(96vw,1500px)}
.website-video-lightbox__bar{align-items:center;background:#0b1811;border-bottom:1px solid rgba(255,255,255,.12);color:#fff;display:flex;gap:12px;justify-content:space-between;min-height:58px;padding:10px 12px 10px 18px}
.website-video-lightbox__bar strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.website-video-lightbox__bar div{align-items:center;display:flex;gap:8px}
.website-video-lightbox__native,.website-video-lightbox__close{align-items:center;background:#14271c;border:1px solid rgba(255,255,255,.16);border-radius:10px;color:#fff;display:inline-flex;font-size:11px;font-weight:800;justify-content:center;min-height:38px;padding:8px 12px}
.website-video-lightbox__close{font-size:20px;min-width:40px;padding:6px 10px}
.website-video-lightbox__stage{background:#000;min-height:0;position:relative}
.website-video-lightbox__stage iframe,.website-video-lightbox__stage video{border:0;height:100%;inset:0;object-fit:contain;position:absolute;width:100%}
.website-video-lightbox__stage iframe{background:#000}
@media(max-width:720px){
 .website-media__expand{min-height:30px;padding:5px 8px;right:7px;top:7px}.website-media__expand-label{display:none}
 .news-card__image.website-media--instagram,.promotion-card__media.website-media--instagram{height:clamp(350px,118vw,520px)}
 .news-card__image.website-media--tiktok,.promotion-card__media.website-media--tiktok{height:clamp(390px,135vw,560px)}
 .website-video-lightbox{padding:0}.website-video-lightbox__dialog{border:0;border-radius:0;height:100dvh;width:100vw}.website-video-lightbox__bar{min-height:54px;padding-left:12px}
 .website-video-lightbox__native{display:none}
}
