:root {
  --surface: rgba(255, 255, 255, .88);
  --surface-strong: #ffffff;
  --line: rgba(16, 42, 67, .085);
  --shadow-sm: 0 8px 26px rgba(16, 42, 67, .07);
  --shadow-md: 0 22px 65px rgba(16, 42, 67, .11);
  --radius-lg: 28px;
  --radius-md: 20px;
}

body {
  background-color: #f7fbfe;
  background-image:
    radial-gradient(circle at 5% 11%, rgba(101, 214, 165, .2), transparent 22rem),
    radial-gradient(circle at 94% 18%, rgba(101, 185, 255, .18), transparent 25rem),
    linear-gradient(rgba(22, 119, 210, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 210, .025) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

.topbar {
  background: linear-gradient(100deg, #0b2c46, #0c3853);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: -.008em;
}

.site-header {
  padding: .72rem 0;
  background: rgba(247, 251, 254, .76);
  border-bottom-color: rgba(16, 42, 67, .06);
  box-shadow: 0 8px 28px rgba(16, 42, 67, .035);
}

.navbar {
  min-height: 72px;
  padding: .62rem .75rem .62rem .9rem;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: linear-gradient(145deg, #13a36d, #1683cc);
  box-shadow: 0 10px 24px rgba(22, 119, 210, .2);
}

.navbar-nav {
  gap: .18rem;
}

.navbar-nav .nav-link {
  position: relative;
  padding: .62rem .78rem !important;
  border-radius: 12px;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  color: #08754d;
  background: rgba(101, 214, 165, .17);
  box-shadow: inset 0 0 0 1px rgba(22, 163, 106, .08);
}

.dropdown-menu {
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.dropdown-item {
  padding: .65rem .8rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 650;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #08754d;
  background: #ecf9f4;
}

.btn {
  border-radius: 13px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

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

.btn-warning {
  background: linear-gradient(135deg, #ff813b, #ff641f);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(255, 100, 31, .22);
}

.btn-success {
  background: linear-gradient(135deg, #16a36a, #07885a);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(22, 163, 106, .2);
}

.btn-primary {
  background: linear-gradient(135deg, #1677d2, #095fad);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(22, 119, 210, .2);
}

.hero {
  min-height: auto;
  padding: 3.2rem 0 4.4rem;
}

.hero::before {
  width: 420px;
  height: 420px;
  left: -170px;
  top: -40px;
  opacity: .8;
}

.hero::after {
  opacity: .7;
}

.hero .row {
  --bs-gutter-x: 1.4rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 535px;
  padding: clamp(2rem, 4.2vw, 3.6rem);
  border-radius: 32px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--orange));
}

.hero .display-title {
  max-width: 780px;
  margin: 1.35rem 0 1.15rem;
  font-size: clamp(2.8rem, 4.65vw, 4.45rem);
}

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

.hero .btn-lg {
  padding: .9rem 1.25rem;
  font-size: .94rem;
}

.hero-photo {
  min-height: 535px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 31, 49, .16));
}

.hero-photo img {
  min-height: 535px;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}

.hero-photo:hover img {
  transform: scale(1.025);
}

.photo-badge {
  z-index: 1;
  padding: .72rem .9rem;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
}

.eyebrow {
  padding: .5rem .78rem;
  border: 1px solid rgba(22, 163, 106, .14);
  background: rgba(223, 248, 238, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.section {
  padding: 5rem 0;
}

.section.bg-white,
.section-sm.bg-white {
  background: rgba(255, 255, 255, .72) !important;
  border-top: 1px solid rgba(16, 42, 67, .045);
  border-bottom: 1px solid rgba(16, 42, 67, .045);
}

.glass,
.solid-panel {
  border: 1px solid rgba(16, 42, 67, .075);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-card,
.course-card,
.skill-card,
.contact-card,
.placeholder-card {
  padding: 1.65rem;
  border-radius: var(--radius-md);
}

.feature-card:hover,
.course-card:hover,
.skill-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 163, 106, .16);
  box-shadow: 0 24px 55px rgba(16, 42, 67, .12);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.page-hero {
  padding: 4.3rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 42, 67, .055);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 176, 103, .23), transparent 18rem),
    radial-gradient(circle at 8% 85%, rgba(101, 214, 165, .2), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, .65), rgba(239, 248, 255, .82));
}

.breadcrumb {
  display: inline-flex;
  padding: .38rem .65rem;
  border: 1px solid rgba(16, 42, 67, .07);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
}

.cta-band {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 176, 103, .32), transparent 16rem),
    linear-gradient(120deg, #086b49, #0b5d9e);
  box-shadow: 0 25px 65px rgba(10, 80, 100, .2);
}

.accordion-item {
  border: 1px solid rgba(16, 42, 67, .06);
  box-shadow: var(--shadow-sm);
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: rgba(16, 42, 67, .15);
  background-color: rgba(255, 255, 255, .9);
}

textarea.form-control {
  min-height: 132px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(22, 119, 210, .2), transparent 25rem),
    linear-gradient(145deg, #092235, #0b2c45);
}

@media (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    padding-inline: .55rem !important;
  }

  .hero .display-title {
    font-size: clamp(2.7rem, 4.7vw, 3.8rem);
  }
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 66px;
  }

  .navbar-collapse {
    margin-top: .7rem;
    padding: .7rem;
    border-top: 1px solid var(--line);
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-panel,
  .hero-photo,
  .hero-photo img {
    min-height: 440px;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    padding-block: .35rem !important;
  }

  .site-header {
    padding: .5rem 0;
  }

  .navbar {
    min-height: 62px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 1.8rem 0 3rem;
  }

  .hero-panel {
    min-height: 0;
    padding: 2rem 1.35rem;
    border-radius: 24px;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 360px;
    border-radius: 24px;
  }

  .hero .display-title {
    margin-block: 1.1rem .9rem;
  }

  .section {
    padding: 3.7rem 0;
  }

  .page-hero {
    padding: 3rem 0 2.8rem;
  }

  .feature-card,
  .course-card,
  .skill-card,
  .contact-card,
  .placeholder-card {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo img,
  .btn,
  .navbar-nav .nav-link {
    transition: none;
  }
}
