:root {
      --usa-navy: #0A1A3C;
      --usa-light: #f9fafb;
      --usa-accent: #d4d7e0;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background-color: var(--usa-light);
      color: var(--usa-navy);
    }

    /* HEADER */
    header {
      width: 100%;
      background: var(--usa-navy);
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 2rem;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      box-shadow: 0 2px 6px rgba(0,0,0,0.25);

      border-bottom-left-radius: 50% 20px;
      border-bottom-right-radius: 50% 20px;

      background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.12), var(--usa-navy) 60%);

      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    header img {
      height: 80px;
      width: auto;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 1.75rem;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 0.9rem;
    }

    nav a:hover {
      opacity: 0.75;
    }

    /* HERO SECTION */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--usa-navy);
      color: var(--usa-light);
      overflow: hidden;
      text-align: center;
      padding: 2rem;
      padding-top: 120px; /* prevents header overlap */
    }

    .typing-container {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 600;
      letter-spacing: 0.06em;
      white-space: nowrap;
      border-right: 2px solid var(--usa-light);
      padding-right: 0.25em;
      animation: caret 0.8s steps(1) infinite;
    }

    @keyframes caret {
      50% { border-color: transparent; }
    }

    .video-container {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      max-height: 800px; /* LIMIT VIDEO HEIGHT */
      overflow: hidden;
    }

    .video-container video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.6);
    }

    .video-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--usa-light);
      padding: 1.5rem;
    }

    .video-overlay h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .video-overlay p {
      font-size: clamp(0.9rem, 1.4vw, 1.1rem);
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    /* CONTENT SECTION */
    .content-section {
      background-color: var(--usa-light);
      color: var(--usa-navy);
      padding: 4rem 1.5rem 5rem;
      text-align: center;
    }

    .content-section h2 {
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      margin-bottom: 1.5rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .content-section p {
      max-width: 800px;
      margin: 0 auto 2.5rem;
      font-size: 1rem;
      line-height: 1.7;
      color: #374151;
    }

    .est {
      font-size: clamp(2.2rem, 4vw, 3rem);
      font-weight: 700;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--usa-navy);
      text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }

 .inside-border-table {
  border-collapse: collapse;
  width: 100%;
  border: none; /* no outside border */
}

/* Remove ALL horizontal lines */
.inside-border-table td {
  border-top: none;
  border-bottom: none;
  padding: 8px 12px;
}

/* Only vertical inset borders between columns */
.inside-border-table td + td {
  border-left: inset 2px #ccc;
}

/* Remove outer left and right borders */
.inside-border-table tr td:first-child {
  border-left: none;
}
.inside-border-table tr td:last-child {
  border-right: none;
}

.no-border-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.no-border-table td {
  border: none;
  padding: 8px 12px; /* optional spacing */
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.subject-tile {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
}

/* Dark overlay for readability */
.subject-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Centered text */
.subject-tile span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

/* Center the entire block and make it wider */
.subject-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  max-width: 1600px;   /* controls how wide the whole section gets */
  margin: 0 auto;      /* centers it */
  padding: 20px;       /* optional breathing room */
}

/* Make the left and right sections fill their columns cleanly */
.subject-left,
.subject-right {
  width: 100%;
  text-align: left;
}

/* Optional: make the right column titles look more substantial */
.subject-title {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.hover-box {
  position: relative;
  overflow: hidden;
}

.hover-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('your-image.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hover-box:hover::before {
  opacity: 1;
}