html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin: 10px;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box; 
  color: black;
}

main a:hover,
main a:focus {
  color: #6A8CAF; /* optional: highlight on hover */
  text-decoration: underline;
}


/* Header styles */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to right, #ffc0cb 0%, #8b0000 100%);
  color: white;
  text-align: center;
  z-index: 1000;
  padding: 0.5rem 1rem; /* added spacing for better mobile feel */
  box-sizing: border-box;
}
/* Desktop - horizontal layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Logos container - always side-by-side */
.header-logos {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}

/* Header logos size */
.header-logo-img {
  max-height: 60px;
  width: auto;
}

/* Mobile layout */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  main {
    padding-top: 150px; /* same as mobile header height */
  }

  /* Keep the logos side-by-side */
  .header-logos {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    max-width: 300px; /* Optional limit */
  }

  /* Adjust nav links on mobile */
  .site-nav-links a {
    font-size: 1rem;
    padding: 0 0.3rem;
    display: inline-block;
  }
  /* Header logos size */
.header-logo-img {
  max-height: 45px;
  width: auto;
}
}

.test-banner {
  width: 100%;
  background-color: #FFD700; /* Bright yellow */
  color: white;
  text-align: center;
  padding: 0.5rem 0;
  font-weight: bold;
  font-size: 1rem;
  position: relative;
  z-index: 1000;
}


.nav-links,
.social-links {
  flex-shrink: 1;             /* allow shrinking */
  white-space: nowrap;
}


body {
  margin: 0;
  padding-top: 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;                  /* improves readability */
  font-size: 16px;                   /* good default for accessibility */
  -webkit-font-smoothing: antialiased; /* smoothens text on some devices */
  overflow-x: hidden;                /* prevents horizontal scroll issues */
  box-sizing: border-box;
}

.hero-intro {
  position: relative;
  height: 50vh; /* top half of viewport */
  /* background: url('/assets/images/DiamondHead.jpg') center center/cover no-repeat; */
  display: flex;
  align-items: flex-end; /* align content toward bottom */
  justify-content: flex-start; /* left align */
  padding-left: 5vw; /* some left spacing */
  padding-bottom: 4vh;  /* push content slightly up from bottom */
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  top: 2rem;  /* move down 6 rem */
}


.hero-content h1 {
  font-size: 4rem;
  margin: 0;
  letter-spacing: 0.05em; /* reduced spacing */
  line-height: 1;          /* tighten vertical spacing */
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

.hero-content .tagline {
  font-size: 1.25rem;
  font-weight: 300;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;  /* smaller spacing */
  line-height: 1;          /* tighten vertical spacing */
}

 

.america250-intro {
  max-width: 1275px;
  margin: 2rem auto; /* vertical 2rem, horizontal auto centers */
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.8); /* semi-transparent background without affecting children */
  border-radius: 12px;
  border: 2px solid black;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* include padding/border in width */
}

.america250-intro h2,
.america250-intro h3 {
  color: #967BB6;
  text-align: center;
}

.america250-intro h1 {
  color: black;
  font-size: 1.0rem;
  font-weight: normal;
  text-align: left;
}

.america250-intro p {
  font-size: 1.05rem; /* Adjust as needed */
  line-height: 1.6; /* Improves readability */
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  display: block; /* default for paragraphs */
}

.america250-intro button {
  display: block; /* block element to center */
  margin: 1.5rem auto; /* vertical margin, centered horizontally */
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .america250-intro {
    margin-left: auto;
    margin-right: auto; /* center on small screens */
    flex: none;
    width: 90vw;
    max-width: 400px;
    font-size: 1.3rem;
    box-sizing: border-box;
    text-align: left;
  }
}




  .programs-intro {
    width: 90%;
    padding: 1.5rem;
    background-color: #f8f8f8;
    opacity: 0.8;
    border-radius: 12px;
    border: 2px solid black;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .programs-intro h3 {
    color: #967BB6;
     text-align: center;
   }

  .in-the-news-intro {
    width: 80%;
    padding: 1.5rem;
    background-color: #f8f8f8;
    opacity: 0.8;
    border-radius: 12px;
    border: 2px solid black;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;  /* Add this line */
  }

  .in-the-news-intro h2 {
    color: #967BB6;
     font-size: 1.3rem;  /* valid size */
     font-weight: bold;
     text-align: center;
   }

   .in-the-news-intro ul {
    padding-left: 1rem;  /* Reduces default indentation */
  }

  .gallery-intro {
    width: 100%;
    padding: 1.5rem;
    background-color: #f8f8f8;
    opacity: 0.8;
    border-radius: 12px;
    border: 2px solid black;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  

  .gallery-intro h3 {
   color: #967BB6;
    font-size: 1.3rem;  /* valid size */
    font-weight: normal;
    text-align: left;
  }

  .calendar-intro {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 12px;
    border: 2px solid black;     /* Adds black border */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
  }
  
  .calendar-intro h2,
  .calendar-intro h3 {
    color: #E6E6FA
  }
  
  
  /* Logo styling */
  .logo img {
    height: 60px;
  } 


  
  
  /* Social links */
  .social-links {
    display: flex;
    align-items: center;
    gap: 15px; /* Uniform spacing between icons */
  }
  
  .social-links img {
    height: 40px;
    width: auto;
    cursor: pointer;
  }

  
.content-section {
    padding: 2rem;
}


/* Apply to the body of the home page */
body.home-page {
  position: relative;
}

/* Default styling (desktop and up) */
body.home-page::before {
  content: '';
  background-image: url('/images/TWDiamondHead.jpg');
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;            /* makes image cover entire screen */
  background-position: center center;
  background-repeat: no-repeat;
 /* opacity: 0.8; */
  z-index: -1;
}

/* Mobile: smaller flag pinned top left 
@media (max-width: 768px) {
  body.home-page::before {
    width: 70%;       
    height: 70%;      
    background-size: contain; 
    background-position: top left;
    top: 0;
    left: 0;
  }
} */

  
/* Hide the original ::before on mobile */

  /* Apply to the body of the Education page */
  body.education-page{
    position: relative; /* Make sure the pseudo-element is correctly positioned */
  }
  
  /* Background image with opacity applied only to the image */
  body.education-page::before {
    content: '';
    background-image: url('images/USFlag.png');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    padding-top: 80px; /* adds space so content doesn't overlap */
    opacity: 0.6;  /* Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }


/* Apply to the body of the about page */
  body.about-page::before {
    content: '';
    background-image: url('images/RJAkakaFalls.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*  opacity: 0.8;  Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }

  
  .countdown-banner h3 {
    color: black;
    font-weight: normal;
    margin-bottom: 0;
  }

 /* Apply to the body of the Get Involved page 
 body.getinvolved-page {
    
   } */


 body.get-involved::before {
    content: '';
    background-image: url('images/TWBarkingSands43.jpg');
    position: fixed;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* opacity: 0.8;   Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
}
  

  /* Apply to the body of the Events page */
body.events-page {
    position: relative; /* Make sure the pseudo-element is correctly positioned */
  }
  

  body.events-page::before {
    content: '';
    background-image: url('images/RJAkakaFalls.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;  /* Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }



  body.underconstruction-page::before {
    content: '';
    background-image: url('images/RJHiloMaunaKea.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1.0;  /* Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }


  body.sigprograms-page::before {
    content: '';
    background-image: url('images/RJHiloMaunaKea.jpg');  /* note the ../ */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* opacity: 0.8;  Apply opacity to the background image */
    z-index: -1;
  }
  




  /* Apply to the body of the Commissioners page */
body.commissioners-page {
    position: relative; /* Make sure the pseudo-element is correctly positioned */
  }
  
  body.commissioners-page::before {
    content: '';
    background-image: url('images/Kamehameha.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;  /* Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }

  /* Apply to the body of the in-the-news page */
body.in-the-news-page {
    position: relative; /* Make sure the pseudo-element is correctly positioned */
  }
  
  body.in-the-news-page::before {
    content: '';
    background-image: url('images/RJKilauea.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;  /* Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }

  body.search-page::before {
    padding-top: 6rem; /* adjust as needed */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
  
    background-image: url('images/TWWaikiki.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* opacity: 0.8; */
  }
  
  

  /* Apply to the body of the Contact page */
body.contact-page {
    position: relative; /* Make sure the pseudo-element is correctly positioned */
  }
  
  body.contact-page::before {
    content: '';
    background-image: url('images/RJSeaturtle.jpg');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* opacity: 0.8;   Apply opacity to the background image */
    z-index: -1;  /* Place the background image behind the content */
  }

  .contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    opacity: 0.8;
  }
  
  .contact-text {
    flex: 1;
    max-width: 40%;
  }
  
  .contact-form {
    flex: 2;
  }

  
/* Container for all highlight boxes */
.highlight-boxes {
  display: flex;
  flex-wrap: nowrap;  /* keep boxes in one row on wide screens */
  justify-content: space-between;
  gap: 20px;
  margin-top: 2rem;
}

.highlight-box {
  display: flex;
  flex-direction: column;
  flex: 1 1 32%;      /* grow, shrink, basis */
  min-width: 250px;   /* minimum width for mobile */
  border: 2px solid #111; /* added near-black border */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: #aaaaaa;
  margin-bottom: 20px;
  padding: 1.5rem;
  color: black;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .highlight-boxes {
    flex-direction: column; /* stack vertically on mobile */
    align-items: center;
  }
  
  .highlight-box {
    flex: none;         /* disable flex-grow/shrink on mobile */
    width: 90vw;        /* wider on mobile screens */
    max-width: 400px;   /* optional max width */
    font-size: 1.5rem;  /* smaller font on mobile */
  }
}


/* Highlight Section Header */
.highlight-header {
  background-color: black;
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

.highlight-header img {
  max-height: 150px;
  width: auto;
  margin-bottom: 1rem;
}

.highlight-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Content inside the box */
.highlight-content {
  padding: 1rem 0;
  flex-grow: 1;
  font-size: 1rem;
}

.highlight-content p {
  margin: 0;
  font-size: 1rem;
}

.highlight-content ul {
  padding-left: 1.2rem;
  list-style: none;
}


.highlight-content a.purple-link:hover {
  color: #cebef0;  /* lighter bright purple on hover */
  text-decoration: underline;
  font-weight: bold;
}

/* Remove bottom padding to avoid extra space */
.highlight-box .highlight-content {
  padding-bottom: 0;
}

/* Style the State Flag */
.hawaii-flag-link {
  flex-shrink: 0;
}

.hawaii-flag-img {
  height: 36px;   /* adjust size as needed */
  width: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

/* Button row container */
/* Button row container (aligned with highlight boxes) */
.button-row {
  display: flex;
  justify-content: space-between;  /* Evenly space the buttons */
  gap: 20px;
  margin-top: 1rem;  /* Reduced top margin */
  padding: 0 1rem;
  width: 100%;  /* Ensures the button row spans the full width */
  max-width: 1000px;  /* Same max-width as highlight-boxes container */
  margin: 0 auto;  /* Centers the button row */
  margin-bottom: 5rem;
}

/* Container for the buttons */
.highlight-buttons {
  display: flex;
  justify-content: space-between;  /* Evenly space buttons */
  gap: 1rem;
  width: 100%;  /* Ensure the buttons span the same width */
}

/* Individual button */
.highlight-button {
  background-color: #d9534f; /* muted red like lightskyblue tone */
  color: whitesmoke;
  text-align: center;
  padding: 0.3rem 1rem; /* Smaller padding */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem; /* Slightly smaller font size */
  flex: 0 1 auto; /* Prevents stretching */
  border: 2px solid black; /* Add black border */
}




.countdown-banner {
  width: 100%;
  background-color: lightskyblue;
  color: black;
  padding: 1rem 1rem;
  font-size: normal;
  font-weight: normal;
  margin-top: 1rem;
  border-radius: 12px;
  border: 2px solid black; /* Add black border */
}

.countdown-banner h1 {
  color: black;
  text-align: center;
  font-weight: bold; /* Optional, since <h1> is bold by default */
  margin-top: 0;
}

.countdown-banner h3 {
  color: black;
  font-weight: normal;
  margin-bottom: 0;
}






/* Individual educational resources page */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #f9f9f9; /* Optional: for light background boxes */
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.resource-item:hover {
  background-color: #eef2f5;
}

.resource-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.resource-item a {
  font-size: 1.1rem;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

.resource-item a:hover {
  text-decoration: underline;
}

  
  /* Countdown heading */
  .highlight-box-countdown {
    background-color: lightskyblue;
    opacity: 0.8;
    background-size: cover;
    position: relative;
    border: 2px solid #000; /* Optional: Adds a border */
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto; /* Let the content define the height */
    min-height: 100px; /* Optional: Sets a minimum height */
    margin-bottom: 0.5rem;
    }

  .highlight-box-countdown h2 {
    margin: 1.0rem; 
    font-size: 1.5rem;
    
  }
  .highlight-box-countdown h1 {
    margin:  1.0rem; 
    font-size: 1.0rem;
    text-align: left;
    font-weight: normal;
    
  }
  
  /* Container holding the 4 countdown boxes */
.countdown-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
}

/* Individual time unit box */
.time-box {
  background-color: lightskyblue;
  border: 2px solid black;
  border-radius: 8px;
  padding: 1rem;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: black;
}

/* Number styling */
.time-box span {
  font-size: 2rem;
  font-weight: bold;
  display: block;
  color: black;
}

/* Label styling */
.time-box .label {
  font-size: 0.9rem;
  font-weight: normal;
  margin-top: 0.3rem;
  color: black;
}



.team-container {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.team-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  border: 2px solid #000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.team-member p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #000;
}

/* Commissioners and Committee Members stlying */

.commissioner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .commissioner-card {
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
  }
  
  .commissioner-card img {
    width: 100%;
    height: 250px; /* Consistent height for all images */
    object-fit: cover; /* Ensures image fills the space without stretching */
    display: block;
  }
  
  .commissioner-card h3 {
    margin: 0;
    padding: 1rem;
    font-size: 1rem;
    background-color: #f8f8f8;
  }
  
/* Educational Resources stlying */


.educational-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.educational-card {
  border: 2px solid #000;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 0.9;
}

.educational-card img {
  width: 100%;
  height: 250px; /* Consistent height for all images */
  object-fit: cover; /* Ensures image fills the space without stretching */
  display: block;
}

.educational-card h3 {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  background-color: #f8f8f8;
}

.card-wrapper {
  max-width: 350px;
  margin: 0 auto;
}


  /* Form style for Get Involved page */

  .form-container {
    max-width: 700px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.9); /* translucent white for readability */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid #000;
  }
  
  .form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  
  .form-container label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
  }
  
  .form-container input[type="text"],
  .form-container input[type="email"],
  .form-container input[type="tel"],
  .form-container input[type="url"],
  .form-container textarea,
  .form-container input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  
  .form-container fieldset {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .form-container fieldset label {
    display: block;
    margin-top: 5px;
    font-weight: normal;
  }
  
  .form-container button {
    margin-top: 20px;
    background-color: #0073e6;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .form-container button:hover {
    background-color: #005bb5;
  }
  
  /* Base footer styles (desktop) */
footer {
  background: linear-gradient(to right, rgba(100, 149, 237, 0.85) 0%, rgba(0, 0, 80, 0.85) 100%);
  color: white;
  padding: 1rem;
  box-sizing: border-box;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem;
  box-sizing: border-box;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.site-version {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 0.65rem;
  color: #aaa;
  font-family: sans-serif;
  text-align: right;
}

/* Mobile styles */
@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;    /* Stack vertically */
    align-items: center;       /* Center horizontally */
    text-align: center;        /* Center text */
    gap: 1rem;                 /* Space between stacked items */
  }


  /* Adjust social links to center */
  .social-links {
    justify-content: center;
    gap: 1rem;
    display: flex;
  }

  /* Optional: move or hide site-version on mobile */
  .site-version {
    position: static;
    margin-top: 1rem;
    text-align: center;
    color: #ccc;
  }
}

  
  

  /* Form Container for Get Involved Page */
  .form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  form input[type="text"],
  form input[type="email"],
  form input[type="tel"],
  form input[type="url"],
  form textarea,
  form input[type="file"],
  form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    margin-bottom: 1rem;
  }
  
  form fieldset {
    border: none;
    margin-bottom: 1rem;
    padding: 0;
  }
  
  form label {
    display: block;
    margin-top: 0.75rem;
    font-weight: 600;
  }
  
  form button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  form button:hover {
    background-color: #0055aa;
  }
  
  /* Responsive for small screens */
  @media (max-width: 768px) {
    .form-container {
      padding: 0.5rem;
    }
  
    form button {
      width: 100%;
    }
  
    form label,
    form input,
    form textarea,
    form fieldset,
    form button {
      font-size: 1rem;
    }
  }
  
  
  /* Social icon styling for footer */
.footer-social .social-icon {
  height: 40px;          /* match header icon height */
  width: auto;
  margin-left: 10px;
  cursor: pointer;
}

.footer-contact {
  margin-top: 0.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #eee;
}
.footer-contact a {
  color: #ddd;
  text-decoration: underline;
}



/* Header and footer logos consistent size */
.header-logo-img,
.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 100%;
}

.site-nav-links {
  white-space: normal;  /* allow line breaks like <br> */
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
}



.site-nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.25rem;
  display: inline-block;  /* supports <br> and margin */
  white-space: normal;    /* critical for <br> to work */
  padding: 0 0.25rem; /* top/bottom 0, left/right 1rem */
}


.site-nav-links a:hover,
.site-nav-links a:focus {
  text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .site-nav-links {
    gap: 0.25rem;
    justify-content: center;
  }

  .site-nav-links a {
    font-size: 0.8rem;
    padding: 0.15rem 0.3rem;
  }
}
/* Mobile calendar control*/

.calendar-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* Adjust this if needed for height */
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.calendar-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.search-wrapper {
  max-width: 1200px;    /* Or however narrow you want it */
  margin: 2rem auto;   /* Adds vertical space and centers it */
}

/* Container for dropdown */
.menu-item {
  position: relative;
  display: inline-block;
}

/* The clickable top-level link */
.dropdown-toggle {
  cursor: pointer;
  padding: 10px 15px;
  display: inline-block;
  color: #000; /* Adjust color to match your site */
  text-decoration: none;
  font-weight: 600;
}

/* Hide dropdown by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Position below the toggle */
  left: 0;
  background-color: #fff; /* Match your site colors */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 220px;
  z-index: 1000;
}

/* Each dropdown link styling */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-weight: bold !important;
  transition: background-color 0.2s ease;
}

/* Hover style for dropdown links */
.dropdown-menu li a:hover {
  background-color: #f2f2f2;
}

/* Show dropdown on hover for desktop */
.menu-item:hover .dropdown-menu,
.menu-item:focus-within .dropdown-menu {
  display: block;
}

/* Optional: add a small arrow after the toggle text */
.dropdown-toggle::after {
  content: " ▼";
  font-size: 0.6em;
  margin-left: 6px;
}

/* Responsive: full width dropdown on small screens */
@media (max-width: 768px) {
  .menu-item {
    display: block;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: 100%;
  }
  .dropdown-menu li a {
    padding-left: 25px;
  }
}
a.search-icon {
  font-size: 1.4rem; /* or try 2rem for bigger */
}