 :root {
      --noaa-primary: #0a2f5a;
      --noaa-primary-strong: #052b4f;
      --noaa-accent: #0f7bba;
      --noaa-bg: #f3f7fb;
      --card-bg: #ffffff;
      --text-main: #1f2a37;
      --text-muted: #5f6f82;
      --border: #dfe7ef;
      --radius: 14px;
      --shadow: 0 10px 30px rgba(15, 36, 62, 0.08);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: "Inter", "Segoe UI", sans-serif;
      background: var(--noaa-bg);
      color: var(--text-main);
      line-height: 1.6;
    }

    a { color: var(--noaa-accent); text-decoration: none; }
    a:hover { text-decoration: underline; }

    .gov-banner {
      background: #0f172a;
      color: #dfe8f4;
      font-size: 0.8rem;
      padding: 8px 20px;
      text-align: center;
      letter-spacing: 0.02em;
    }

    header {
      background: linear-gradient(180deg, var(--noaa-primary) 0%, var(--noaa-primary-strong) 100%);
      color: #fff;
      padding: 18px 24px 20px;
      box-shadow: 0 4px 16px rgba(8, 31, 52, 0.12);
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .brand-mark {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      display: grid;
      place-items: center;
      font-size: 1.4rem;
      border: 1px solid rgba(255,255,255,0.22);
    }

    .brand h1 {
      font-size: clamp(1.2rem, 2vw, 1.7rem);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.03em;
    }

    .brand p {
      font-size: 0.82rem;
      opacity: 0.83;
      margin-top: 2px;
    }

    nav ul {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      list-style: none;
      gap: 18px;
    }

    nav a {
      color: #fff;
      font-weight: 600;
      opacity: 0.92;
    }

    .hero {
      background: linear-gradient(135deg, var(--noaa-primary) 0%, var(--noaa-accent) 100%);
      color: #fff;
      padding: 68px 20px 76px;
      text-align: center;
      
    }

    .hero-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .badge {
      display: inline-block;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 999px;
      padding: 7px 14px;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 18px;
    }

    .hero h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.15;
      margin-bottom: 16px;
      letter-spacing: -0.04em;
    }

    .hero p {
      max-width: 680px;
      margin: 0 auto 28px;
      font-size: 1.12rem;
      opacity: 0.92;
    }

    .cta-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 22px;
      border-radius: 10px;
      font-weight: 700;
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn:hover { transform: translateY(-1px); text-decoration: none; }

    .btn-primary {
      position: relative;
      z-index: 0;
      background: #fff;
      color: var(--noaa-primary);
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .register-button {
      border: 3px solid transparent;
      color: #fff;
      background:
        linear-gradient(var(--noaa-primary), var(--noaa-primary)) padding-box,
        conic-gradient(from var(--angle), #ff007f, #7f00ff, #00f0ff, #ff007f) border-box;
      animation: rotate 4s linear infinite;
    }

    .register-button::before {
      content: "";
      position: absolute;
      inset: -3px;
      border-radius: inherit;
      /*background: conic-gradient(from var(--angle), #ff007f, #7f00ff, #00f0ff, #ff007f); */
      
      filter: blur(10px);
      opacity: 0.75;
      z-index: -2;
    }

    .btn-secondary {
      background: rgba(255,255,255,0.08);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.3);
    }

    .main-container {
      position: relative;
      z-index: 1;
      max-width: 1200px;
      margin: -28px auto 60px;
      padding: 0 20px;
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
      gap: 30px;
    }

    .card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 24px 24px 20px;
      margin-bottom: 26px;
    }

    .card h3 {
      color: var(--noaa-primary);
      font-size: 1.35rem;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 2px solid #eef4fa;
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      border-bottom: 2px solid #eef4fa;
      padding-bottom: 10px;

    }

    .card-header h3 {
      margin: 0;
      padding: 0;
      border: none;
    }

    .card-action-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 10px;
      font-size: 0.8rem;
      font-weight: 700;
    }

    .card-action-links a {
      color: var(--noaa-accent);
      text-decoration: none;
    }

    .card-action-links a:hover {
      text-decoration: underline;
    }

    .details-grid { display: grid; gap: 18px; }
    .detail-label {
      display: block;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .detail-value { color: var(--text-main); font-size: 1rem; }

    .resource-list, .resource-list ul { list-style: none; padding-left: 0; margin: 0; }
    .resource-list li { margin-bottom: 12px; line-height: 1.6; }
    .resource-list strong { color: var(--noaa-primary); }
    .contact-link { color: var(--noaa-accent); font-weight: 600; }

    @media (max-width: 860px) {
      .header-container { flex-direction: column; align-items: flex-start; }
      .main-container { grid-template-columns: 1fr; }
    }

    @media (max-width: 520px) {
      .hero { padding-top: 56px; padding-bottom: 62px; }
      nav ul { gap: 12px 16px; }
      .btn { width: 100%; }
    }


    /* 1. Register the custom property so CSS can animate the angle */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* 2. Container setup with padding to make room for the border */
.glowing-box {
  position: relative;
  
  padding: 3px; /* Controls the border thickness */
  border-radius: 16px;
  background-image: conic-gradient(from var(--angle), #ff007f, #7f00ff, #00f0ff, #ff007f);
  animation: rotate 4s linear infinite;
}

/* 3. Soft outer glow effect */
.glowing-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: conic-gradient(from var(--angle), #ff007f, #7f00ff, #00f0ff, #ff007f);
  animation: rotate 4s linear infinite;
  filter: blur(15px);
  opacity: 0.75;
  z-index: -1;
}

/* 4. Inner content area to mask out the background center */
.content {
  background: #ffffff;
  
  padding: 1rem;
  border-radius: 13px; /* Slightly less than outer border-radius */
}

/* 5. Keyframes to drive the rotation angle */
@keyframes rotate {
  to {
    --angle: 360deg;
  }
}