:root {
  --bg: #f3f7fd;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --surface-soft: #f8fbff;
  --text: #122033;
  --muted: #52657f;
  --primary: #1456a6;
  --primary-strong: #0d3e79;
  --primary-soft: #e3effd;
  --accent: #c83b4e;
  --accent-strong: #a72b3d;
  --accent-soft: #f9e7eb;
  --border: #d6e2f0;
  --ring: rgba(20, 86, 166, 0.2);
  --shadow-sm: 0 4px 16px rgba(11, 39, 74, 0.08);
  --shadow-md: 0 14px 34px rgba(11, 39, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 86, 166, 0.08), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(11, 111, 196, 0.08), transparent 36%),
    var(--bg);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.24;
  color: #0f1f33;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 0.7rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 247, 253, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 226, 240, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
}

.logo-mark {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary), #0b6fc4);
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.06;
}

.brand-text strong {
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  position: relative;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem var(--ring);
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0.12rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: translateX(0);
  opacity: 0;
  transition: width 0.26s ease, transform 0.26s ease, opacity 0.2s ease;
  pointer-events: none;
}

.main-nav .nav-link {
  text-decoration: none;
  color: #354861;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.45rem 0.72rem;
  border-radius: 0.55rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.main-nav .nav-link.is-active,
.main-nav .nav-link.active {
  color: var(--primary-strong);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px #bfd5ef;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #092644, #0b4d8d 56%, #0b6fc4);
  color: #f7fbff;
  padding: 6.2rem 0 5.2rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
  color: #bcdcff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  margin-bottom: 1rem;
  color: #ffffff;
  max-width: 900px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  margin-bottom: 1.75rem;
  color: #e4f0ff;
  max-width: 780px;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  background: #ffffff;
  color: var(--primary-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 24px rgba(4, 20, 40, 0.15);
}

.cta:hover {
  background: #edf5ff;
  transform: translateY(-1px);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: 96px;
}

.section .container > h2 {
  position: relative;
}

.section .container > h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  margin-top: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.section.alt {
  background: linear-gradient(180deg, #eef4fb, #edf2f9);
  border-top: 1px solid #e2ebf6;
  border-bottom: 1px solid #e2ebf6;
}


.section:not(.section-milestones):not(.section-featured):not(.section-showcase) .container>h2 {
  color: var(--primary-strong);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent), rgba(20, 86, 166, 0.85));
  opacity: 0.75;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #c5d8ee;
  box-shadow: var(--shadow-md);
}

.card.compact p,
.card.compact ul {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
}

th,
td {
  border-bottom: 1px solid var(--border);
  padding: 0.8rem;
  text-align: left;
}

th {
  background: linear-gradient(120deg, var(--primary-soft), #f2d9e0);
  color: #143251;
}

tbody tr:nth-child(even) {
  background: var(--surface-soft);
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill-list li {
  background: linear-gradient(130deg, var(--primary-soft), #f8edf0);
  color: #203f62;
  border: 1px solid #cadcf1;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.pill-list li:nth-child(even) {
  border-color: #ecc9d2;
  color: #5f3040;
}

.phase-grid {
  margin-top: 1.2rem;
}

.note {
  margin-top: 0.95rem;
  color: #5f3040;
  font-style: italic;
}

.admission-banner {
  background:
    linear-gradient(130deg, #0f3358 0%, #1456a6 55%, #c83b4e 100%);
  color: #e9f4ff;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.admission-banner h2 {
  color: #ffffff;
}

.admission-banner p {
  margin-bottom: 0;
}

#boarding .col-md-6 {
  background: var(--surface);
  border: 1px solid #dbe6f3;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

#business .row ul,
#contact .row ul {
  margin-bottom: 0;
}

#unique strong,
#courses strong,
#contact strong {
  color: var(--accent-strong);
}

.section-title-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.section-title-center h2 {
  margin-bottom: 0.6rem;
}

.section-title-center p {
  color: var(--muted);
}

.timeline-track {
  display: none;
}

.timeline-items {
  --dot-size: 22px;
  position: relative;
  margin-top: 0.6rem;
  padding-top: 0;
}

.timeline-items::before {
  content: "";
  position: absolute;
  left: 2.4rem;
  right: 2.4rem;
  top: calc(var(--dot-size) / 2);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(200, 59, 78, 0.36), rgba(20, 86, 166, 0.36));
}

.timeline-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  display: block;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 214, 221, 0.95);
}

.timeline-item h3 {
  color: var(--accent);
  font-size: clamp(2.1rem, 2.8vw, 3rem);
  margin-bottom: 0.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.timeline-item h4 {
  color: var(--primary-strong);
  font-size: clamp(1.18rem, 1.5vw, 1.55rem);
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.timeline-item p {
  color: var(--muted);
  margin: 0;
  max-width: 280px;
  margin-inline: auto;
}

.featured-card {
  background: var(--surface);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid #e4eaf4;
  box-shadow: var(--shadow-md);
}

.featured-visual {
  height: 100%;
  min-height: 280px;
  background:
    linear-gradient(140deg, rgba(20, 86, 166, 0.95), rgba(20, 86, 166, 0.55)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12) 12px, transparent 12px, transparent 24px);
  position: relative;
  border-right: 3px solid var(--accent);
}

.pill-tag {
  display: inline-block;
  margin: 1rem;
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0.6rem;
  padding: 0.45rem 0.75rem;
}

.featured-body {
  padding: 2rem;
}

.label-red {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.featured-body h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.featured-body p {
  color: var(--muted);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.stats-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 0.55rem;
  background: var(--accent-soft);
  color: #5d3140;
  border: 1px solid #f0ccd5;
  padding: 0.45rem 0.72rem;
  font-weight: 600;
}

.feature-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.feature-link:hover {
  color: var(--accent-strong);
}

.showcase-visual-wrap {
  position: relative;
  padding: 1.5rem 0.75rem 0.75rem;
}

.showcase-visual {
  border-radius: 1rem;
  min-height: 320px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(140deg, rgba(20, 86, 166, 0.95), rgba(20, 86, 166, 0.62), rgba(200, 59, 78, 0.82));
  box-shadow: var(--shadow-md);
}

.showcase-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  min-height: 120px;
  border-radius: 0.85rem;
  border: 3px solid #fff;
  background:
    linear-gradient(140deg, rgba(200, 59, 78, 0.95), rgba(20, 86, 166, 0.85));
  box-shadow: var(--shadow-sm);
}

.badge-years {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  min-width: 160px;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.badge-years small {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.showcase-content p {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.feature-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid #e1e8f4;
  padding: 1rem 0;
}

.feature-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-list strong {
  color: var(--primary-strong);
  font-size: 1.55rem;
  line-height: 1.15;
}

.feature-list span {
  color: var(--muted);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-danger {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-danger:hover,
.btn-danger:focus {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-outline-danger {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  background: var(--accent);
  border-color: var(--accent);
}

.site-footer {
  background: #0e2137;
  color: #d6e6f8;
  border-top: 3px solid var(--accent);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #d6e6f8;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.has-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(2px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.72, 0.2, 1),
    filter 0.45s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.has-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.has-motion .cta:active,
.has-motion .main-nav .nav-link:active,
.has-motion .card:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .main-nav {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
  }

  .nav-indicator {
    display: none;
  }

  .main-nav .nav-link {
    width: 100%;
    display: block;
    padding: 0.62rem 0.72rem;
  }

  .main-nav .nav-link.is-active,
  .main-nav .nav-link.active {
    background: #dceafd;
  }

  .hero {
    padding-top: 5.2rem;
  }

  .timeline-item h3 {
    font-size: 1.75rem;
  }

  .feature-list strong {
    font-size: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .timeline-items::before {
    display: none;
  }

  .timeline-item {
    padding-top: 0.25rem;
  }

  .timeline-dot {
    margin-bottom: 0.85rem;
  }
}

@media (max-width: 800px) {
  .admission-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .main-nav {
    gap: 0.5rem;
  }

  .main-nav .nav-link {
    font-size: 0.86rem;
    padding: 0.4rem 0.6rem;
  }

  .brand-text small {
    display: none;
  }

  .section {
    padding: 3.2rem 0;
  }

  .featured-body {
    padding: 1.4rem;
  }

  .showcase-overlay {
    width: 54%;
    min-height: 96px;
  }
}
