  :root {
    --brand: #003b31;
    --brand-mid: #004d40;
    --brand-dim: #002d25;
    --green: #00c896;
    --green-dim: #00a87e;
    --amber: #006700;
    --white: #ffffff;
    --surface: #f5f7f6;
    --muted: #7a9990;
    --card-bg: #ffffff;
    --border: #ddeae7;
    --text: #0e2622;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(0, 59, 49, 0.1);
  }

  html,
  body {
    margin: 0;
    padding: 0;
  }

  .container,
  .container *,
  .container *::before,
  .container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* ── HERO ── */
  .hero {
    background: var(--brand);
    position: relative;
    overflow: hidden;
    padding: 72px 5% 80px;
    text-align: center;
  }
  .hero-bg-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 150, 0.12);
    border: 1px solid rgba(0, 200, 150, 0.28);
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    position: relative;
  }
  .hero h1 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 14px;
    position: relative;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--green);
  }
  .hero-sub {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
  }
  .hero-sub a {
    color: #ffffff;
  }
  .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
  }

  /* Search */
  .search-wrap {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
  }
  .search-wrap input {
    width: 100%;
    padding: 17px 130px 17px 50px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition:
      border-color 0.2s,
      background 0.2s;
    backdrop-filter: blur(6px);
  }
  .search-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.35);
  }
  .search-wrap input:focus {
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.13);
  }
  .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
  }
  .search-btn {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green);
    color: var(--brand);
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition:
      background 0.2s,
      transform 0.15s;
    white-space: nowrap;
  }
  .search-btn:hover {
    background: var(--green-dim);
    transform: translateY(-50%) scale(1.03);
  }

  .search-hint {
    margin-top: 12px;
    color: #fff;
    font-size: 0.76rem;
    position: relative;
  }
  .search-hint strong {
    color: #ccc;
    font-weight: 500;
  }

  /* Stats strip */
  .stats-strip {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 44px;
    flex-wrap: wrap;
    position: relative;
  }
  .stat {
    text-align: center;
  }
  .stat-num {
    font-family: "Sora", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
  }
  .stat-num span {
    color: var(--green);
  }
  .stat-label {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
  }

  /* ── SECTIONS ── */
  .page-section {
    padding: 60px 5%;
  }
  .page-section.alt {
    background: var(--surface);
  }
  .page-section.dark {
    background: var(--brand);
  }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
  }
  .section-header h2 {
    font-family: "Sora", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
  }
  .page-section.dark .section-header h2 {
    color: #fff;
  }
  .section-header h2 small {
    display: block;
    font-size: 0.73rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .page-section.dark .section-header h2 small {
    color: rgba(255, 255, 255, 0.4);
  }
  .see-all {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-dim);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: color 0.2s;
  }
  .see-all:hover {
    color: var(--green);
  }
  .page-section.dark .see-all {
    color: var(--green);
  }

  /* ── SCHOOL TYPES ── */
  .types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .type-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition:
      transform 0.2s,
      box-shadow 0.2s,
      border-color 0.2s;
    text-decoration: none;
    display: block;
  }
  .type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--green);
  }
  .type-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.05;
    transition:
      transform 0.3s,
      opacity 0.3s;
  }
  .type-card:hover::before {
    transform: scale(1.5);
    opacity: 0.08;
  }
  .type-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
  }
  .type-card h3 {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }
  .type-card p {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.55;
  }
  .type-count {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
  }
  .type-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-dim);
    text-decoration: none;
  }
  .type-card:hover .type-link {
    color: var(--green);
  }
  .type-link svg {
    transition: transform 0.2s;
  }
  .type-card:hover .type-link svg {
    transform: translateX(4px);
  }

  /* ── POPULAR SCHOOLS ── */
  .schools-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--green) rgba(255, 255, 255, 0.1);
  }
  .schools-scroll::-webkit-scrollbar {
    height: 4px;
  }
  .schools-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
  }
  .schools-scroll::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 4px;
  }

  .school-card {
    flex: 0 0 190px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 22px 18px;
    cursor: pointer;
    transition:
      background 0.2s,
      border-color 0.2s,
      transform 0.2s;
    text-decoration: none;
  }
  .school-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: var(--green);
    transform: translateY(-3px);
  }
  .school-avatar {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--brand);
    background: var(--green);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .school-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills avatar while preserving aspect ratio */
  display: block;
}
  .school-name {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    margin-bottom: 3px;
  }
  .school-fullname {
    font-size: 0.71rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .school-state {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.67rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(0, 200, 150, 0.12);
    padding: 3px 8px;
    border-radius: 100px;
  }

  /* ── UPDATES ── */
  .updates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .update-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    border-color: var(--green);
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    cursor: pointer;
    transition:
      box-shadow 0.2s,
      border-color 0.2s;
    text-decoration: none;
  }
  .update-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--green);
  }
  .update-badge {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    overflow: hidden;
  }

.update-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  .update-content {
    flex: 1;
    min-width: 0;
  }
  .update-tag {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 5px;
  }
  .update-title {
    font-family: "Sora", sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 7px;
  }
  .update-meta {
    font-size: 0.71rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
  }
  .update-meta .school-tag {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 500;
  }

  /* Featured update */
  .update-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-mid) 100%);
    border-color: rgba(0, 200, 150, 0.2);
  }
  .update-card.featured .update-title {
    color: #fff;
  }
  .update-card.featured .update-meta {
    color: rgba(255, 255, 255, 0.4);
  }
  .update-card.featured .update-badge {
    width: 52px;
    height: 52px;
    background: rgba(0, 200, 150, 0.12);
    border-color: rgba(0, 200, 150, 0.25);
    font-size: 1.4rem;
  }
  .update-card.featured .update-tag {
    color: var(--green);
  }
  .new-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 4px;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.25;
    }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .types-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .updates-grid {
      grid-template-columns: 1fr;
    }
    .update-card.featured {
      grid-column: auto;
    }
    .stats-strip {
      gap: 22px;
    }
  }
  @media (max-width: 480px) {
    .hero {
      padding: 52px 5% 60px;
    }
    .page-section {
      padding: 44px 5%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }
