* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  body {
    background-color: #ffffff;
    color: #222;
  }
  
  /* SLIDER */
  .slider {
    position: relative;
    max-width: 100%;
    height: 80vh;
    overflow: hidden;
  }
  
  .slides {
    display: none;
    position: relative;
  }
  
  .slides img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
  }
  
/* --- FINAL SLIDER TEXT FIX --- */
/* --- THIS FIXES THE SQUEEZED TEXT --- */
.caption {
  position: absolute;
  bottom: 30px; /* Moves it up from the dots */
  left: 0;
  width: 100% !important; /* Forces it to be wide, not squeezed */
  background: rgba(0, 0, 0, 0.7) !important; /* Dark tint for readability */
  padding: 20px !important;
  
  /* These two lines force the Title to be ABOVE the Paragraph */
  display: flex !important;
  flex-direction: column !important; 
  
  box-sizing: border-box !important;
  text-align: left;
}

.caption h2 {
  font-size: 1.4rem !important; /* Nice big title */
  color: #ffffff !important;
  margin: 0 0 8px 0 !important; /* Space between title and description */
  white-space: normal !important; /* Allows text to wrap horizontally */
  display: block !important;
}

.caption p {
  font-size: 0.95rem !important;
  color: #f0f0f0 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* Adds the yellow/green accent bar from your 'Second' image */
.caption {
  border-left: 5px solid #008000;
}/* --- THIS FORCES THE 'SECOND IMAGE' LOOK --- */
/* --- RESTORE THE LEGACY SLIDER BOX LOOK --- */
.caption {
  position: absolute;
  bottom: 15%; /* Positions the box nicely on the image */
  left: 5%;
  background: rgba(0, 0, 0, 0.75); /* The dark transparent box */
  padding: 20px 25px;
  border-left: 5px solid #ffcc00; /* That famous yellow accent bar */
  max-width: 500px; /* Prevents the box from being too wide */
  display: flex;
  flex-direction: column; /* FORCES text to stack: H1 top, P bottom */
  text-align: left;
  z-index: 10;
}

.caption h1 {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 10px 0; /* Space between title and description */
  line-height: 1.2;
}

.caption p {
  color: #e0e0e0;
  font-size: 16px;
  margin: 5px 0 0 0;
  line-height: 1.4;
}

/* --- MOBILE FIX (Ensures it doesn't squeeze) --- */
@media screen and (max-width: 768px) {
  .caption {
      width: 90%;
      left: 5%;
      bottom: 10%;
      padding: 15px;
  }
  
  .caption h1 {
      font-size: 1.2rem;
  }
  
  .caption p {
      font-size: 0.85rem;
  }
}
  /* ARROWS */
  .prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    background: rgba(0,0,0,0.4);
  }
  
  .next {
    right: 0;
  }
  
  .prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
  }
  
  /* DOTS */
  .dots {
    text-align: center;
    margin-top: 10px;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }
  
  .active {
    background-color: green;
  }
  
  /* FADE ANIMATION */
  .fade {
    animation: fadeEffect 1.2s;
  }
  
  @keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
  }
  
  /* WELCOME SECTION */
  .welcome {
    padding: 50px 15%;
    text-align: center;
  }
  
  .welcome h2 {
    color: green;
    margin-bottom: 15px;
  }
  /* TOP NAVIGATION */
/* --- HEADER CONTAINER --- */
.nav-container {
  display: flex;
  justify-content: space-between; /* Pushes Logo to Left and Menu to Right */
  align-items: center;
  padding: 10px 5%;
  height: 80px;
  background: #ffffff;
}
/* 1. Reset the whole page to remove hidden gaps */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* 2. Make the header transparent and sit OVER the image */
.top-nav {
  background: rgba(255, 255, 255, 0.95) !important; /* Slightly see-through white */
  position: absolute !important; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin: 0 !important;
  border: none !important;
}


/* 3. Force the Slider to the very top */
.slider, #slider {
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 0; /* Removes tiny gaps under images */
}

/* 4. Remove space from the Welcome Section */
.welcome-section {
  margin-top: 0 !important;
  padding-top: 20px !important; /* Small space for breathing room */
}
/* --- LOGO STYLING --- */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 60px; /* Makes your logo visible again */
  width: auto;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-main-text {
  font-size: 20px;
  font-weight: bold;
  color: #008000; /* Zazzau Green */
  line-height: 1;
}

.logo-sub-text {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- NAV LINKS DECORATIONS --- */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: 0.3s;
}

/* New Decoration: Sliding Green Underline */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #008000;
  transition: 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #008000;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ABOUT NAZAS SECTION */
.about-nazas {
  padding: 80px 20px;
  background: #ffffff;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IMAGE GRID */
.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.about-images img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* CONTENT */
.about-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-text {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* STATS */
.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.about-stats h3 {
  color: green;
  font-size: 28px;
}

.about-stats p {
  font-size: 14px;
  color: #555;
}

/* BUTTON */
.about-btn {
  display: inline-block;
  background: green;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.about-btn:hover {
  background: #0b3d2e;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }
}
/* --- SECTION STYLING --- */
.presidents-section {
  padding: 80px 5%;
  background: #ffffff;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  border-left: 5px solid #004d33;
  padding-left: 20px;
}

.section-title {
  font-size: 2.8rem;
  color: #333;
  font-weight: 800;
}

.section-title span {
  color: #004d33;
  font-size: 1.5rem;
  display: block;
}

/* --- Fix for History Section Search Bar --- */
.section-header {
    display: flex;
    flex-direction: column; /* This forces the search bar BELOW the title */
    align-items: flex-start; /* Aligns everything to the left */
    gap: 15px; /* Adds space between the title and the search bar */
    padding: 20px 0;
}

.search-box {
    width: 100%; /* Makes the search box take the full width of the phone */
}

#presSearch {
    width: 100%; /* Makes the input field fill the search box */
    padding: 12px;
    border: 2px solid #008000; /* Zazzau Green border */
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Ensure the title doesn't have extra margins that push things away */
.section-title {
    margin: 0;
    line-height: 1.2;
}


/* --- GRID & CARDS --- */
.presidents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.president-card {
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  background: #000; /* Dark bg for image contrast */
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
  opacity: 0.9;
}

.tenure-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #004d33;
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 5;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 77, 51, 0.95), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: 0.4s ease;
}

.president-card:hover .card-overlay { opacity: 1; }
.president-card:hover .card-front img { transform: scale(1.1); filter: blur(2px); }

.pres-name { color: white; margin-bottom: 10px; font-size: 1.3rem; }
.view-profile { color: #fff; border-bottom: 2px solid #fff; font-size: 0.8rem; text-transform: uppercase; width: fit-content; }

/* --- MODAL POPUP --- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  width: 85%;
  max-width: 900px;
  border-radius: 20px;
  padding: 50px;
  position: relative;
  animation: slideIn 0.4s ease;
}

.modal-body { display: flex; gap: 40px; }

.modal-img-container img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-info h2 { font-size: 2.2rem; color: #111; margin-bottom: 5px; }
.modal-info h4 { color: #004d33; margin-bottom: 20px; font-size: 1.2rem; }
.modal-divider { width: 60px; height: 5px; background: #004d33; margin-bottom: 25px; }
.modal-info p { line-height: 1.8; color: #555; font-size: 1.05rem; }

.modal-close-tab {
  margin-top: 30px;
  background: #004d33;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.close-btn { position: absolute; top: 20px; right: 30px; font-size: 45px; color: #888; cursor: pointer; }

@keyframes slideIn { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 768px) {
  .modal-body { flex-direction: column; }
  .modal-img-container img { width: 100%; height: auto; }
  .modal-content { width: 95%; padding: 20px; margin: 2% auto; }
}

.presidents-marquee-section {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Centers items vertically */
}

.marquee-title-centered {
  text-align: center;
  margin-bottom: 60px;
}

.marquee-title-centered h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}

.marquee-title-centered h2 span {
  color: #008000; /* NAZAS Green */
}

.green-underline {
  width: 80px;
  height: 4px;
  background: #008000;
  margin: 0 auto; /* Centers the underline */
}

.marquee-wrapper {
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  width: calc(300px * 46); /* Width of item + margin * total items (23 x 2) */
  animation: scroll-left 50s linear infinite;
}

.marquee-item {
  width: 260px;
  margin: 0 20px;
  text-align: center;
  padding: 25px;
  background: #fdfdfd;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: 0.3s;
}

.marquee-item img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #008000;
  margin-bottom: 15px;
}

.marquee-item h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}

.marquee-item span {
  font-size: 0.9rem;
  color: #008000;
  font-weight: 600;
}

/* Hover Effect */
.marquee-item:hover {
  transform: translateY(-10px);
  background: #f4fff4;
  border: 1px solid #008000;
}

.marquee-content:hover {
  animation-play-state: paused; /* Allows users to read names clearly */
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-300px * 23)); } /* Moves by exactly 23 items */
}

.main-footer {
  background-color: #003d3d; /* Dark Teal from your reference */
  color: white;
  padding: 60px 0 20px 0;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}


.footer-logo img {
  width: 60px; /* Adjust size as needed */
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-logo h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccdada;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: white;
  color: #003d3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  background: #008000;
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  padding-left: 20px;
  font-size: 0.8rem;
  color: #8da9a9;
}

.footer-bottom span {
  color: #a3cc4e; /* Light green highlight for the designer name */
  font-weight: bold;
}
/* 1. SECTION SETUP */
.history-teaser {
    padding: clamp(60px, 8vw, 120px) 0;
    background: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

.teaser-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* 2. IMAGE STYLING */
.image-stack {
    position: relative;
    width: 100%;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.stack-backdrop {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    background: #008000;
    border-radius: 24px;
    opacity: 0.1;
    z-index: 1;
}

.floating-stat {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: #003d3d;
    color: white;
    padding: 20px 35px;
    border-radius: 16px;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(0, 61, 61, 0.2);
}

.stat-number { font-size: 2rem; font-weight: 800; display: block; color: #a3cc4e; }
.stat-text { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* 3. TEXT & CONTENT STYLING */
.teaser-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-green {
    color: #008000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.display-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Dynamic Font size */
    line-height: 1.1;
    color: #222;
    margin-bottom: 20px;
}

.display-title span { color: #008000; }

.title-underline {
    width: 80px;
    height: 5px;
    background: #008000;
    margin-bottom: 35px;
}

.text-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify; /* Fills the space evenly */
}

/* 4. BUTTON STYLING */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #008000;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-main:hover {
    background: #003d3d;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 61, 61, 0.3);
}

/* 5. RESPONSIVENESS */
@media (max-width: 768px) {
    .teaser-wrapper { gap: 40px; text-align: center; }
    .teaser-content { align-items: center; }
    .title-underline { margin: 0 auto 30px auto; }
    .floating-stat { left: 50%; transform: translateX(-50%); bottom: -20px; }
    .hide-mobile { display: none; }
}
/* --- HISTORY PAGE SPECIFIC STYLES --- */
.history-hero-page {
  height: 50vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 50, 51, 0.8), rgba(0, 50, 51, 0.8)), 
              url('images/zaria-palace-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.history-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.5rem;
  color: #a3cc4e;
  font-weight: bold;
}

.history-main-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  padding: 80px 5%;
}

.history-nav-sidebar {
  flex: 0 0 250px;
}

.history-nav-sidebar nav {
  position: sticky;
  top: 100px;
}

.history-nav-sidebar p {
  font-weight: 800;
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.history-nav-sidebar ul {
  list-style: none;
  padding: 0;
  border-left: 2px solid #eee;
}

.history-nav-sidebar li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #444;
  font-weight: 600;
  transition: 0.3s;
  border-left: 3px solid transparent;
}

.history-nav-sidebar li a:hover {
  color: #008000;
  border-left-color: #008000;
  background: #f9f9f9;
}

.history-full-body {
  flex: 1;
}

.history-full-body section {
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}

.history-full-body h2 {
  font-size: 2.2rem;
  color: #003d3d;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.history-full-body p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 25px;
  text-align: justify; /* This ensures it fills the space browser-wide */
}

@media (max-width: 1024px) {
  .history-main-layout { flex-direction: column; }
  .history-nav-sidebar { display: none; }
}
/* --- GALLERY PAGE STYLES --- */
/* --- DECORATION FOR GALLERY HERO --- */
.gallery-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #003d3d 0%, #002525 100%); /* Adds depth */
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #a3cc4e; /* Elegant bottom accent line */
}

/* Adding a decorative 'frame' feel */
.gallery-hero::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(163, 204, 78, 0.2); /* Subtle inner gold frame */
  pointer-events: none;
}

.gallery-hero h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Makes text pop */
}

.gallery-hero h1 span {
  color: #a3cc4e;
  position: relative;
}

/* Adds a small decorative underline just for the word 'Memories' */
.gallery-hero h1 span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #a3cc4e;
}

.gallery-hero p {
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  gap: 20px;
  grid-auto-flow: dense; /* This helps fill gaps automatically */
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Variations for the Masonry Look */
.photo-item.tall { grid-row: span 2; }
.photo-item.wide { grid-column: span 2; }

.photo-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 61, 61, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: 0.4s ease;
}

.photo-overlay span {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.photo-item:hover img {
  transform: scale(1.1);
}

.photo-item:hover .photo-overlay {
  bottom: 0;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
  .photo-grid {
      grid-template-columns: 1fr;
      grid-auto-rows: 300px;
  }
  .photo-item.wide { grid-column: span 1; }
}
/* --- 1. Desktop Navigation (Base Styles) --- */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
}

.menu-toggle {
    display: none; /* Hidden by default on big screens */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #008000;
    transition: 0.3s;
}

/* --- 2. Mobile Navigation (The Media Query) --- */
@media screen and (max-width: 992px) {
    
    .menu-toggle {
        display: flex; /* Shows only on mobile/tablets */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Keeps it hidden off-screen */
        width: 280px;
        height: 100vh;
        background-color: #003d3d; /* Dark Teal */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        transition: 0.5s ease;
        z-index: 1000;
    }

    /* This class is added by JavaScript when you click */
    .nav-links.active {
        right: 0; 
    }

    .nav-links a {
        color: white !important;
        margin: 15px 0;
        font-size: 1.2rem;
    }

    /* Dropdown adjustment for mobile */
    .dropdown-content {
        position: relative;
        display: none;
        background: rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}
/* --- LEADERSHIP CARDS --- */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.leader-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-align: center;
  border-bottom: 5px solid #008000;
}

.leader-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #a3cc4e;
}

/* --- RESOURCE STYLING --- */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resource-card {
  display: flex;
  align-items: center;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.res-icon {
  font-size: 2.5rem;
  color: #003d3d;
  margin-right: 25px;
}

.res-info h3 { margin-bottom: 5px; color: #003d3d; }

.download-btn {
  margin-left: auto;
  background: #008000;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.action-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background: #a3cc4e;
  color: #003d3d;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

/* --- MOBILE FIXES --- */
@media screen and (max-width: 768px) {
  .resource-card {
      flex-direction: column;
      text-align: center;
  }
  .res-icon { margin-right: 0; margin-bottom: 15px; }
  .download-btn { width: 100%; margin-top: 20px; }
}
/* This creates a dark overlay over the rest of the page when menu is active */
.nav-links.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); /* Dim the rest of the page */
    z-index: -1; /* Puts the darkness behind the text links */
}
/* The Overlay - Hidden by default */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dim effect */
  z-index: 998; /* Just below the nav-links */
  display: none; /* Hidden */
}

/* Show overlay when menu is active */
.menu-overlay.show {
  display: block;
}

/* Ensure your nav-links have a higher z-index to stay on top */
.nav-links {
  z-index: 999 !important;
}
/* This ensures the modal content can be scrolled on long bios */
#profileModal {
  overflow-y: auto; /* Adds a scrollbar if the content is too long */
  -webkit-overflow-scrolling: touch; /* Makes scrolling smooth on iPhones */
}

.modal-content {
  max-height: 90vh; /* Keeps the modal from being taller than the screen */
  overflow-y: auto; /* Allows scrolling inside the white box */
}
.presidential-message {
    padding: 80px 5%;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.message-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.message-visual {
    flex: 0 0 40%; /* Image takes 40% width */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 20px 20px 0px #a3cc4e; /* Stylish offset background box */
}

.pres-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.message-text {
    flex: 1;
}

.sub-heading {
    color: #a3cc4e;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: #003d3d;
    opacity: 0.1;
    display: block;
    margin-bottom: -20px;
}

.message-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 30px;
}

.pres-signature h4 {
    color: #003d3d;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

/* Mobile Responsiveness: Stack it "Straight" */
@media screen and (max-width: 900px) {
    .message-container {
        flex-direction: column;
        text-align: center;
    }
    .message-visual {
        width: 100%;
        box-shadow: 10px 10px 0px #a3cc4e;
    }
    .pres-slide img {
        height: 400px;
    }
}