* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

body {
  background-color: #fffdf7;
  color: #333;
}

/* ---------- TOP INFO BAR ---------- */
.top-bar {
  background: #004d00;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  flex-wrap: wrap;
}

.top-bar div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar i {
  color: #ffcc00;
}

.social-icons a {
  color: #fff;
  margin-left: 10px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}

/* ---------- HEADER ---------- */
/* ---------- HEADER ---------- */
header {
  background: linear-gradient(90deg, #ff9933, #138808);
  color: white;
  text-align: center;
  padding: 45px 20px 35px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* LEFT + RIGHT LOGOS */
.header-logo-left,
.header-logo-right {
  position: absolute;
  top: 20px;
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: transparent;
  border-radius: 50%;
  box-shadow: none;

  /* Make sure PNG shows original real colors */
  mix-blend-mode: normal;
  isolation: isolate;
}

.header-logo-left {
  left: 20px;
}

.header-logo-right {
  right: 20px;
}

.logo-text {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.subtext {
  font-size: 1.2rem;
  margin-top: 8px;
}

.subtitle-en {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* ---------- NAVIGATION ---------- */
nav {
  background: #024702;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 8px 18px;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
}

nav a:hover {
  background: #ff9933;
  color: #fff;
  transform: translateY(-2px);
}
/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1623211270083-5743da6c67ec?auto=format&fit=crop&q=80&w=870')
    center center / cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* ---------- SECTION HEADINGS ---------- */
section {
  padding: 60px 20px;
  text-align: center;
}

section h3 {
  color: #006400;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

section h3::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #ff9933;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

/* ---------- ABOUT SECTION ---------- */
#about {
  background: linear-gradient(135deg, #fff4e0, #fffbe8);
}

.about {
  background: linear-gradient(135deg, #ffe9b5, #fff8e6);
  border-radius: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  border: 3px solid rgba(255, 153, 51, 0.3);
}

/* ---------- SERVICES SECTION ---------- */
#services {
  background: linear-gradient(135deg, #f2fff5, #e8ffec);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: linear-gradient(145deg, #ffffff, #eaffea);
  border-radius: 16px;
  width: 260px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid #c3f3c0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  background: linear-gradient(145deg, #eaffea, #ffffff);
}

.card i {
  font-size: 2.4rem;
  color: #ff9933;
  margin-bottom: 15px;
}

.card h4 {
  color: #138808;
  margin-bottom: 10px;
  font-weight: 700;
}

/* ---------- GALLERY SECTION ---------- */
#gallery {
  background: linear-gradient(135deg, #e6f7ff, #f0fbff);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: zoom-in;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border-radius: 0px;
}

/* projects section */

#projects {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.project-card h4 {
  margin-bottom: 10px;
  color: #2e7d32;
}

.project-card p {
  font-size: 15px;
  line-height: 1.7;
}

/* yojanas section */

#yojana {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.yojana-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.yojana-card {
  background: #f9f9f9;
  padding: 22px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.yojana-card:hover {
  transform: translateY(-5px);
}

.yojana-card h4 {
  margin-bottom: 10px;
  color: #1b5e20;
}

.yojana-card p {
  font-size: 15px;
  line-height: 1.7;
}

/* members */


.members-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  text-align: center;
}

.members-section h3 {
  font-size: 28px;
  color: #1b5e20;
}

.members-subtitle {
  color: #555;
  margin-top: 8px;
  font-size: 15px;
}

.members-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.member-card {
  position: relative;
  padding: 30px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

.member-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf50, #81c784);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: white;
}

.member-card h4 {
  font-size: 16px;
  margin-top: 10px;
  color: #2e7d32;
}

/* Role Badges */
.role-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.sarpanch {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.member {
  background: linear-gradient(135deg, #388e3c, #66bb6a);
}

.staff-badge {
  background: linear-gradient(135deg, #546e7a, #78909c);
}

.officer {
  background: linear-gradient(135deg, #1e88e5, #64b5f6);
}

/* Highlight Sarpanch */
.member-card.premium {
  border: 2px solid #ff9800;
}



/* Highlight Sarpanch */
.member-card.head {
  border: 2px solid #2e7d32;
  background-color: #e8f5e9;
}



/* ---------- CONTACT SECTION ---------- */
#contact {
  background: linear-gradient(135deg, #fff5f0, #fff8f2);
  border-top: 2px solid #ff9933;
}

#contact p {
  font-size: 1.1rem;
  margin: 10px 0;
}

/* ---------- FOOTER ---------- */
footer {
  background: linear-gradient(90deg, #138808, #ff9933);
  color: white;
  text-align: center;
  padding: 25px;
}

footer p {
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
  }
  .gallery img {
    width: 90%;
  }
  .logo-text {
    font-size: 2rem;
  }
  .subtext {
    font-size: 1rem;
  }
}

/* FULL SCREEN IMAGE PREVIEW */
/* FULL SCREEN IMAGE PREVIEW */
.image-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-preview-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery img {
  cursor: zoom-in;
}


/* ================= MOBILE HEADER FIX ================= */
@media (max-width: 768px) {
  header {
    padding: 30px 15px 25px;
  }

  .logo-text {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .subtext {
    font-size: 1rem;
  }

  .subtitle-en {
    font-size: 0.85rem;
  }

  /* Logos move to top and shrink */
  .header-logo-left,
  .header-logo-right {
    width: 70px;
    height: 70px;
    top: 10px;
  }

  .header-logo-left {
    left: 10px;
  }

  .header-logo-right {
    right: 10px;
  }
}

/* ================= MOBILE NAVIGATION ================= */
/* ================= MOBILE NAV : 3 ITEMS PER ROW ================= */
@media (max-width: 768px) {
  nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px;
  }

  nav a {
    margin: 0;
    padding: 12px 6px;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 8px;
  }
}


/* ================= HERO MOBILE OPTIMIZATION ================= */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    padding: 30px 15px;
    background-position: center top;
  }

  .hero h2 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
    line-height: 1.6;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero {
    height: 65vh;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}

