:root {
  --pink: #b52858;
  --pink-dark: #831d3f;
  --ink: #1d2430;
  --muted: #657083;
  --paper: #ffffff;
  --soft: #f7f7f9;
  --line: #e5e7ee;
  --blue: #14365b;
  --gold: #d6b651;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Nunito Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  overflow-x: hidden;
}

main { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.navbar-area,
.top-contact,
.main-nav,
.home-slider,
.feature-area,
.affordable-area,
.courses-two-area,
.feedback-area,
.footer-top-area,
.footer-bottom-area {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: min(1140px, calc(100% - 30px));
  margin: 0 auto;
}

.ptb-80 { padding: 80px 0; }
.bg-color-b52858 { background: var(--pink); }
.text-light { color: #fff; font-weight: 800; }

.top-contact {
  background: var(--pink);
  color: rgba(255,255,255,.9);
  font-size: .86rem;
}

.top-contact-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-contact a { color: #fff; font-weight: 800; }
.top-contact nav { display: inline-flex; gap: 10px; }

.main-nav {
  background: #fff;
  box-shadow: 0 2px 16px rgba(20, 30, 48, .08);
}

.nav-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-mark,
.footer-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(214, 182, 81, .75);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 34, 55, .16);
}

.logo-mark img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-brand strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.navbar-brand small {
  display: block;
  color: var(--muted);
  font-size: .84rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
}

.navbar-menu a {
  padding: 10px 13px;
  border-radius: 3px;
  color: #263143;
}

.navbar-menu a:hover,
.navbar-menu .active {
  color: var(--pink);
}

.navbar-menu .nav-cta,
.default-btn,
.btn-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--pink);
  color: #fff !important;
  font-weight: 850;
  line-height: 1.2;
}

.navbar-menu .nav-cta:hover,
.default-btn:hover { background: var(--pink-dark); }

.home-slider {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #dfe6ef;
}

.home-slider > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 54, 91, .76), rgba(20, 54, 91, .38) 46%, rgba(181, 40, 88, .08));
}

.slider-caption {
  position: relative;
  z-index: 1;
  color: #fff;
}

.slider-caption p {
  margin: 0 0 12px;
  color: #f7d7e3;
  font-weight: 900;
  text-transform: uppercase;
}

.slider-caption h1 {
  max-width: 660px;
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-title {
  text-align: center;
  margin: 0 auto 40px;
}

.section-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.title-line {
  display: inline;
}

.section-title i {
  display: block;
  width: 82px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--pink);
}

.section-title.light span,
.section-title.light h2 { color: #fff; }
.section-title.light i { background: #fff; }

.about-grid,
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(24, 34, 52, .18);
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 18px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
  text-align: center;
}

.single-counter p {
  margin: 12px 0 0;
  font-weight: 900;
}

.counter-shape {
  width: 118px;
  height: 118px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.16);
}

.counter-shape strong {
  font-size: 2rem;
}

.affordable-area,
.courses-two-area,
.footer-top-area,
.footer-bottom-area {
  color: #fff;
}

.split-panel h2 {
  margin: 8px 0 16px;
  max-width: 680px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
}

.split-panel p {
  color: rgba(255,255,255,.86);
}

.light-btn {
  display: inline-flex;
  margin-top: 16px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 4px;
  background: #fff;
  color: var(--pink);
  font-weight: 900;
}

.panel-card,
.support-card {
  padding: 28px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(48, 20, 31, .18);
}

.panel-card h3 { margin: 0 0 14px; color: var(--pink); }
.panel-card ul { margin: 0; padding-left: 20px; color: var(--muted); }

.program-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.single-affordable {
  padding: 28px 20px;
  min-height: 250px;
  text-align: center;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(20, 34, 55, .08);
}

.my-icon-box {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
}

.single-affordable h3 {
  margin: 0 0 10px;
  color: var(--blue);
}

.single-affordable p {
  margin: 0;
  color: var(--muted);
}

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

.resource-grid a {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 24px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.resource-grid strong {
  color: var(--pink);
  font-size: 1.15rem;
}

.resource-grid span {
  color: var(--muted);
}

.support-card {
  border: 2px solid var(--pink);
}

.support-card ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
}

.support-card li + li { margin-top: 10px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-widget h3 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-widget p,
.footer-widget li {
  color: rgba(255,255,255,.84);
}

.footer-widget ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget a {
  color: #fff;
}

.footer-logo {
  margin-bottom: 16px;
  width: 74px;
  height: 74px;
  background: #fff;
}

.footer-bottom-area {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center;
}

.footer-bottom-area p {
  margin: 0;
  color: rgba(255,255,255,.86);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-bottom-content a {
  color: #fff;
  font-weight: 850;
}

.document-page {
  width: min(1040px, calc(100% - 30px));
  margin: 0 auto;
  padding: 70px 0;
}

.document {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.document h1 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.document h2 { color: var(--blue); margin-top: 30px; }
.document p { color: var(--muted); }
.document a { color: var(--pink); font-weight: 800; }

.document-note {
  font-size: .94rem;
  font-weight: 800;
}

.document-section {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--pink);
  font-weight: 900;
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.document-list a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.document-list strong { color: var(--pink); }
.document-list span { color: var(--muted); font-weight: 500; }

@media (max-width: 920px) {
  .top-contact-inner,
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .navbar-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px 10px;
  }

  .navbar-menu a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-slider { min-height: 520px; }

  .about-grid,
  .split-panel,
  .counter-grid,
  .program-icons,
  .resource-grid,
  .footer-grid,
  .document-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container,
  .document-page {
    width: min(100% - 24px, 1140px);
  }

  .navbar-brand strong { font-size: 1.15rem; }
  .navbar-brand small { font-size: .76rem; }
  .logo-mark { width: 52px; height: 52px; }

  .navbar-brand {
    max-width: 100%;
  }

  .navbar-brand span:last-child {
    min-width: 0;
  }

  .navbar-brand strong,
  .navbar-brand small {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .navbar-menu {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 8px;
  }

  .navbar-menu a {
    display: flex;
    flex: 0 0 calc(50% - 4px);
    align-items: center;
    padding: 8px 9px;
    width: auto;
    max-width: calc(50% - 4px);
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .home-slider { min-height: 500px; }

  .home-slider > img {
    object-position: 42% center;
  }

  .slider-caption p {
    max-width: 360px;
    font-size: .86rem;
    overflow-wrap: break-word;
  }

  .slider-caption h1 {
    max-width: 360px;
    font-size: 1.7rem;
    overflow-wrap: break-word;
  }

  .section-title h2 {
    max-width: 360px;
    margin-inline: auto;
    font-size: 1.65rem;
    overflow-wrap: break-word;
  }

  .title-line {
    display: block;
  }

  .default-btn,
  .light-btn { width: 100%; }
  .ptb-80 { padding: 56px 0; }
  .document { padding: 22px; }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}
