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

body {
  min-width: 320px;
}

.container {
  max-width: 1240px;
}

.topbar .container {
  min-height: 26px;
  align-items: center;
}

.topbar i {
  color: var(--cobalt);
}

[data-site-header] {
  display: contents;
}

.site-header {
  z-index: 1050;
  top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.site-header .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  pointer-events: auto;
}

.site-header .navbar {
  min-height: 70px;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0;
  background: rgba(255, 253, 249, 0.82);
  box-shadow:
    0 18px 48px rgba(40, 31, 72, 0.14),
    0 2px 8px rgba(40, 31, 72, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  animation: floating-nav-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.site-header .navbar:hover {
  background: rgba(255, 253, 249, 0.92);
  box-shadow:
    0 22px 56px rgba(40, 31, 72, 0.17),
    0 3px 10px rgba(40, 31, 72, 0.07),
    inset 0 1px 0 #fff;
  transform: translateY(-1px);
}

.site-header .navbar-brand,
.site-header .navbar-toggler,
.site-header .nav-link,
.site-header .dropdown-item,
.site-header .btn {
  pointer-events: auto;
}

@keyframes floating-nav-enter {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.navbar-brand {
  margin-right: 1.5rem;
}

.navbar-toggler {
  width: 44px;
  height: 42px;
  padding: 0.45rem;
  border: 1px solid rgba(23, 25, 35, 0.1);
  border-radius: 12px;
  background: #fff;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.22rem rgba(85, 70, 232, 0.14);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.4rem) 0 clamp(4.2rem, 7vw, 6rem);
  background:
    radial-gradient(
      circle at 82% 28%,
      rgba(248, 183, 201, 0.48),
      transparent 17rem
    ),
    radial-gradient(
      circle at 7% 92%,
      rgba(255, 212, 93, 0.22),
      transparent 16rem
    ),
    linear-gradient(115deg, #fff8ef, #fffdf9 54%, #fff1f5);
}

.page-hero .container {
  position: relative;
}

.page-hero .container::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 116px;
  height: 116px;
  top: 8%;
  right: 5%;
  border: 18px solid rgba(85, 70, 232, 0.09);
  border-radius: 50%;
}

.page-hero .breadcrumb {
  margin-bottom: 1.3rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.page-hero .eyebrow {
  margin-bottom: 0.35rem;
}

.page-hero .display-title {
  max-width: 980px;
  margin: 1rem 0 1.1rem;
  font-size: clamp(3rem, 5.25vw, 5.15rem);
  line-height: 1.01;
  letter-spacing: -0.067em;
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #5e5c68;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

.section:not(.academy-intro) {
  padding: clamp(4.6rem, 7vw, 7rem) 0;
}

.section-sm {
  padding: clamp(3.5rem, 5vw, 5.2rem) 0;
}

.section:not(.academy-intro):not(.bg-white) {
  background: #fffdfa;
}

.section.bg-white,
.section-sm.bg-white {
  border: 0;
  background: #f2f5f8 !important;
}

.section-title {
  max-width: 760px;
  margin-bottom: 1rem;
}

.text-center .section-title,
.text-center.section-intro .section-title {
  margin-inline: auto;
}

.section-intro {
  color: #625f6b;
}

.solid-panel {
  padding: clamp(1.6rem, 3vw, 2.35rem) !important;
  border: 1px solid rgba(23, 25, 35, 0.07);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(47, 38, 69, 0.075);
}

.section:not(.academy-intro)
  :where(
    .feature-card,
    .course-card,
    .skill-card,
    .contact-card,
    .placeholder-card
  ) {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid rgba(23, 25, 35, 0.07);
  border-radius: 24px;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(46, 37, 68, 0.065);
}

.section:not(.academy-intro)
  :where(.feature-card, .course-card, .skill-card, .contact-card)::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  top: -38px;
  right: -34px;
  border-radius: 50%;
  background: rgba(85, 70, 232, 0.08);
}

.section:not(.academy-intro)
  .row
  > div:nth-child(3n + 1)
  > :where(.feature-card, .course-card, .skill-card, .contact-card) {
  background: #fff8e9 !important;
}

.section:not(.academy-intro)
  .row
  > div:nth-child(3n + 2)
  > :where(.feature-card, .course-card, .skill-card, .contact-card) {
  background: #f2f1ff !important;
}

.section:not(.academy-intro)
  .row
  > div:nth-child(3n)
  > :where(.feature-card, .course-card, .skill-card, .contact-card) {
  background: #fff2f5 !important;
}

.section:not(.academy-intro)
  :where(.feature-card, .course-card, .skill-card, .contact-card):hover {
  transform: translateY(-7px);
  border-color: rgba(85, 70, 232, 0.16);
  box-shadow: 0 24px 48px rgba(65, 50, 91, 0.12);
}

:where(.feature-card, .course-card, .skill-card, .contact-card) h2,
:where(.feature-card, .course-card, .skill-card, .contact-card) h3 {
  color: var(--ink);
}

.course-card > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  color: var(--cobalt-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.course-card > a:not(.btn):hover {
  gap: 0.62rem;
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  font-size: 1.18rem;
}

.check-list {
  display: grid;
  gap: 0.35rem;
}

.check-list li {
  padding: 0.5rem 0.3rem 0.5rem 2rem;
  border-bottom: 1px solid rgba(23, 25, 35, 0.055);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  top: 0.52rem;
}

.notice {
  border: 0;
  border-left: 5px solid var(--coral);
  border-radius: 0 18px 18px 0;
  background: #fff1e9;
  box-shadow: 0 12px 28px rgba(68, 45, 54, 0.055);
}

.tag {
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
}

.process-step .number {
  position: relative;
  width: 62px;
  height: 62px;
  box-shadow: 0 9px 0 rgba(85, 70, 232, 0.11);
}

.process-step h3 {
  margin-bottom: 0.45rem;
}

.accordion {
  --bs-accordion-border-width: 0;
}

.accordion-item {
  margin-bottom: 0.75rem;
  border: 1px solid rgba(23, 25, 35, 0.07);
  border-radius: 17px !important;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42, 35, 57, 0.05);
}

.accordion-button {
  min-height: 64px;
  padding: 1rem 1.15rem;
  border-radius: 17px !important;
  background: transparent;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.23rem rgba(85, 70, 232, 0.12);
}

.accordion-button:not(.collapsed) {
  color: var(--cobalt-dark);
  background: #f0efff;
  box-shadow: none;
}

.accordion-body {
  padding: 0.2rem 1.15rem 1.2rem;
  color: #5d5a66;
}

.form-label {
  margin-bottom: 0.42rem;
  color: #34323b;
  font-size: 0.82rem;
}

.form-control,
.form-select {
  min-height: 50px;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(23, 25, 35, 0.14);
  border-radius: 13px;
}

.form-check-input:checked {
  border-color: var(--cobalt);
  background-color: var(--cobalt);
}

.contact-card a:not(.btn) {
  font-weight: 750;
  text-decoration: none;
}

.placeholder-card {
  border: 1.5px dashed rgba(85, 70, 232, 0.24) !important;
  background: #fbfaff !important;
  box-shadow: none !important;
}

.placeholder-avatar {
  color: var(--cobalt);
  background: var(--periwinkle);
}

.filter-btn {
  border-color: rgba(23, 25, 35, 0.15);
  color: #4c4a54;
  background: #fff;
}

.filter-btn.active,
.filter-btn:hover {
  color: #fff;
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.cta-band {
  padding: clamp(2.2rem, 5vw, 4.25rem);
  border-radius: 32px;
  box-shadow: 0 14px 0 rgba(248, 183, 201, 0.32);
}

.cta-band .section-title {
  max-width: 820px;
}

.ratio-map {
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(45, 38, 62, 0.1);
}

.site-footer {
  container-type: inline-size;
  padding-top: 5.2rem;
  padding-bottom: 0;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(248, 183, 201, 0.34),
      transparent 20rem
    ),
    #f5f3ff;
}

.site-footer .brand-name small {
  color: var(--cobalt) !important;
}

.site-footer h3 {
  margin-bottom: 1rem;
}

.footer-list li {
  margin: 0.5rem 0;
}

.footer-list a,
.site-footer p,
.site-footer address {
  font-size: 0.88rem;
}

.footer-bottom {
  position: relative;
  isolation: isolate;
  margin-top: 3rem;
  padding: 1.1rem 0;
  border: 0;
  border-radius: 0;
  color: #4d4a59;
  background: transparent;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100cqi;
  transform: translateX(-50%);
  border-top: 1px solid rgba(85, 70, 232, 0.1);
  background: #e9e6f5;
}

.footer-bottom .btn-link {
  color: var(--cobalt-dark) !important;
}

.footer-bottom .btn-link:hover {
  color: #2f258f !important;
}

@media (max-width: 991.98px) {
  .container {
    max-width: 94%;
  }

  .page-hero .container::after {
    opacity: 0.6;
  }

  .navbar-collapse {
    margin-top: 0.55rem;
    padding: 0.8rem;
    border: 1px solid rgba(23, 25, 35, 0.07);
    border-radius: 17px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: 0 16px 34px rgba(47, 38, 69, 0.09);
  }

  .site-header .navbar {
    min-height: 64px;
    border-radius: 0;
  }

  .navbar .btn-warning {
    display: block;
    width: 100%;
    margin: 0.7rem 0 0 !important;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 100%;
    padding-inline: 1.15rem;
  }

  .site-header .container {
    padding-inline: 0;
  }

  .site-header .navbar {
    padding: 0.45rem 0.55rem 0.45rem 0.7rem;
    border-radius: 0;
    box-shadow:
      0 14px 38px rgba(40, 31, 72, 0.15),
      0 2px 7px rgba(40, 31, 72, 0.06);
  }

  .page-hero {
    padding: 3.25rem 0 3.4rem;
  }

  .page-hero .display-title {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .section:not(.academy-intro) {
    padding: 4.1rem 0;
  }

  .section:not(.academy-intro)
    :where(
      .feature-card,
      .course-card,
      .skill-card,
      .contact-card,
      .placeholder-card
    ) {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .cta-band {
    border-radius: 24px;
  }

  .cta-band .btn {
    width: 100%;
    margin: 0.3rem 0 !important;
  }

  .process-step {
    padding-bottom: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .navbar {
    animation: none;
    transition: none;
  }
}
