:root {
  --brand-blue: #1556a6;
  --brand-blue-dark: #0d3471;
  --brand-red: #e51f3f;
  --brand-green: #1d9a50;
  --brand-yellow: #ffc83d;
  --ink: #172139;
  --muted: #647084;
  --paper: #fffdf8;
  --soft: #f3f8ff;
  --line: rgba(23, 33, 57, 0.12);
  --shadow: 0 24px 60px rgba(16, 45, 92, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

.navbar {
  padding: 0px 0;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(20, 43, 76, 0.08);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-brand img,
.footer-brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid rgba(21, 86, 166, 0.12);
  background: #fff;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(21, 86, 166, 0.16);
}

.nav-link {
  color: var(--ink);
  font-weight: 650;
  padding: 10px 12px !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  line-height: 1.1;
}

.btn-sm {
  padding: 10px 18px;
}

.btn-lg {
  padding: 15px 26px;
}

.btn-brand {
  background: var(--brand-red);
  color: #fff;
  border: 2px solid var(--brand-red);
  box-shadow: 0 14px 30px rgba(229, 31, 63, 0.24);
}

.btn-brand:hover {
  background: #c91632;
  border-color: #c91632;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
}

.btn-outline-brand:hover {
  background: var(--brand-blue);
  color: #fff;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 64px;
  background: #112a57;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 68, 0.92) 0%, rgba(12, 31, 68, 0.75) 43%, rgba(12, 31, 68, 0.28) 100%),
    url("../images/hero.webp") center / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--paper));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--brand-yellow);
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.hero-section h1 {
  max-width: 760px;
  color: #fff;
  font-size: 65px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 22px;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fff;
  font-size: 1.2rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.hero-card {
  max-width: 390px;
  margin-left: auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 22px;
  border: 2px solid rgba(21, 86, 166, 0.12);
  background: #fff;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(21, 86, 166, 0.18);
}

.hero-card h2 {
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.section {
  padding: 96px 0;
}

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

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

.section-title {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.section-lead,
.section p {
  color: var(--muted);
}

.image-stack {
  position: relative;
  padding-right: 72px;
  padding-bottom: 72px;
}

.stack-main,
.stack-small,
.gallery-grid img,
.program-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.stack-main {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.stack-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1 / 1;
  border: 8px solid var(--paper);
  box-shadow: 0 18px 42px rgba(20, 43, 76, 0.18);
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-blue-dark);
  font-weight: 800;
}

.feature-card,
.review-card {
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 43, 76, 0.07);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.feature-icon.blue { background: var(--brand-blue); }
.feature-icon.red { background: var(--brand-red); }
.feature-icon.green { background: var(--brand-green); }
.feature-icon.yellow { background: var(--brand-yellow); color: var(--ink); }

.feature-card h3,
.program-card h3,
.review-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.program-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 43, 76, 0.08);
}

.program-card img {
  height: 235px;
  border-radius: 0;
}

.program-card div {
  padding: 26px;
}

.cta-band {
  background: linear-gradient(120deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  padding: 68px 0;
}

.cta-band h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 900;
}

.section-kicker.light {
  color: var(--brand-yellow);
}

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

.gallery-grid img {
  height: 250px;
  box-shadow: 0 16px 34px rgba(20, 43, 76, 0.09);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.stars {
  color: var(--brand-yellow);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.review-card p {
  font-size: 1.02rem;
}

.review-card h3 {
  color: var(--brand-blue);
  margin-bottom: 0;
}

.custom-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}

.custom-accordion .accordion-button {
  font-weight: 900;
  color: var(--ink);
  padding: 20px 22px;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-blue);
  background: #eef6ff;
}

.custom-accordion .accordion-body {
  color: var(--muted);
  padding: 0 22px 22px;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(243, 248, 255, 0.8), rgba(255, 253, 248, 1));
}

.contact-panel {
  height: 100%;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-item p {
  margin: 0;
}

.map-wrap {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.site-footer {
  background: #0f1f3d;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand:hover {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.94rem;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: none;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(229, 31, 63, 0.32);
}

.floating-call:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(20, 43, 76, 0.1);
  }

  .hero-section {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(12, 31, 68, 0.92) 0%, rgba(12, 31, 68, 0.76) 58%, rgba(12, 31, 68, 0.82) 100%),
      url("../images/hero.webp") center / cover no-repeat;
  }

  .hero-card {
    margin-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    width: 110px;
    height: 110px;
  }

  .navbar-brand span {
    max-width: 170px;
    line-height: 1.1;
  }

  .hero-actions,
  .d-sm-flex {
    align-items: stretch;
  }

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

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

  .image-stack {
    padding-right: 28px;
    padding-bottom: 42px;
  }

  .stack-small {
    width: 52%;
    border-width: 5px;
  }

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

  .gallery-grid .wide {
    grid-column: span 1;
  }

  .gallery-grid img,
  .program-card img {
    height: 220px;
  }

  .contact-panel {
    padding: 26px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }

  .floating-call {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .hero-section h1 {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 1.86rem;
  }

  .btn {
    white-space: normal;
  }
}
