* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background-color: #f5f7fb;
  color: #1f2933;
}

header {
  background: linear-gradient(rgba(4,35,70,0.75), rgba(4,35,70,0.7)),
              url("https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=1500&q=80")
              center/cover no-repeat;
  color: #ffffff;
  padding: 3.7rem 1rem 2.7rem;
  text-align: center;
}

header h1 {
  font-size: clamp(2.3rem, 3.4vw + 1rem, 3.4rem);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

header p {
  max-width: 760px;
  margin: 0.2rem auto 0;
  font-size: 1.02rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  justify-content: center;
}

.hero-stats span {
  background-color: rgba(15,23,42,0.7);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  border: 1px solid rgba(248,250,252,0.25);
}

nav {
  background-color: #0f172a;
  border-bottom: 1px solid rgba(148,163,184,0.4);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav li {
  margin: 0.1rem 0.3rem;
}

nav a {
  display: block;
  padding: 0.65rem 0.95rem;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.96rem;
}

nav a:hover,
nav a.active {
  background: linear-gradient(90deg, #fbbf24, #f97316);
  color: #111827;
  border-radius: 999px;
}

.breadcrumb {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.7rem 0 0;
}

.breadcrumb a {
  color: #4b5563;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.9rem 1.1rem 2.8rem;
}

.card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.6rem 1.6rem 1.5rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
  border: 1px solid rgba(148,163,184,0.22);
}

.card h2 {
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
  color: #0f172a;
}

.card h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.15rem;
  color: #1d4ed8;
}

.card p {
  margin-bottom: 0.7rem;
  font-size: 0.99rem;
}

.card ul {
  margin: 0.2rem 0 0.8rem 1.2rem;
  font-size: 0.97rem;
}

.card li {
  margin-bottom: 0.18rem;
}

.highlight {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  margin: 0.7rem 0 0.9rem;
  font-size: 0.92rem;
}

.info-grid,
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.4rem;
  align-items: flex-start;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.badge-row {
  margin: 0.3rem 0 0.8rem;
}

.badge {
  display: inline-block;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.76rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  margin: 0.1rem 0.25rem 0.1rem 0;
}

.img-fluid {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
  margin: 0.35rem 0 0.55rem;
}

.image-credit {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.05rem;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.4rem 0 0.2rem;
}

.fact-table th,
.fact-table td {
  border: 1px solid #e5e7eb;
  padding: 0.45rem 0.55rem;
}

.fact-table th {
  background-color: #f9fafb;
  text-align: left;
  width: 36%;
}

/* Form styling */
form {
  display: grid;
  gap: 1rem;
  margin-top: 0.6rem;
}

label {
  font-weight: 600;
  font-size: 0.93rem;
  display: block;
  margin-bottom: 0.15rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  font: inherit;
  background-color: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  background-color: #ffffff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.35rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.fieldset-box {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
}

.helper-text {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

button,
input[type="submit"] {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.98rem;
  justify-self: flex-start;
  box-shadow: 0 10px 20px rgba(37,99,235,0.35);
}

button:hover,
input[type="submit"]:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(37,99,235,0.45);
}

.tag {
  display: inline-block;
  background-color: #ecfeff;
  color: #155e75;
  font-size: 0.8rem;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  margin: 0.13rem 0.3rem 0.13rem 0;
}

.note {
  font-size: 0.82rem;
  color: #6b7280;
}

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fbbf24;
}

.footer-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.1rem 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.8rem;
  border-top: 1px solid rgba(148,163,184,0.35);
}

.footer-column h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li + li {
  margin-top: 0.25rem;
}

.footer-column p {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(15,23,42,0.9);
  text-align: center;
  padding: 0.9rem 0.5rem 1.1rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  header {
    padding-top: 3.1rem;
    padding-bottom: 2.2rem;
  }
  nav a {
    font-size: 0.9rem;
    padding: 0.55rem 0.7rem;
  }
  .card {
    padding: 1.3rem 1.15rem 1.25rem;
  }
}
