/* ===========================
   Modern Election Website
   Saffron + White + Blue Theme
   =========================== */

/* Import Google Fonts for Marathi */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Theme Colors */
:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #F48FB1;
  --white: #FFFFFF;
  --cream: #FFF5F8;
  --secondary: #9C27B0;
  --secondary-dark: #7B1FA2;
  --accent: #FF4081;
  --text-dark: #222222;
  --text-light: #555555;
  --border-color: #E0E0E0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Mukta', 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Sticky Header with Animation
   =========================== */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 4px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===========================
   Election Countdown Banner
   =========================== */
.election-banner {
  background: linear-gradient(135deg, #FF6B6B 0%, #C92A2A 100%);
  color: var(--white);
  padding: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 70px;
  z-index: 998;
  animation: slideDown 0.5s ease-out;
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.banner-icon {
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.banner-message strong {
  font-weight: 700;
  font-size: 1.3rem;
}

.countdown {
  display: flex;
  gap: 1.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  min-width: 70px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: 0.85rem;
  margin-top: 0.3rem;
  opacity: 0.9;
}

.banner-cta {
  background: var(--white);
  color: #C92A2A;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Mobile Menu Toggle
   =========================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    flex-direction: column;
    padding: 2rem 0;
    gap: 0;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  
  .election-banner {
    position: relative;
    top: auto;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
  }
  
  .nav a::after {
    display: none;
  }
  
  .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
  }
}

/* News Section */
.news-section {
  background: linear-gradient(135deg, #FFF9C4 0%, var(--white) 100%);
  border-top: 4px solid #FBC02D;
}

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

.news-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #F57C00;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.news-content {
  /* padding removed since news-item has padding */
}

.news-date {
  background: #FFF3E0;
  color: #E65100;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.news-item h4 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.news-item p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: #F57C00;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #E65100;
  transform: translateX(5px);
  display: inline-block;
}

/* Poll Section */
.poll-section {
  background: linear-gradient(135deg, #E1F5FE 0%, var(--white) 100%);
  border-top: 4px solid #0288D1;
}

.poll-container {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.poll-container h4 {
  color: #01579B;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.poll-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.poll-option {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.poll-option:hover {
  border-color: #0288D1;
  background: #F0F9FF;
  transform: translateX(5px);
}

.poll-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.poll-option span {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.poll-submit {
  background: linear-gradient(135deg, #0288D1 0%, #01579B 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  align-self: flex-start;
}

.poll-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 136, 209, 0.4);
}

.feedback-container h4 {
  color: #01579B;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
}

.feedback-form label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #0288D1;
  box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.1);
}

.feedback-form button {
  background: linear-gradient(135deg, #0288D1 0%, #01579B 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.feedback-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 136, 209, 0.4);
}

/* Ward Info Section */
.ward-info-section {
  background: linear-gradient(135deg, #F3E5F5 0%, #E1F5FE 100%);
}

.ward-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.ward-voters-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.ward-voters-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.ward-voters-card .stat-icon {
  font-size: 4rem;
}

.ward-voters-card .stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #6A1B9A;
  line-height: 1;
}

.ward-voters-card .stat-label {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 500;
}

.polling-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
}

.polling-info-card h5 {
  color: #E65100;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ward-info-section {
  background: linear-gradient(135deg, #F3E5F5 0%, var(--white) 100%);
  border-top: 4px solid #8E24AA;
}

.ward-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.ward-map {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  height: fit-content;
}

.map-placeholder {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #EDE7F6 0%, #F3E5F5 100%);
}

.map-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.map-placeholder p {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.map-placeholder small {
  color: var(--text-light);
}

.ward-details h4 {
  color: #6A1B9A;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.ward-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow);
  min-height: 100%;
}

.stat-item {
  background: linear-gradient(135deg, #E1F5FE 0%, #F3E5F5 100%);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.stat-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #6A1B9A;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.ward-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ward-areas {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow);
}

.ward-areas h5 {
  color: #6A1B9A;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.ward-areas ul {
  list-style: none;
  padding: 0;
}

.ward-areas li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.ward-areas li:last-child {
  border-bottom: none;
}

.ward-areas li::before {
  content: '📍';
  position: absolute;
  left: 0;
}

.polling-info {
  background: linear-gradient(135deg, #FFF3E0 0%, var(--white) 100%);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #F57C00;
  box-shadow: 0 4px 12px var(--shadow);
}

.polling-info h5 {
  color: #E65100;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.polling-booths {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.booth-item {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 124, 0, 0.2);
  transition: all 0.3s ease;
}

.booth-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
}

.booth-item p {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.booth-address {
  color: var(--text);
  font-size: 0.9rem;
}

.polling-info p {
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.btn-secondary {
  display: inline-block;
  background: #F57C00;
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-secondary:hover {
  background: #E65100;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
}

@media (max-width: 968px) {
  .ward-content {
    grid-template-columns: 1fr;
  }
  
  .banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .countdown {
    gap: 0.8rem;
  }
  
  .countdown-item {
    min-width: 60px;
    padding: 0.6rem 0.8rem;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

.site-header.scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.brand .logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Text-based circular logo (first letter) */
.brand .logo-initial {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.brand:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--white);
  transition: width 0.3s ease;
}

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

.nav a:hover {
  transform: translateY(-2px);
}

/* ===========================
   Hero Section with Animations
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, #E6F2FF 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.tagline {
  font-size: 1.4rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

.slogans {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
}

.slogans p {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  font-size: 1.05rem;
  padding-left: 1.5rem;
  position: relative;
}

.slogans p::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cta:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.6);
  transform: translateY(-3px);
  animation: none;
}

.hero-photo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 30px var(--shadow-hover);
  border: 5px solid var(--white);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hero-photo img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ===========================
   Main Content Sections
   =========================== */
main {
  padding: 3rem 0;
}

.card {
  background: var(--white);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--shadow);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
  border-top: 4px solid var(--primary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.card h3 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 0.8rem;
  display: inline-block;
  position: relative;
}

.card h3::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50%;
  height: 3px;
  background: var(--primary);
}

.card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.card p.note {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: #FFF9E6;
  border-left: 4px solid #FFC107;
  border-radius: 8px;
  font-size: 1rem;
  color: #5D4037;
}

.card p.note strong {
  color: var(--primary-dark);
}

.card ul {
  margin-left: 2rem;
  margin-top: 1rem;
}

.card ul li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
  transition: all 0.3s ease;
}

.card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: bold;
}

.card ul li:hover {
  color: var(--text-dark);
  transform: translateX(5px);
}

/* ===========================
   Grid Layouts
   =========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ===========================
   Support Section (Imran Kazi)
   =========================== */
.support-section {
  background: linear-gradient(135deg, #F3E5F5 0%, var(--white) 100%);
  border-top: 4px solid var(--secondary);
}

.support-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.support-photo {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--shadow);
  transition: all 0.3s ease;
}

.support-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-hover);
}

.support-photo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 5px solid var(--secondary);
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.3);
}

.support-photo h4 {
  font-size: 1.5rem;
  color: var(--secondary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.support-photo .support-title {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.education-badge {
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  border-radius: 10px;
  border-left: 4px solid #4CAF50;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.education-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.education-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
  text-align: left;
}

.education-text strong {
  color: #2E7D32;
  display: block;
  margin-bottom: 0.2rem;
}

.support-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.support-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.support-text strong {
  color: var(--secondary-dark);
  font-weight: 700;
}

.support-highlights {
  list-style: none;
  margin: 1.5rem 0 0 0;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
}

.support-highlights li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.support-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: bold;
}

.support-highlights li:hover {
  color: var(--secondary-dark);
  transform: translateX(5px);
}

@media (max-width: 968px) {
  .support-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .support-photo {
    margin: 0 auto;
    max-width: 300px;
  }
}

/* ===========================
   Election Information Section
   =========================== */
.election-info-section {
  background: linear-gradient(135deg, #E3F2FD 0%, var(--white) 100%);
  border-top: 4px solid #2196F3;
}

.election-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.election-detail {
  background: var(--white);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.election-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
  border-color: #2196F3;
}

.election-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.election-detail h4 {
  color: #1976D2;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.election-detail p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

.election-detail .small-text {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.symbol-box {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  border: 4px solid #FF9800;
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
  transform: scale(1.05);
}

.symbol-display {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.election-symbol {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  border: 4px solid #FF9800;
  border-radius: 12px;
  padding: 15px;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
  transition: transform 0.3s ease;
}

.election-symbol:hover {
  transform: scale(1.1);
}

.vote-instruction {
  background: #FFF3E0;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  color: #E65100;
  margin-top: 0.8rem;
  border-left: 4px solid #FF9800;
  font-size: 0.9rem;
}

.leaders-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.leaders-section h4 {
  color: #1976D2;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.leader-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.leader-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid #2196F3;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.leader-card h5 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

@media (max-width: 768px) {
  .election-grid {
    grid-template-columns: 1fr;
  }
  
  .leaders-grid {
    grid-template-columns: 1fr;
  }
  
  .ward-stats {
    grid-template-columns: 1fr;
  }
  
  .ward-sections-grid {
    grid-template-columns: 1fr;
  }
  
  .ward-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Grid Layouts (Projects)
   =========================== */

.project {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid var(--primary);
  box-shadow: 0 4px 12px var(--shadow);
  transition: all 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
  border-left-color: var(--secondary);
}

.project h4 {
  color: var(--secondary);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

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

/* ===========================
   Gallery with Hover Effects
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px var(--shadow);
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 12px 30px var(--shadow-hover);
  z-index: 10;
}

/* ===========================
   Contact Form with Styling
   =========================== */
.contact-card {
  background: linear-gradient(135deg, var(--white) 0%, #F0F8FF 100%);
}

.contact-form {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
}

.google-form-container {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  min-height: 1200px;
}

.google-form-container iframe {
  display: block;
  border: none;
  width: 100%;
  min-height: 1200px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.5rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

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

.contact-form button {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.3);
}

.contact-form button:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(156, 39, 176, 0.5);
}

.contact-form button:active {
  transform: translateY(-1px);
}

/* ===========================
   Social Media Links
   =========================== */
.social {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--secondary-dark);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.social a svg {
  width: 20px;
  height: 20px;
}

.social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #000000 100%);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 0;
  margin-top: 4rem;
  box-shadow: 0 -4px 20px var(--shadow);
}

.site-footer p {
  margin-bottom: 0.5rem;
}

.site-footer .small {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    max-width: 300px;
  }

  .card {
    padding: 1.8rem;
  }

  .card h3 {
    font-size: 1.6rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1.3rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .cta {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .social {
    justify-content: center;
  }
}

/* ===========================
   News Modal
   =========================== */
.news-modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease-out;
}

.news-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.news-modal-content {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.news-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
}

.news-modal-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.news-modal-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.news-modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.news-modal-date {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-modal-header h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.news-modal-body {
  color: var(--text-dark);
  line-height: 1.8;
}

.news-modal-body p {
  margin-bottom: 1rem;
}

.news-modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.news-modal-body li {
  margin-bottom: 0.5rem;
}

.news-modal-share {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
  text-align: center;
}

.news-modal-share h4 {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.news-share-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.news-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-share-whatsapp {
  background: #25D366;
}

.news-share-facebook {
  background: #1877F2;
}

.news-share-twitter {
  background: #1DA1F2;
}

@media (max-width: 768px) {
  .news-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .news-modal-header h3 {
    font-size: 1.2rem;
  }
  
  .news-modal-close {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* ===========================
   Utility Classes
   =========================== */
.fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-in {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}