@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700;6..12,800;6..12,900&display=swap");

/* Eduvion premium UI polish: original layout/images preserved, brand accent #003399 */
:root {
  --main-h: 220;
  --main-s: 100%;
  --main-l: 30%;
  --main: var(--main-h) var(--main-s) var(--main-l);

  --main-two-h: 220;
  --main-two-s: 100%;
  --main-two-l: 30%;
  --main-two: var(--main-two-h) var(--main-two-s) var(--main-two-l);

  --brand-blue: #003399;
  --brand-blue-dark: #00246f;
  --brand-blue-soft: #eef4ff;
  --brand-ink: #101828;
  --brand-muted: #526070;
  --brand-line: rgba(0, 51, 153, 0.12);
  --brand-line-strong: rgba(0, 51, 153, 0.18);
  --brand-surface: #ffffff;
  --brand-surface-soft: #f8fbff;
  --brand-shadow-sm: 0 8px 22px rgba(0, 31, 92, 0.07);
  --brand-shadow: 0 18px 45px rgba(0, 31, 92, 0.1);
  --brand-shadow-lg: 0 28px 70px rgba(0, 31, 92, 0.15);
  --heading-font: "Baloo 2", "Trebuchet MS", sans-serif;
  --body-font: "Nunito Sans", Arial, sans-serif;
  --heading-one: 4.5rem;
  --heading-two: 3.25rem;
  --heading-three: 2.5rem;
  --heading-four: 2rem;
  --heading-five: 1.25rem;
  --heading-six: 1.05rem;
}

::selection {
  background-color: var(--brand-blue);
  color: #fff;
}

body {
  color: var(--brand-muted);
  font-family: var(--body-font) !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  background-color: var(--brand-surface-soft);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  position: relative;
}

section.py-110,
section.py-120,
section.pt-120,
section.pb-120 {
  padding-top: 104px !important;
  padding-bottom: 104px !important;
}

.container,
.container-two {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-neutral-950 {
  color: var(--brand-ink) !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

h5,
h6,
.h5,
.h6 {
  font-family: var(--body-font) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

h1,
.h1 {
  font-size: var(--heading-one) !important;
}

h2,
.h2 {
  font-size: var(--heading-two) !important;
}

h3,
.h3 {
  font-size: var(--heading-three) !important;
}

h4,
.h4 {
  font-size: var(--heading-four) !important;
}

h5,
.h5 {
  font-size: var(--heading-five) !important;
}

h6,
.h6 {
  font-size: var(--heading-six) !important;
}

p,
li,
a,
button,
input,
textarea,
select,
label,
span {
  font-family: var(--body-font) !important;
  letter-spacing: 0 !important;
}

p {
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 1rem;
}

/* Shared page rhythm and reusable content components. Page-only rules remain in their page files. */
.breadcrumb {
  padding-top: 82px !important;
  padding-bottom: 56px !important;
}

.breadcrumb h3 {
  margin-bottom: 18px !important;
}

.pb-80 {
  padding-bottom: 88px !important;
}

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

.program-layout {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.program-layout__head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.program-layout__head h2 {
  margin-bottom: 14px !important;
  font-size: var(--heading-three) !important;
}

.program-layout__head h4 {
  margin: 24px 0 10px !important;
  font-size: var(--heading-five) !important;
}

.program-layout__head p {
  max-width: 700px;
  margin: 0 auto 12px;
}

.program-main-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.program-card {
  min-height: 100%;
  padding: 20px 16px 22px;
  border: 1px solid rgba(0, 51, 153, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 31, 92, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 51, 153, 0.24);
  box-shadow: 0 26px 62px rgba(0, 31, 92, 0.14);
}

.program-card__media {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border-radius: 24px;
  overflow: hidden;
  background: #eef4ff;
}

.program-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.program-card h4 {
  margin-bottom: 10px !important;
  font-family: var(--body-font) !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.program-card p {
  margin: 0;
  font-size: 0.92rem !important;
  line-height: 1.62 !important;
}

.gallery-thumb {
  overflow: hidden;
  border-radius: 18px;
}

.gallery-thumb .cover-img {
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.tw-text-405 {
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
}

.tw-text-5,
.tw-text-505 {
  font-size: 1.18rem !important;
  line-height: 1.48 !important;
}

.tw-text-4 {
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

.banner-three-musk-img1 h2 {
  font-size: 4.1rem !important;
  line-height: 1.06 !important;
  max-width: 920px;
  margin-inline: auto;
}

.banner-three-musk-img1 h5 {
  font-size: 1.35rem !important;
  line-height: 1.42 !important;
}

.banner-three-musk-img1 p {
  font-size: 1.08rem !important;
  line-height: 1.82 !important;
  max-width: 780px;
  margin-inline: auto;
}

.brand-legacy-strip {
  padding: 14px 0;
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 31, 92, 0.14);
  z-index: 2;
}

.brand-legacy-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 34px;
  text-align: center;
}

.brand-legacy-strip__inner span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #fff !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.brand-legacy-strip__inner span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 278px;
  min-height: 74px;
  padding: 18px 30px;
  border: 0;
  border-radius: 14px;
  background: var(--brand-blue);
  color: #fff !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 18px 42px rgba(0, 51, 153, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta span {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.hero-cta img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 26px;
}

.hero-cta:hover {
  transform: translateY(-3px);
  background: var(--brand-blue-dark);
  box-shadow: 0 24px 54px rgba(0, 51, 153, 0.24);
}

.hero-cta--admissions {
  background: #ffb000;
  color: #101828 !important;
  box-shadow: 0 18px 42px rgba(255, 176, 0, 0.32), 0 0 0 0 rgba(255, 176, 0, 0.26);
  animation: admissionsBlinkHighlight 1.15s ease-in-out infinite;
}

.hero-cta--admissions:hover {
  color: #fff !important;
  background: var(--brand-blue-dark);
  animation-play-state: paused;
}

.hero-cta--admissions img {
  filter: brightness(0) saturate(100%) invert(10%) sepia(16%) saturate(1477%) hue-rotate(181deg) brightness(94%) contrast(96%);
}

.hero-cta--admissions:hover img {
  filter: none;
}

.admissions-open-pulse {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  margin-bottom: 18px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: #ffb000;
  color: #141414 !important;
  font-size: 1.02rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 36px rgba(255, 176, 0, 0.28);
  animation: admissionsPulse 1.4s ease-in-out infinite;
}

.admissions-open-pulse:hover {
  color: #fff !important;
  background: var(--brand-blue);
  box-shadow: 0 20px 46px rgba(0, 51, 153, 0.24);
  animation-play-state: paused;
}

@keyframes admissionsPulse {
  0%,
  100% {
    box-shadow: 0 16px 36px rgba(255, 176, 0, 0.26);
  }

  50% {
    box-shadow: 0 22px 52px rgba(255, 176, 0, 0.46), 0 0 0 6px rgba(255, 176, 0, 0.16);
  }
}

@keyframes admissionsBlinkHighlight {
  0%,
  100% {
    background: #ffb000;
    box-shadow: 0 18px 42px rgba(255, 176, 0, 0.3), 0 0 0 0 rgba(255, 176, 0, 0.24);
  }

  50% {
    background: #ffd24a;
    box-shadow: 0 24px 58px rgba(255, 176, 0, 0.54), 0 0 0 8px rgba(255, 176, 0, 0.18);
  }
}

.banner-three-musk-img1 span,
section > .container span.text-main-600,
section > .container span.text-pink-600 {
  font-weight: 800 !important;
}

.header {
  border-bottom: 1px solid var(--brand-line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.header nav {
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--brand-shadow-sm);
}

.header.fixed-header,
.header.fixed-header-two {
  box-shadow: 0 14px 38px rgba(0, 31, 92, 0.12);
}

.nav-menu__link {
  position: relative;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  transition: color 0.25s ease;
}

.nav-menu__link::after {
  position: absolute;
  content: "";
  inset-inline: 12px;
  inset-block-end: 10px;
  height: 2px;
  background-color: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-menu__link:hover::after,
.nav-menu__item.activePage > a::after {
  transform: scaleX(1);
}

.nav-menu__item.activePage > a,
.nav-menu__link:hover,
.text-main,
.text-main-600,
.text-main-two-600,
.hover-text-main-600:hover,
.accordion-button:not(.collapsed) {
  color: var(--brand-blue) !important;
}

.mobile-menu {
  border-inline-end: 4px solid var(--brand-blue);
  box-shadow: 20px 0 50px rgba(0, 31, 92, 0.16);
}

.mobile-menu .close-button {
  background-color: var(--brand-blue) !important;
}

.btn {
  border-radius: 14px !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  min-height: 48px;
  box-shadow: 0 12px 28px rgba(0, 51, 153, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 51, 153, 0.24);
}

.btn-main,
.btn-main-two,
.btn-main-three {
  background-color: var(--brand-blue) !important;
  color: #fff !important;
}

.btn-main:hover,
.btn-main-two:hover,
.btn-main-three:hover {
  background-color: var(--brand-blue-dark) !important;
}

.btn-main-four {
  border-color: var(--brand-blue) !important;
  color: var(--brand-blue) !important;
}

.bg-main-600,
.bg-main-two-600,
.percentage,
.percentage::after,
.progress {
  background-color: var(--brand-blue) !important;
}

.bg-main-50,
.bg-main-100,
.bg-main-two-50,
.bg-main-two-100,
.bg-main-two-200 {
  background-color: var(--brand-blue-soft) !important;
}

.tw-border-bottom-header,
.tw-border-bottom-our-kindergarden,
.tw-border-bottom-main-two-600 {
  border-bottom-color: var(--brand-blue) !important;
}

.row > [class*="col-"] > .bg-white,
.row > [class*="col-"] > .accordion-shadow,
.kindergarden-two-card,
.our-pricing-card,
.accordion-item,
.gallery-thumb,
.contact-info,
.form-control,
.form-select {
  border-color: var(--brand-line) !important;
  box-shadow: var(--brand-shadow);
}

.row > [class*="col-"] > .bg-white,
.kindergarden-two-card,
.our-pricing-card,
.accordion-item {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid var(--brand-line) !important;
}

.kindergarden-two-card,
.our-pricing-card,
.accordion-item,
.gallery-thumb {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kindergarden-two-card:hover,
.our-pricing-card:hover,
.gallery-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow-lg);
}

.gallery-thumb {
  border: 1px solid var(--brand-line);
  background-color: #fff;
}

.gallery-thumb img,
.rounded-4xl img,
.tw-rounded-4xl img {
  transition: transform 0.35s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.035);
}

.form-control,
.form-select,
textarea {
  border-color: rgba(0, 51, 153, 0.14) !important;
  border-radius: 14px !important;
  min-height: 50px;
  color: var(--brand-ink) !important;
  background-color: #fff !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 153, 0.16) !important;
}

.gallery-thumb__link,
.gallery-thumb__link-two {
  background-color: rgba(0, 51, 153, 0.68) !important;
}

.accordion-button {
  color: var(--brand-ink) !important;
  font-family: var(--body-font) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  border-radius: 14px !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--brand-blue-soft) !important;
}

.accordion-item {
  overflow: hidden;
}

.accordion-body {
  padding-top: 0 !important;
}

.progress-wrap::after {
  color: var(--brand-blue) !important;
}

.progress-wrap svg.progress-circle path {
  stroke: var(--brand-blue) !important;
}

.footer a:hover,
footer a:hover {
  color: var(--brand-blue) !important;
}

.footer,
footer {
  border-top: 1px solid var(--brand-line);
}

.footer h2,
footer h2,
.footer .h5,
footer .h5 {
  color: var(--brand-ink) !important;
}

.footer p,
footer p,
.footer a,
footer a,
.footer span,
footer span {
  line-height: 1.68 !important;
}

.premium-footer {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.12), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(238, 244, 255, 0.12), transparent 24%),
    var(--brand-blue-dark) !important;
  color: rgba(255, 255, 255, 0.78);
  border-top: 0;
}

.premium-footer > img {
  opacity: 0.16;
}

.premium-footer .py-110 {
  padding-top: 96px !important;
  padding-bottom: 68px !important;
}

.premium-footer .mt-110 {
  margin-top: 0 !important;
}

.premium-footer__grid {
  align-items: stretch;
}

.premium-footer__brand,
.premium-footer__links,
.premium-footer__contact {
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.premium-footer__brand {
  background: rgba(255, 255, 255, 0.95);
}

.premium-footer__logo {
  display: inline-flex;
  width: 210px;
  max-width: 100%;
  margin-bottom: 22px !important;
}

.premium-footer__logo img {
  width: 100%;
  height: auto;
}

.premium-footer__brand p {
  color: #526070 !important;
  margin-bottom: 24px !important;
}

.premium-footer h2,
.premium-footer .h5 {
  color: #fff !important;
  font-size: 1.28rem !important;
  margin-bottom: 0;
}

.premium-footer__brand h2,
.premium-footer__brand .h5 {
  color: var(--brand-ink) !important;
}

.premium-footer .tw-border-gradient {
  display: block;
  width: 58px !important;
  height: 3px !important;
  margin-top: 14px !important;
  margin-bottom: 28px !important;
  border-radius: 999px;
  background: #fff !important;
}

.premium-footer__brand .tw-border-gradient {
  background: var(--brand-blue) !important;
}

.premium-footer__links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 700 !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.premium-footer__links a span {
  color: rgba(255, 255, 255, 0.48) !important;
}

.premium-footer__links a:hover {
  color: #fff !important;
  transform: translateX(5px);
}

.premium-footer__social a {
  width: 42px !important;
  height: 42px !important;
  color: var(--brand-blue) !important;
  background: var(--brand-blue-soft) !important;
  border: 1px solid rgba(0, 51, 153, 0.1);
  box-shadow: 0 12px 28px rgba(0, 31, 92, 0.12);
}

.premium-footer__social a:hover {
  color: #fff !important;
  background: var(--brand-blue) !important;
}

.premium-footer__contact-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.premium-footer__contact-item > span:first-child {
  width: 54px !important;
  height: 54px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.premium-footer__contact-item span {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

.premium-footer__contact-item a,
.premium-footer__contact-item h2 {
  color: #fff !important;
  font-size: 1.02rem !important;
  line-height: 1.56 !important;
}

.premium-footer__contact-item a:hover {
  color: rgba(255, 255, 255, 0.78) !important;
}

.premium-footer .bg-img {
  background-image: none !important;
  background-color: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-footer .bg-img > .container > div {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.premium-footer .bg-img span {
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

.tw-rounded-4xl,
.rounded-4xl {
  border-radius: 22px !important;
}

.tw-rounded-2xl,
.rounded-2xl {
  border-radius: 14px !important;
}

.tw-gap-6 {
  gap: 1.35rem !important;
}

.tw-gap-5 {
  gap: 1.05rem !important;
}

.tw-gap-4 {
  gap: 0.9rem !important;
}

.max-w-810-px {
  max-width: 900px !important;
}

.max-w-550-px {
  max-width: 590px !important;
}

@media (max-width: 1199px) {
  :root {
    --heading-one: 3.8rem;
    --heading-two: 3.05rem;
    --heading-three: 2.45rem;
    --heading-four: 2rem;
  }

  .banner-three-musk-img1 h2 {
    font-size: 3rem !important;
  }

  .program-main-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  section.py-110,
  section.py-120,
  section.pt-120,
  section.pb-120 {
    padding-top: 86px !important;
    padding-bottom: 86px !important;
  }

  .premium-footer .py-110 {
    padding-top: 78px !important;
    padding-bottom: 56px !important;
  }

  .premium-footer__brand,
  .premium-footer__links,
  .premium-footer__contact {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --heading-one: 2.55rem;
    --heading-two: 2.18rem;
    --heading-three: 1.95rem;
    --heading-four: 1.68rem;
    --heading-five: 1.16rem;
  }

  body {
    font-size: 15.5px;
    line-height: 1.68;
  }

  section.py-110,
  section.py-120,
  section.pt-120,
  section.pb-120 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .banner-three-musk-img1 h2 {
    font-size: 2.35rem !important;
    line-height: 1.12 !important;
  }

  .banner-three-musk-img1 h5 {
    font-size: 1.08rem !important;
  }

  .banner-three-musk-img1 p,
  p,
  .tw-text-4 {
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
  }

  .btn {
    min-height: 46px;
    font-size: 0.94rem !important;
  }

  .tw-rounded-4xl,
  .rounded-4xl {
    border-radius: 18px !important;
  }

  .premium-footer .py-110 {
    padding-top: 58px !important;
    padding-bottom: 42px !important;
  }

  .premium-footer__brand,
  .premium-footer__links,
  .premium-footer__contact {
    padding: 24px;
    border-radius: 20px;
  }

  .premium-footer__logo {
    width: 180px;
  }

  .premium-footer__contact-item {
    align-items: flex-start !important;
    padding: 16px;
  }

  .premium-footer__contact-item a,
  .premium-footer__contact-item h2 {
    font-size: 0.96rem !important;
  }
}

/* Footer redesign v2 */
.footer-v2 {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 51, 153, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%) !important;
  border-top: 1px solid rgba(0, 51, 153, 0.1);
  color: var(--brand-muted);
}

.footer-v2 a {
  text-decoration: none;
}

.footer-v2__top {
  display: none;
}

.footer-v2__contact-grid {
  display: none;
}

.footer-v2__contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 24px;
  border: 1px solid rgba(0, 51, 153, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(0, 31, 92, 0.12);
  color: var(--brand-ink) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.footer-v2__contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 51, 153, 0.24);
  box-shadow: 0 28px 70px rgba(0, 31, 92, 0.16);
}

.footer-v2__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: var(--brand-blue-soft);
}

.footer-v2__icon img {
  max-width: 28px;
  max-height: 28px;
}

.footer-v2__contact-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-muted) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
}

.footer-v2__contact-card strong {
  display: block;
  color: var(--brand-ink) !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.footer-v2__main {
  padding: 82px 0 76px;
}

.footer-v2__brand,
.footer-v2__details {
  max-width: 520px;
}

.footer-v2__brand {
  padding: 34px 36px;
  border: 1px solid rgba(0, 51, 153, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 58px rgba(0, 31, 92, 0.1);
}

.footer-v2__logo {
  display: inline-flex;
  width: 238px;
  max-width: 100%;
  margin-bottom: 24px;
}

.footer-v2__logo img {
  width: 100%;
  height: auto;
}

.footer-v2__brand p {
  max-width: 500px;
  margin-bottom: 24px;
  color: #40516a !important;
  font-size: 1.03rem !important;
  line-height: 1.82 !important;
}

.footer-v2__social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-v2__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-blue) !important;
  border: 1px solid var(--brand-line);
  box-shadow: 0 12px 28px rgba(0, 31, 92, 0.08);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.footer-v2__social a:hover {
  transform: translateY(-3px);
  background: var(--brand-blue);
  color: #fff !important;
}

.footer-v2__title {
  position: relative;
  margin-bottom: 28px !important;
  padding-bottom: 14px;
  color: var(--brand-ink) !important;
  font-family: var(--body-font) !important;
  font-size: 1.32rem !important;
  font-weight: 800 !important;
}

.footer-v2__title::after {
  position: absolute;
  content: "";
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-blue);
}

.footer-v2__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.footer-v2__links a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 220px;
  min-height: 38px;
  padding: 8px 12px 8px 18px;
  border-radius: 12px;
  color: #394960 !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.footer-v2__links a::before {
  position: absolute;
  content: "";
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-blue);
  opacity: 0.42;
}

.footer-v2__links a:hover {
  color: var(--brand-blue) !important;
  background: rgba(0, 51, 153, 0.07);
  transform: translateX(4px);
}

.footer-v2__details {
  display: grid;
  gap: 14px;
}

.footer-v2__details p {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 31, 92, 0.08);
  color: #40516a !important;
  font-size: 0.98rem !important;
  line-height: 1.72 !important;
}

.footer-v2__details span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.footer-v2__details a {
  color: var(--brand-ink) !important;
  font-weight: 800 !important;
}

.footer-v2__details a:hover {
  color: var(--brand-blue) !important;
}

.footer-v2__bottom {
  padding: 20px 0;
  background: var(--brand-blue);
  text-align: center;
}

.footer-v2__bottom span {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

.programs-premium {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 56%, #ffffff 100%);
}

.programs-premium__intro {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.programs-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--brand-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-blue) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.programs-premium__intro h2 {
  margin-bottom: 18px !important;
  font-size: 3.25rem !important;
}

.programs-premium__intro p {
  max-width: 680px;
  margin: 0 auto;
  color: #43536b !important;
}

.programs-premium__group {
  margin-top: 44px;
}

.programs-premium__group + .programs-premium__group {
  padding-top: 50px;
  border-top: 1px solid var(--brand-line);
}

.programs-premium__group-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 840px;
  margin-bottom: 26px;
}

.programs-premium__group-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--brand-blue);
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  box-shadow: 0 18px 40px rgba(0, 51, 153, 0.22);
}

.programs-premium__group-head h4 {
  margin-bottom: 8px !important;
}

.programs-premium__group-head p {
  max-width: 650px;
  margin: 0;
  color: #526070 !important;
}

.programs-premium__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.programs-premium__list--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 168px;
  padding: 18px;
  border: 1px solid rgba(0, 51, 153, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(0, 31, 92, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-row:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 51, 153, 0.22);
  box-shadow: 0 28px 70px rgba(0, 31, 92, 0.13);
}

.program-row img {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--brand-blue-soft);
}

.program-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-blue) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-transform: uppercase;
}

.program-row h5 {
  margin-bottom: 8px !important;
  color: var(--brand-ink) !important;
  font-size: 1.18rem !important;
}

.program-row p {
  margin: 0;
  color: #536174 !important;
  font-size: 0.96rem !important;
  line-height: 1.62 !important;
}

.programs-premium__list--compact .program-row {
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 100%;
}

.programs-premium__list--compact .program-row img {
  width: 100%;
  height: 170px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px 28px;
  align-items: start;
}

.home-feature-grid > .animation-item {
  width: 100% !important;
  max-width: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-feature-grid > .animation-item > div {
  width: 170px !important;
  height: 162px !important;
  margin-inline: auto;
  margin-bottom: 18px !important;
}

.home-feature-grid img {
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

.home-feature-grid span {
  display: block;
  max-width: 190px;
  min-height: 58px;
  margin-inline: auto;
  color: var(--brand-ink) !important;
  font-size: 1.03rem !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

@media (max-width: 991px) {
  .program-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programs-premium__intro h2 {
    font-size: 2.55rem !important;
  }

  .programs-premium__list,
  .programs-premium__list--compact {
    grid-template-columns: 1fr;
  }

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

  .footer-v2__contact-grid {
    display: none;
  }

  .footer-v2__top {
    display: none;
  }

  .footer-v2__main {
    padding: 62px 0 58px;
  }

  .footer-v2__brand {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .breadcrumb {
    padding-top: 58px !important;
    padding-bottom: 42px !important;
  }

  .pb-80 {
    padding-bottom: 64px !important;
  }

  .program-layout {
    padding: 58px 0 68px;
  }

  .program-layout__head {
    margin-bottom: 32px;
  }

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

  .brand-legacy-strip {
    padding: 12px 0;
  }

  .brand-legacy-strip__inner {
    gap: 4px 10px;
  }

  .brand-legacy-strip__inner span {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem !important;
  }

  .brand-legacy-strip__inner span + span::before {
    display: none;
  }

  .admissions-open-pulse {
    width: 100%;
    max-width: 280px;
  }

  .hero-cta-row {
    gap: 12px;
    margin-top: 22px;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    max-width: 300px;
    min-height: 62px;
    padding: 16px 22px;
    font-size: 1rem !important;
  }

  .programs-premium__intro {
    margin-bottom: 38px;
  }

  .programs-premium__intro h2 {
    font-size: 2.05rem !important;
  }

  .programs-premium__group-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .programs-premium__group-head > span {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .program-row {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
  }

  .program-row img,
  .programs-premium__list--compact .program-row img {
    width: 100%;
    height: 190px;
  }

  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }

  .home-feature-grid > .animation-item > div {
    width: 142px !important;
    height: 136px !important;
    border-radius: 42px !important;
  }

  .home-feature-grid img {
    max-width: 68px;
    max-height: 68px;
  }

  .home-feature-grid span {
    max-width: 150px;
    min-height: 48px;
    font-size: 0.92rem !important;
  }

  .footer-v2__contact-card {
    min-height: auto;
    padding: 20px;
    align-items: flex-start;
  }

  .footer-v2__icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 15px;
  }

  .footer-v2__logo {
    width: 185px;
  }

  .footer-v2__brand {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .footer-v2__main {
    padding: 48px 0 48px;
  }
}
