:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #112340;
  --text-soft: #42597a;
  --primary: #0b3a77;
  --primary-2: #1159a5;
  --accent: #f2b740;
  --accent-2: #12a171;
  --stroke: #d8e4fa;
  --shadow: 0 18px 40px rgba(10, 45, 90, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #e8f4ff 0%, #f5f8ff 45%, #f7fafc 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 90% 8%, rgba(17, 89, 165, 0.16), transparent 36%),
    radial-gradient(circle at 6% 60%, rgba(18, 161, 113, 0.16), transparent 34%),
    radial-gradient(circle at 80% 90%, rgba(242, 183, 64, 0.2), transparent 28%);
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 0;
  line-height: 1.12;
}

a {
  color: inherit;
  text-decoration: none;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--primary-2);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.79rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  color: #dbe9ff;
  font-size: 0.88rem;
}

.topbar-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #dceaff;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.visitor-counter strong {
  color: #ffffff;
  font-size: 0.8rem;
}

.header {
  position: relative;
  background: linear-gradient(120deg, #092f61 0%, #0f4f98 70%, #0f6aa5 100%);
  color: #fff;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 14px 44px rgba(7, 31, 65, 0.38);
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0 1.1rem;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 0%, #d5e8ff 100%);
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.17);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
}

.brand small {
  color: #cde2ff;
  font-size: 0.8rem;
}

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
}

.menu li {
  position: relative;
}

.menu a {
  font-weight: 700;
  font-size: 0.93rem;
  color: #e8f1ff;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #fff;
}

.submenu {
  position: absolute;
  top: 135%;
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 38px rgba(11, 31, 58, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.24s ease;
}

.submenu a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
}

.submenu a:hover {
  background: #eaf2ff;
  color: var(--primary);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  font-weight: 800;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  overflow: hidden;
}

/* Shine layer inspired by premium school websites: creates the lighting sweep on hover. */
.btn::before {
  content: "";
  position: absolute;
  left: -140%;
  top: -200%;
  width: 70%;
  height: 450%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: left 0.58s ease;
}

.btn:hover::before {
  left: 180%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: linear-gradient(110deg, #ffd66c 0%, var(--accent) 100%);
  color: #222f45;
  box-shadow: 0 10px 30px rgba(242, 183, 64, 0.42);
}

.btn-light:hover {
  box-shadow: 0 16px 40px rgba(242, 183, 64, 0.55);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  padding: 0.9rem 1.55rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.6rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 2.3rem 2.2rem 2.8rem;
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(8, 44, 91, 0.96) 0%, rgba(14, 83, 151, 0.94) 68%, rgba(18, 132, 111, 0.9) 140%),
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.12), transparent 36%);
  box-shadow: 0 24px 55px rgba(7, 35, 72, 0.32);
}

.hero .kicker {
  color: #cfe2ff;
}

.hero-copy h1 {
  font-size: clamp(2rem, 2.7vw, 3.3rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-copy p {
  margin: 0;
  color: #e8f2ff;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
}

.hero-photo {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 28px rgba(6, 30, 61, 0.3);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-panel article {
  min-height: 112px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 0.9rem 0.95rem;
  backdrop-filter: blur(8px);
  animation: floatIn 0.7s ease forwards;
}

.hero-panel article:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-panel article:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-panel h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: #fff;
}

.hero-panel p {
  font-size: 1.05rem;
  color: #ecf4ff;
  margin: 0.3rem 0 0;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2vw, 2.5rem);
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(17, 36, 65, 0.06);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.section-alt {
  background: linear-gradient(180deg, #edf5ff 0%, #f8fcff 100%);
}

.accent-a {
  border-top: 5px solid var(--primary-2);
}

.accent-b {
  border-top: 5px solid var(--accent);
}

.accent-c {
  border-top: 5px solid var(--accent-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-strip {
  margin: 0 0 1.2rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d5e4fb;
  box-shadow: 0 14px 34px rgba(13, 44, 84, 0.12);
}

.story-strip img {
  display: block;
  width: 100%;
  height: clamp(240px, 38vw, 380px);
  object-fit: cover;
}

.feature {
  background: linear-gradient(130deg, #fff 0%, #f6fbff 100%);
  border: 1px solid #d9e7ff;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(14, 44, 82, 0.06);
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
}

.official-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%),
    radial-gradient(circle at 85% 10%, rgba(11, 58, 119, 0.08), transparent 35%);
}

.official-note {
  margin: 0;
  max-width: 50ch;
  color: var(--text-soft);
  font-weight: 600;
}

.official-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.official-card {
  background: #ffffff;
  border: 1px solid #d7e5fb;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 14px 28px rgba(14, 44, 82, 0.08);
}

.official-card h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.official-card p {
  margin: 0;
  color: var(--text-soft);
}

.official-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
}

.official-card li {
  margin-bottom: 0.35rem;
}

.official-card li:last-child {
  margin-bottom: 0;
}

.official-highlight {
  grid-column: span 3;
  background: linear-gradient(130deg, #ffffff 0%, #f2f7ff 100%);
}

.promo-section {
  background: linear-gradient(180deg, #f4f8ff 0%, #eef5ff 100%);
}

.promo-note {
  margin: 0;
  max-width: 44ch;
  color: var(--text-soft);
  font-weight: 600;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.promo-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d7e4fb;
  box-shadow: 0 14px 34px rgba(12, 39, 74, 0.1);
  background: #fff;
}

.promo-card:nth-child(1),
.promo-card:nth-child(2) {
  grid-column: span 6;
}

.promo-card:nth-child(3),
.promo-card:nth-child(4),
.promo-card:nth-child(5) {
  grid-column: span 4;
}

.promo-card img {
  display: block;
  width: 100%;
  height: clamp(210px, 26vw, 300px);
  object-fit: cover;
}

.section-news {
  background:
    linear-gradient(110deg, rgba(11, 58, 119, 0.97), rgba(18, 86, 150, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 35%);
  color: #fff;
}

.section-news .kicker {
  color: #bbd7ff;
}

.section-news .btn-outline {
  border-color: rgba(255, 255, 255, 0.72);
}

.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1.2rem;
  backdrop-filter: blur(6px);
}

.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.news-card span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c7ddff;
  font-weight: 700;
}

.news-card h3 {
  margin: 0.55rem 0;
  font-size: 1.28rem;
}

.news-card p {
  margin: 0;
  color: #e0ebff;
}

.cta {
  padding-top: 3.3rem;
}

.cta-box {
  background: linear-gradient(130deg, #0d417f 0%, #0f5ea4 54%, #12a171 130%);
  color: #fff;
  border-radius: 22px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-box p {
  margin: 0.6rem 0 0;
  color: #d8eaff;
}

.footer {
  padding: 3.2rem 0 1.8rem;
  background: #091f3f;
  color: #d7e8ff;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer a,
.footer p {
  display: block;
  color: #cce0ff;
  margin: 0.25rem 0;
}

.copyright {
  text-align: center;
  color: #9eb8db;
  font-size: 0.86rem;
  margin: 1.5rem 0 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    right: 4%;
    top: calc(100% + 10px);
    width: min(330px, 90vw);
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(14, 33, 61, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.24s ease;
  }

  .menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a {
    color: var(--text);
    display: block;
    padding: 0.55rem 0.6rem;
    border-radius: 9px;
  }

  .menu a:hover {
    background: #edf4ff;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f2f7ff;
    margin-top: 0.3rem;
    display: none;
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .navbar > .btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 2rem 1.3rem 2.2rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    grid-column: auto;
  }

  .cards-3,
  .official-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .official-highlight {
    grid-column: span 2;
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-card:nth-child(1),
  .promo-card:nth-child(2),
  .promo-card:nth-child(3),
  .promo-card:nth-child(4),
  .promo-card:nth-child(5) {
    grid-column: auto;
  }

  .hero-photo img {
    height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .topbar-links {
    gap: 0.7rem;
  }

  .cards-3,
  .official-grid,
  .feature-grid,
  .news-grid,
  .footer-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .official-highlight {
    grid-column: auto;
  }

  .hero-photo img,
  .news-card img {
    height: 210px;
  }

  .section-head.split,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-card img {
    height: 220px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
