/* ============================================================
   FredsTeamMark.com – Design System
   Brand Colors: MSK Navy #002669 | Blue #0070E0 | Orange #D64114
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:        #002669;
  --navy-dark:   #001a4d;
  --navy-light:  #1a3a7a;
  --blue:        #0070E0;
  --blue-light:  #70BCFF;
  --blue-pale:   #EFF6FF;
  --orange:      #D64114;
  --orange-light:#F26336;
  --gray-warm:   #F9F6F1;
  --gray-100:    #F8F9FA;
  --gray-200:    #E9ECEF;
  --gray-300:    #DEE2E6;
  --gray-400:    #CED4DA;
  --gray-500:    #ADB5BD;
  --gray-600:    #6C757D;
  --gray-700:    #495057;
  --gray-800:    #343A40;
  --gray-900:    #212529;
  --white:       #FFFFFF;
  --text:        #1A2340;
  --text-light:  #4A5568;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Oswald', 'Inter', sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 12px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.1);
  --shadow-blue: 0 8px 24px rgba(0,112,224,.25);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --nav-height: 72px;
  --transition: 0.25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { line-height: 1.75; }

.text-navy   { color: var(--navy) !important; }
.text-blue   { color: var(--blue) !important; }
.text-orange { color: var(--orange) !important; }
.text-white  { color: var(--white) !important; }
.text-light  { color: var(--text-light) !important; }
.text-center { text-align: center; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.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 { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}
.section-header h2 { color: var(--navy); }
.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 16px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(214,65,20,.3);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214,65,20,.4);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,38,105,.2);
}
.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,38,105,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover {
  background: #005BB5;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-body { padding: 28px; }
.card-img { width: 100%; height: 220px; object-fit: cover; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-navy   { background: var(--navy); color: var(--white); }
.badge-blue   { background: var(--blue); color: var(--white); }
.badge-orange { background: var(--orange); color: var(--white); }
.badge-light  { background: var(--blue-pale); color: var(--blue); }

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
}
#navbar.transparent {
  background: transparent;
}
#navbar.solid,
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.8;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.nav-links .btn-nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .btn-nav-cta:hover {
  background: var(--orange-light);
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
  overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  color: var(--text) !important;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.nav-dropdown-menu a:hover {
  background: var(--blue-pale) !important;
  color: var(--navy) !important;
}
/* Mobile Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: rgba(255,255,255,.1); }
.nav-mobile .btn-nav-cta {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  margin-top: 8px;
  border-radius: 50px;
}

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,38,105,.85) 0%, rgba(0,38,105,.5) 60%, rgba(0,0,0,.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  width: 100%;
}
.hero-content .container { padding-top: 60px; padding-bottom: 80px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--orange); }
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

/* Inner page hero (shorter) */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--blue-light); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* ---------- Stat Bar ---------- */
.stat-bar {
  background: var(--navy);
  padding: 20px 0;
}
.stat-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-item .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-item .number span { color: var(--orange); }
.stat-item .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
/* Stat bar alternate class names (used in index.html) */
.stat-bar-item { text-align: center; }
.stat-bar-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-bar-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

/* ---------- Fundraising Bar ---------- */
.fundraising-progress {
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}
.progress-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--navy);
}
.progress-goal { color: var(--text-light); font-size: 0.9rem; }
.progress-bar-wrap {
  background: var(--gray-200);
  border-radius: 50px;
  height: 20px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transition: width 1.5s ease;
  position: relative;
}
.progress-bar-fill::after {
  content: attr(data-pct) '%';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}
.progress-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---------- Team Member Cards ---------- */
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.member-card .member-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}
.member-card .member-photo-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
}
.member-info { padding: 20px 22px 24px; }
.member-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.member-detail {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.member-years {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* ---------- Hero Stat (alternate class name) ---------- */
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  display: block;
}

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.3;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  flex: 1;
  line-height: 1.65;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.blog-card-date { font-size: 0.8rem; color: var(--gray-500); }
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: 8px; }

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,38,105,.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { color: var(--white); font-size: 0.85rem; font-weight: 500; }

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }

/* ---------- Feature Sections ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.feature-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: var(--shadow-md);
}
.feature-content .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}
.feature-content h2 { margin-bottom: 20px; }
.feature-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-list { margin: 24px 0; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.feature-list li .icon {
  width: 24px;
  height: 24px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue-light);
  position: absolute;
  top: 16px;
  left: 28px;
  opacity: 0.5;
}
.testimonial-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-top: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
.testimonial-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ---------- Accordion (FAQ/Training) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 16px;
}
.accordion-trigger .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
  font-size: 0.85rem;
}
.accordion-trigger.open .icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.accordion-body {
  display: none;
  padding: 0 0 20px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}
.accordion-body.open { display: block; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,112,224,.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' fill='none' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ---------- Tables ---------- */
.table-responsive { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
}
tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}
tbody tr:hover { background: var(--blue-pale); }
tbody td { padding: 14px 18px; color: var(--text); }
.leaderboard-rank {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.leaderboard-rank.gold   { color: #B8860B; }
.leaderboard-rank.silver { color: #808080; }
.leaderboard-rank.bronze { color: #CD7F32; }
.leaderboard-amount {
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Member Login ---------- */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 40px 24px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-logo { width: 120px; margin: 0 auto 24px; }
.login-card h2 { margin-bottom: 8px; }
.login-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }

/* ---------- Alert/Notice ---------- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.alert-info   { background: var(--blue-pale); color: var(--navy); border-left: 4px solid var(--blue); }
.alert-success { background: #F0FFF4; color: #1a6636; border-left: 4px solid #38A169; }
.alert-warning { background: #FFFBEB; color: #7B4A00; border-left: 4px solid #F6AD55; }
.alert-error  { background: #FFF5F5; color: #9B1C1C; border-left: 4px solid #FC8181; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-banner h2 { color: var(--white); position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 540px; margin: 16px auto 32px; position: relative; z-index: 1; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
}
.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .nav-logo-text { font-size: 1.3rem; }
.footer-brand p {
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,.55);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utilities ---------- */
.bg-navy       { background: var(--navy); }
.bg-blue-pale  { background: var(--blue-pale); }
.bg-gray       { background: var(--gray-100); }
.bg-gray-warm  { background: var(--gray-warm); }
.bg-white      { background: var(--white); }
.rounded       { border-radius: var(--radius); }
.shadow        { box-shadow: var(--shadow); }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Tab Navigation ---------- */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Filter Buttons ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { background: var(--blue-pale); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .feature-split { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  .cta-banner { padding: 40px 24px; }

  .page-hero { padding: 120px 0 60px; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }

  .fundraising-progress { padding: 24px; }
  .progress-amount { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .stat-bar .container { gap: 24px; }
  .login-card { padding: 32px 24px; }
}

/* ---------- Print ---------- */
@media print {
  #navbar, footer, .btn { display: none; }
  body { font-size: 12pt; }
}

/* ---------- Blog Admin Specific ---------- */
.admin-page { min-height: 100vh; background: var(--gray-100); }
.admin-sidebar {
  width: 240px;
  background: var(--navy-dark);
  min-height: 100vh;
  padding: 80px 0 24px;
  position: fixed;
  left: 0;
  top: 0;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.admin-content {
  margin-left: 240px;
  padding: 80px 32px 40px;
}
.admin-header {
  background: var(--white);
  position: fixed;
  top: 0; left: 240px; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  justify-content: space-between;
}
