:root{
  --bg1:#f7f2e6;
  --bg2:#efe3c6;
  --text:#151515;
  --muted:#5a5a5a;

  --accent:#2b6cb0;
  --accent2:#b7791f;

  --border:rgba(0,0,0,.10);
  --shadow: 0 15px 40px rgba(0,0,0,.12);
  --shadow2: 0 20px 55px rgba(0,0,0,.18);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg1) 0%, var(--bg2) 60%, var(--bg1) 100%);
}
a{color:inherit; text-decoration:none}
.wrap{max-width:1140px; margin:0 auto; padding:0 16px}

/* =========================
   EVENT TICKER (Premium)
   - Slower, smoother scroll
   - Pauses on hover
   - Subtle depth + readable spacing
   - Respects reduced-motion
========================= */

.ticker{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border, rgba(0,0,0,.12));
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow, 0 10px 18px rgba(0,0,0,.06));
  padding: 12px 0;
}

/* Soft fade edges */
.ticker::before,
.ticker::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 72px;
  pointer-events:none;
  z-index:1;
}
.ticker::before{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
.ticker::after{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.tickerTrack{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  will-change: transform;
  padding-left: 100%;
  /* Slower default. JS may override duration; this is a safe baseline */
  animation: tickerScroll 85s linear infinite;
}

.ticker:hover .tickerTrack{
  animation-play-state: paused;
}

/* Event pill */
.tickerItem{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(43,108,176,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.78));
  box-shadow: 0 10px 18px rgba(0,0,0,.07);
  font-weight: 900;
  letter-spacing: .1px;
  transform: translateZ(0); /* reduce jitter on some GPUs */
}

.tickerItem:hover{
  box-shadow: 0 16px 30px rgba(0,0,0,.10);
  border-color: rgba(43,108,176,.35);
}

/* Title emphasis */
.tickerItem b{
  font-weight: 950;
}

/* Secondary text */
.tickerItem .muted{
  opacity:.78;
  font-weight: 850;
}

/* Optional badge styles (if you add spans in JS later) */
.tickerBadge{
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(202,162,75,.35);
  border: 1px solid rgba(183,121,31,.25);
  color:#4d3a12;
  letter-spacing: .4px;
  text-transform: uppercase;
}

@keyframes tickerScroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce){
  .tickerTrack{
    animation: none !important;
    padding-left: 0;
    flex-wrap: wrap;
    white-space: normal;
    gap: 10px;
  }
  .ticker{
    padding: 12px;
  }
  .ticker::before,
  .ticker::after{
    display:none;
  }
}

/* =========================
   HERO DIVIDER ACCENT
========================= */

.hero-divider{
  width:100%;
  text-align:center;
  margin-top:10px;
  margin-bottom:20px;
  font-weight:600;
  letter-spacing:2px;
  color:#8b6b2f;
}

.hero-divider::before,
.hero-divider::after{
  content:"";
  display:inline-block;
  width:60px;
  height:2px;
  background:#c8a64a;
  margin:0 10px;
  vertical-align:middle;
}

/* Optional subtle shimmer for a more premium feel */
.hero-divider{
  position:relative;
  overflow:hidden;
}

.hero-divider::after{
  box-shadow: 0 0 12px rgba(200,166,74,.35);
}



/* PRINCIPAL VIDEO */
.principalWelcome{padding:12px 0;}
.principalGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.principalCopy{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:20px;box-shadow:0 16px 40px rgba(0,0,0,.08);}
.principalKicker{font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;}
.principalTitle{font-size:28px;font-weight:950;margin-bottom:10px;}
.principalText{color:var(--muted);line-height:1.6;margin-bottom:14px;}
.principalHighlights{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;}
.principalPill{border:1px solid rgba(0,0,0,.1);border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800;background:#fff;}
.videoCard{position:relative;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;border:1px solid rgba(0,0,0,.1);box-shadow:0 18px 40px rgba(0,0,0,.12);background:#000;}
.videoCard iframe{width:100%;height:100%;border:0;}
@media(max-width:980px){.principalGrid{grid-template-columns:1fr;}}

/* =========================
   SITE SEARCH + FLOATING OVERLAY
========================= */

.searchBtn{
  appearance:none;
  cursor:pointer;
}

.searchOverlay{
  position:fixed;
  inset:0;
  background: rgba(7,12,24,.42);
  backdrop-filter: blur(8px);
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding: 72px 18px 24px;
  z-index: 3000;
}
.searchOverlay.open{
  display:flex;
}
.searchPanel{
  width:min(980px, 100%);
  max-height: calc(100vh - 110px);
  overflow:auto;
  border-radius: 22px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.96);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
  padding: 18px;
}
.searchPanelTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.searchEyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#123a63;
  margin-bottom:4px;
}
.searchTitle{
  margin:0;
  font-size:28px;
  font-weight:950;
}
.searchClose{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}
.searchBarRow{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
  margin-bottom:12px;
}
.siteSearchInput{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:15px;
  font-weight:800;
  outline:none;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}
.siteSearchInput:focus{
  border-color: rgba(43,108,176,.35);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}
.searchChips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}
.searchChip{
  appearance:none;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.searchChip.active{
  border-color: rgba(26,95,208,.28);
  background: linear-gradient(135deg, rgba(26,95,208,.12), rgba(11,60,122,.06));
  color:#0b2b55;
}
.searchHelper{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  margin-bottom:12px;
}
.searchSection{
  margin-top:12px;
}
.searchSectionTitle{
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#123a63;
  margin-bottom:8px;
}
.searchQuickGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.searchQuickItem{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:10px 12px;
  text-align:center;
  border-radius:16px;
  border:1px solid rgba(10,18,32,.12);
  background:#fff;
  font-size:14px;
  font-weight:850;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  transition:.18s ease;
}
.searchQuickItem:hover{
  background:#f3f7ff;
  transform: translateY(-1px);
}
.searchResultsList{
  display:grid;
  gap:10px;
}
.searchResultItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(10,18,32,.10);
  background:#fff;
  box-shadow:0 10px 20px rgba(0,0,0,.04);
  transition:.18s ease;
}
.searchResultItem:hover{
  background:#f3f7ff;
  border-color: rgba(26,95,208,.20);
  transform: translateY(-1px);
}
.searchResultTitle{
  font-weight:900;
}
.searchResultMeta{
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6a7285;
}
.searchEmpty{
  padding:14px 16px;
  border-radius:16px;
  border:1px dashed rgba(0,0,0,.12);
  background: rgba(255,255,255,.82);
  color:var(--muted);
  line-height:1.55;
}
@media (max-width: 980px){
  .searchBarRow{
    grid-template-columns: 1fr;
  }
  .searchQuickGrid{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px){
  .searchOverlay{
    padding-top: 60px;
  }
  .searchPanel{
    padding:14px;
  }
  .searchTitle{
    font-size:24px;
  }
  .searchQuickGrid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   FEEDBACK + FOOTER MAP
========================= */

.footerGridPlus{
  display:grid;
  gap:14px;
  grid-template-columns: 1fr .9fr 1.15fr;
  align-items:start;
}

.footerBlockTitle{
  font-size:16px;
  font-weight:950;
  margin-bottom:8px;
}

.footerIntro{
  margin:0 0 12px;
  line-height:1.6;
}

.footerNoticeCard{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.74);
  line-height:1.6;
}

.footerFeedbackHint{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(43,108,176,.18);
  background: rgba(43,108,176,.08);
  font-size:13px;
  font-weight:850;
  color:#123a63;
}
.footerHintDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, #ffd36a, #b7791f);
}

.footerMapTitle{
  display:flex;
  align-items:center;
  gap:10px;
}

.ncsLocateIcon{
  width:36px;
  height:36px;
  flex:0 0 auto;
}

.footerMapWrap{
  position:relative;
  width:100%;
  aspect-ratio: 4 / 3;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  background:#e8edf5;
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
}

.footerMapWrap iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.mapActions{
  margin-top:10px;
}

.feedbackFabWrap{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:2500;
}
.feedbackFab{
  appearance:none;
  border:1px solid rgba(43,108,176,.18);
  background: linear-gradient(135deg, rgba(26,95,208,.96), rgba(11,60,122,.96));
  color:#fff;
  border-radius:999px;
  padding:12px 16px;
  font-size:14px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  cursor:pointer;
  transition:.18s ease;
}
.feedbackFab:hover{
  transform:translateY(-2px);
  box-shadow: 0 24px 50px rgba(0,0,0,.24);
}
.feedbackFabIcon{
  display:inline-flex;
  width:24px;
  height:24px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(255,255,255,.14);
}

.feedbackModal{
  position:fixed;
  inset:0;
  background: rgba(7,12,24,.42);
  backdrop-filter: blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:3100;
}
.feedbackModal.open{
  display:flex;
}
.feedbackDialog{
  width:min(720px, 100%);
  border-radius:22px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.97);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
  padding:18px;
}
.feedbackDialogTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.feedbackEyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#123a63;
  margin-bottom:4px;
}
.feedbackTitle{
  margin:0;
  font-size:28px;
  font-weight:950;
}
.feedbackClose{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}
.feedbackIntro{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.6;
  font-weight:700;
}
.feedbackForm{
  display:grid;
  gap:10px;
}
.feedbackGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.feedbackInput,
.feedbackTextarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  font-size:14px;
  font-weight:700;
  outline:none;
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
}
.feedbackInput:focus,
.feedbackTextarea:focus{
  border-color: rgba(43,108,176,.35);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}
.feedbackTextarea{
  min-height:140px;
  resize:vertical;
}
.feedbackActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

@media (max-width: 980px){
  .footerGridPlus{
    grid-template-columns:1fr;
  }
}
@media (max-width: 680px){
  .feedbackGrid{
    grid-template-columns:1fr;
  }
  .feedbackFabWrap{
    right:14px;
    left:14px;
    bottom:14px;
  }
  .feedbackFab{
    width:100%;
    justify-content:center;
  }
}

/* =========================
   LOCATION CARD (Controlled footer location)
========================= */

.locationCard{
  position:relative;
  background: rgba(255,255,255,.92);
  border-radius:18px;
  padding:18px 20px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  overflow:hidden;
}

.locationAccent{
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(200,166,74,.95), rgba(200,166,74,.35), rgba(43,108,176,.18));
}

/* Tiny premium footer cue inspired by elite-school sites */
.footerBlockTitle{
  position:relative;
}
.footerBlockTitle::after{
  content:"";
  display:block;
  width:46px;
  height:2px;
  margin-top:6px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(200,166,74,.95), rgba(200,166,74,.40));
}

.locationSchool{
  font-size:18px;
  font-weight:950;
  color:#0b3c7a;
  margin:8px 0 8px;
}

.locationAddress{
  font-size:14px;
  line-height:1.65;
  margin-bottom:12px;
  font-weight:700;
}

.locationContact{
  font-size:13px;
  line-height:1.7;
  margin-bottom:14px;
  color:#555;
}

.locationActions{
  margin-top:8px;
}

.locationBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg,#1a5fd0,#0b3c7a);
  color:#fff;
  border-color: transparent;
}

.locationBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 25px rgba(0,0,0,.15);
}

/* Disable old embedded map styles if leftover markup exists */
.footerMapWrap{ display:none; }
.mapActions{ display:none; }


/* =========================
   CLICKABLE FOOTER MAP CARD
========================= */

.locationMapLink{
  position:relative;
  display:block;
  margin:12px 0 14px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
  background:#dfe7f1;
  aspect-ratio: 4 / 3;
  transition:.18s ease;
}

.locationMapLink:hover{
  transform:translateY(-2px);
  box-shadow: 0 22px 42px rgba(0,0,0,.16);
}

.locationMapFrame,
.locationMapFrame iframe{
  width:100%;
  height:100%;
  display:block;
}

.locationMapFrame iframe{
  border:0;
  pointer-events:none;
}

.locationMapBadge{
  position:absolute;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  background: rgba(255,255,255,.95);
  color:#1a5fd0;
  font-size:14px;
  font-weight:900;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.locationCaption{
  margin-top:6px;
  font-weight:800;
  color:#5c667a;
}
