@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --green:        #228b22;
  --green-dark:   #1a6e1a;
  --green-deeper: #0f4a0f;
  --green-light:  #e8f5e8;
  --gold:         #c8a415;
  --gold-light:   #f0d060;
  --charcoal:     #1f2937;
  --charcoal-mid: #374151;
  --grey:         #6b7280;
  --grey-light:   #f3f4f6;
  --off-white:    #f9f9f9;
  --border:       #e5e7eb;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.13);
  --radius:       10px;
  --radius-lg:    16px;
}

/* ── Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a1a;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

/* ── Keyframes ─────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes scaleX   { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,164,21,0.55), 0 6px 20px rgba(200,164,21,0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(200,164,21,0), 0 6px 20px rgba(200,164,21,0.35); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.pub-header {
  background: #fff;
  border-bottom: 3px solid var(--green);
  padding: 0.85rem 0;
  box-shadow: 0 2px 12px rgba(34,139,34,0.08);
}
.pub-logo {
  height: 68px;
  width: auto;
  transition: transform 0.25s ease;
}
.pub-logo:hover { transform: scale(1.05); }
.pub-header .abbr {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 1px;
  line-height: 1;
}
.pub-header .full {
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════
   NAV  — modern charcoal bar with green accent underlines
══════════════════════════════════════════════════════ */
.pub-nav {
  background: var(--charcoal);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Nav links */
.pub-nav .navbar-nav .nav-link {
  position: relative;
  color: rgba(255,255,255,0.78) !important;
  font-weight: 500;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 1rem 0.85rem !important;
  border-radius: 0;
  margin: 0;
  transition: color 0.2s;
}

/* Animated underline */
.pub-nav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.85rem; right: 0.85rem;
  height: 3px;
  background: var(--green);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.pub-nav .navbar-nav .nav-link:hover { color: #fff !important; }
.pub-nav .navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* Active state */
.pub-nav .navbar-nav .nav-link.active {
  color: #fff !important;
  font-weight: 700;
}
.pub-nav .navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* Dropdown toggle arrow gap */
.pub-nav .dropdown-toggle::after { margin-left: 5px; vertical-align: middle; }

/* Dropdown menu */
.pub-nav .dropdown-menu {
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  border-top: 3px solid var(--green);
  padding: 0.5rem 0;
  background: #fff;
  min-width: 210px;
  animation: navDrop 0.18s ease;
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pub-nav .dropdown-item {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.6rem 1.4rem;
  color: var(--charcoal);
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pub-nav .dropdown-item:hover {
  background: var(--green-light);
  color: var(--green);
  border-left-color: var(--green);
  font-weight: 600;
}
.pub-nav .dropdown-item.active {
  background: var(--green-light);
  color: var(--green);
  border-left-color: var(--green);
  font-weight: 700;
}

/* Hamburger */
.pub-nav .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
}
.pub-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Login / Admin pill */
.pub-nav .nav-pill {
  background: rgba(34,139,34,0.18);
  border: 1px solid rgba(34,139,34,0.45);
  border-radius: 20px;
  color: #a8f0a8 !important;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 1rem !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pub-nav .nav-pill:hover {
  background: rgba(34,139,34,0.32);
  border-color: rgba(34,139,34,0.7);
  color: #fff !important;
}
/* Mobile collapse */
@media (max-width: 991px) {
  .pub-nav .navbar-collapse {
    background: var(--charcoal-mid);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 0;
    margin: 0 -0.75rem;
  }
  .pub-nav .navbar-nav .nav-link::after { display: none; }
  .pub-nav .navbar-nav .nav-link.active {
    background: rgba(34,139,34,0.25);
    border-left: 3px solid var(--green);
    padding-left: calc(0.85rem - 3px) !important;
  }
  .pub-nav .dropdown-menu {
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--green);
    border-radius: 0;
    margin-left: 1rem;
    animation: none;
  }
  .pub-nav .dropdown-item {
    color: rgba(255,255,255,0.75);
    border-left: none;
  }
  .pub-nav .dropdown-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left: none;
  }
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero-wrap {
  position: relative;
  height: 580px;
  overflow: hidden;
}
@media (max-width: 768px)  { .hero-wrap { height: 420px; } .hero-img { height: 420px; } }
@media (max-width: 480px)  { .hero-wrap { height: 320px; } .hero-img { height: 320px; } }

.hero-img {
  height: 580px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient overlay — left heavy so text is legible */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5,35,5,0.80) 0%,
    rgba(15,70,15,0.65) 45%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 5;
  display: flex;
  align-items: center;
}

/* Hero text */
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 0.35rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.1rem;
  animation: fadeUp 0.7s ease both;
}
.hero-title {
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-btns { animation: fadeUp 0.7s 0.45s ease both; }
.btn-hero {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-hero:hover { transform: translateY(-3px); }
.btn-hero-solid {
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 2.2rem;
  animation: pulseGlow 2.4s ease-in-out 1.2s infinite;
  letter-spacing: 0.4px;
}
.btn-hero-solid:hover {
  background: #a8880f;
  border-color: #a8880f;
  color: #fff;
  animation: none;
  box-shadow: 0 10px 28px rgba(200,164,21,0.5);
}
.btn-hero-ghost {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  font-size: 0.88rem;
  padding: 0.85rem 1.6rem;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

/* ══════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--charcoal);
  padding: 0;
}
.stat-item {
  padding: 1rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  flex: 1;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.stat-lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* ══════════════════════════════════════════════════════
   MISSION STRIP
══════════════════════════════════════════════════════ */
.mission-strip {
  background: var(--green-light);
  border-left: 5px solid var(--green);
  padding: 1.4rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.mission-strip p { margin: 0; font-size: 1rem; color: #2a2a2a; line-height: 1.75; font-weight: 500; }

/* ══════════════════════════════════════════════════════
   SECTION TYPOGRAPHY
══════════════════════════════════════════════════════ */
.sec-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.sec-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.sec-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: left;
  animation: scaleX 0.5s ease both;
}
.sec-sub {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════
   QUICK CARDS
══════════════════════════════════════════════════════ */
.quick-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s;
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(34,139,34,0.16);
  border-top-color: var(--gold);
  color: inherit;
}
.qc-icon {
  background: var(--grey-light);
  color: var(--charcoal-mid);
  font-size: 1.8rem;
  padding: 1.2rem;
  text-align: center;
  transition: background 0.25s, color 0.25s;
}
.quick-card:hover .qc-icon { background: var(--charcoal); color: #fff; }
.qc-body { padding: 1.1rem 1.2rem; flex: 1; }
.qc-body h5 {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green);
  margin-bottom: 0.35rem;
}
.qc-body p { font-size: 0.8rem; color: #777; margin: 0; line-height: 1.55; }

/* ══════════════════════════════════════════════════════
   FEATURE SECTION (image + text)
══════════════════════════════════════════════════════ */
.feature-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.feature-img-wrap img {
  width: 100%; height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.feature-img-wrap:hover img { transform: scale(1.04); }
.feature-tag {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════
   EVENTS
══════════════════════════════════════════════════════ */
.event-item {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #eee;
  transition: transform 0.2s;
}
.event-item:last-child { border-bottom: none; }
.event-item:hover { transform: translateX(5px); }
.event-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 0 3px rgba(34,139,34,0.15);
}
.event-item a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  text-decoration: none;
}
.event-item a:hover { text-decoration: underline; }
.event-meta { font-size: 0.75rem; color: #999; margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   MILESTONES
══════════════════════════════════════════════════════ */
.milestones { border-left: 3px solid var(--green); padding-left: 1.5rem; }
.milestone {
  position: relative;
  padding-bottom: 1.4rem;
}
.milestone::before {
  content: '';
  position: absolute;
  left: -1.9rem; top: 5px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
}
.milestone:last-child { padding-bottom: 0; }
.milestone-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.milestone-text {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.5;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════
   RESOURCES
══════════════════════════════════════════════════════ */
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.88rem;
  color: #555;
  transition: color 0.2s;
}
.resource-list li:last-child { border-bottom: none; }
.resource-list li::before {
  content: '▸';
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.resource-list a { color: var(--green); text-decoration: none; font-weight: 600; }
.resource-list a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════ */
.cta-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.6rem;
}
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 2rem; }
.btn-cta-white {
  background: #fff;
  color: var(--charcoal);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-size: 0.95rem;
}
.btn-cta-white:hover { background: var(--green-light); color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-cta-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  font-size: 0.95rem;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.pub-footer {
  background: var(--charcoal);
  padding: 3rem 0 0;
}
.pub-footer h6 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.pub-footer p { color: rgba(255,255,255,0.75); font-size: 0.875rem; line-height: 1.7; }
.pub-footer a {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 0.45rem;
  transition: color 0.2s, transform 0.2s;
}
.pub-footer a:hover { color: #fff; transform: translateX(4px); }
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-divider a { display: inline; color: rgba(255,255,255,0.7); margin: 0 0.25rem; transition: color 0.2s; }
.footer-divider a:hover { color: #fff; transform: none; }

/* ══════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════ */
.bg-off-white { background: var(--off-white); }
.text-green   { color: var(--green); }
.text-gold    { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   INNER PAGE (Page.cshtml)
══════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
  padding: 2.5rem 0 2rem;
  color: #fff;
}
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; margin: 0; }
.page-body { font-size: 1rem; line-height: 1.8; color: #333; }
.page-body h2 { color: var(--green); font-weight: 800; margin-top: 2rem; }
.page-body h3 { color: var(--green-dark); font-weight: 700; margin-top: 1.5rem; }
.page-body a { color: var(--green); }
.page-body ul { padding-left: 1.4rem; }
.page-body li { margin-bottom: 0.4rem; }
