:root {
  /* Colors */
  --primary-color: #1B5E20;
  /* Akright Forest Green */
  --secondary-color: #43A047;
  /* Vibrant Leaf Green */
  --accent-color: #8BC34A;
  /* Light Green */
  --text-dark: #111827;
  --text-light: #4b5563;
  --white: #ffffff;
  --light-bg: #f0fdf4;
  /* Very light green tint */
  /* Cool Grey */
  --footer-bg: #14532d;
  /* Dark Green Footer */

  /* Typography */
  --font-family: 'Inter', sans-serif;
  --h1-size: clamp(2.5rem, 5vw, 4rem);
  --h2-size: clamp(2rem, 4vw, 3rem);
  --h3-size: 1.5rem;
  --body-size: 1rem;

  /* Spacing */
  --container-width: 1240px;
  --spacing-sm: 1rem;
  --spacing-md: 2.5rem;
  --spacing-lg: 5rem;

  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 15px rgba(67, 160, 71, 0.3);

  --radius-md: 12px;
  --radius-lg: 24px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--body-size);
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays (optional helpers) */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* NAV */
.nav {
  background: rgba(255, 255, 255, 0.98);
  /* White Nav */
  backdrop-filter: blur(10px);
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  transition: height 0.3s ease;
}

.nav-inner {
  width: min(92%, var(--container-width));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle {
  display: none;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav ul {
  display: flex;
  gap: 32px;
}

/* ... existing nav/hero styles ... */
/* FOOTER */
footer {
  background: var(--footer-bg);
  color: #e2e8f0;
  padding-top: 80px;
}

.footer-cols {
  width: min(92%, var(--container-width));
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  /* Brand column wider */
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-cols h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-cols p {
  color: #94a3b8;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-cols p:hover {
  color: var(--white);
  transform: translateX(3px);
  display: inline-block;
}

.social-links img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.social-links img:hover {
  opacity: 1;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav ul li a {
  color: var(--primary-color);
  /* Green Text */
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  /* padding: 5px 0; */
}

.nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav ul li a:hover {
  color: var(--secondary-color);
}

.nav ul li a:hover::after {
  width: 100%;
}

/* DROPDOWN MENU */
.dropdown-trigger {
  position: relative;
  padding-bottom: 10px;
  /* Bridge the gap */
  margin-bottom: -10px;
}

/* Increased width for better spacing */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  /* Wider */
  box-shadow: var(--shadow-xl);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 8px 0;
  display: block !important;
  z-index: 1100;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-trigger:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 14px 20px;
  /* Much larger padding */
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  /* Slightly bolder */
  white-space: nowrap;
  /* Prevent wrapping */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

/* Two-column layout for large dropdowns */
@media (min-width: 900px) {
  .dropdown-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    min-width: 480px;
    /* Wider container */
  }
}

.dropdown-menu li a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
  padding-left: 35px;
  /* Larger shift */
}

.dropdown-menu li a::after {
  display: none;
  /* Remove underline for dropdown items */
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide.active {
  opacity: 1;
}

.slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-content {
  max-width: 900px;
  padding: 40px;
  color: var(--white);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease-out 0.3s;
}

.hero-content h1 {
  font-size: var(--h1-size);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content button {
  padding: 16px 48px;
  border: none;
  background: var(--secondary-color);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  /* Pill shape */
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all 0.3s ease;
}

.hero-content button:hover {
  background: #2E7D32;
  /* Darker Green Hover */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 30px -5px rgba(27, 94, 32, 0.4);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* MOSAIC SECTION */
/* MOSAIC SECTION */
.mosaic {
  width: min(92%, var(--container-width));
  margin: 0 auto var(--spacing-lg);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 24px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card:hover img {
  transform: scale(1.1);
}

/* Mission Card */
/* Mission Card */
.mission-card {
  background: linear-gradient(135deg, var(--primary-color), #14532d);
  /* Gradient Background */
  color: var(--white);
  padding: 0;
  /* Remove default padding to let items stretch */
  display: flex;
  align-items: stretch;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  width: 100%;
  height: 100%;
}

.mission-item {
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-item:last-child {
  border-right: none;
}

.mission-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mission-item h4 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
}

.mission-item h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
}

.mission-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
}

.mission-item ul {
  list-style: none;
}

.mission-item ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  opacity: 0.95;
  position: relative;
  padding-left: 18px;
}

.mission-item ul li::before {
  content: '✓';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (max-width: 900px) {
  .mission-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mission-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
  }

  .mission-item:last-child {
    border-bottom: none;
  }
}

.president-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.president-card .president-header {
  height: 200px;
  overflow: hidden;
}

.president-card .president-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.president-card:hover .president-header img {
  transform: scale(1.05);
}

.president-card .president-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.president-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.president-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.president-card .intro {
  font-style: italic;
  color: var(--text-dark);
  font-weight: 500;
}

.president-card .signature {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.president-card .signature strong {
  display: block;
  color: var(--primary-color);
}

.president-card .signature span {
  font-size: 0.85rem;
  color: var(--secondary-color);
}

.president-card .read-more {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
}

.president-card .read-more:hover {
  text-decoration: underline;
}

.card-left {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.card-top-right {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}

.card-bottom-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* INTERNAL PAGES */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.page-hero .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.page-content {
  padding: 0 0 0px;
}

.container {
  width: min(92%, var(--container-width));
  margin: auto;
}

.page-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-content p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding-bottom: 20px;
}

.team-card img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
}

.team-card h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.quick-links {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  background: linear-gradient(135deg, var(--secondary-color), #2E7D32);
  color: var(--white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-links h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.quick-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.quick-links ul li {
  margin-bottom: 14px;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.quick-links ul li:hover {
  transform: translateX(5px);
}

.quick-links ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0.7;
}

/* Glassmorphism Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: rgba(27, 94, 32, 0.85);
  /* Green Overlay */
  /* Fallback */
  background: linear-gradient(to top, rgba(27, 94, 32, 0.95), rgba(27, 94, 32, 0));
  color: var(--white);
  opacity: 1;
  transition: all 0.3s ease;
}


.overlay.blue {
  background: linear-gradient(to top, rgba(67, 160, 71, 0.9), rgba(67, 160, 71, 0.5));
  /* Lighter Green */
}

.card:hover .overlay {
  background: linear-gradient(to top, rgba(27, 94, 32, 1), rgba(27, 94, 32, 0.4));
  /* Green Gradient */
  padding-bottom: 35px;
}

/* VILLAGES */
.villages {
  background: var(--white);
  padding: var(--spacing-lg) 0;
  position: relative;
}

/* Subtle background pattern */
/* Subtle background pattern */
.villages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.villages h2 {
  text-align: center;
  font-size: var(--h2-size);
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

/* Villages Slider */
.villages-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 30px;
}

.villages-slider::before,
.villages-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.villages-slider::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.villages-slider::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.villages-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: scroll-villages 60s linear infinite;
  padding: 10px 0;
  /* Space for shadow */
}

.villages-track:hover {
  animation-play-state: paused;
}

.village-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  width: 350px;
  /* Fixed width */
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.village-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

@keyframes scroll-villages {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-3800px);
  }
}

.village-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.village-card h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin: 24px 24px 12px;
  font-weight: 700;
}

.village-card p {
  color: var(--text-light);
  margin: 0 24px 24px;
  font-size: 0.95rem;
}

/* LEADERSHIP SLIDER */
.leadership {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.leadership h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.leadership-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 30px;
}

.leadership-slider::before,
.leadership-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.leadership-slider::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.leadership-slider::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.leadership-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: scroll-leadership 40s linear infinite;
  padding: 10px 0;
}

.leadership-track:hover {
  animation-play-state: paused;
}

.leadership-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.leadership-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.leadership-photo {
  height: 280px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.leadership-info {
  padding: 20px;
  text-align: center;
}

.leadership-info h4 {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.leadership-info p {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.leadership-info .village-name {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
}

@keyframes scroll-leadership {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-300px * 7 - 30px * 7));
  }

  /* 7 items */
}

/* LATEST NEWS */
.latest-news {
  padding: 80px 0;
  background: var(--light-bg);
}

.latest-news h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.news-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.read-more-link:hover {
  gap: 8px;
}



/* PARTNERS */
.partners {
  padding: 40px 0;
  background: var(--light-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-container {
  width: min(92%, var(--container-width));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.partners-label {
  flex: 0 0 auto;
  padding-right: 40px;
  border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.partners-label h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.partners-scroll-wrapper {
  flex: 1;
  overflow: hidden;
  /* Mask to fade edges of scroll area */
  -webkit-mask-image: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: scroll 40s linear infinite;
  /* Slowed down slightly */
}

@media (max-width: 768px) {
  .partners-container {
    flex-direction: column;
    gap: 20px;
  }

  .partners-label {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
  }
}


.partners-track:hover {
  animation-play-state: paused;
}

.partners img {
  height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.partners img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-25%);
  }
}

/* ABOUT PAGE */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.about-text .highlight-text {
  font-size: 1.35rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
  border-left: 4px solid var(--secondary-color);
  padding-left: 20px;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.02);
}

.values-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.value-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-bottom: 4px solid transparent;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary-color);
}

.value-card .icon {
  font-size: 3rem;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.value-card:hover .icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.value-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.value-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.value-card ul {
  list-style: none;
  text-align: left;
  display: inline-block;
  background: var(--light-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  width: 100%;
}

.value-card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
  color: var(--text-dark);
  font-weight: 500;
}

.value-card ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
  margin: 60px 0;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -10px auto 40px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Updated Team Card Styles */
.team-card {
  transition: transform 0.3s ease;
  overflow: hidden;
  /* Ensure rounded corners */
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-info {
  padding: 25px;
  background: var(--white);
}

.team-info h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.team-info p {
  color: var(--secondary-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-section {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  color: #e2e8f0;
  padding: 80px 0 0px;
}

.footer-cols {
  width: min(92%, var(--container-width));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
}

.footer-cols h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-cols p {
  color: #94a3b8;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-cols p:hover {
  color: var(--white);
  transform: translateX(3px);
  display: inline-block;
}

/* REPORTS PAGE */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.report-category {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.report-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.report-category h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-bg);
  font-size: 1.2rem;
}

.report-list {
  list-style: none;
}

.report-list li {
  margin-bottom: 12px;
}

.report-list a {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.report-list a:hover {
  color: var(--secondary-color);
}

.report-list i {
  color: var(--accent-color);
}

.no-reports {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .mosaic-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .card {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 280px;
  }

  .president-card .president-header {
    height: 250px;
  }

  /* Reset Mission Card Layout for Mobile */
  .mission-card {
    padding: 0;
  }

  .mission-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mission-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
  }

  .mission-item:last-child {
    border-bottom: none;
  }

  .message-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }


  .message-image img {
    height: 300px;
  }

  .nav-inner {
    flex-direction: row;
    gap: 0;
  }

  .nav {
    height: 80px;
    padding: 0;
  }

  .nav ul {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    /* White Menu */
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav ul.active {
    max-height: 500px;
    padding: 30px 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    /* Green Hamburger */
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav ul {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    /* White Menu */
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav ul.active {
    max-height: 500px;
    padding: 30px 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    /* Green Hamburger */
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Hamburger Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* VILLAGE PAGES RESPONSIVE LAYOUT */
.chairperson-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.village-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {

  .chairperson-grid,
  .village-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .chairperson-section {
    text-align: center;
    /* Center align on mobile */
  }

  .chair-message h2 {
    font-size: 1.8rem;
    margin-top: 20px;
    text-align: center;
  }

  .chair-message {
    text-align: left;
    /* Keep message readable */
  }
}

/* VIDEO GALLERY */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.video-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* DIRECTORY PAGE */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.directory-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.directory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.directory-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background: var(--light-bg);
  transition: all 0.3s ease;
}

.directory-card:hover i {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.directory-card h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.directory-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.directory-category {
  grid-column: 1 / -1;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-bg);
}

.directory-grid+.directory-category {
  margin-top: 60px;
}

/* Prominent Button */
.btn-prominent {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
}


/* VILLAGE GALLERY */
.village-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.village-gallery .gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 250px;
  /* Fixed height for consistent rows */
}

.village-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.village-gallery .gallery-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .village-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .village-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
}