body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f6f5;
}

h2 {
  font-size: 2.8em;
  letter-spacing: -1px;
}

p {
  line-height: 1.7;
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10000;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  
}

/* CENTER NAV (desktop) */
nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
/* hover effect */
nav a:hover {
  color: #43a047;
  transform: translateY(-2px);
}

nav a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  z-index: 10001;
}

/* HEADER LAYOUT */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10004;
}

/* LOGO */
.logo{
position: relative;
    z-index: 10002;    /* above nav panel */
}
.logo img {
  height: 50px;
}
.logo img:hover {
  transform: scale(1.01);
  filter: drop-shadow(0 0 8px rgba(46,125,50,0.9));
}

/* HERO */
.hero {
  position: relative;
  background: url(about.jpg) center/cover no-repeat;
  color: white;
  padding: 120px 20px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content { position: relative; z-index: 1; }

.hero h1 { font-size: 4em; }
.hero p { font-size: 1.6em; }

.btn {
  background: #2e7d32;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  font-size: 1.2em;
  transition: 0.3s;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  box-shadow: 0 8px 20px rgba(46,125,50,0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 25px rgba(46,125,50,0.35);
}

/* SECTIONS */
/* CONTENT SECTIONS - narrower width and centered, but exclude hero */
section:not(.hero) {
  padding: 80px 20px;
  max-width: 65%; /* narrower for readability */
  margin: auto;
  text-align: center;
  transition: background 0.3s;
  border-radius: 12px;
  
}

/* ALTERNATING OR SLIGHTLY DARKER BACKGROUNDS, excluding hero */
section:not(.hero):nth-child(even) {
  background: #eef2f1;
}

section:not(.hero):nth-child(odd) {
  background: #f4f6f5;
}

/* Optional separators between non-hero sections */
section:not(.hero) + section:not(.hero) {
  border-top: 2px solid #ddd;
}

h2 { font-size: 2.5em; }

/* CAROUSEL */
.carousel-container {
  overflow: hidden;
  width: 100%;
  margin: 40px 0;

  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll linear infinite;
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-track img {
  height: 80px;
  margin: 0 40px;
  opacity: 0.8;
  transition: 0.3s;
}

.carousel-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ABOUT */
p {
  font-size: 1.1em;
  text-align: justify;
}

/* FORM */
form input, form textarea {
  width: 250px;
  padding: 10px;
  margin: 10px;
}

/* FOOTER */
footer {
  background: #222;
  color: white;
  padding: 40px 20px;
}

/* links row */
.footer-links {
  text-align: center;
  margin-bottom: 25px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

/* bottom row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  font-size: 0.9em;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* purple link */
.footer-right a {
  color: #a855f7; /* nice modern purple */
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}


/* POPUP BACKGROUND */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 99999;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

/* POPUP BOX */
.popup-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  position: relative;
  animation: popupFade 0.4s ease;
  cursor: default; /* ensures button/content clicks don’t close */
}

@keyframes popupFade {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* page-specific only */
.container {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
}

.page-title {
  text-align: center;
  margin: 40px 0;
}

/* FAQ */
.faq-item {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  color: #555;
}

/* INTRO */
.info-card {
  max-width: 800px;
  margin: 40px auto;
  font-size: 1.15em;
  line-height: 1.7;
  color: #333;
}
/* SLIDESHOW */
.slideshow {
  position: relative;
  max-width: 900px;
  margin: 40px auto 10px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
  pointer-events: none;
}
.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ARROWS (GREEN THEME) */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 16px;
  font-size: 22px;
  color: white;
  background: #2e7d32;
  border-radius: 50%;
  user-select: none;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 12px; }
.next { right: 12px; }

/* DOTS */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background-color: #2e7d32;
  transform: scale(1.2);
}

/* CONTACT */


input, textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2e7d32;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
}

/* COMMITTEE */
.committee {
  margin-top: 40px;
  color: #444;
  font-size: 0.95em;
  line-height: 1.8;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.member {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.3s;
  font-weight: 500;
}

.member:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* MOBILE */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -70%;       /* hidden offscreen to the right */
    left: auto;        /* override desktop left */
    width: 70%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 10001;    /* below hamburger */
    transform: none;   /* remove desktop centering */
  }

  nav.active {
    right: 0;          /* slide in from right */
  }

  nav a {
    margin: 20px 0;
    font-size: 1.4em;
  }

  .menu-toggle {
    display: block;
    position: fixed;   /* stays visible always */
    top: 15px;
    right: 15px;
    z-index: 10002;    /* above nav panel */
  }

header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10000;
  padding: 35px 15px; /* increased from 15px to 35px */
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

  .hero h1 { font-size: 2.2em; }
  .hero p { font-size: 1.2em; }
  .btn { width: 90%; font-size: 1em; }
  form input, form textarea { width: 90%; }

  /* footer */
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-left, .footer-right { text-align: center; }
  .footer-links a { display: block; margin: 8px 0; }
}
html {
  scroll-behavior: smooth;
}
