/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Account for fixed navbar */
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f8f8f8;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeInBody 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

footer.footer {
  margin-top: auto;
}

/* Sleek Modern Navbar */
.modern-navbar {
  background: #500000;
  /* border-radius: 0 0 14px 14px; */
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.3em 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 2em;
}

.navbar-logo {
  flex-shrink: 0;
  margin-right: 2.5em;
  white-space: nowrap;
}

.navbar-title {
  font-family: 'Montserrat', 'Tilt Prism', serif;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.modern-navbar ul {
  display: flex;
  align-items: center;
  gap: 1.2em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.modern-navbar ul li a {
  color: #fff;
  font-weight: 400;
  font-size: 1.05em;
  text-decoration: none;
  padding: 0.3em 0.9em;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  line-height: 1.2;
  display: inline-block;
}

.modern-navbar ul li a:hover, .modern-navbar ul li a:focus {
  background: #fff;
  color: #B6862C;
}

.modern-navbar ul li a.donate-btn {
  background: #c0c0c0;
  color: #500000;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 1px 4px #a3a3a3;
  padding: 0.3em 1.1em;
  margin-left: 0.5em;
  font-size: 1em;
}

.modern-navbar ul li a.donate-btn:hover {
  background: #500000;
  color: #fff;
  box-shadow: 0 2px 8px #a3a3a3;
}

@media (max-width: 900px) {
  .modern-navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7em 1em;
    min-height: unset;
    gap: 0.5em;
  }
  .navbar-logo {
    margin-bottom: 0.5em;
  }
  .modern-navbar ul {
    flex-direction: column;
    gap: 0.5em;
    width: 100%;
  }
}

/* Silver accent for Donate button */
.modern-navbar ul li a[href="donate.html"] {
    background: #c0c0c0;
    color: #500000;
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px #a3a3a3;
}
.modern-navbar ul li a[href="donate.html"]:hover {
    background: #500000;
    color: #fff;
    border: 2px solid #c0c0c0;
}

.hero {
  background: url('../images/aggieland.jpg') no-repeat center center/cover;
  position: relative;
  height: 100vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile-specific hero (hidden on desktop by default) */
.hero-mobile {
  display: none;
  background: linear-gradient(135deg, #500000 60%, #000000 100%);
  min-height: 100vh;
  padding: 3em 1.5em;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-mobile .hero-mobile-inner {
  max-width: 680px;
}

.hero-mobile .hero-mobile-title {
  font-family: 'Poppins', 'Montserrat', serif;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.7em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-mobile .hero-mobile-subtitle {
  color: #B6862C;
  font-size: 1.2rem;
  margin-bottom: 1.2em;
}

.hero-mobile .hero-mobile-cta {
  background: #c0c0c0;
  color: #500000;
  font-weight: 700;
  padding: 0.9em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(80,0,0,0.85) 60%, rgba(0,0,0,0.7) 100%);
  padding: 3em 2em;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  text-align: center;
}

.hero h1 {
  font-family: 'Poppins', 'Montserrat', 'Tilt Prism', serif;
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0.5em;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-subtitle {
  font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
  color: #B6862C;
  font-size: 1.5rem;
  margin-bottom: 1.5em;
  font-weight: 500;
}

.cta-button {
  background: #500000;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0.8em 2em;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
  background: #c0c0c0;
  color: #500000;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-family: Arial, sans-serif;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ffcccb;
}
h1 {
    text-align: center;
    color: #500000;
    margin: 40px 0 20px; /* Add more space above the title */
    font-size: 3.5rem; /* Ensure the title remains prominent */
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px; /* Keep the spacing for better clarity */
}

/* Optional underline accent */
h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #500000;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Navbar Sticky Transition */
body.scrolled .navbar {
    background: rgba(80, 0, 0, 0.9); /* Aggie Maroon with opacity when scrolling */
}
/* Sections */
.section {
    padding: 50px 20px;
    margin: 20px auto;
    background: #FFFFFF;
    color: #500000;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section p {
    font-size: 1.2rem;
    text-align: center;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1.5em 0;
    margin-top: 3em;
    border-radius: 0;
}
.fredericka-the-great-regular {
  font-family: "Fredericka the Great", serif;
  font-weight: 400;
  font-style: normal;
}


@media (max-width: 768px) {
    /* Swap to mobile hero on small screens */
    .hero { display: none; }
    .hero-mobile { display: flex; }
    .hero h1 {
        font-size: 2.2rem; /* Safe fallback if hero shown */
    }
}

@keyframes subtle-fade {
    0% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

.footer {
    position: absolute; /* Footer stays at the bottom */
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    text-align: center;
    padding: 10px 0; /* Add padding */
    font-size: 0.9rem;
    border: none; /* Ensure no border is applied */
}

.footer-content {
    display: flex; /* Align items in one line */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center items vertically */
    gap: 10px; /* Add spacing between items */
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex; /* Inline flex to align icon and text */
    align-items: center; /* Center-align icon and text */
    gap: 5px; /* Space between icon and text */
    transition: color 0.3s ease-in-out;
}

.footer-link:hover {
    color: #ffcccb; /* Light pink hover effect */
}

.footer-icon {
    width: 16px; /* Icon size */
    height: 16px;
    vertical-align: middle;
}

.footer-divider {
    color: white;
    margin: 0 5px; /* Add space around the divider */
}

/* Team Section */
.team {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Adjust Team Section */
.team-row {
    display: flex;
    justify-content: space-between; /* Spread cards evenly across the row */
    flex-wrap: wrap;
    gap: 20px; /* Add spacing between cards */
    padding: 0 10px; /* Ensure cards don’t touch screen edges */
}

/* Adjust Card Width */
.card {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #500000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1; /* Allow cards to grow evenly */
    max-width: 18%; /* Restrict maximum width for readability */
    min-width: 200px; /* Maintain minimum card size */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #fdf2f2;
}

/* Ensure Images Scale Properly */
.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #500000;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card-content h3 {
    color: #500000;
    font-size: 1.5rem;
    margin: 10px 0;
}

/* Center card HEADINGS only (keep body text left-aligned) */
.officer-name,
.liaison-name,
.testimonial-name,
.card-content h3,
.membership-section h2,
.dues-option h4,
.section-title {
  text-align: center;
}

/* Ensure descriptive text stays left-aligned for readability */
.officer-bio,
.liaison-bio,
.card-content p,
.testimonial-text,
.membership-content .membership-form,
.dues-section p {
  text-align: left;
}

.card-content .position {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.card-content p {
    margin-top: 10px;
    color: #333;
    font-size: 0.9rem;
}

/* Board page: make officer and liaison info text white for better contrast */
.officers-section .officer-info,
.officers-section .officer-info h3,
.officers-section .officer-info p,
.officers-section .officer-role,
.officers-section .officer-email,
.liaisons-section .liaison-info,
.liaisons-section .liaison-info h3,
.liaisons-section .liaison-info p,
.liaisons-section .liaison-role,
.liaisons-section .liaison-email {
  color: #ffffff;
}

/* Add a subtle dark card behind text for readability */
.officers-section .officer-info,
.liaisons-section .liaison-info {
  background: rgba(0, 0, 0, 0.55);
  padding: 14px 16px;
  border-radius: 12px;
}

.officers-section .officer-name,
.liaisons-section .liaison-name {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.officers-section .officer-role,
.liaisons-section .liaison-role {
  color: #ffefef;
}

.officers-section .officer-email,
.liaisons-section .liaison-email {
  text-decoration: underline;
  color: #ffffff;
}

.officers-section .officer-email:hover,
.liaisons-section .liaison-email:hover {
  color: #ffcccb; /* subtle hover for dark backgrounds */
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.footer .footer-divider {
    color: #999;
}

.footer .footer-link {
    color: #ffd700;
    text-decoration: none;
}

.footer .footer-link:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: 10% auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    width: 50%;
    text-align: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-content h2 {
    color: #500000;
    font-size: 2rem;
}

.modal-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.about-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(80,0,0,0.08);
  max-width: 700px;
  margin: 2em auto;
  padding: 2em 2em;
  text-align: center;
}

.about-card h2 {
  color: #500000;
  font-family: 'Montserrat', serif;
  margin-bottom: 0.5em;
}

/* --- Animated Scroll Effects (AOS-like) --- */
[data-aos] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Confetti Animation --- */
.confetti {
  position: absolute;
  width: 10px;
  height: 18px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0.95;
  z-index: 3000;
  transition: transform 1.1s cubic-bezier(.4,0,.2,1), opacity 1.1s;
}

/* --- Typewriter Cursor --- */
#typewriter::after {
  content: '|';
  animation: blink 1s steps(1) infinite;
  color: #c0c0c0;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.mouse-trail-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #B6862C;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 4000;
  box-shadow: 0 0 8px #B6862C88;
  transition: opacity 0.35s, transform 0.35s;
}

.about-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin: 2.5em auto 2em auto;
  max-width: 1000px;
  padding: 0 1em;
}
.about-img {
  width: 28vw;
  max-width: 260px;
  min-width: 120px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.13);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.about-gallery .aos-animate.about-img {
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 800px) {
  .about-gallery {
    gap: 1em;
  }
  .about-img {
    width: 32vw;
    max-width: 180px;
  }
}
@media (max-width: 600px) {
  .about-gallery {
    flex-direction: column;
    gap: 1.2em;
  }
  .about-img {
    width: 90vw;
    max-width: 98vw;
  }
}

.section p, .section ul, .section h2 {
  margin-top: 1.3em;
  margin-bottom: 1.3em;
}
.section ul {
  padding-left: 1.5em;
}
.section li {
  margin-bottom: 0.7em;
}

.about-collage-bg {
  background: #500000;
  min-height: 100vh;
  width: 100%;
  padding: 0 0 2em 0;
}

#lava-bg {
  display: none !important;
}
.about-collage-bg, .about-gallery, .team, .section {
  position: relative;
  z-index: 1;
}

.team h1 {
  color: #fff !important;
}

.about-content-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 48px rgba(80,0,0,0.18);
  max-width: 980px;
  margin: 4em auto 3em auto;
  padding: 3.5em 2.5em 2.5em 2.5em;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
@media (max-width: 900px) {
  .about-content-card {
    max-width: 98vw;
    padding: 1.5em 0.5em;
  }
}
.about-content-card h2, .about-content-card h3 {
  color: #500000;
  margin-top: 2em;
  margin-bottom: 0.7em;
}
.about-content-card h2:first-child {
  margin-top: 0;
}

.about-slide {
  display: none;
  opacity: 0;
  transform: scale(0.97) translateY(40px);
  transition: opacity 0.5s, transform 0.5s;
  min-height: 340px;
}
.about-slide.active {
  display: block;
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 2;
}
.about-content-card.fade-in {
  animation: aboutCardFadeIn 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes aboutCardFadeIn {
  0% { opacity: 0; transform: scale(0.85); }
  60% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

.vertical-carousel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.about-slide {
  display: none;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.5s;
  min-height: 320px;
}
.about-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.carousel-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #500000;
  border: 2px solid #500000;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  cursor: pointer;
  box-shadow: 0 2px 8px #50000022;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.carousel-nav:hover {
  background: #500000;
  color: #fff;
}
.carousel-up {
  top: 18px;
}
.carousel-down {
  bottom: 18px;
}

.about-impact-sections {
  display: flex;
  flex-direction: column;
  gap: 4em;
  max-width: 1000px;
  margin: 4em auto 3em auto;
  padding: 0 1em;
}
.about-impact-section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 32px rgba(80,0,0,0.10);
  padding: 3.5em 2.5em 2.5em 2.5em;
  margin: 0 auto;
  max-width: 900px;
  min-height: 340px;
  transition: box-shadow 0.4s, transform 0.4s, background 0.4s;
  opacity: 0.85;
}
.about-impact-section.active {
  box-shadow: 0 10px 48px rgba(80,0,0,0.18);
  transform: scale(1.04);
  background: #fff;
  opacity: 1;
  z-index: 2;
  border: 4px solid #B6862C;
}
.about-impact-section h2 {
  color: #500000;
  font-size: 2.5em;
  margin-bottom: 0.7em;
}
.about-impact-section h3 {
  color: #500000;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.about-impact-section p, .about-impact-section ul {
  font-size: 1.25em;
  line-height: 1.7;
  margin-bottom: 1.5em;
}
@media (max-width: 700px) {
  .about-impact-section {
    padding: 1.2em 0.5em;
    font-size: 1em;
  }
  .about-impact-section h2 {
    font-size: 1.5em;
  }
}

.join-collage-main {
  max-width: 100vw;
  margin: 0;
  padding: 0 0 3em 0;
  background: #500000;
  min-height: 100vh;
  border-radius: 0;
}
.join-collage-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 48px rgba(80,0,0,0.18);
  max-width: 1100px;
  margin: 3em auto 2em auto;
  padding: 3.5em 2.5em 2.5em 2.5em;
  position: relative;
}
@media (max-width: 900px) {
  .join-collage-card {
    max-width: 98vw;
    padding: 1.5em 0.5em;
  }
}
.join-title {
  text-align: center;
  color: #500000;
  font-size: 2.7em;
  margin-bottom: 1.2em;
  font-family: 'Montserrat', serif;
}
.collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5em;
  margin: 0 auto 2em auto;
  max-width: 1000px;
}
.collage-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 12px #50000022;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 3px solid transparent;
  min-width: 0;
}
@media (max-width: 900px) {
  .collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .collage-grid {
    grid-template-columns: 1fr;
  }
}
.collage-grid img.selected {
  border: 3px solid #B6862C;
  transform: scale(1.04);
  box-shadow: 0 4px 24px #B6862C44;
  z-index: 2;
}
.collage-caption {
  min-height: 2.5em;
  text-align: center;
  font-size: 1.25em;
  color: #500000;
  font-weight: 500;
  margin: 0 auto 2.5em auto;
  background: #fffbe8;
  border-radius: 12px;
  box-shadow: 0 2px 12px #B6862C22;
  padding: 1.2em 1em;
  max-width: 600px;
  display: none;
}
.collage-caption.active {
  display: block;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.collage-subtitle {
  text-align: center;
  color: #B6862C;
  font-size: 1.7em;
  margin-bottom: 1.2em;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.collage-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.collage-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.collage-modal-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: 0 8px 48px #000a;
  background: #fff;
  padding: 0.5em;
  display: block;
}
.collage-modal-close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5em;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s;
}
.collage-modal-close:hover {
  color: #B6862C;
}

.collage-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.collage-modal-caption {
  margin-top: 1.2em;
  color: #500000;
  background: #fffbe8;
  border-radius: 10px;
  font-size: 1.25em;
  font-weight: 500;
  text-align: center;
  max-width: 80vw;
  padding: 1em 1.2em;
  box-shadow: 0 2px 12px #B6862C22;
}

body.focus-hero .navbar,
body.focus-hero .footer,
body.focus-hero .about-card,
body.focus-hero .section,
body.focus-hero .about-impact-sections,
body.focus-hero .about-content-card,
body.focus-hero .join-collage-main > *:not(.hero),
body.focus-hero main > *:not(.hero),
body.focus-hero .join-collage-card,
body.focus-hero .testimonials-section {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.7s;
}
body:not(.focus-hero) .navbar,
body:not(.focus-hero) .footer,
body:not(.focus-hero) .about-card,
body:not(.focus-hero) .section,
body:not(.focus-hero) .about-impact-sections,
body:not(.focus-hero) .about-content-card,
body:not(.focus-hero) .join-collage-main > *:not(.hero),
body:not(.focus-hero) main > *:not(.hero),
body:not(.focus-hero) .join-collage-card,
body:not(.focus-hero) .testimonials-section {
  opacity: 1 !important;
  pointer-events: all !important;
  transition: opacity 0.7s;
}
.hero h1 {
  font-family: 'Bebas Neue', 'Montserrat', 'Tilt Prism', serif;
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0.5em;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Remove hero focus overlay styles */
#hero-focus-overlay, .hero-focus-content, .hero-focus-title, .hero-focus-subtitle, .hero-focus-btn {
  display: none !important;
}

.contact-main {
  max-width: 600px;
  margin: 4em auto 2em auto;
  padding: 0 1em;
}
.contact-title {
  text-align: center;
  color: #500000;
  font-size: 2.5em;
  margin-bottom: 1.5em;
  font-family: 'Montserrat', serif;
  font-weight: 700;
}
.contact-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(80,0,0,0.13);
  padding: 2.5em 2em;
  display: flex;
  flex-direction: column;
  gap: 2em;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover, .contact-card:focus {
  box-shadow: 0 10px 48px rgba(182,134,44,0.18);
  transform: translateY(-2px) scale(1.01);
  outline: 2px solid #B6862C;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.2em;
  font-size: 1.2em;
}
.contact-icon {
  font-size: 2em;
  color: #B6862C;
  flex-shrink: 0;
}
.contact-link {
  color: #500000;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}
.contact-link:hover {
  color: #B6862C;
  text-decoration: underline;
}

.contact-officers-list {
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 2px solid #B6862C;
}
.officers-title {
  color: #500000;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 1em;
  letter-spacing: 1px;
}
.officer-card {
  background: #fffbe8;
  border-radius: 12px;
  box-shadow: 0 2px 8px #B6862C22;
  padding: 1em 1.2em;
  margin-bottom: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}
.officer-name {
  color: #500000;
  font-weight: 700;
  font-size: 1.1em;
}
.officer-role {
  color: #B6862C;
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 0.2em;
}
.officer-email {
  color: #500000;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}
.officer-email:hover {
  color: #B6862C;
  text-decoration: underline;
}

.board-main {
  max-width: 1200px;
  margin: 4em auto 2em auto;
  padding: 0 1em;
}
.board-title {
  text-align: center;
  color: #500000;
  font-size: 2.5em;
  margin-bottom: 2em;
  font-family: 'Montserrat', serif;
  font-weight: 700;
}
.officers-section, .liaisons-section {
  margin-bottom: 4rem;
}

.section-title {
  color: #500000;
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Montserrat', serif;
  font-weight: 700;
}

.officers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.8em;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.liaisons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8em;
  justify-items: center;
  max-width: 500px;
  margin: 0 auto;
}

/* Liaison Card Styles */
.liaison-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 370px !important;
  min-width: 0 !important;
  position: relative !important;
}

.liaison-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 12px #B6862C22;
  background: #eee;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
}

.liaison-info {
  text-align: center;
  margin-top: 70px;
}

.liaison-name {
  color: #fff !important;
  font-weight: 800;
  font-size: 1.3em;
  margin-bottom: 0.2em;
  letter-spacing: 0.5px;
}

.liaison-role {
  color: #B6862C !important;
  font-size: 1.05em;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 0.7em;
}

.liaison-bio {
  color: #fff !important;
  font-size: 1.05em;
  margin-bottom: 1.1em;
  line-height: 1.6;
  min-height: 80px;
}

.liaison-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: #fff;
  background: #B6862C;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  transition: background 0.2s, color 0.2s;
  font-size: 1.05em;
  border-radius: 999px;
  padding: 0.5em 1.2em;
  margin-top: 0.5em;
  box-shadow: 0 2px 8px #B6862C22;
}

.liaison-email:hover {
  background: #FFD700;
  color: #500000;
  text-decoration: underline;
}

.liaison-email::before {
  content: '\2709';
  font-size: 1.1em;
  margin-right: 0.3em;
}

@media (max-width: 900px) {
  .officers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}
.officer-card {
  background: #fff;
  border-radius: 22px;
  border: 3px solid #B6862C;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10);
  padding: 2.5em 1.5em 1.5em 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 370px;
  min-width: 0;
  position: relative;
  margin-top: 60px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.officer-card:hover {
  box-shadow: 0 10px 48px #B6862C55;
  transform: translateY(-4px) scale(1.025);
  border-color: #FFD700;
}
.officer-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 12px #B6862C22;
  background: #eee;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #fff;
}
.officer-info {
  text-align: center;
  margin-top: 70px;
}
.officer-name {
  color: #500000;
  font-weight: 800;
  font-size: 1.3em;
  margin-bottom: 0.2em;
  letter-spacing: 0.5px;
}
.officer-role {
  color: #B6862C;
  font-size: 1.05em;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 0.7em;
}
.officer-bio {
  color: #333;
  font-size: 1.05em;
  margin-bottom: 1.1em;
  line-height: 1.6;
  min-height: 80px;
}
.officer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: #fff;
  background: #B6862C;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  transition: background 0.2s, color 0.2s;
  font-size: 1.05em;
  border-radius: 999px;
  padding: 0.5em 1.2em;
  margin-top: 0.5em;
  box-shadow: 0 2px 8px #B6862C22;
}
.officer-email:hover {
  background: #FFD700;
  color: #500000;
  text-decoration: underline;
}
.officer-email::before {
  content: '\2709';
  font-size: 1.1em;
  margin-right: 0.3em;
}
@media (max-width: 700px) {
  .officer-card {
    padding: 2.2em 0.5em 1.5em 0.5em;
    max-width: 98vw;
  }
  .officer-photo {
    width: 90px;
    height: 90px;
    top: -45px;
  }
  .officer-info {
    margin-top: 55px;
  }
}

.liaisons-section {
  margin: 3em auto 2em auto;
  max-width: 900px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.10);
  padding: 2.2em 1.5em 1.5em 1.5em;
  text-align: center;
  border: 2px solid #B6862C;
}
.liaisons-title {
  color: #500000;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 1em;
  letter-spacing: 0.5px;
}
.liaisons-placeholder {
  color: #B6862C;
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: 0.5em;
}

.marquee-bar {
  width: 100%;
  background: #fffbe8;
  color: #500000;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15em;
  font-weight: 600;
  text-align: left;
  padding: 0.7em 0;
  border-bottom: 2px solid #B6862C;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px #B6862C11;
  z-index: 10;
  overflow: hidden;
  position: relative;
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  align-items: center;
}
.marquee-bar span {
  display: inline-block;
  white-space: nowrap;
  margin-right: 3em;
  padding-left: 0;
  animation: none;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.marquee-link {
  color: #B6862C;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.5em;
  transition: color 0.2s;
}
.marquee-link:hover {
  color: #500000;
}

.sketch-bg {
  background-image: none !important;
  background-color: #5b0a0a !important; /* maroon */
  background-repeat: no-repeat !important;
}

/* Remove any checkered pseudo-element backgrounds */
.sketch-bg::before,
.sketch-bg::after,
body::before,
body::after {
  background-image: none !important;
  content: none !important;
}

/* Keep main containers transparent so inner white cards remain readable */
main, .board-main, .contact-main {
  background-color: transparent !important;
  color: inherit !important;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* Make ONLY the Officers section title white on the maroon background */
.officers-section .officers-title,
.liaisons-section .liaisons-title,
.section-title {
  color: #ffffff !important;
}

.officers-section .officer-info,
.liaisons-section .liaison-info {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.officers-section .officer-name,
.officers-section .officer-role,
.liaisons-section .liaison-name,
.liaisons-section .liaison-role {
  color: inherit !important;
  text-shadow: none !important;
}

.officers-section .officer-email,
.liaisons-section .liaison-email {
  color: #500000 !important;
  background: transparent !important;
  text-decoration: underline !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Fix: make only Officers title white; restore Liaisons heading and text to dark colors */
.officers-section .section-title {
  color: #ffffff !important;
}

.liaisons-section .section-title,
.liaisons-section .liaisons-title {
  color: #500000 !important; /* dark maroon on white card */
}

/* Ensure liaison card text is readable on the white liaisons-section background */
.liaisons-section .liaison-name {
  color: #500000 !important;
  font-weight: 800;
}

.liaisons-section .liaison-role {
  color: #B6862C !important;
  font-style: italic;
}

.liaisons-section .liaison-bio {
  color: #333 !important;
  line-height: 1.6;
}

/* Make liaison email visible and consistent with other email links */
.liaisons-section .liaison-email {
  color: #500000 !important;
  background: transparent !important;
  text-decoration: underline !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Ensure officer cards use dark text on white cards (override any white-on-white rules) */
.officers-section .officer-card {
  background: #fff !important;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10) !important;
}

.officers-section .officer-card,
.officers-section .officer-card * {
  color: inherit !important;
  text-shadow: none !important;
}

/* Explicit readable colors for officer text */
.officers-section .officer-name  { color: #500000 !important; font-weight: 800; }
.officers-section .officer-role  { color: #B6862C !important; font-style: italic; }
.officers-section .officer-bio   { color: #333 !important; line-height: 1.6; }
.officers-section .officer-email { color: #500000 !important; background: transparent !important; text-decoration: underline !important; box-shadow: none !important; }
/* Liaisons: add clear separation so the title doesn't overlap the first card */
.liaisons-section .section-title {
  margin-bottom: 5.5rem !important; /* increase gap between title and grid */
  position: relative;
  z-index: 2; /* keep title above any absolutely positioned elements */
}

/* Provide extra top spacing for the grid as a safety net */
.liaisons-grid {
  margin-top: 0.5rem !important;
  padding-top: 0.5rem !important;
  position: relative;
  z-index: 1;
}

/* Keep liaison photo stacking below the title if needed */
.liaison-photo {
  z-index: 1 !important;
}

/* Leadership headings: make board / officers titles white again */
.board-title,
.officers-section .section-title,
.officers-section .officers-title {
  color: #ffffff !important;
  position: relative;
  z-index: 3;
}

/* Keep Liaisons title readable (dark) */
.liaisons-section .section-title,
.liaisons-section .liaisons-title {
  color: #500000 !important;
  position: relative;
  z-index: 2;
}
