/*
Theme Name: GramPanchayat Pro
Theme URI: https://gp-co.in
Author: RAHUL NATHE
Author URI: https://gp-co.in
Description: A fully dynamic WordPress theme for Gram Panchayat (Village Council) websites. Easily customizable for any Gram Panchayat - update all content, photos, schemes, members, and settings from the WordPress admin panel. Built for Maharashtra government village websites with Marathi language support.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grampanchayat
Tags: government, village, panchayat, marathi, multilingual, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --gp-primary: #1a237e;
  --gp-primary-dark: #0d1757;
  --gp-primary-light: #3949ab;
  --gp-secondary: #ff6f00;
  --gp-secondary-light: #ffa040;
  --gp-accent: #00897b;
  --gp-accent-light: #4db6ac;
  --gp-saffron: #ff9800;
  --gp-green: #388e3c;
  --gp-white: #ffffff;
  --gp-light: #f5f7ff;
  --gp-light-gray: #eceff1;
  --gp-gray: #90a4ae;
  --gp-dark: #1c1c2e;
  --gp-text: #2d3748;
  --gp-text-muted: #718096;
  --gp-border: rgba(26, 35, 126, 0.12);
  --gp-shadow-sm: 0 2px 8px rgba(26, 35, 126, 0.08);
  --gp-shadow-md: 0 4px 20px rgba(26, 35, 126, 0.12);
  --gp-shadow-lg: 0 8px 40px rgba(26, 35, 126, 0.16);
  --gp-radius: 12px;
  --gp-radius-sm: 8px;
  --gp-radius-lg: 20px;
  --gp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gp-font-heading: 'Noto Sans Devanagari', 'Mukta', sans-serif;
  --gp-font-body: 'Noto Sans', 'Mukta', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--gp-font-body);
  color: var(--gp-text);
  background: var(--gp-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--gp-primary);
  transition: var(--gp-transition);
}

a:hover {
  color: var(--gp-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gp-font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gp-primary);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gp-primary);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gp-secondary), var(--gp-saffron));
  border-radius: 2px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--gp-text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 70px 0;
}

.section-pad-sm {
  padding: 45px 0;
}

.bg-light-blue {
  background: var(--gp-light);
}

.bg-primary {
  background: var(--gp-primary);
}

.btn-gp-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gp-secondary), var(--gp-saffron));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--gp-transition);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.35);
}

.btn-gp-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 111, 0, 0.5);
  color: #fff;
}

.btn-gp-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gp-primary);
  border: 2px solid var(--gp-primary);
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--gp-transition);
}

.btn-gp-outline:hover {
  background: var(--gp-primary);
  color: #fff;
}

/* ============================================
   TOP BAR
   ============================================ */
.gp-topbar {
  background: linear-gradient(135deg, var(--gp-primary-dark), var(--gp-primary));
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 0;
  font-size: 0.82rem;
  border-bottom: 2px solid var(--gp-secondary);
}

.gp-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.gp-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gp-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gp-topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.gp-topbar a:hover {
  color: var(--gp-saffron);
}

.gp-topbar-badge {
  background: var(--gp-saffron);
  color: var(--gp-primary-dark);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.gp-topbar-ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 500px;
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

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

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

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

.ticker-item {
  color: var(--gp-saffron);
  font-weight: 600;
}

.ticker-label {
  background: var(--gp-secondary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
  margin-right: 10px;
  letter-spacing: 0.5px;
}

/* ============================================
   HEADER / LOGO BAR
   ============================================ */
.gp-header {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gp-saffron), var(--gp-white), var(--gp-green)) 1;
  padding: 16px 0;
  position: relative;
}

.gp-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%);
}

.gp-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gp-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.gp-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--gp-primary);
  padding: 3px;
  background: #fff;
  box-shadow: var(--gp-shadow-md);
}

.gp-logo-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: var(--gp-shadow-md);
}

.gp-site-title {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--gp-primary);
  line-height: 1.2;
}

.gp-site-tagline {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
  margin-top: 2px;
}

.gp-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gp-header-stat {
  text-align: center;
  padding: 8px 14px;
  background: var(--gp-light);
  border-radius: var(--gp-radius-sm);
  border: 1px solid var(--gp-border);
}

.gp-header-stat .stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gp-secondary);
  display: block;
}

.gp-header-stat .stat-label {
  font-size: 0.72rem;
  color: var(--gp-text-muted);
}

.gp-national-emblem {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

/* ============================================
   NAVIGATION
   ============================================ */
.gp-navbar {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3);
}

.gp-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gp-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.gp-nav-item {
  position: relative;
}

.gp-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  padding: 16px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--gp-transition);
}

.gp-nav-link:hover,
.gp-nav-link.active {
  color: var(--gp-saffron);
  border-bottom-color: var(--gp-saffron);
  background: rgba(255, 255, 255, 0.08);
}

.gp-nav-link i {
  font-size: 0.82rem;
}

.gp-dropdown {
  position: relative;
}

.gp-dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7rem;
}

.gp-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--gp-white);
  min-width: 220px;
  border-radius: 0 0 var(--gp-radius) var(--gp-radius);
  box-shadow: var(--gp-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--gp-transition);
  z-index: 100;
  border-top: 3px solid var(--gp-secondary);
}

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

.gp-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: var(--gp-text);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gp-border);
  transition: var(--gp-transition);
}

.gp-dropdown-menu a:hover {
  background: var(--gp-light);
  color: var(--gp-primary);
  padding-left: 24px;
}

.gp-nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 12px;
}

@media (max-width: 992px) {
  .gp-nav-hamburger {
    display: block;
  }

  .gp-nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gp-primary-dark);
    padding: 10px 0;
    box-shadow: var(--gp-shadow-lg);
  }

  .gp-nav-list.open {
    display: flex;
  }

  .gp-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: none;
  }

  .gp-dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* ============================================
   HERO / SLIDER
   ============================================ */
.gp-hero {
  position: relative;
  overflow: hidden;
  height: 78vh;
  min-height: 420px;
  background: var(--gp-primary-dark);
}

.gp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.gp-slide.active {
  opacity: 1;
}

.gp-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(26, 35, 126, 0.6) 100%);
}

.gp-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 40px 50px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.gp-caption-tag {
  display: inline-block;
  background: var(--gp-saffron);
  color: var(--gp-primary-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.gp-caption-title {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
  line-height: 1.2;
}

.gp-caption-sub {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
}

.gp-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--gp-transition);
}

.gp-slide-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gp-slide-prev {
  left: 20px;
}

.gp-slide-next {
  right: 20px;
}

.gp-slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--gp-transition);
}

.gp-dot.active {
  background: var(--gp-saffron);
  transform: scale(1.3);
}

.gp-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--gp-saffron);
  transition: width 0.1s linear;
  z-index: 10;
}

/* ============================================
   QUICK LINKS BAR
   ============================================ */
.gp-quicklinks {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  padding: 0;
  overflow-x: auto;
}

.gp-quicklinks-inner {
  display: flex;
  min-width: max-content;
}

.gp-quicklink {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--gp-transition);
  white-space: nowrap;
}

.gp-quicklink:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gp-saffron);
}

.gp-quicklink i {
  font-size: 1rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.gp-stats {
  background: var(--gp-light);
}

.gp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.gp-stat-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
  transition: var(--gp-transition);
  position: relative;
  overflow: hidden;
}

.gp-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gp-primary), var(--gp-secondary));
}

.gp-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gp-shadow-md);
}

.gp-stat-icon {
  font-size: 2.2rem;
  color: var(--gp-primary);
  margin-bottom: 12px;
}

.gp-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gp-secondary);
  display: block;
  line-height: 1;
}

.gp-stat-label {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ============================================
   ALERT / NOTICE SECTION
   ============================================ */
.gp-alerts {
  background: var(--gp-white);
}

.gp-alerts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .gp-alerts-grid {
    grid-template-columns: 1fr;
  }
}

.gp-alert-panel {
  border-radius: var(--gp-radius);
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
}

.gp-alert-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.gp-alert-panel-header.primary {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
}

.gp-alert-panel-header.warning {
  background: linear-gradient(135deg, #e65100, var(--gp-secondary));
}

.gp-alert-panel-header .badge-live {
  margin-left: auto;
  background: #f44336;
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.gp-alert-list {
  padding: 8px 0;
  max-height: 220px;
  overflow-y: auto;
}

.gp-alert-list::-webkit-scrollbar {
  width: 4px;
}

.gp-alert-list::-webkit-scrollbar-thumb {
  background: var(--gp-primary-light);
  border-radius: 2px;
}

.gp-alert-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gp-border);
  transition: var(--gp-transition);
}

.gp-alert-item:hover {
  background: var(--gp-light);
}

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

.gp-alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gp-secondary);
  margin-top: 7px;
  flex-shrink: 0;
}

.gp-alert-dot.new {
  background: #f44336;
  animation: pulse 1.5s infinite;
}

.gp-alert-text {
  font-size: 0.86rem;
  color: var(--gp-text);
  font-weight: 500;
}

.gp-alert-date {
  font-size: 0.74rem;
  color: var(--gp-text-muted);
  margin-top: 2px;
}

.gp-alert-tag {
  display: inline-block;
  background: var(--gp-light);
  color: var(--gp-primary);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ============================================
   FACILITIES / SERVICES
   ============================================ */
.gp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

.gp-service-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
  transition: var(--gp-transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--gp-text);
}

.gp-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gp-shadow-md);
  color: var(--gp-primary);
  border-color: var(--gp-primary);
}

.gp-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gp-light), #dce3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  color: var(--gp-primary);
  transition: var(--gp-transition);
}

.gp-service-card:hover .gp-service-icon {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  color: #fff;
}

.gp-service-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gp-text);
}

/* ============================================
   GOVERNMENT SCHEMES
   ============================================ */
.gp-schemes-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.gp-scheme-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--gp-border);
  background: var(--gp-white);
  color: var(--gp-text-muted);
  transition: var(--gp-transition);
}

.gp-scheme-tab.active {
  background: var(--gp-primary);
  color: #fff;
  border-color: var(--gp-primary);
}

.gp-schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gp-scheme-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
  transition: var(--gp-transition);
}

.gp-scheme-card:hover {
  box-shadow: var(--gp-shadow-md);
  transform: translateY(-3px);
}

.gp-scheme-top {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gp-scheme-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--gp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.gp-scheme-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gp-primary);
}

.gp-scheme-desc {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
  margin-top: 2px;
}

.gp-scheme-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gp-light);
}

.gp-scheme-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ============================================
   MEMBERS SECTION
   ============================================ */
.gp-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.gp-member-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
  text-align: center;
  transition: var(--gp-transition);
}

.gp-member-card:hover {
  box-shadow: var(--gp-shadow-md);
  transform: translateY(-4px);
}

.gp-member-img-wrap {
  position: relative;
  padding: 24px 24px 0;
  background: linear-gradient(135deg, var(--gp-light), #dce3ff);
}

.gp-member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 4px solid var(--gp-white);
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.gp-member-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2.5rem;
  color: #fff;
  border: 4px solid var(--gp-white);
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.gp-member-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gp-secondary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.gp-member-info {
  padding: 16px;
}

.gp-member-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gp-primary);
}

.gp-member-designation {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
  margin-top: 2px;
}

.gp-member-ward {
  font-size: 0.78rem;
  color: var(--gp-secondary);
  margin-top: 4px;
  font-weight: 600;
}

.gp-member-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--gp-text-muted);
}

/* ============================================
   VILLAGE INFO PAGE
   ============================================ */
.gp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .gp-info-grid {
    grid-template-columns: 1fr;
  }
}

.gp-info-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
}

.gp-info-card-header {
  padding: 16px 22px;
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.gp-info-table {
  width: 100%;
}

.gp-info-table tr {
  border-bottom: 1px solid var(--gp-border);
}

.gp-info-table tr:last-child {
  border-bottom: none;
}

.gp-info-table td {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.gp-info-table td:first-child {
  font-weight: 600;
  color: var(--gp-primary);
  width: 45%;
  background: var(--gp-light);
}

/* ============================================
   IMPORTANT NUMBERS
   ============================================ */
.gp-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gp-number-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--gp-shadow-sm);
  border: 1px solid var(--gp-border);
  transition: var(--gp-transition);
}

.gp-number-card:hover {
  box-shadow: var(--gp-shadow-md);
  transform: translateX(4px);
}

.gp-number-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.gp-number-label {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
}

.gp-number-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gp-primary);
}

.gp-number-value a {
  color: var(--gp-primary);
}

.gp-number-value a:hover {
  color: var(--gp-secondary);
}

/* ============================================
   TAX COLLECTION
   ============================================ */
.gp-tax-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  overflow: hidden;
  box-shadow: var(--gp-shadow-sm);
}

.gp-tax-table thead {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  color: #fff;
}

.gp-tax-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
}

.gp-tax-table td {
  padding: 12px 16px;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--gp-border);
}

.gp-tax-table tbody tr:hover {
  background: var(--gp-light);
}

.gp-tax-table tbody tr:last-child td {
  border-bottom: none;
}

.gp-tax-paid {
  color: #388e3c;
  font-weight: 700;
}

.gp-tax-pending {
  color: #f44336;
  font-weight: 700;
}

/* ============================================
   COMPLAINT FORM
   ============================================ */
.gp-form-card {
  background: var(--gp-white);
  border-radius: var(--gp-radius-lg);
  padding: 40px;
  box-shadow: var(--gp-shadow-md);
  border: 1px solid var(--gp-border);
  max-width: 700px;
  margin: 0 auto;
}

.gp-form-group {
  margin-bottom: 22px;
}

.gp-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gp-primary);
  margin-bottom: 8px;
}

.gp-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gp-border);
  border-radius: var(--gp-radius-sm);
  font-size: 0.92rem;
  color: var(--gp-text);
  font-family: var(--gp-font-body);
  transition: var(--gp-transition);
  background: var(--gp-light);
}

.gp-form-control:focus {
  border-color: var(--gp-primary);
  background: var(--gp-white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.gp-form-control::placeholder {
  color: var(--gp-gray);
}

textarea.gp-form-control {
  resize: vertical;
  min-height: 120px;
}

select.gp-form-control {
  cursor: pointer;
}

/* ============================================
   GALLERY
   ============================================ */
.gp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.gp-gallery-item {
  border-radius: var(--gp-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.gp-gallery-item:hover img {
  transform: scale(1.08);
}

.gp-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(26, 35, 126, 0.7));
  opacity: 0;
  transition: var(--gp-transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gp-gallery-item:hover .gp-gallery-overlay {
  opacity: 1;
}

.gp-gallery-caption {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   WEATHER WIDGET
   ============================================ */
.gp-weather-widget {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  border-radius: var(--gp-radius);
  padding: 22px;
  color: #fff;
  box-shadow: var(--gp-shadow-md);
}

.gp-weather-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gp-weather-temp {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.gp-weather-icon {
  font-size: 2.5rem;
}

.gp-weather-desc {
  font-size: 0.9rem;
  opacity: 0.85;
}

.gp-weather-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.gp-weather-stat {
  text-align: center;
}

.gp-weather-stat-val {
  font-size: 1rem;
  font-weight: 700;
}

.gp-weather-stat-label {
  font-size: 0.72rem;
  opacity: 0.75;
}

/* ============================================
   FOOTER
   ============================================ */
.gp-footer {
  background: linear-gradient(135deg, var(--gp-primary-dark), #0a0f3d);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 0 0;
}

.gp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .gp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .gp-footer-grid {
    grid-template-columns: 1fr;
  }
}

.gp-footer-brand .gp-footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 14px;
}

.gp-footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gp-saffron);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gp-footer-about {
  font-size: 0.85rem;
  line-height: 1.8;
}

.gp-footer-links {
  list-style: none;
}

.gp-footer-links li {
  margin-bottom: 8px;
}

.gp-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: var(--gp-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gp-footer-links a:hover {
  color: var(--gp-saffron);
  padding-left: 4px;
}

.gp-footer-links a::before {
  content: '▸';
  font-size: 0.7rem;
  color: var(--gp-saffron);
}

.gp-footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.gp-footer-contact-item i {
  color: var(--gp-saffron);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.gp-footer-bottom {
  margin-top: 40px;
  padding: 16px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.gp-footer-bottom a {
  color: var(--gp-saffron);
}

/* ============================================
   POPUP ANNOUNCEMENT
   ============================================ */
.gp-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.gp-popup-overlay.open {
  display: flex;
}

.gp-popup-box {
  background: var(--gp-white);
  border-radius: var(--gp-radius-lg);
  max-width: 520px;
  width: 92%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: popupIn 0.3s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gp-popup-header {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gp-popup-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.gp-popup-body {
  padding: 20px 24px;
}

.gp-popup-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.8;
}

.gp-popup-close:hover {
  opacity: 1;
}

/* ============================================
   PAGE HERO
   ============================================ */
.gp-page-hero {
  background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-light));
  color: #fff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.gp-page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.gp-page-hero::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.gp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.gp-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.gp-breadcrumb a:hover {
  color: var(--gp-saffron);
}

.gp-breadcrumb-sep {
  opacity: 0.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .gp-hero {
    height: 55vh;
  }

  .gp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gp-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gp-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gp-slide-caption {
    padding: 20px 20px 40px;
  }
}

@media (max-width: 480px) {
  .gp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gp-members-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-pad {
    padding: 45px 0;
  }
}

/* ============================================
   SCHEME CATEGORY COLORS
   ============================================ */
.color-pm {
  background: linear-gradient(135deg, #d32f2f, #ef5350);
}

.color-state {
  background: linear-gradient(135deg, #1565c0, #1976d2);
}

.color-water {
  background: linear-gradient(135deg, #0277bd, #29b6f6);
}

.color-health {
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
}

.color-women {
  background: linear-gradient(135deg, #7b1fa2, #ab47bc);
}

.color-agri {
  background: linear-gradient(135deg, #ef6c00, #ffa726);
}

.badge-central {
  background: #fff3e0;
  color: #e65100;
}

.badge-state {
  background: #e3f2fd;
  color: #1565c0;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--gp-secondary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body .goog-te-gadget-simple{
  display: flex;
}

body .goog-te-gadget-simple > span > a{
  display: flex;
} 