:root {
  --navy: #001e5f;
  --gold: #ffd82b;
  --ink: #111827;
  --muted: #334155;
  --bg: #f6f8fc;
  --panel: #ffffff;
  --line: #dbe3f0;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 30, 95, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 43, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #eef3fb 100%);
  color: var(--ink);
  line-height: 1.65;
}

.container {
  width: min(1120px, 86%);
  margin: 0 auto;
}

/* Top navigation menu */
.menu {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(0, 30, 95, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--gold);
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Header */
header {
  margin: 42px 0 35px;
  padding: 48px;
  border-radius: 26px;
  color: white;
  background:
    linear-gradient(135deg, rgba(0, 30, 95, 0.98), rgba(0, 30, 95, 0.82)),
    linear-gradient(90deg, var(--gold), transparent);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.18;
}

h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

header p {
  color: #edf3ff;
  margin: 6px 0;
  font-size: 1rem;
}

header a {
  color: var(--gold);
  font-weight: 700;
}

/* Text */
h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  border-left: 7px solid var(--gold);
  padding-left: 14px;
}

h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
}

li {
  color: var(--muted);
  margin: 6px 0;
}

ul,
ol {
  padding-left: 24px;
}

/* Sections and cards */
.section {
  margin: 54px 0;
  scroll-margin-top: 90px;
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

/* Image boxes */
imgbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

imgbox img {
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 30, 95, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

imgbox img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 18px 35px rgba(0, 30, 95, 0.2);
}

imgbox p {
  width: 100%;
  margin: 6px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* Footer */
.footer {
  margin: 70px 0 40px;
  padding: 28px;
  text-align: center;
  background: var(--navy);
  border-radius: var(--radius);
  border-bottom: 6px solid var(--gold);
  box-shadow: var(--shadow);
}

.footer p {
  color: white;
  margin: 0;
}

/* Image modal */
.modal,
.form-modal {
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 15, 45, 0.82);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 30px;

  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.show,
.form-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content,
.form-box {
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.modal.show .modal-content,
.form-modal.show .form-box {
  transform: scale(1);
}

.modal-content {
  max-width: 92%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.close {
  position: fixed;
  top: 22px;
  right: 38px;
  color: white;
  font-size: 42px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.close:hover {
  color: var(--gold);
}

/* Feedback button and form */
.form-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 30, 95, 0.28);
  transition: 0.2s ease;
}

.form-button:hover {
  transform: translateY(-3px);
  background: var(--navy);
  color: white;
}

.form-box {
  position: relative;
  width: min(850px, 86%);
  height: 82vh;
  background: white;
  border-radius: 18px;
  padding: 24px;
  border-top: 8px solid var(--gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.form-box iframe {
  height: 100%;
  border-radius: 10px;
}

.form-close {
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: 34px;
  font-weight: bold;
  cursor: pointer;
  color: var(--navy);
}

.form-close:hover {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 760px) {
  .container {
    width: 92%;
  }

  header {
    padding: 34px 24px;
  }

  .card {
    padding: 24px;
  }

  .menu {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .menu a {
    white-space: nowrap;
  }

  imgbox {
    padding: 12px;
  }
}