/* ========================================
   Sierra High School — U.S. Army JROTC
   Stylesheet
   ======================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --army-blue: #0033A0;
  --army-blue-dark: #002266;
  --army-blue-light: #1E5EC1;
  --silver: #C0C0C0;
  --silver-light: #E8E8E8;
  --silver-dark: #8A8A8A;
  --white: #FFFFFF;
  --off-white: #F4F5F7;
  --text-dark: #1A1A2E;
  --text-muted: #5A5A6E;
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --shadow: 0 4px 20px rgba(0, 51, 160, 0.12);
  --shadow-strong: 0 8px 40px rgba(0, 51, 160, 0.25);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn i {
  font-style: normal;
  font-size: 0.9em;
  transition: var(--transition);
}

.btn:hover i {
  transform: translateX(4px);
}

/* Primary: Army Blue gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--army-blue), var(--army-blue-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 51, 160, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--army-blue-dark), var(--army-blue));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 51, 160, 0.5);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Secondary: Silver outline */
.btn-secondary {
  background: transparent;
  color: var(--army-blue-dark);
  border: 2px solid var(--silver);
  box-shadow: 0 4px 15px rgba(192, 192, 192, 0.2);
}

.btn-secondary:hover {
  background: var(--silver);
  color: var(--army-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
  border-color: var(--silver-dark);
}

/* Gold accent */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--army-blue-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.55);
}

/* Outline button */
.btn-outline {
  background: transparent;
  color: var(--army-blue);
  border: 2px solid var(--army-blue);
}

/* White button (Join the Program) */
.btn-white {
  background: var(--white);
  color: var(--army-blue-dark) !important;
  border: 2px solid var(--white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-white:hover {
  background: var(--white);
  color: var(--gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--gold), 0 8px 25px rgba(212, 175, 55, 0.55);
  border-color: var(--gold);
}

.btn-white:active {
  transform: translateY(-1px);
}

/* Gold text */
.gold {
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--army-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

/* Ghost button for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Icon button */
.btn-icon {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--army-blue);
  color: var(--white);
  font-size: 1.2rem;
  border: none;
}

.btn-icon:hover {
  background: var(--gold);
  color: var(--army-blue-dark);
  transform: rotate(-10deg) scale(1.05);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--army-blue-dark), var(--army-blue));
  color: var(--white);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 64px;
  background: rgba(0, 34, 102, 0.96);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--army-blue-dark);
  font-size: 1.15rem;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.45);
}

.nav-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.nav-title span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--silver);
  letter-spacing: 2.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
}

.nav-links a {
  color: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 75%;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.nav-cta:hover {
  background: #e6c34a !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--gold), 0 6px 20px rgba(212, 175, 55, 0.55);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--army-blue-dark) 0%, var(--army-blue) 45%, var(--silver) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: none;
  pointer-events: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.75rem;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  animation: fadeInDown 0.9s ease both;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 25px rgba(0,0,0,0.35);
  animation: fadeInUp 0.9s ease 0.15s both;
}

.hero h1 .silver {
  color: var(--silver);
  text-shadow: 0 0 30px rgba(192, 192, 192, 0.5);
}

.hero h1 .gold {
  color: var(--gold);
  text-shadow:
    0 0 10px rgba(212, 175, 55, 0.8),
    0 0 30px rgba(212, 175, 55, 0.6),
    0 0 60px rgba(212, 175, 55, 0.4);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--silver-light);
  margin-bottom: 2.75rem;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.45s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--silver);
  font-size: 2.2rem;
  animation: bounce 2.5s infinite;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 5rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--army-blue);
  color: var(--white);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--army-blue-dark);
  margin-bottom: 1rem;
}

.section-title .silver {
  color: var(--silver-dark);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.divider {
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, var(--army-blue), var(--gold));
  margin: 1.2rem auto 0;
  border-radius: 3px;
}

.star-divider {
  text-align: center;
  color: var(--gold);
  font-size: 1.8rem;
  letter-spacing: 1.5rem;
  margin: 2.5rem 0;
  opacity: 0.7;
}

/* ---------- MISSION ---------- */
.mission-section {
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.mission-text h3 {
  font-size: 1.9rem;
  color: var(--army-blue);
  margin-bottom: 1rem;
}

.mission-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.mission-card {
  background: linear-gradient(135deg, var(--army-blue), var(--army-blue-light));
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '★';
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 200px;
  color: rgba(255,255,255,0.07);
  font-family: serif;
  line-height: 1;
}

.mission-card h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--silver-light);
  line-height: 1.8;
}

.mission-card p + p {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--gold);
}

/* ---------- ACTIVITIES / WHAT WE DO ---------- */
.activities-section {
  background: var(--off-white);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.activity-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--army-blue);
  position: relative;
  overflow: hidden;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-top-color: var(--gold);
}

.activity-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent, rgba(192,192,192,0.06));
  border-radius: 0 0 0 80px;
}

.activity-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--army-blue), var(--army-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 51, 160, 0.35);
}

.activity-card h3 {
  font-size: 1.35rem;
  color: var(--army-blue-dark);
  margin-bottom: 0.5rem;
}

.activity-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- CORE VALUES ---------- */
.values-section {
  background: linear-gradient(135deg, var(--army-blue-dark) 0%, var(--army-blue) 40%, var(--silver) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.values-section .container {
  position: relative;
  z-index: 2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.value-item {
  text-align: center;
  padding: 2rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(192, 192, 192, 0.25);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.value-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  display: block;
}

.value-item h4 {
  font-size: 1rem;
  color: var(--silver);
  letter-spacing: 1.2px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- PHOTO GALLERY ---------- */
.gallery-section {
  background: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  color: var(--army-blue-dark);
  border: 2px solid var(--silver);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--army-blue);
  color: var(--white);
  border-color: var(--army-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--army-blue-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  transition: var(--transition);
  border: 3px solid var(--army-blue);
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold);
}

.gallery-item .placeholder-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--army-blue);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 51, 160, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 30, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 85%;
  max-height: 80vh;
  text-align: center;
  color: var(--white);
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 4px solid var(--silver);
}

.lightbox-caption {
  margin-top: 1.25rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  font-size: 3rem;
  color: var(--silver);
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* ---------- VIDEOS ---------- */
.videos-section {
  background: var(--off-white);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--silver-light);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--army-blue-dark), var(--army-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3.5rem;
  position: relative;
}

.video-thumb::after {
  content: '▶';
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--gold);
  color: var(--army-blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.video-card:hover .video-thumb::after {
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.video-info {
  padding: 1.75rem;
}

.video-info h3 {
  font-size: 1.25rem;
  color: var(--army-blue-dark);
  margin-bottom: 0.5rem;
}

.video-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.video-info .btn-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  color: var(--army-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.video-info .btn-play:hover {
  color: var(--gold);
}

/* ---------- EVENTS ---------- */
.events-section {
  background: var(--white);
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.event-calendar-widget {
  background: var(--army-blue-dark);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-strong);
}

.event-calendar-widget .month {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.event-calendar-widget .day {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.events-list {
  max-width: 900px;
  margin: 0 auto;
}

.event-item {
  display: flex;
  gap: 1.75rem;
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  border-left: 5px solid var(--army-blue);
  transition: var(--transition);
  align-items: center;
}

.event-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
  background: var(--white);
}

.event-date {
  min-width: 80px;
  text-align: center;
  background: var(--army-blue);
  color: var(--white);
  padding: 0.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--silver-light);
}

.event-date .day {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.event-info h3 {
  font-size: 1.25rem;
  color: var(--army-blue-dark);
  margin-bottom: 0.25rem;
}

.event-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.event-empty {
  text-align: center;
  padding: 4rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--silver);
}

/* ---------- CONTACT ---------- */
.contact-section {
  background: linear-gradient(135deg, var(--army-blue-dark), var(--army-blue));
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(192,192,192,0.1), transparent 55%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.contact-info h3 {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--silver-light);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--silver-light);
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--silver);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail div {
  font-size: 1.02rem;
}

.contact-form-card {
  background: rgba(255,255,255,0.09);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192, 192, 192, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-strong);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--silver);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--army-blue-dark);
  font-weight: 700;
  padding: 1.1rem;
  border: none;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--army-blue-dark);
  color: var(--silver);
  padding: 4rem 2rem 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--army-blue), var(--silver), var(--gold));
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--gold);
}

.footer-motto {
  font-style: italic;
  color: var(--silver-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer-links a {
  color: var(--silver-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(192, 192, 192, 0.15);
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--silver-dark);
  text-align: center;
}

/* ---------- STAFF ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.staff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--silver-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--gold);
}

.staff-photo {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--army-blue), var(--army-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  position: relative;
}

.staff-photo::after {
  content: '★';
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: var(--gold);
  font-size: 2rem;
  opacity: 0.6;
}

.staff-info {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.staff-info h3 {
  font-size: 1.4rem;
  color: var(--army-blue-dark);
  margin-bottom: 0.25rem;
}

.staff-rank {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.staff-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.staff-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--army-blue);
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: 1rem;
  border-top: 1px solid var(--silver-light);
}

.staff-contact span {
  font-size: 1.1rem;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-16px); }
  60% { transform: translateX(-50%) translateY(-8px); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--army-blue-dark), var(--army-blue));
    flex-direction: column;
    padding: 2rem 1rem 1rem;
    transform: translateY(-140%);
    transition: var(--transition);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-bottom: 3px solid var(--gold);
    overflow-y: auto;
    max-height: calc(100vh - 72px);
  }
  .nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--army-blue), var(--gold), var(--army-blue));
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.25rem;
    margin: 0.25rem 0;
    border-radius: var(--radius);
    font-size: 1rem;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.03);
  }
  .nav-links a:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold);
    transform: translateX(6px);
  }
  .nav-links a.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold);
  }
  .nav-links a.nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    border: none;
    font-weight: 700;
    margin-top: 0.75rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  }
  .nav-links a.nav-cta:hover {
    background: #e6c34a;
    color: var(--white) !important;
    transform: translateX(6px) translateY(-2px);
    box-shadow: 0 0 20px var(--gold), 0 6px 20px rgba(212, 175, 55, 0.5);
  }
  .hamburger {
    display: flex;
  }
  .hamburger span {
    background: var(--white);
  }
  .hamburger:hover span {
    background: var(--gold);
  }
  .hero {
    padding: 110px 1.5rem 70px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  section {
    padding: 3.5rem 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .events-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  .activity-card,
  .mission-card,
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}