/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Base ===== */
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Container ===== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* ===== Top Government Stripe ===== */
.gov-stripe {
  height: 6px;
  background: #0a3d91; /* official deep blue */
}

/* ===== Header ===== */
header {
  background: #111;
  border-bottom: 1px solid #333;
}

.topbar {
  font-size: 0.85rem;
  padding: 0.5rem 5%;
  background: #000;
  border-bottom: 1px solid #222;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
}

/* ===== Branding ===== */
.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Emblem image */
.emblem img {
  max-height: 100px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display:block;
}

/* Agency name */
.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Nav Links ===== */
.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s ease;
}

.nav-links a:hover {
  border-bottom: 2px solid #0a3d91;
}

/* ===== Hero ===== */
.hero {
  padding: 3rem 0;
  border-bottom: 1px solid #222;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  max-width: 650px;
  color: #ccc;
}

/* ===== Sections ===== */
.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #222;
}

.section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-left: 4px solid #0a3d91;
  padding-left: 10px;
}

/* ===== Panels ===== */
.panel {
  border: 1px solid #333;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #0a0a0a;
}

.panel h3 {
  margin-bottom: 0.5rem;
}

.panel p {
  color: #ccc;
}

/* ===== Buttons ===== */
.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #0a3d91;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: #0a3d91;
}

/* ===== Footer ===== */
footer {
  padding: 2rem 5%;
  font-size: 0.9rem;
  border-top: 2px solid #0a3d91;
  color: #aaa;
  display:flex;
  justify-content: space-between;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}



/* =========================================
   LEGACY PORTAL STYLE (Web 1.5 / 2.0)
   ========================================= */

body.legacy {
  background: #d6dbe3; /* light gov gray */
  color: #000;
  font-family: Arial, Helvetica, sans-serif;

}

/* Content wrapper becomes light panel */
body.legacy .container {
  background: #f4f6f9;
  padding: 20px;
  border: 1px solid #9aa7bd;
  box-shadow: inset 0 1px 0 #ffffff;
    max-width:960px;
    margin: 30px auto;
}

/* Hero becomes a portal banner */
body.legacy .hero {
  background: linear-gradient(#1084d0, #0a3d91);
  color: white;
  padding: 5px 25px;
  border: 1px solid #072c6a;
  margin:-12px;
}

body.legacy .hero h1 {
  font-size: 22px;
  margin-bottom: 0px;
}

body.legacy .hero p {
  color: #e0e8f7;
}

/* Section headers look like portal modules */
body.legacy .section h2 {
  background: linear-gradient(#e6ebf5, #cfd7e6);
  border: 1px solid #9aa7bd;
  padding: 8px 12px;
  font-size: 16px;
  color: #000;
  margin-bottom: 15px;
}

/* Panels look like old info boxes */
body.legacy .panel {
  background: #ffffff;
  border: 1px solid #b0bccf;
  padding: 15px;
  margin-bottom: 15px;
}

/* Old school button */
body.legacy .button {
  background: linear-gradient(#ffffff, #dbe3f2);
  border: 1px solid #7f9db9;
  color: #000;
  text-transform: none;
  font-weight: bold;
}

body.legacy .button:hover {
  background: linear-gradient(#dbe3f2, #c4d0e5);
}

/* Links look classic */
body.legacy a {
  color: #0033cc;
}

body.legacy a:hover {
  text-decoration: underline;
}
/* =========================================
   WINDOWS 95 BEVEL SYSTEM
   ========================================= */

body.legacy .bevel-box {
  background: #e5e5e5;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #7a7a7a;
  border-bottom: 2px solid #7a7a7a;
  padding: 12px;
  margin-bottom: 15px;
}

/* Sunken (inset) style */
body.legacy .bevel-inset {
  background: #ffffff;
  border-top: 2px solid #7a7a7a;
  border-left: 2px solid #7a7a7a;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  padding: 10px;
}

/* Data table styling */
body.legacy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
}

body.legacy th {
  background: linear-gradient(#dfe5f2, #c3cde0);
  border: 1px solid #9aa7bd;
  padding: 6px 8px;
  text-align: left;
}

body.legacy td {
  border: 1px solid #b0bccf;
  padding: 6px 8px;
}

body.legacy tr:nth-child(even) {
  background: #f3f6fb;
}

/* Breadcrumb bar */
body.legacy .breadcrumb {
  font-size: 13px;
  margin-bottom: 10px;
  color: #333;
}

/* Metadata row */
body.legacy .meta {
  font-size: 12px;
  margin-bottom: 15px;
  color: #444;
}

/* =========================================
   SIMPLE TEXT ARCHIVE STYLE (BULLETPROOF)
   ========================================= */

.legacy-text {
  background: #ffffff;
  padding: 60px 0;
}

/* Constrain width AND override inherited styles */
.legacy-text .text-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: "Courier New", Courier, monospace !important;
  color: black !important;
}

/* Ensure paragraph respects formatting */
.legacy-text .text-wrapper p {
  white-space: pre-wrap;
  line-height: 1.6;
  margin: 0;
}
/* =========================================
   LEGACY FORM SYSTEM (Government Portal)
   ========================================= */

body.legacy form {
  background: #dfe5f2;
  padding: 20px;
  margin: 25px 0;
  box-shadow: 0 0 0 2px #9aa7bd;

  /* Raised bevel frame */
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #7a7a7a;
  border-bottom: 3px solid #7a7a7a;
}

/* Optional form title bar */
body.legacy form .form-title {
  background: linear-gradient(#1f4f9c, #0a3d91);
  color: white;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 14px;
  margin: -20px -20px 15px -20px;
}

/* Labels */
body.legacy label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 13px;
}

/* Inputs / Textareas / Selects */
body.legacy input,
body.legacy textarea,
body.legacy select {
  width: 100%;
  padding: 6px;
  margin-bottom: 15px;

  background: #ffffff;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;

  /* Sunken bevel */
  border-top: 2px solid #7a7a7a;
  border-left: 2px solid #7a7a7a;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* Focus effect (slightly more modern but subtle) */
body.legacy input:focus,
body.legacy textarea:focus,
body.legacy select:focus {
  outline: none;
  background: #fffff5;
}

/* Buttons */
body.legacy button,
body.legacy input[type="submit"] {
  padding: 6px 14px;
  font-weight: bold;
  cursor: pointer;

  background: #e5e5e5;

  /* Raised bevel */
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #7a7a7a;
  border-bottom: 2px solid #7a7a7a;
}

body.legacy button:active,
body.legacy input[type="submit"]:active {
  /* Inverted bevel when pressed */
  border-top: 2px solid #7a7a7a;
  border-left: 2px solid #7a7a7a;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.two-column-list {
  display: flex;
  gap: 40px;
}

.two-column-list ul {
  flex: 1;
  margin: 0;
  padding-left: 20px;
}

.footer-social {
  right: 20px;
  bottom: 15px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.footer-social svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.footer-social a {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-social a:hover {
  opacity: 1;
}