/* ===============================
   BASE
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif Devanagari", serif;
  background: #f3faf4;
  color: #1b3d2f;
}

/* ===============================
   HEADER & MENU
   =============================== */
.header {
  background: linear-gradient(#e8f5e9, #c8e6c9);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1b5e20;
}

nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #1b5e20;
  font-weight: 600;
  padding: 6px 10px;
}

/* 🔹 MENU AUTO HIDE AFTER CLICK (MOBILE UX) */
@media (max-width: 768px) {
  nav ul li a {
    display: block;
  }

  nav ul li a:active {
    background: #c8e6c9;
  }
}

/* ===============================
   GP PHOTO – WHITE BACKGROUND
   =============================== */
.gp-photo-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  max-width: 100%;
  margin: auto;
}

.gp-photo-wrapper img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

/* ===============================
   H2 HEADINGS – SMALL & CLEAN
   =============================== */
h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 18px;
}

h2.welcome-title {
  font-size: 18px;
  font-weight: 500;
  color: #33691e;
  margin-top: 10px;
}

/* ===============================
   ADARSH GAON MAHITI – CENTER BOX
   =============================== */
#adarsh {
  padding: 40px 20px;
}

.adarsh-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.adarsh-item {
  background: #ffffff;
  padding: 18px;
  width: 220px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.adarsh-item .label {
  font-weight: 700;
  font-size: 15px;
}

.adarsh-item .value {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  color: #1b5e20;
}

/* ===============================
   COMMITTEE MEMBERS
   =============================== */
.members {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.member-card {
  text-align: center;
}

.member-card img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* 🔹 MOBILE – VERTICAL COMMITTEE */
@media (max-width: 768px) {
  .members {
    flex-direction: column;
    align-items: center;
  }
}

/* ===============================
   GALLERY – 1.5 SEC SLIDE
   =============================== */
.slider {
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  animation: slide 6s infinite;
}

.slides img {
  width: 100%;
}

@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/* ===============================
   MOBILE MENU STRUCTURE
   =============================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    background: #e8f5e9;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 15px;
  }
}