:root {
  --primary-color: #32a9e0;
  --secondary-color: #003366;
  --bg-color: #f8f9fa;
  /* --bg-color: #e0e0e0; */
  --nav-bg: #ffffff;
  --nav-border: #eaeaea;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--secondary-color);
  line-height: 1.6;
}

body.grey-background {
  background-color: #e0e0e0;
}

/* Buttons */
.btn {
  color: white;
  border: none;
  margin: 5px 0px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s, transform 0.2s;
}

.btn.primary {
  background-color: var(--primary-color);
}
.btn.secondary {
  background-color: var(--secondary-color);
}
.btn.outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn.primary:hover {
  background-color: #267aa7;
}
.btn.secondary:hover {
  background-color: #474b69;
}
.btn.outline:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* ********** */
/* Navigation */
/* ********** */
nav {
  background-color: var(--nav-bg);
  border-bottom: 2px solid var(--nav-border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
}

.nav-logo img {
  height: 80px;
  transition: all 0.3s ease-in-out;
}

/* Change logo to smaller icon on mobile */
@media (max-width: 768px) {
  .nav-logo img {
    content: url("../assets/images/logos-light/CJN_logo_RGB_Icon.png");
    height: 50px;
  }
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Nav Links Styling */
.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  padding: 8px 12px;
  font-size: 1rem;
}

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

/* Page Name Label for Mobile Nav Bar */
.nav-page-name {
  display: none;
  font-weight: bold;
  font-size: 1rem;
  color: var(--secondary-color);
  margin-left: 10px;
  margin-right: auto;
}

.nav-page-name a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1rem;
  pointer-events: auto;
}

/* .nav-page-name a:hover {
  color: var(--primary-color);
} */

/* Hamburger Menu Nav */
.hamburger-menu {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary-color);
  margin-left: auto;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--nav-bg);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px 0;
    border-top: 2px solid var(--nav-border);
    z-index: 999;
  }

  .nav-links a,
  .nav-links button {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .nav-menu.active .nav-links {
    display: flex;
  }

  .nav-page-name {
    display: block;
  }

  .hamburger-menu {
    display: block;
  }
}

.spacer {
  height: 100px;
}

@media (max-width: 768px) {
  .spacer {
    height: 60px;
  }
}

/* ************ */
/* Hero Section */
/* ************ */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  box-sizing: border-box;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 90%;
}

.hero-subtext {
  font-size: 1.5rem;
  max-width: 600px;
  margin-bottom: 30px;
  text-align: center;
}

.hero-overlay .btn {
  font-size: 1.2rem;
  padding: 12px 24px;
}

@media (min-width: 1300px) {
  .hero-subtext {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtext {
    font-size: 1.2rem;
  }

  .hero-overlay .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 70px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-overlay .btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}

/* Hero Photo Credits */
.photo-credit {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 5px;
  font-style: italic;
}

@media (max-width: 768px) {
  .photo-credit {
    font-size: 0.8rem;
    bottom: 8px;
    right: 10px;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .photo-credit {
    font-size: 0.75rem;
    bottom: 5px;
    right: 8px;
    padding: 2px 5px;
  }
}

/* Shared Section Text Content Styling */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-text {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

@media (min-width: 1300px) {
  .section-title {
    font-size: 2.1rem;
  }
  
  .section-text {
    font-size: 1.6rem;
  }
}

.text-content a {
  text-decoration: none;
}

/* ****************************** */
/* Full Background Image Sections */
/* ****************************** */
.overlay-section {
  position: relative;
  width: 100%;
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 60px 20px;
  box-sizing: border-box;
}

.overlay-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.overlay-section .section-title,
.overlay-section .section-text {
  color: white;
}

.overlay-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  padding: 40px;
}

/* Left-Aligned Overlay Text */
.left-aligned {
  justify-content: flex-start;
  padding-left: 100px;
  text-align: left;
}

/* Right-Aligned Overlay Text */
.right-aligned {
  justify-content: flex-end;
  padding-right: 100px;
  text-align: right;
}

@media (max-width: 1024px) {
  .overlay-section {
    min-height: 60vh;
    padding: 50px 20px;
  }

  .overlay-content {
    max-width: 60%;
    padding: 30px;
  }

  .left-aligned {
    padding-left: 50px;
  }

  .right-aligned {
    padding-right: 50px;
  }
}

@media (max-width: 768px) {
  .overlay-section {
    min-height: auto;
    text-align: center;
    padding: 40px 20px;
  }

  .overlay-content {
    max-width: 90%;
    text-align: center;
    padding: 20px;
  }

  .left-aligned,
  .right-aligned {
    justify-content: center;
    padding: 0;
  }
}

/* ******************************************* */
/* 50/50 Split Layouts (Text & Image Sections) */
/* ******************************************* */
.text-image-section,
.image-text-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 85vh;
  padding: 60px 0;
  box-sizing: border-box;
}

.text-content {
  flex: 1;
  padding: 0 100px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.image-content {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.padded .image-content img {
  width: 95%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

/* Section Specific Photo Credits */
.section-photo-credit {
  margin-top: 5px;
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
  text-align: center;
}

@media (max-width: 1024px) {
  .text-image-section,
  .image-text-section {
    min-height: 75vh;
    padding: 50px 0;
  }

  .text-content {
    max-width: 60%;
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  .text-image-section,
  .image-text-section {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 40px 20px;
  }

  .text-content {
    max-width: 100%;
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }

  .image-content {
    max-width: 100%;
    height: auto;
  }

  .image-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .section-photo-credit {
    font-size: 0.8rem;
    margin-top: 3px;
  }
}

@media (max-width: 480px) {
  .text-image-section,
  .image-text-section {
    flex-direction: column;
    padding: 30px 15px;
  }

  .text-content {
    order: 2;
    padding: 20px;
  }

  .image-content {
    order: 1;
  }

  .image-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .section-photo-credit {
    font-size: 0.75rem;
    margin-top: 2px;
  }
}

/* ****************************** */
/* CJN RMS & Key Features Section */
/* ****************************** */
#cjn-rms, 
#why-cjn {
  background: #fff;
  padding: 60px 100px;
  text-align: center;
}

.rms-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.rms-image {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.rms-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-top: 30px;
  align-items: stretch;
  justify-content: center;
}

.feature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  height: 100%;
}

.feature-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.feature-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

@media (max-width: 1024px) {
  #cjn-rms,
  #why-cjn {
    padding: 50px 80px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-text {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .feature-title {
    font-size: 1.3rem;
    height: 60px;
  }

  .feature-text {
    font-size: 1rem;
    min-height: 110px;
  }
}

@media (max-width: 768px) {
  #cjn-rms,
  #why-cjn {
    padding: 40px 40px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .rms-image img {
    max-width: 80%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
  }

  .feature-title {
    font-size: 1.2rem;
    height: 50px;
  }

  .feature-text {
    font-size: 0.95rem;
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  #cjn-rms,
  #why-cjn {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-text {
    font-size: 0.95rem;
  }

  .features-grid {
    gap: 15px;
  }

  .feature-block {
    padding: 15px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-title {
    font-size: 1.1rem;
    height: 45px;
  }

  .feature-text {
    font-size: 0.9rem;
    min-height: 90px;
  }
}

/* **************** */
/* Products Section */
/* **************** */
#products {
  background: #fff;
  padding: 80px 100px;
}

#products .section-title {
  text-align: center;
}

#products .section-text {
  font-size: 1.2rem;
  text-align: center;
  font-style: italic;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: 8px;
}

.product-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 0 10px;
  margin-bottom: 10px;
}

.product-card .btn {
  text-decoration: none;
  margin-top: auto;
}

@media (max-width: 768px) {
  #products {
    padding: 40px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 100%;
    height: auto;
  }
}

/* ********** */
/* About Page */
/* ********** */
#about-section {
  position: relative;
  background-image: url('../assets/images/RS_ShootingRange_2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#about-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1));
  backdrop-filter: blur(4px);
  z-index: 0;
}

#about-section .section-title,
#about-section .section-text {
  color: var(--bg-color);
}

#about-section .section-photo-credit {
  font-style: italic;
  font-size: 0.85rem;
  /* color: rgba(255, 255, 255, 0.5); */
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 5px;
}

#about-section .text-content,
#about-section .image-content {
  position: relative;
  z-index: 3;
}

#about-section .image-content img {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

#mission-section {
  position: relative;
  background-image: url('../assets/images/connections_background_4.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#mission-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 26, 51, 1) 0%,
    rgba(26, 26, 77, 1) 20%,
    rgba(0, 51, 102, 0.8) 35%,
    rgba(26, 26, 77, 0.6) 50%,
    rgba(0, 51, 102, 0.2) 75%,
    rgba(0, 51, 102, 0.1) 100%
  );
  z-index: 0;
}

#mission-section .text-content,
#mission-section .image-content {
  position: relative;
  z-index: 1;
}

#mission-section .section-title,
#mission-section .section-text {
  color: var(--bg-color);
}

#mission-section .section-photo-credit {
  /* color: rgba(26, 26, 77, 1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); */
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 5px;
}

#mission-section .image-content img {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

#history-section {
  background: linear-gradient(to right, var(--secondary-color), rgba(0, 0, 0, 1));
  color: var(--bg-color);
}

#history-section .section-title,
#history-section .section-text {
  color: var(--bg-color);
}

#agencies-section {
  position: relative;
  background-color: var(--primary-color);
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 90%);
  overflow: hidden;
}

#agencies-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

#agencies-section .text-content,
#agencies-section .image-content {
  position: relative;
  z-index: 1;
}

#agencies-section .section-title {
  color: var(--bg-color);
  /* color: #e0e0e0; */
}

#agencies-section .section-text {
  color: var(--bg-color)
  /* color: #e0e0e0; */
}

#map {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  max-width: 500px;
  border-radius: 10px;
  background: #f0f0f0;
}

@media (min-width: 1300px) {
  #about-section .image-content,
  #mission-section .image-content,
  #agencies-section .image-content,
  #history-section .image-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  #about-section .image-content img,
  #mission-section .image-content img,
  #history-section .image-content img {
    width: 100%;
    max-width: 700px;
    height: auto;
  }

  #agencies-section .image-content #map {
    max-width: 700px;
    height: 100%;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 1024px) {
  #agencies-section {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 95%);
  }

  #map {
    height: 300px;
  }
}

@media (max-width: 768px) {
  #about-section::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1));
  }

  #mission-section::before {
    background: linear-gradient(
      to top,
      rgba(0, 26, 51, 1) 0%,
      rgba(26, 26, 77, 1) 20%,
      rgba(0, 51, 102, 0.8) 35%,
      rgba(26, 26, 77, 0.6) 50%,
      rgba(0, 51, 102, 0.2) 75%,
      rgba(0, 51, 102, 0.1) 100%
    );
  }

  #history-section {
    background: linear-gradient(to bottom, var(--secondary-color), rgba(0, 0, 0, 1));
  }

  #agencies-section {
    clip-path: none;
  }

  #agencies-section::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 51, 102, 0.05),
      rgba(50, 169, 224, 0.05)
    );
  }

  .text-image-section {
    display: flex;
    flex-direction: column;
  }

  .text-image-section .image-content {
    order: -1;
  }

  .text-image-section .image-content,
  .text-image-section .text-content {
    width: 100%;
  }

  #map {
    width: 100%;
    height: 280px;
    min-height: 280px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  #about-section {
    padding-top: 40px;
  }

  #about-section::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1));
  }

  #mission-section::before {
    background: linear-gradient(
      to top,
      rgba(0, 26, 51, 1) 0%,
      rgba(26, 26, 77, 1) 20%,
      rgba(0, 51, 102, 0.8) 35%,
      rgba(26, 26, 77, 0.6) 50%,
      rgba(0, 51, 102, 0.2) 75%,
      rgba(0, 51, 102, 0.1) 100%
    );
  }

  #history-section {
    background: linear-gradient(to bottom, var(--secondary-color), rgba(0, 0, 0, 1));
  }

  #agencies-section::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 51, 102, 0.05),
      rgba(50, 169, 224, 0.05)
    );
  }

  #agencies-section .text-image-section {
    flex-direction: column;
  }

  #agencies-section .image-content,
  #agencies-section .text-content {
    width: 100%;
  }

  #map {
    width: 100%;
    height: 250px;
    min-height: 250px;
    flex-shrink: 0;
  }
}

/* *************** */
/* Governance Page */
/* *************** */

/* Board Announcements */
#board-announcement-section {
  padding: 40px 100px;
  text-align: center;
}

/* Announcement Banner */
.announcement-banner {
  background: var(--primary-color);
  color: white;
  padding: 30px 50px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.announcement-banner h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.announcement-date {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.announcement-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.announcement-banner .btn {
  color: white;
  border: 1px solid white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 24px;
  transition: background 0.3s ease-in-out;
}

.announcement-banner .btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #267aa7;
}

@media (max-width: 1024px) {
  #board-announcement-section {
    padding: 35px 60px;
  }

  .announcement-banner {
    padding: 25px 40px;
  }

  .announcement-banner h2 {
    font-size: 1.8rem;
  }

  .announcement-date {
    font-size: 1.3rem;
  }

  .announcement-text {
    font-size: 1.1rem;
  }

  .announcement-banner .btn {
    font-size: 1.1rem;
    padding: 10px 22px;
  }
}

@media (max-width: 768px) {
  #board-announcement-section {
    padding: 30px 20px;
  }

  .announcement-banner {
    padding: 20px;
  }

  .announcement-banner h2 {
    font-size: 1.6rem;
  }

  .announcement-date {
    font-size: 1.2rem;
  }

  .announcement-text {
    font-size: 1rem;
  }

  .announcement-banner .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  #board-announcement-section {
    padding: 25px 15px;
  }

  .announcement-banner {
    padding: 18px;
  }

  .announcement-banner h2 {
    font-size: 1.4rem;
  }

  .announcement-date {
    font-size: 1.1rem;
  }

  .announcement-text {
    font-size: 0.95rem;
  }

  .announcement-banner .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* Board Meeting Records Section */
#board-meeting-records, 
#board-archive {
  padding: 40px 100px;
  text-align: left;
}

#board-meeting-records .section-title, 
#board-archive .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

#board-meeting-records .section-text, 
#board-archive .section-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 30px;
}

.board-table th {
  font-size: 1rem;
  text-transform: uppercase;
  padding: 12px 8px;
  color: var(--secondary-color);
  background: #f4f4f4;
}

.board-table td {
  font-size: 1rem;
  padding: 12px 8px;
  border-bottom: 1px solid #ccc;
}

.board-table th,
.board-table td {
  border-right: none;
}

.board-table .records-pdf {
  text-align: center;
}

.board-table img {
  width: 32px;
  height: 32px;
  display: block;
  margin: auto;
}

.board-archive-link {
  text-align: left;
  margin-top: 10px;
}

.board-archive-link .btn {
  text-decoration: none;
  font-size: 1rem;
  padding: 12px 24px;
  font-weight: bold;
}

@media (max-width: 1024px) {
  #board-meeting-records,
  #board-archive {
    padding: 35px 60px;
  }

  .board-table th {
    font-size: 0.95rem;
    padding: 10px 6px;
  }

  .board-table td {
    font-size: 0.95rem;
    padding: 10px 6px;
  }

  #board-meeting-records .section-title, 
  #board-archive .section-title {
    font-size: 1.8rem;
  }

  #board-meeting-records .section-text, 
  #board-archive .section-text {
    font-size: 1.1rem;
  }

  .board-archive-link .btn {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  #board-meeting-records,
  #board-archive {
    padding: 30px 20px;
  }

  .board-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .board-table th {
    font-size: 0.9rem;
    padding: 8px 5px;
  }

  .board-table td {
    font-size: 0.9rem;
    padding: 8px 5px;
  }

  #board-meeting-records .section-title, 
  #board-archive .section-title {
    font-size: 1.6rem;
  }

  #board-meeting-records .section-text, 
  #board-archive .section-text {
    font-size: 1rem;
  }

  .board-archive-link .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  #board-meeting-records,
  #board-archive {
    padding: 25px 15px;
  }

  .board-table th:nth-child(2), 
  .board-table td:nth-child(2), 
  .board-table th:nth-child(3), 
  .board-table td:nth-child(3) {
    display: none; /* Hide "Time" & "Name" Columns */
  }

  .board-table th {
    font-size: 0.85rem;
    padding: 7px 4px;
  }

  .board-table td {
    font-size: 0.85rem;
    padding: 7px 4px;
  }

  #board-meeting-records .section-title, 
  #board-archive .section-title {
    font-size: 1.4rem;
  }

  #board-meeting-records .section-text, 
  #board-archive .section-text {
    font-size: 0.95rem;
  }

  .board-archive-link {
    text-align: center;
  }

  .board-archive-link .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* Board Member Section */
#board-member-section {
  background: #fff;
  padding: 60px 100px;
  text-align: center;
}

#board-member-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

#board-member-section .section-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #777;
  margin-bottom: 40px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.board-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
}

.board-image {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 15px;
}

.board-image img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.board-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.board-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.board-agency {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}

.board-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  #board-member-section {
    padding: 50px 60px;
  }

  #board-member-section .section-title {
    font-size: 1.8rem;
  }

  .board-archive-subtitle {
    font-size: 1.4rem;
  }

  #board-member-section .section-text {
    font-size: 1.1rem;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }

  .board-card {
    padding: 18px;
    max-width: 220px;
  }

  .board-name {
    font-size: 1.1rem;
  }

  .board-agency {
    font-size: 0.95rem;
  }

  .board-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  #board-member-section {
    padding: 40px 30px;
  }

  #board-member-section .section-title {
    font-size: 1.6rem;
  }

  .board-archive-subtitle {
    font-size: 1.2rem;
  }

  #board-member-section .section-text {
    font-size: 1rem;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }

  .board-card {
    padding: 16px;
    max-width: 200px;
  }

  .board-name {
    font-size: 1rem;
  }

  .board-agency {
    font-size: 0.9rem;
  }

  .board-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #board-member-section {
    padding: 30px 20px;
  }

  #board-member-section .section-title {
    font-size: 1.4rem;
  }

  .board-archive-subtitle {
    font-size: 1.2rem;
  }

  #board-member-section .section-text {
    font-size: 0.95rem;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .board-card {
    max-width: 100%;
    padding: 15px;
  }

  .board-name {
    font-size: 0.95rem;
  }

  .board-agency {
    font-size: 0.9rem;
  }

  .board-title {
    font-size: 0.85rem;
  }
}

/* Privacy Policy & Data Practices */
.privacy-policy, 
.data-practices {
  text-align: center;
  padding: 60px 100px 40px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-policy .section-title,
.data-practices .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.privacy-policy .section-text,
.data-practices .section-text {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .privacy-policy, 
  .data-practices {
    padding: 50px 60px;
  }

  .privacy-policy .section-title,
  .data-practices .section-title {
    font-size: 1.8rem;
  }

  .privacy-policy .section-text,
  .data-practices .section-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .privacy-policy,
  .data-practices {
    padding: 40px 30px;
  }

  .privacy-policy .section-title,
  .data-practices .section-title {
    font-size: 1.6rem;
  }

  .privacy-policy .section-text,
  .data-practices .section-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .privacy-policy,
  .data-practices {
    padding: 30px 20px;
  }

  .privacy-policy .section-title,
  .data-practices .section-title {
    font-size: 1.4rem;
  }

  .privacy-policy .section-text,
  .data-practices .section-text {
    font-size: 0.95rem;
  }
}

.data-practices a:link {
  color: var(--primary-color);
}

/* ****** */
/* Footer */
/* ****** */
.footer {
  background-color: #003366;
  color: white;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Left: Logo & Text */
.footer-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.footer-left .footer-text {
  margin-left: 20px;
  text-align: left;
}

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 100%;
}

/* Center: Contact Info */
.footer-center {
  flex: 1;
  text-align: center;
  line-height: 1.5;
}

.footer-center p {
  margin: 5px 0;
}

.footer-center a {
  color: white;
}

/* Right: Links & LinkedIn */
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-right a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-right a:hover {
  text-decoration: underline;
}

.linkedin-btn {
  margin-bottom: 5px;
}

.linkedin-logo {
  height: 30px;
  width: auto;
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .footer {
    padding: 40px 40px;
  }

  .footer-logo {
    height: 70px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-right {
    align-items: center;
  }

  .footer-right a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 20px;
  }

  .footer-logo {
    height: 65px;
    margin-bottom: 10px;
  }

  .footer-text h2{
    font-size: 1.1rem;
  }

  .footer-center {
    font-size: .9rem;
  }

  .footer-left {
    flex-direction: column;
    text-align: center;
  }

  .footer-left .footer-text {
    margin-left: 0;
  }

  .footer-right a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  .footer-left .btn {
    width: 100%;
    max-width: 250px;
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 25px 15px;
  }

  .footer-logo {
    height: 60px;
    margin-bottom: 10px;
  }

  .footer-text h2{
    font-size: 1.1rem;
  }

  .footer-center {
    font-size: .9rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left {
    flex-direction: column;
    text-align: center;
  }

  .footer-left .footer-text {
    margin-left: 0;
  }

  .footer-right {
    align-items: center;
  }

  .footer-right a {
    font-size: 0.75rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  .footer-left .btn {
    width: 100%;
    max-width: 250px;
    font-size: .9rem;
  }
}

/* Keep footer pinned to bottom on short pages */
html, body {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 100px); /* Account for .spacer height */
}

.page-wrapper > footer {
  margin-top: auto;
}

