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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f8fb;
  color: #07294d;
  font-size: 15px;
  line-height: 1.6;
}

:root{
  --shs-navy: #07294d; /* primary */
  --shs-gold: #f0c808;  /* accent */
  --muted: #64748b;
  --card-bg: #ffffff;
  --surface: #f7f8fb;
}

a {
  color: var(--shs-navy);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ---- NAV ---- */
nav {
  background: var(--card-bg);
  border-bottom: 1px solid rgba(7,41,77,0.06);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--shs-navy);
  text-decoration: none;
}

.nav-logo .logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--shs-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(7,41,77,0.08);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
}

.nav-links a:hover { background: #f0f4f8; color: var(--shs-navy); }
.nav-links a.active { background: linear-gradient(90deg, rgba(240,200,8,0.08), rgba(7,41,77,0.02)); color: var(--shs-navy); font-weight:600; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.btn-primary {
  background: var(--shs-navy);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--shs-navy);
  color: var(--shs-navy);
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---- CARDS ---- */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(7,41,77,0.06);
  border-radius: 12px;
  padding: 20px 24px;
}

/* ---- FORM ELEMENTS ---- */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
}

.form-label .req {
  color: #d93025;
  margin-left: 2px;
}

input[type=text],
input[type=password],
input[type=email],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(7,41,77,0.08);
  border-radius: 8px;
  font-size: 14px;
  color: var(--shs-navy);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--shs-navy);
  box-shadow: 0 8px 20px rgba(7,41,77,0.06);
}

textarea {
  resize: vertical;
}

/* ---- ALERTS ---- */
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

.alert-error { background:#fff4f4; border:1px solid #ffd6d6; color:#9b2c2c; }
.alert-success { background:#f9f7ec; border:1px solid #f0e6bf; color:var(--shs-navy); }

.alert ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* ---- BADGES ---- */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-pending   { background: #fff7e6; color: #7a5a00; }
.badge-progress  { background: #e8f3ff; color: var(--shs-navy); }
.badge-resolved  { background: #eaf6ef; color: #1b5e3b; }
.badge-rejected  { background: #fff1f1; color: #8b1f1f; }

/* ---- PAGE WRAPPER ---- */
.page-wrap { max-width:760px; margin:0 auto; padding:36px 20px; }
.page-wrap-wide { max-width:1100px; margin:0 auto; padding:36px 20px; }

/* ---- LOADING SPINNER ---- */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- FORM ROW ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  nav { padding: 0 14px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
}

  /* Hero banner (full-bleed background similar to example) */
  .hero-block {
    position: relative;
    background-color: #07294d;
    background-image: linear-gradient(rgba(7,41,77,0.78), rgba(7,41,77,0.92)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }
  .hero {
    position: relative;
    color: #fff;
    padding: 120px 20px 80px;
    text-align: center;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,41,77,0.40) 0%, rgba(7,41,77,0.60) 60%, rgba(7,41,77,0.80) 100%);
    pointer-events: none;
  }
  .hero > * {
    position: relative;
    z-index: 1;
  }
  .hero-logo {
    width: 128px;
    height: 128px;
    margin: 0 auto 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.14);
    box-shadow: 0 18px 34px rgba(0,0,0,0.28);
    backdrop-filter: blur(10px);
  }
  .hero-logo img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
  }
  .hero h1 {
    color: #fff;
    text-shadow: 0 6px 30px rgba(2,10,24,0.6);
    font-size: 42px;
    margin: 0;
  }
  .hero p {
    color: rgba(255,255,255,0.88);
    max-width: 760px;
    margin: 18px auto 26px;
  }
  .hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.14);
    box-shadow: 0 18px 34px rgba(0,0,0,0.22);
    backdrop-filter: blur(8px);
  }
  .hero-logo img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
  }
  .nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: contain;
    background: transparent;
  }
  .hero h1 { color: #fff; text-shadow: 0 6px 30px rgba(2,10,24,0.6); font-size:38px; }
  .hero p { color: rgba(255,255,255,0.88); max-width:820px; margin:12px auto 22px; }
  .hero .hero-btns a.btn { min-width:160px; }

  /* small crest in nav */
  .nav-logo img.crest { width:40px; height:40px; border-radius:8px; object-fit:cover; }