/* -------------------------------------------------------
   GLOBAL RESET & BASE
--------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #0284c7;
}

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------------*/
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #0f172a;
}

.logo-text-sub {
  font-size: 0.85rem;
  color: #475569;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  color: #475569;
  font-weight: 500;
}

.nav-links a:hover {
  border-color: #0284c7;
  color: #0f172a;
}

/* ACTIVE MENU HIGHLIGHT */
.nav-links a.active {
  color: #0284c7;
  border-bottom: 2px solid #0284c7;
}

/* -------------------------------------------------------
   MAIN LAYOUT
--------------------------------------------------------*/
main {
  padding: 3rem 0 4rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  color: #0f172a;
}

.section-lead {
  font-size: 1.05rem;
  color: #475569;
  max-width: 680px;
  margin-bottom: 1.3rem;
}

/* -------------------------------------------------------
   GRID SYSTEM
--------------------------------------------------------*/
.grid-2 {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* MOBILE GRIDS */
@media (max-width: 880px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------
   CARDS
--------------------------------------------------------*/
.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.card-subtitle {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0284c7;
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.95rem;
  color: #475569;
}

.card-list {
  list-style: none;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: #475569;
}

.card-list li {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.card-list li::before {
  content: "▹";
  color: #0284c7;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

/* -------------------------------------------------------
   BUTTONS
--------------------------------------------------------*/
.button-primary {
  display: inline-block;
  background: #003366;
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: 0.25s ease;
}

.button-primary:hover {
  background: #001f4d;
  transform: translateY(-2px);
}

/* Circular Gradient Button (not used but kept for future use) */
.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg,#0284c7,#38bdf8);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.2);
}

/* -------------------------------------------------------
   TABLES
--------------------------------------------------------*/
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #000;
}

.table th,
.table td {
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid #ccc;
}

.table th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: #005bbb;
  border-bottom: 2px solid #005bbb;
}

.table td {
  color: #000;
}

.table a {
  color: #0044cc;
}

.table a:hover {
  color: #002a80;
  text-decoration: underline;
}

.table tr:hover td {
  background: #f2f2f2;
}

/* -------------------------------------------------------
   FORMS
--------------------------------------------------------*/
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2,132,199,0.2);
}

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

@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
  }
}

/* -------------------------------------------------------
   FOOTER
--------------------------------------------------------*/
footer {
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: #64748b;
  background: #ffffff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* -------------------------------------------------------
   MOBILE NAV / HAMBURGER MENU
--------------------------------------------------------*/
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}

/* Desktop Nav */
#mobileMenu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* MOBILE MODE */
@media (max-width: 820px) {

  .hamburger {
    display: block;
  }

  /* hide menu initially */
  #mobileMenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    z-index: 9998;
  }

  /* open state */
  #mobileMenu.open {
    display: flex !important;
  }

  #mobileMenu a {
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a !important;
  }

  .nav {
    flex-wrap: nowrap;
  }
}
