/* Professional design for Bible Conference */
@import url('https://fonts.googleapis.com/css2?family=Ancizar+Serif:wght@400;600;700&family=Anton&family=DM+Sans:wght@400;500;600;700&family=Newsreader:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Syne:wght@400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --brand-primary: #C50A1D; /* #262d50; */
  --brand-gold: linear-gradient(0deg, #F7E214 0%, #F5B335 50%, #F7941D 100%);
  --text-primary: #3d3d3d;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  --bg-cream: #fafaf8;
  --bg-white: #ffffff;
  --border-subtle: #e8e6e1;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

/* ===== Base Styles ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Newsreader', 'DM Sans', Georgia, serif;
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-cream);
  line-height: 1.6;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  color: var(--brand-primary);
  letter-spacing: 0.09em; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h3 { font-size: 2rem; margin-bottom: 1rem; }
h4 { font-size: 1.75rem; margin-bottom: 1rem; }

a {
  color: var(--brand-primary);
  transition: var(--transition);
}

a:hover {
  color: rgba(255, 255, 255, 0.9);
}

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

/* ===== Header Styles ===== */
.hero-section {
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

@supports (height: 100dvh) {
  .hero-section {
    height: 100dvh;
    min-height: 100dvh;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-overlay-content {
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 1rem;
}

.hero-logo {
  max-width: 800px;
  height: auto;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  clip-path: inset(20%);
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
}

.hero-logo-spacer {
  max-width: 800px;
  width: 100%;
  min-height: 579px;
  margin-bottom: 0.25rem;
}

.hero-page-title {
  color: white;
  font-size: 3.2rem;
  margin: 0.5rem 0 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeIn 2s ease-out 0.8s forwards;
}

.hero-buttons {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 2s ease-out 1.6s forwards;
}

.hero-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-primary {
  background: white;
  color: var(--brand-primary);
  border: 2px solid white;
}

.hero-buttons .btn-primary:hover {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-buttons .btn-secondary:hover {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ===== Scroll Hint ===== */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  animation: fadeInUp 1s ease-out 0.5s both;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-hint:hover {
  transform: translateX(-50%) translateY(-5px);
}

.scroll-hint span {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.05em;
}

.scroll-icon {
  color: white;
  animation: bounce 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  background: transparent;
  border-bottom: none;
  padding: 1rem 0;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: var(--transition);
}

.brand-name {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.brand-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin-top: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.brand:hover .brand-name {
  color: rgba(255, 255, 255, 0.9);
}

.brand-logo {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition);
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* ===== Header CTA Button ===== */
.header-cta-btn {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-primary);
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-cta-btn:hover {
  color: #fff;
  border-color: rgba(201, 164, 104, 0.7);
  background: rgba(201, 164, 104, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .header-cta-btn {
    display: inline-block;
  }
  
  .header-inner {
    justify-content: space-between;
  }
}

/* ===== Mobile Navigation Toggle ===== */
.nav-toggle {
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.3);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
  border-radius: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Navigation Styles ===== */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav.open {
  display: block;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 600;
  border-left: 3px solid white;
  padding-left: calc(1rem - 3px);
}

.nav-link.highlight {
  background: white;
  color: var(--brand-primary);
}

.nav-link.highlight:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-primary);
}

.submenu-icon {
  transition: var(--transition);
  margin-left: 0.5rem;
}

.submenu-toggle[aria-expanded="true"] .submenu-icon {
  transform: rotate(180deg);
}

/* ===== Things To Do Guide ===== */
.local-guide-intro {
  margin-bottom: 2.5rem;
}

.local-guide-alert {
  background: linear-gradient(135deg, rgba(176, 30, 32, 0.08), rgba(201, 164, 104, 0.12));
  border: 1px solid rgba(176, 30, 32, 0.12);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.local-guide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.local-guide-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(176, 30, 32, 0.12);
  color: var(--brand-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.local-guide-section-copy {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.local-guide-subsection + .local-guide-subsection {
  margin-top: 2.5rem;
}

.local-guide-subtitle {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

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

.local-guide-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(176, 30, 32, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.local-guide-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.local-guide-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(176, 30, 32, 0.12), rgba(201, 164, 104, 0.16));
  flex-shrink: 0;
}

.local-guide-card h5 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  color: var(--brand-primary);
}

.local-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.local-guide-tags span {
  display: inline-flex;
  align-items: center;
  background: rgba(176, 30, 32, 0.07);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.local-guide-description {
  margin: 0;
  color: var(--text-primary);
}

.local-guide-meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.local-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.local-guide-actions .btn {
  flex: 1 1 140px;
  text-align: center;
}

@media (max-width: 767px) {
  .local-guide-alert {
    padding: 1rem;
  }

  .local-guide-card {
    padding: 1.25rem;
  }

  .local-guide-card-head {
    gap: 0.85rem;
  }

  .local-guide-card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
}

/* Submenu Styles */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.has-submenu .submenu-toggle[aria-expanded="true"] ~ .submenu {
  max-height: 500px;
}

.submenu-item {
  padding-left: 1rem;
}

.submenu-link {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition);
}

.submenu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.submenu-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
  border-left: 3px solid white;
  padding-left: calc(1rem - 3px);
}

/* ===== Desktop Navigation ===== */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .has-submenu {
    position: relative;
  }

  .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0;
    padding-top: 0.75rem;
    max-height: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  /* Create hover bridge between button and submenu */
  .has-submenu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: transparent;
  }

  .submenu-item {
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .nav-list {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }
}

/* ===== Main Content ===== */
.site-main {
  min-height: 60vh;
}

body.no-hero .site-main {
  padding-top: 100px;
}

.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Content Sections */
.content-section {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.section-background {
  background-image: var(--section-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-showcase {
  margin-top: 3rem;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-image: var(--parallax-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: var(--shadow-medium);
}

.parallax-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0.58) 100%);
}

.parallax-showcase-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 720px;
  padding: 2.25rem;
}

.parallax-showcase-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.95;
}

.parallax-showcase h3 {
  color: #ffffff;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.parallax-showcase p {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  max-width: 58ch;
}

.youth-page-intro {
  max-width: 800px;
  margin: 2rem auto;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.8;
}

.youth-registration-notice {
  max-width: 860px;
  margin: 2rem auto 2rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(176, 30, 32, 0.12), rgba(201, 164, 104, 0.18));
  border: 1px solid rgba(176, 30, 32, 0.12);
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.youth-cta-panel {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(176, 30, 32, 0.1);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
}

.youth-cta-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.youth-cta-panel p {
  margin: 0;
  color: var(--text-secondary);
}

.youth-cta-eyebrow {
  display: inline-flex;
  align-self: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(176, 30, 32, 0.08);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.youth-cta-button {
  margin-top: 0.5rem;
  padding: 0.85rem 1.3rem;
  font-weight: 600;
}

.youth-cta-button-centered {
  align-self: center;
}

.young-adults-cta-panel {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(176, 30, 32, 0.1);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.young-adults-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 164, 104, 0.16);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.young-adults-cta-panel h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.45rem;
}

.young-adults-cta-panel p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--text-secondary);
}

.young-adults-cta-button {
  margin-top: 1.25rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .youth-page-intro {
    font-size: 1rem;
  }

  .youth-registration-notice,
  .youth-cta-panel {
    padding: 1.25rem;
  }

  .youth-cta-button {
    width: 100%;
    text-align: center;
  }

  .young-adults-cta-panel {
    padding: 1.25rem;
  }

  .young-adults-cta-button {
    width: 100%;
  }
}

/* ===== Footer Styles ===== */
.site-footer {
  --footer-highlight: #f7f4ee;
  background-color: #4d5d69;
  background-image: var(--site-footer-bg-image, url('https://salvationarmysouth.widen.net/content/kq6yy9sz2g/jpeg/Bible%20Conference%202021-48.jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #f3f6f8;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 34, 0.72) 0%, rgba(20, 27, 34, 0.86) 100%);
  z-index: 0;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-nav {
  margin-bottom: 3rem;
}

.footer-nav-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--footer-highlight);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-nav .nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.footer-nav .nav-link,
.footer-nav .submenu-link {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav .nav-link:hover,
.footer-nav .submenu-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Footer submenu dropdown background fix */
.footer-nav .submenu {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .footer-nav .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .footer-nav .submenu {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    max-height: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.footer-nav .nav-link {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.footer-info {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-width: 200px;
}

.footer-dates {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--footer-highlight);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.footer-location {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-social-link:hover {
  color: #fff;
  border-color: rgba(201, 164, 104, 0.7);
  background: rgba(201, 164, 104, 0.18);
  transform: translateY(-2px);
}

.footer-social-link i {
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* Footer mission text */
.footer-mission {
  max-width: 760px;
  margin: 1rem auto 1.25rem;
  color: rgba(255,255,255,0.88);
  text-align: center;
  font-size: 0.95rem;
}
.footer-mission-logo {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.footer-mission h4 {
  margin: 0 0 0.4rem;
  color: var(--footer-highlight);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
  letter-spacing: 0.125em;
  font-weight: 600;
}
.footer-mission p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.95;
}

/* Footer image styling (used on overview and per-page footers) */
.footer-image-section {
  margin: 3rem 0;
  text-align: center;
  box-sizing: border-box;
  padding: 0 1.5rem; /* match .page-container horizontal gutters */
}
.footer-image-section img {
  width: 1232px;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.08) 0 8px 40px;
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .page-title {
    font-size: 2.5rem;
  }

  .content-section {
    padding: 1.5rem;
  }

  .footer-nav .nav-list {
    grid-template-columns: 1fr;
  }
}

/* ===== Gallery Styles ===== */
.gallery-modern-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 10px;
}

@media (min-width: 600px) {
  .gallery-modern-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .gallery-modern-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-modern-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-modern-item:hover {
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.15);
}

.gallery-modern-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .gallery-modern-item {
    aspect-ratio: 1;
  }

  .gallery-modern-item img {
    height: 100%;
  }
}

/* ===== Lightbox Modal ===== */
#comm26-lightbox {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  will-change: opacity, visibility;
  contain: layout style paint;
}

#comm26-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#comm26-lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  background: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  will-change: contents;
}

#comm26-lightbox button {
  position: absolute;
  background: white;
  color: var(--brand-primary);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#comm26-lightbox button:hover {
  background: var(--brand-primary);
  color: white;
}

#comm26-close {
  top: 20px;
  right: 20px;
}

#comm26-prev {
  left: 20px;
  top: 50%;
  margin-top: -25px;
}

#comm26-next {
  right: 20px;
  top: 50%;
  margin-top: -25px;
}

@media (max-width: 767px) {
  #comm26-lightbox button {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  #comm26-close {
    top: 10px;
    right: 10px;
  }

  #comm26-prev {
    left: 10px;
  }

  #comm26-next {
    right: 10px;
  }
}

/* ===== Video Gallery Styles ===== */
.comm25-video-gallery {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.comm25-featured-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.comm25-featured-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.comm25-thumbnails-wrapper {
  width: 100%;
}

.comm25-thumbnails-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 10px 0;
}

.comm25-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.comm25-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.comm25-thumbnail.comm25-active {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

.comm25-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comm25-thumbnail-card {
  border: none;
  padding: 0;
  text-align: left;
  background: #000;
}

.comm25-thumbnail-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.78) 100%);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.comm25-video-gallery--watch .comm25-featured-video {
  scroll-margin-top: 30px;
}

@media (max-width: 767px) {
  .comm25-video-gallery--watch {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .comm25-video-gallery--watch .comm25-featured-video {
    position: sticky;
    top: 78px;
    z-index: 40;
    margin-bottom: 0;
    border-radius: 14px;
  }

  .comm25-video-gallery--watch .comm25-thumbnails-wrapper {
    max-height: 58vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-right: 0.2rem;
  }

  .comm25-video-gallery--watch .comm25-thumbnails-section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.1rem 0.1rem 0.4rem;
  }

  .comm25-video-gallery--watch .comm25-thumbnail {
    border-radius: 10px;
  }

  .comm25-video-gallery--watch .comm25-thumbnail-title {
    font-size: 0.85rem;
  }

  .comm25-thumbnails-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .comm25-thumbnails-section {
    grid-template-columns: 1fr;
  }
}

/* ===== Opening Night Concert ===== */
.opening-night-highlight {
  margin: 2.25rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background:
    linear-gradient(120deg, rgba(122, 156, 75, 0.35) 0%, rgba(245, 239, 230, 0.3) 25%, rgba(145, 175, 95, 0.35) 50%, rgba(245, 239, 230, 0.3) 75%, rgba(122, 156, 75, 0.35) 100%),
    linear-gradient(90deg, #7a9c4b 0%, #8aab55 12%, #f5efe6 25%, #91af5f 40%, #9bb765 50%, #f5efe6 60%, #839c55 75%, #7a9c4b 100%);
  background-size: 220% 220%, 220% auto;
  animation: iridescenceShift 10s ease-in-out infinite;
}

.opening-night-highlight-inner {
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.opening-night-kicker {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3f5830;
  font-weight: 700;
}

.opening-night-highlight h3 {
  margin-bottom: 0.5rem;
  color: #2f3f28;
}

.opening-night-time {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: #24301d;
}

.opening-night-copy {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  color: #273122;
}

.musical-guest-section {
  padding: 2.25rem 1.25rem;
  color: #1a1a1a;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(122, 156, 75, 0.35);
  box-shadow: var(--shadow-medium);
  background:
    repeating-linear-gradient(30deg, transparent, transparent 35px, rgba(122, 156, 75, 0.1) 35px, rgba(122, 156, 75, 0.1) 70px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(122, 156, 75, 0.1) 35px, rgba(122, 156, 75, 0.1) 70px),
    linear-gradient(120deg, rgba(122, 156, 75, 0.35) 0%, rgba(245, 239, 230, 0.3) 25%, rgba(145, 175, 95, 0.35) 50%, rgba(245, 239, 230, 0.3) 75%, rgba(122, 156, 75, 0.35) 100%),
    linear-gradient(90deg, #7a9c4b 0%, #8aab55 12%, #f5efe6 25%, #91af5f 40%, #9bb765 50%, #f5efe6 60%, #839c55 75%, #7a9c4b 100%);
  background-size: 70px 70px, 70px 70px, 200% 200%, 200% auto;
  animation: geometricShift 20s ease-in-out infinite, iridescenceShift 7s ease-in-out infinite, polygonShift 15s linear infinite;
  position: relative;
  overflow: hidden;
}

.musical-guest-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.6), transparent 42%), radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.45), transparent 46%);
  pointer-events: none;
}

.musical-guest-section > * {
  position: relative;
  z-index: 1;
}

.musical-guest-kicker {
  margin: 0;
  font-size: 1.85rem;
  color: #304325;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.musical-guest-subtitle {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.45rem;
  color: #2c3d22;
}

.musical-guest-name {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  color: #1f2d18;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.musical-guest-image-wrap {
  margin: 1rem 0 1.4rem;
}

.framed-image {
  width: min(400px, 100%);
  border-radius: 14px;
  border: 8px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(33, 46, 26, 0.28);
}

.musical-guest-time {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1f2b19;
}

.musical-guest-lede {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #1f2b19;
}

.musical-guest-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.musical-guest-spotify {
  max-width: 960px;
  margin: 0.75rem auto 0;
}

.musical-guest-spotify iframe {
  width: min(100%, 960px);
  height: 152px;
  border-radius: 12px;
}

@keyframes geometricShift {
  0% { background-position: 0 0, 0 0, 0% 50%, 0% 50%; }
  50% { background-position: 34px 34px, -34px 34px, 100% 50%, 100% 50%; }
  100% { background-position: 0 0, 0 0, 0% 50%, 0% 50%; }
}

@keyframes iridescenceShift {
  0% { filter: saturate(1) hue-rotate(0deg); }
  50% { filter: saturate(1.08) hue-rotate(6deg); }
  100% { filter: saturate(1) hue-rotate(0deg); }
}

@keyframes polygonShift {
  0% { transform: translateZ(0); }
  50% { transform: translate3d(0, -2px, 0); }
  100% { transform: translateZ(0); }
}

/* ===== Singing on the Mountain Event ===== */
.singing-on-mountain-section {
  padding: 2.5rem 1.25rem;
  color: #1a1a1a;
  text-align: center;
  border-radius: 18px;
  box-shadow: var(--shadow-medium);
  background:
    linear-gradient(135deg, rgba(220, 50, 40, 0.08) 0%, rgba(240, 100, 60, 0.05) 25%, rgba(255, 200, 100, 0.08) 50%, rgba(240, 100, 60, 0.05) 75%, rgba(220, 50, 40, 0.08) 100%),
    linear-gradient(90deg, #ffffff 0%, #fffbf5 100%);
  background-size: 220% 220%, 100% 100%;
  animation: warmShift 12s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  border-left: 6px solid #dc3228;
  border-top: 3px solid rgba(220, 50, 40, 0.4);
}

.singing-on-mountain-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.5), transparent 45%), radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.3), transparent 48%);
  pointer-events: none;
}

.singing-on-mountain-inner {
  position: relative;
  z-index: 1;
}

.sotm-kicker {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #dc3228;
  font-weight: 700;
}

.sotm-title {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(2rem, 6vw, 3rem);
  color: #2d1f18;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}

.sotm-subtitle {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
  color: #666;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sotm-band-name {
  margin: 0.25rem 0 0.15rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #dc3228;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sotm-band-type {
  margin: 0.25rem 0 1.5rem;
  font-size: 1.2rem;
  color: #555;
  font-style: italic;
}

.sotm-image-wrap {
  margin: 1.5rem 0 2rem;
}

.sotm-band-image {
  width: min(600px, 100%);
  border-radius: 16px;
  border: 6px solid #f5efe6;
  box-shadow: 0 14px 40px rgba(220, 50, 40, 0.22);
}

.sotm-band-info {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  border-left: 4px solid #dc3228;
}

.sotm-members {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  text-align: left;
  display: inline-block;
}

.sotm-members li {
  margin: 0.65rem 0;
  color: #2d3d27;
  line-height: 1.5;
}

.sotm-event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 2rem auto;
}

.sotm-detail-card {
  background: linear-gradient(135deg, rgba(220, 50, 40, 0.08), rgba(240, 100, 60, 0.08));
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(220, 50, 40, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sotm-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(220, 50, 40, 0.15);
}

.sotm-detail-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sotm-detail-card p {
  margin: 0;
  color: #2d3d27;
  line-height: 1.6;
}

.sotm-description {
  max-width: 900px;
  margin: 2rem auto 2.5rem;
  color: #333;
  line-height: 1.8;
}

.sotm-description p {
  margin: 1rem 0;
}

.sotm-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(220, 50, 40, 0.2);
}

@keyframes warmShift {
  0% { filter: saturate(1) hue-rotate(0deg); }
  50% { filter: saturate(1.05) hue-rotate(3deg); }
  100% { filter: saturate(1) hue-rotate(0deg); }
}

@media (max-width: 767px) {
  .opening-night-highlight-inner {
    padding: 1.5rem 1rem;
  }

  .musical-guest-section {
    padding: 1.6rem 0.9rem;
  }

  .musical-guest-kicker {
    font-size: 1.35rem;
  }

  .musical-guest-subtitle {
    font-size: 1.15rem;
  }
}

/* ===== Cadet Cards Styles ===== */
.comm25-gallery-wrapper {
  width: 100%;
  margin: 0 auto;
}

.comm25-gallery-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1001px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1000px) {
  .comm25-gallery-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .comm25-gallery-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: auto;
  }

  .comm25-gallery-section {
    width: max-content;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    margin: 0;
    grid-template-columns: 1fr;
  }

  .comm25-card {
    flex: 0 0 70vw;
    max-width: 260px;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0;
  }
}

.comm25-card {
  display: flex;
  flex-direction: column;
  background-color: #1c1f3d;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  margin: 0px;
  width: 100%;
  box-sizing: border-box;
}

.comm25-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.comm25-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px 0 15px;
  line-height: 1.3;
}

.comm25-toggle {
  display: none;
}

.comm25-image-wrapper {
  display: block;
  cursor: pointer;
  width: 100%;
  padding-top: 10px;
}

.comm25-image-wrapper img {
  width: 85%;
  height: auto;
  background: white;
  padding: 10px;
  border-radius: 30px;
  border-bottom: 2px solid #ddd;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.comm25-details {
  display: none;
  max-height: 0;
  min-height: 217px;
  margin-top: auto;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  color: white;
  background-color: #001F3F;
  border-top: 1px solid #124273;
  border-radius: 30px;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    padding 0.3s ease;
}

.comm25-toggle:checked ~ .comm25-card-body .comm25-details {
  display: block;
  max-height: 500px;
  opacity: 1;
  padding: 15px 20px 20px;
  transform: scaleY(1);
  transition: max-height 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.comm25-details p {
  margin: 8px 0;
  line-height: 1.4;
  font-size: 0.9rem;
}

.comm25-details strong {
  font-weight: 600;
}

.comm25-image-wrapper img:hover,
.comm25-image-wrapper img:focus {
  outline: 2px solid #c00;
  outline-offset: 3px;
}

/* Expand/Collapse All Button */
#toggleAllBios {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#toggleAllBios:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* ===== Button Styles ===== */
/* Base button styles */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.5;
}

/* Primary button - matches header CTA */
.btn-primary {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(176, 30, 32, 0.2);
}

.btn-primary:hover {
  background: var(--brand-gold);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(176, 30, 32, 0.3);
}

/* Secondary button - complementary style */
.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(176, 30, 32, 0.1);
}

.btn-secondary:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(176, 30, 32, 0.2);
}

/* Light button - for dark backgrounds */
.btn-light {
  background: white;
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: var(--brand-gold);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Gold button - accent style */
.btn-gold {
  background: var(--brand-gold);
  color: white;
  box-shadow: 0 2px 8px rgba(201, 164, 104, 0.3);
}

.btn-gold:hover {
  background: #b8935d;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 164, 104, 0.4);
}

/* Large button size */
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
}

/* Small button size */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Button group for side-by-side buttons */
.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ensure buttons maintain spacing */
.btn.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Focus states for accessibility */
.btn:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

/* Disabled state */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover,
.btn.disabled:hover {
  transform: none;
}

/* Responsive button sizing */
@media (max-width: 1024px) and (min-width: 768px) {
  .btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
  }

  .btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 767px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
  }

  .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .btn-lg {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }
}

/* ===== Timeline Styles ===== */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--brand-primary), #F7941D);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.timeline-year-section {
  flex: 0 0 180px;
  text-align: right;
  padding-right: 1rem;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.timeline-subtitle {
  font-size: 1.1rem;
  background: var(--brand-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.timeline-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  border: 2px solid rgba(201, 164, 104, 0.1);
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.timeline-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.05rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--brand-gold);
  border: 4px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .timeline::before {
    left: 30%;
  }

  .timeline-item::after {
    left: 30%;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 40px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-year-section {
    flex: none;
    text-align: left;
    padding-right: 0;
    padding-left: 80px;
    margin-bottom: 1rem;
  }

  .timeline-card {
    padding-left: 80px;
    max-width: none;
  }

  .timeline-item::after {
    left: 40px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero-logo {
    max-width: 600px;
  }

  .hero-logo-spacer {
    max-width: 600px;
    min-height: 435px;
  }

  .hero-overlay-content {
    max-width: 700px;
  }

  .hero-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .parallax-showcase {
    min-height: 320px;
    background-attachment: scroll;
  }

  .parallax-showcase-content {
    padding: 1.5rem;
  }

  .hero-logo {
    max-width: 350px;
  }

  .hero-logo-spacer {
    max-width: 350px;
    min-height: 254px;
  }

  .hero-page-title {
    font-size: 1.6rem;
  }

  .hero-overlay-content {
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 250px;
  }

  .hero-logo-spacer {
    max-width: 250px;
    min-height: 181px;
  }

  .hero-page-title {
    font-size: 1.3rem;
  }

  .hero-overlay-content {
    padding: 0 1rem;
  }

  .hero-buttons .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Keep hero content bottom-anchored above the scroll hint on compact viewports */
@media (max-width: 1200px), (max-height: 980px) {
  .hero-overlay {
    align-items: flex-end;
    padding-top: 5.25rem;
    padding-bottom: 7.25rem;
  }

  .hero-overlay-content {
    width: 100%;
    margin: 0 auto;
  }

  .hero-logo {
    max-width: min(62vw, 500px);
  }

  .hero-logo-spacer {
    max-width: min(62vw, 500px);
    min-height: clamp(200px, 36vh, 320px);
  }

  .hero-page-title {
    font-size: clamp(1.5rem, 3.8vh, 2.35rem);
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
  }

  .hero-buttons {
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .scroll-hint {
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px), (max-height: 760px) {
  .hero-overlay {
    padding-top: 4.5rem;
    padding-bottom: 6.5rem;
  }

  .hero-logo {
    max-width: min(70vw, 360px);
  }

  .hero-logo-spacer {
    max-width: min(70vw, 360px);
    min-height: clamp(150px, 30vh, 240px);
  }

  .hero-page-title {
    font-size: clamp(1.28rem, 3.2vh, 1.82rem);
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  .hero-buttons .btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
  }
}
