/* =====================================================
   JAMESTOWN PUBLIC SCHOOLS — Main Stylesheet
   Brand: #003087 (Navy Blue), #E31837 (Red), #FFFFFF
   ===================================================== */

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

:root {
  --navy: #003087;
  --navy-dark: #001d54;
  --red: #E31837;
  --red-dark: #b81229;
  --gold: #FFB81C;
  --white: #ffffff;
  --gray-light: #f5f6f8;
  --gray-mid: #e2e5ea;
  --gray-text: #555f6e;
  --dark: #1a1f2e;
  --font-main: 'Open Sans', Arial, sans-serif;
  --font-head: 'Merriweather', Georgia, serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--navy);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ---- SECTION LABELS / HEADERS ---- */
.section-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.8); }
.section-header.light .section-label { background: var(--gold); color: var(--navy); }
.section-cta { text-align: center; margin-top: 40px; }

/* =====================================================
   ANNOUNCEMENT BANNER
   ===================================================== */
.announcement-banner {
  background: linear-gradient(90deg, var(--red) 0%, #b81229 100%);
  color: var(--white);
  padding: 10px 0;
  border-bottom: 3px solid var(--gold);
}
.announcement-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.announcement-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.announcement-content {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.97);
}
.announcement-content strong {
  color: var(--white);
  font-weight: 700;
}
@media (max-width: 480px) {
  .announcement-content { font-size: 0.82rem; }
}

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 0;
}
.top-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.top-bar i { color: var(--gold); }
.top-bar-links {
  margin-left: auto;
  display: flex;
  gap: 14px;
}
.top-bar-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  font-size: 0.9rem;
}
.top-bar-links a:hover { color: var(--gold); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,48,135,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 20px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}
.logo-icon svg { width: 52px; height: 52px; flex-shrink: 0; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  background: var(--gray-light);
  color: var(--navy);
}
.main-nav ul li a i { font-size: 0.65rem; transition: transform 0.2s; }
.main-nav ul li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 210px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  flex-direction: column !important;
  gap: 0 !important;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown li a {
  font-size: 0.875rem !important;
  padding: 9px 14px !important;
  font-weight: 500 !important;
  border-radius: 6px;
}
.btn-portal {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-portal:hover { background: var(--red); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,30,87,0.82) 55%, rgba(227,24,55,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-left: 7%;
  padding: 80px 24px;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 500px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =====================================================
   QUICK LINKS BAR
   ===================================================== */
.quick-links {
  background: var(--navy);
  padding: 0;
}
.quick-links .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  flex: 1;
  min-width: 80px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
}
.quick-link-item:hover {
  background: rgba(255,255,255,0.1);
  color: var(--gold);
}
.quick-link-item i { font-size: 1.3rem; color: var(--gold); }

/* =====================================================
   SPOTLIGHT / ABOUT SECTION
   ===================================================== */
.spotlight-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.spotlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.spotlight-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.spotlight-logo svg { width: 44px; height: 44px; }
.spotlight-header h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.2;
}
.spotlight-body {
  display: flex;
  gap: 0;
}
.spotlight-photo {
  flex-shrink: 0;
  width: 160px;
  border-right: 3px solid var(--red);
}
.spotlight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spotlight-info {
  padding: 20px 22px;
}
.spotlight-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.spotlight-role {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
}
.spotlight-details {
  border-top: 1px solid var(--gray-mid);
  padding-top: 12px;
  margin-bottom: 14px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.detail-item strong {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 1px;
}
.detail-item span { color: var(--gray-text); }
.spotlight-question {
  border-top: 1px solid var(--gray-mid);
  padding-top: 12px;
  font-size: 0.82rem;
}
.spotlight-question strong {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 4px;
}
blockquote {
  color: var(--gray-text);
  font-style: italic;
  padding-left: 10px;
  border-left: 3px solid var(--red);
  margin: 0;
}

/* About Text Block */
.about-text-block {
  padding: 20px 0;
}
.about-text-block h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.about-text-block p {
  color: var(--gray-text);
  margin-bottom: 16px;
}
.stat-row {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-text);
}

/* =====================================================
   NEWS SECTION
   ===================================================== */
.news-section {
  padding: 80px 0;
  background: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.news-img {
  position: relative;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.featured-news .news-img img { height: 260px; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.news-body { padding: 20px 22px; }
.news-meta {
  font-size: 0.78rem;
  color: var(--gray-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.featured-news .news-body h3 { font-size: 1.15rem; }
.news-body p {
  font-size: 0.875rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.6;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  transition: gap 0.2s;
}
.read-more:hover { gap: 10px; }

/* =====================================================
   SCHOOLS SECTION
   ===================================================== */
.schools-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.schools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.school-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  border-top: 4px solid var(--navy);
  transition: box-shadow 0.2s, transform 0.2s;
}
.school-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.featured-school {
  border-top-color: var(--red);
}
.school-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.school-icon i {
  font-size: 1.4rem;
  color: var(--navy);
}
.featured-school .school-icon { background: rgba(227,24,55,0.08); }
.featured-school .school-icon i { color: var(--red); }
.school-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.school-card ul {
  list-style: none;
  margin-bottom: 16px;
}
.school-card ul li {
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.school-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.school-desc {
  font-size: 0.875rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.6;
}
.school-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 10px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.school-link:hover { color: var(--red); border-color: var(--red); }

/* =====================================================
   PROGRAMS SECTION
   ===================================================== */
.programs-section {
  padding: 80px 0;
  background: var(--navy);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, transform 0.2s;
}
.program-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}
.program-icon {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.program-icon i { font-size: 1.3rem; color: var(--white); }
.program-item h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.program-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* =====================================================
   RESOURCES SECTION
   ===================================================== */
.resources-section {
  padding: 70px 0;
  background: var(--white);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.resource-block {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.resource-block > i {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
  display: block;
}
.resource-block h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.resource-block p {
  font-size: 0.83rem;
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}
.contact-info > p {
  color: var(--gray-text);
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item i {
  color: var(--red);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.contact-item div { font-size: 0.9rem; color: var(--gray-text); line-height: 1.6; }
.contact-item strong { display: block; color: var(--navy); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-mid);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,135,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: 10px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
}
.footer-top { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-logo svg { width: 48px; height: 48px; flex-shrink: 0; }
.footer-logo-title {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--red); color: var(--white); }
.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.footer-links ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .featured-news { grid-column: 1 / -1; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr; }
  .schools-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */
@media (max-width: 768px) {
  .top-bar span:not(:first-child):not(.top-bar-links) { display: none; }

  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
    padding: 80px 24px 40px;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; width: 100%; text-align: center; gap: 0; }
  .main-nav ul li a { justify-content: center; font-size: 1.15rem; padding: 14px; }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    background: var(--gray-light);
    border-radius: var(--radius);
    margin-top: 4px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: flex; flex-direction: column; }
  .btn-portal { width: 100%; text-align: center; padding: 14px; }

  .hero-content { margin-left: 0; padding: 60px 24px; }
  .quick-links .container { gap: 0; }
  .quick-link-item { padding: 14px 8px; font-size: 0.72rem; }
  .quick-link-item i { font-size: 1.1rem; }

  .spotlight-body { flex-direction: column; }
  .spotlight-photo { width: 100%; border-right: none; border-bottom: 3px solid var(--red); }
  .spotlight-photo img { height: 220px; }

  .news-grid { grid-template-columns: 1fr; }
  .featured-news { grid-column: auto; }
  .schools-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .stat-row { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .resources-grid { grid-template-columns: 1fr; }
  .quick-links .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
