/* ---------- Blast Academy Custom Photo Sizing ---------- */
.jr-blast-photo {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(25, 40, 87, 0.10);
  margin: 0 auto;
  display: block;
}
/* ============================================
   NOSC Blast — HTML Preview Stylesheet
   Complete design system matching Squarespace plan
   ============================================ */

/* ---------- Reset & Base ---------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Source+Sans+3:wght@400;600&display=swap");

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

:root {
  --blast-navy: #192857;
  --blast-green: #96c93d;
  --blast-green-hover: #00964d;
  --white: #ffffff;
  --light-gray: #f5f5f7;
  --medium-gray: #6b7280;
  --dark-navy: #0e1f3d;
  --success-green: #22c55e;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
  --max-width: 1200px;
  --text-max: 720px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--blast-navy);
  background: var(--white);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}
h1 {
  font-weight: 800;
  font-size: 56px;
}
h2 {
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 16px;
}
h3 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}
h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}
p {
  max-width: var(--text-max);
  margin-bottom: 16px;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blast-green);
  margin-bottom: 8px;
}

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section.bg-light {
  background: var(--light-gray);
}
.section.bg-dark {
  background: var(--blast-navy);
  color: var(--white);
}
.section.bg-dark .section-label {
  color: var(--blast-green);
}
.section.bg-dark p {
  color: rgba(255, 255, 255, 0.85);
}
.section.bg-navy {
  background: var(--dark-navy);
  color: var(--white);
}
.section.bg-green {
  background: var(--blast-green);
  color: var(--blast-navy);
}
.section.bg-green p {
  color: var(--blast-navy);
}
.text-center {
  text-align: center;
}
.text-center p {
  margin-left: auto;
  margin-right: auto;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 14px 36px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blast-green);
  color: var(--blast-navy);
  border-color: var(--blast-green);
}
.btn-primary:hover {
  background: var(--blast-navy);
  color: var(--blast-green);
  border-color: var(--blast-navy);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--blast-navy);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--blast-navy);
  border: 2px solid var(--blast-navy);
}
.btn-ghost-dark:hover {
  background: var(--blast-navy);
  color: var(--white);
}
.btn-dark {
  background: var(--blast-navy);
  color: var(--blast-green);
  border-color: var(--blast-navy);
}
.btn-dark:hover {
  background: var(--white);
  color: var(--blast-navy);
}
.link-arrow {
  color: var(--blast-green);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.link-arrow:hover {
  color: var(--blast-green-hover);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--blast-green);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--blast-navy);
}
.announcement-bar a {
  color: var(--blast-navy);
  text-decoration: underline;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blast-navy);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid var(--blast-green);
  padding: 0 32px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 80px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blast-green);
}
.nav-links .dropdown {
  position: relative;
}
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px 0;
  min-width: 220px;
  z-index: 100;
}
.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--blast-navy);
}
.nav-links .dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--blast-green);
}
.nav-cta {
  margin-left: 8px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(25, 40, 87, 0.78), rgba(25, 40, 87, 0.55)),
    url("images/nationals.jpg")
      center/cover no-repeat;
}
.hero-short {
  min-height: 400px;
  background:
    linear-gradient(to bottom, rgba(25, 40, 87, 0.78), rgba(25, 40, 87, 0.55)),
    url("images/nationals.jpg")
      center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 200px 24px; /* Moves hero text lower, adjust as needed */
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero .section-label {
  color: rgba(255, 255, 255, 0.7);
}
.hero .btn {
  margin: 0 8px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #192857 0%, #1e3470 100%);
}
/* ---------- Resources Page ---------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.resource-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--blast-navy);
  border-left: 4px solid var(--blast-green);
}
.resource-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  border-left-color: var(--blast-navy);
}
.resource-icon {
  font-size: 36px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 12px;
}
.resource-info {
  flex: 1;
  min-width: 0;
}
.resource-info h4 {
  margin-bottom: 4px;
  font-size: 18px;
}
.resource-info p {
  font-size: 14px;
  color: var(--medium-gray);
  margin-bottom: 8px;
  line-height: 1.4;
}
.resource-badge {
  display: inline-block;
  background: var(--blast-navy);
  color: var(--blast-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}
.resource-open {
  flex-shrink: 0;
  color: var(--blast-green);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.2s;
}
.resource-card:hover .resource-open {
  color: var(--blast-navy);
}
@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
  .resource-card {
    flex-wrap: wrap;
  }
  .resource-open {
    width: 100%;
    text-align: right;
    margin-top: 8px;
  }
}

.card-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #192857 0%, #1e3470 50%, #274399 100%);
  color: var(--blast-green);
}
.card-body {
  padding: 28px 32px 32px;
}
.card-body .section-label {
  margin-bottom: 4px;
  font-size: 12px;
}
.card-body p {
  font-size: 16px;
  color: var(--medium-gray);
}

/* Badge cards (achievements) */
.badge-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.badge-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.badge-year {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--blast-green);
  line-height: 1;
  margin-bottom: 12px;
}
.badge-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
}
.badge-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Icon cards (Why Blast, Skills) */
.icon-card {
  text-align: center;
  padding: 16px 8px;
}
.icon-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 50%;
  font-size: 28px;
  color: var(--blast-green);
}
.icon-card h4 {
  margin-bottom: 8px;
}
.icon-card p {
  font-size: 16px;
  color: var(--medium-gray);
  max-width: 100%;
}

/* ---------- Split Section (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-img {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, #192857 0%, #1e3470 100%);
}
.split-img-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8ec 0%, #d1d1d8 100%);
  color: var(--medium-gray);
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- Video Showcase ---------- */
.video-showcase {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #0f0f23;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
}
.video-showcase video {
  display: block;
  width: 100%;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #192857 0%, #1e3470 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.video-caption-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 10px;
  flex-shrink: 0;
}

/* ---------- Testimonial ---------- */
.testimonial blockquote {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--blast-navy);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.testimonial cite {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--medium-gray);
  font-style: normal;
}

/* ---------- News cards ---------- */
.news-card .card-body h3 {
  font-size: 18px;
}
.news-card .card-body .date {
  font-size: 13px;
  color: var(--medium-gray);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

/* ---------- Location cards ---------- */
.location-card {
  padding: 32px;
}
.location-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* ---------- Stat Block ---------- */
.stat {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--blast-green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 16px;
  color: var(--medium-gray);
}

/* ---------- DREAM Letters ---------- */
.dream-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.dream-item {
  text-align: center;
  padding: 24px 16px;
}
.dream-letter {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 56px;
  color: var(--blast-green);
  line-height: 1;
  margin-bottom: 8px;
}
.dream-word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.dream-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 100%;
}

/* ---------- Table ---------- */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.styled-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #e5e7eb;
}
.styled-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 16px;
}
.styled-table tbody tr:hover {
  background: var(--light-gray);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid #e5e7eb;
}
.accordion-item summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--blast-green);
  transition: transform 0.2s;
}
.accordion-item[open] summary::after {
  content: "−";
}
.accordion-item .acc-body {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ---------- Timeline ---------- */
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blast-green);
  margin-top: 6px;
  flex-shrink: 0;
  position: relative;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 20px);
  background: #e5e7eb;
}
.timeline-item:last-child .timeline-dot::after {
  display: none;
}

/* ---------- Checklist ---------- */
.checklist li {
  padding: 4px 0;
  font-size: 16px;
}
.checklist li::before {
  content: "✓ ";
  color: var(--success-green);
  font-weight: 700;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--blast-navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blast-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(150, 201, 61, 0.2);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: var(--blast-green);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 100%;
}
.footer-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--blast-green);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Page internal links indicator ---------- */
.page-link-note {
  background: #fef3c7;
  border-left: 4px solid var(--blast-green);
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: #92400e;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dream-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 20px;
  }
  .section {
    padding: 40px 0;
  }
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    min-height: 380px;
  }
  .hero-short {
    min-height: 260px;
  }
  .hero-content {
    padding: 120px 16px 60px;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .hero .btn {
    margin: 4px;
    display: inline-block;
  }

  /* Navigation */
  .site-header {
    height: 70px;
    padding: 0 12px;
  }
  .logo img {
    height: 50px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
    font-size: 28px;
    color: var(--white);
  }

  /* Mobile Menu (toggled via JS) */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blast-navy);
    padding: 24px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    padding: 0;
  }
  .nav-links.open .dropdown-menu a {
    color: rgba(255,255,255,0.8);
    padding: 12px 16px;
    font-size: 16px;
  }
  .nav-links.open .nav-cta {
    margin: 16px 0 0;
    text-align: center;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dream-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Split sections */
  .split-img,
  .split-img-placeholder {
    height: 240px;
  }

  /* Cards */
  .card-body {
    padding: 20px;
  }
  .card-img {
    height: 180px;
  }

  /* Stats */
  .stat-number {
    font-size: 32px;
  }
  .stat-label {
    font-size: 14px;
  }

  /* Testimonial */
  .testimonial blockquote {
    font-size: 20px;
    padding: 0 8px;
  }

  /* Badges */
  .badge-year {
    font-size: 32px;
  }
  .badge-card {
    padding: 20px 16px;
  }

  /* DREAM */
  .dream-letter {
    font-size: 40px;
  }
  .dream-item p {
    font-size: 13px;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 13px;
    width: auto;
  }

  /* Tables */
  .styled-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
  }
  .styled-table th,
  .styled-table td {
    padding: 10px 12px;
    white-space: nowrap;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Announcement bar */
  .announcement-bar {
    font-size: 12px;
    padding: 8px 12px;
  }

  /* Video */
  .video-showcase {
    border-radius: 10px;
  }
  .video-showcase video {
    border-radius: 10px 10px 0 0;
  }

  /* Accordion */
  .accordion-item summary {
    font-size: 16px;
    padding: 16px 0;
  }

  /* Timeline */
  .timeline-item {
    gap: 16px;
    margin-bottom: 24px;
  }

  /* Icon cards */
  .icon-card .icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  /* Location cards */
  .location-card {
    padding: 24px 20px;
  }

  /* Text max width override for mobile */
  p {
    max-width: 100%;
  }

  /* Resource cards */
  .resource-card {
    padding: 16px 18px;
    gap: 14px;
  }
  .resource-icon {
    width: 44px;
    height: 44px;
    font-size: 28px;
    border-radius: 10px;
  }
  .resource-info h4 {
    font-size: 16px;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  .hero {
    min-height: 320px;
  }
  .hero-content {
    padding: 100px 12px 48px;
  }
  .dream-grid {
    grid-template-columns: 1fr;
  }
  .dream-letter {
    font-size: 36px;
  }
  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
  .hero .btn {
    display: block;
    width: 100%;
    margin: 6px 0;
  }
  .stat-number {
    font-size: 28px;
  }
  .badge-year {
    font-size: 28px;
  }
  .grid-4 {
    gap: 12px;
  }
}
