
:root {
--saffron: #FF6F00;            /* Rich deep saffron */
--saffron-light: #FFA040;      /* Lighter shade for hover or accent */
--saffron-dark: #E65100;       /* Deeper, bolder saffron */

--green: #006400;              /* India green - deep and earthy */
--green-light: #2E8B57;        /* Fresher green for accents */
--green-dark: #004d00;         /* Very deep green for contrast */

--navy: #0F52BA;               /* Ashoka Chakra blue */
--navy-light: #4682B4;         /* Lighter Ashoka-inspired blue */

--cream: #FDF6E3;              /* Warm neutral background */
--cream-dark: #F5E6C8;         /* Slightly deeper cream for depth */

--gray-dark: #2E2E2E;          /* Softer dark gray for text */
--gray-medium: #555555;        /* Neutral UI elements */
--gray-light: #B0B0B0;         /* Subtle border or disabled elements */

--transition: all 0.3s ease-in-out;
--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
--shadow-md: 0 6px 12px rgba(0, 0, 0, 0.10);
--shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--gray-dark);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

/* Floating Indian flag watermark */
body::before {
  content: "";
  position: fixed;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 50px;
  background: url('/assets/img/india.svg') no-repeat center;
  background-size: contain;
  opacity: 0.1;
  z-index: 1;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

h2:hover {
  color: var(--saffron);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.container {
  
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  transition: var(--transition);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn:hover:before {
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--saffron);
  color: var(--saffron);
  box-shadow: none;
}

.btn-outline:hover {
  color: white;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e67c1a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: -1;
}

/* ---------------- Responsive Header & Navigation ---------------- */

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  gap: 10px;
}

.lang-switcher button {
  background: transparent;
  border: 2px solid var(--saffron);
  color: var(--saffron);
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
}

.lang-switcher button.active,
.lang-switcher button:hover {
  background: var(--saffron);
  color: white;
  box-shadow: var(--shadow-sm);
}

.lang-en { display: inline; }
.lang-hi { display: none; }

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  backdrop-filter: blur(5px);
  padding: 10px 0;
}

header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
}

.header-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 50px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--saffron), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  white-space: nowrap;
  transition: font-size 0.3s ease, letter-spacing 0.3s ease;
}

.logo-highlight {
  color: var(--saffron);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
}

.nav-links li {
  margin: 0 5px;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 18px;
  border-radius: 30px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: white;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  transform: scale(1.05);
}

.nav-links a:focus {
  outline: 2px dashed var(--saffron);
  outline-offset: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.mobile-menu-btn:hover {
  transform: scale(1.1);
}

/* ---------------- Responsive Breakpoints ---------------- */

@media (max-width: 1200px) {
  .logo-text {
    font-size: 1.5rem;
    letter-spacing: 0.8px;
  }
  .nav-links {
    gap: 15px;
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: 10px 16px;
  }
}

/* Mobile off-canvas & submenu (<=992px) */
@media (max-width: 992px) {
  /* Off-canvas container */
  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    width: 60%;
    height: 100vh;
    background: #f8f8f8;
    flex-direction: column;
    padding-top: 70px;                 /* space for header */
    /* gap: 0; */
    border-right: 1px solid var(--cream-dark);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateX(0);
  }

  /* Always show hamburger */
  .mobile-menu-btn {
    display: block;
  }

  /* Links styling */
  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 1.1rem;
  }

  /* Submenu inline flow */
  .has-submenu .submenu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
  }
  .has-submenu.expanded .submenu {
    display: flex;
  }
}


@media (max-width: 768px) {
  header {
    padding: 8px 0;
  }
  .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .nav-links a {
    font-size: 0.95rem;
    padding: 10px 14px;
  }
  .lang-switcher {
    flex-direction: column;
    gap: 6px;
    top: 65px;
    right: 12px;
  }
}

@media (max-width: 576px) {
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .logo-text {
    font-size: 1.2rem;
  }
  .nav-links a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
  .lang-switcher {
    top: 60px;
    right: 10px;
  }
}

/* ---------------- Other Sections (unchanged) ---------------- */

/* Hero Carousel Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Slide backgrounds - you can replace these with your actual images */
.slide-1 { background-image: url('/assets/img/1.png'); }
.slide-2 { background-image: url('/assets/img/2.png'); }
.slide-3 { background-image: url('/assets/img/3.png'); }
.slide-4 { background-image: url('/assets/img/4.png'); }
.slide-5 { background-image: url('/assets/img/5.png'); }
.slide-6 { background-image: url('/assets/img/6.png'); }
.slide-7 { background-image: url('/assets/img/poster1.jpg'); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  transform: translateY(20px);
  transition: transform 0.8s ease, opacity 0.8s ease;
  opacity: 0;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero h1 {
  font-size: 4.2rem;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-quote {
  font-size: 1.3rem;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--saffron);
  padding-left: 20px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.hero-btns .btn {
  letter-spacing: 2px;
}

.hero-social {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  z-index: 2;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-social a:hover {
  background: var(--saffron);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.3rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  transform: translateY(-50%);
}

.carousel-control {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  backdrop-filter: blur(5px);
}

.carousel-control:hover {
  background: var(--saffron);
  transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background: var(--saffron);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .hero-quote {
    font-size: 1.1rem;
  }
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .carousel-indicators {
    bottom: 120px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  .carousel-control {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin: 0 10px;
  }
}

/* Rest of the styles remain the same */

/* About Section */
.about {
  background: white;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-img {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.about-img:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-text {
  flex: 1;
}

.timeline {
  margin-top: 40px;
}

.timeline-item {
  position: relative;
  padding: 25px 30px 25px 80px;
  margin-bottom: 30px;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--saffron);
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  position: absolute;
  left: -30px;
  top: 20px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}
/* Mobile styles for About Section */
@media (max-width: 768px) {
.about-content {
flex-direction: column;
gap: 30px;
}
.about-img,
.about-text {
padding-left: 5px;
width: 100%;
transform: none;               /* remove the 3D tilt on small */
box-shadow: var(--shadow-md);  /* slightly softer shadow */
}
.about-img:hover {
transform: none;               /* disable hover tilt */
}
.timeline-item {
padding: 20px 20px 20px 60px;
}
.timeline-year {
left: 10px;
top: 10px;
width: 50px;
height: 50px;
font-size: 1.1rem;
}
}

/* Even smaller phones */
@media (max-width: 480px) {
.about-content {
gap: 20px;
}
.timeline-item {
padding: 15px 15px 15px 55px;
}
.timeline-year {
width: 45px;
height: 45px;
font-size: 1rem;
left: 5px;
top: 5px;
}
.about-text h3 {
font-size: 1.25rem;
}
.about-text p {
font-size: 0.9rem;
}
}


/* Mission Section */
.mission {
  background: linear-gradient(to bottom, rgba(249, 249, 249, 0.95), rgba(249, 249, 249, 0.95)), url('/assets/img/mission.jpg') center/cover fixed;
}

.vision-card {
  background: white;
  padding: 40px 35px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vision-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(to bottom, var(--saffron), var(--green));
  transition: var(--transition);
}

.vision-card:hover:before {
  height: 100%;
}

.vision-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.vision-icon {
  font-size: 60px;
  color: var(--saffron);
  margin-bottom: 25px;
  transition: var(--transition);
}

.vision-card:hover .vision-icon {
  color: var(--green);
  transform: scale(1.1);
}

.vision-title {
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

/* Political Philosophy Section */
.philosophy {
  background: linear-gradient(315deg, var(--navy), #88c8ffd1);
  color: white;
}

.philosophy .section-title {
  color: white;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.philosophy-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.philosophy-icon {
  font-size: 50px;
  color: var(--saffron);
  margin-bottom: 20px;
}

/* Achievements Section */
.achievements {
  background: linear-gradient(to bottom, var(--cream), white);
}

.achievement-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.achievement-img {
  height: 200px;
  overflow: hidden;
}

.achievement-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.achievement-card:hover .achievement-img img {
  transform: scale(1.1);
}

.achievement-content {
  padding: 25px;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 10px;
  line-height: 1;
}

/* Constituency Development Section */
.constituency-dev {
  background: white;
}

.dev-timeline {
  position: relative;
  padding-left: 100px;
  margin-top: 50px;
}

.dev-timeline:before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--saffron), var(--green));
}

.dev-milestone {
  position: relative;
  padding: 30px;
  margin-bottom: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dev-milestone:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.dev-milestone:before {
  content: '';
  position: absolute;
  left: -40px;
  top: 40px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid white;
}

.dev-year {
  position: absolute;
  left: -120px;
  top: 35px;
  font-weight: 700;
  color: var(--navy);
  background: white;
  padding: 5px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

/* Political Positions Section */
.positions {
  background: var(--cream);
}

.position-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  transition: var(--transition);
  border-left: 5px solid var(--saffron);
}

.position-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.position-tag {
  display: inline-block;
  padding: 5px 15px;
  background: var(--green);
  color: white;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

/* Party Affiliation Section */
.party {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  
}

.party .section-title {
  color: white;
}

.party-logo-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.party-logo {
  width: 80%;
}

/* Legislative Work Section */
.legislative {
  background: white;
}

.bill-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: var(--transition);
  border-top: 4px solid var(--saffron);
}

.bill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.bill-status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.status-passed {
  background: var(--green);
  color: white;
}

.status-pending {
  background: var(--saffron);
  color: white;
}

/* Election History Section */
.elections {
  background: var(--cream);
}

.election-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: var(--transition);
}

.election-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.election-year {
  font-size: 1.5rem;
  color: var(--saffron);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.election-result {
  font-weight: 600;
  color: var(--green);
}

/* Public Engagement Section */
.engagement {
  background: white;
}

.engagement-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.engagement-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.engagement-img {
  height: 200px;
  overflow: hidden;
}

.engagement-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.engagement-card:hover .engagement-img img {
  transform: scale(1.1);
}

.engagement-content {
  padding: 25px;
}

.engagement-type {
  display: inline-block;
  padding: 4px 14px;
  background: var(--saffron);
  color: white;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

/* News Section */
.news {
  background: linear-gradient(315deg, var(--navy), #88c8ffd1);
  color: white;
}

.news .section-title {
  color: white;
}

.news .section-title:after {
  background: linear-gradient(90deg, var(--saffron), white);
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  transition: var(--transition);
  height: 100%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.news-date {
  color: var(--saffron);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
  letter-spacing: 0.5px;
}

/* Gallery Section */
.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transform: scale(1);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 20px 15px 10px;
  transform: translateY(100%);
  transition: var(--transition);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}



/* Public Grievance Portal */
.grievance {
  background: var(--cream);
}

.grievance .contact-form input,
.grievance .contact-form textarea,
.grievance .contact-form select {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
  border-radius: 10px;
  background: var(--cream);
  color: var(--gray-dark);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.grievance .contact-form input::placeholder,
.grievance .contact-form textarea::placeholder {
  color: var(--gray-medium);
  font-style: italic;
}

.grievance .contact-form input:focus,
.grievance .contact-form textarea:focus,
.grievance .contact-form select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.2);
  outline: none;
}

.grievance .contact-form textarea {
  height: 120px;
  resize: none;
}

/* Contact Section */
.contact {
  background: linear-gradient(to bottom, var(--cream), var(--cream-dark));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
  border-radius: 10px;
  background: var(--cream);
  color: var(--gray-dark);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-medium);
  font-style: italic;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.2);
  outline: none;
}

.contact-form textarea {
  height: 180px;
  resize: none;
}

/* ---------------- Volunteer Sticky & Form (updated) ---------------- */

/* Container positioning */
#volunteer-sticky {
  position: fixed !important;
  right: 1rem !important;
  bottom: 1rem !important;
  z-index: 9999 !important;
  pointer-events: none !important; /* Prevent interaction when form is hidden */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

/* Toggler button */
#volunteer-toggler {
  background-color: var(--green) !important;
  position: fixed !important;
  right: 1rem !important;
  bottom: 1rem !important;
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  border: none !important;
  text-align: center !important;
  line-height: 55px !important;
  z-index: 10000 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
  transition: background-color 0.3s ease !important;
  pointer-events: auto !important; /* Always clickable */
}
#volunteer-toggler:hover {
  background-color: var(--saffron) !important;
}
#volunteer-toggler i {
  color: white;
  font-size: 1.2rem;
}

/* Form bubble (hidden by default) */
#volunteer-form-container {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(3rem) scale(0.8) !important;
  display: block !important;
  width: 92vw !important;
  max-width: 360px !important;
  position: absolute !important;
  right: 15px !important;
  bottom: 7.5rem !important; /* sits above toggler */
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25) !important;
  transform-origin: bottom right !important;
  transition: opacity 400ms ease, transform 400ms ease !important;
  padding: 0.6rem  !important;
  font-family: "Segoe UI", sans-serif !important;
  pointer-events: none !important; /* Prevent interaction when hidden */
  z-index: 9998 !important;
}

/* Active state: show the form */
#volunteer-form-container.-active {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important; /* Enable interactions when visible */
}

/* Close button inside the form */
#volunteer-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background-color: #ff3d3d !important;
  border: none !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 14px !important;
  line-height: 28px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
  pointer-events: auto !important; /* Always clickable */
}

/* Ensure form inputs/buttons are clickable */
#volunteer-form-container a,
#volunteer-form-container .btn,
#volunteer-form-container input,
#volunteer-form-container select {
  pointer-events: auto !important;
}

/* Form contents */
#volunteer-form-container h4 {
  font-size: 1.1rem !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: 0.5px !important;
  text-align: center !important;
}
#volunteer-form-container form label {
  display: block !important;
  font-size: 0.9rem !important;
  margin-bottom: 0.25rem !important;
  letter-spacing: 0.3px !important;
}
#volunteer-form-container form input,
#volunteer-form-container form select {
  width: 100% !important;
  padding: 0.6rem !important;
  margin-bottom: 1rem !important;
  border: 1px solid var(--gray-light) !important;
  border-radius: 5px !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
}
#volunteer-form-container form input::placeholder,
#volunteer-form-container form select::placeholder {
  color: var(--gray-medium) !important;
}
#volunteer-form-container form input:focus,
#volunteer-form-container form select:focus {
  border-color: var(--saffron) !important;
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.2) !important;
  outline: none !important;
}
#volunteer-form-container form button.btn {
  width: 100% !important;
  background-color: var(--green) !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.8rem !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}
#volunteer-form-container form button.btn:hover {
  transform: translateY(-2px) !important;
  background-color: var(--saffron) !important;
}

/* Responsive tweaks for volunteer form */
@media (max-width: 600px) {
  #volunteer-form-container {
    width: 280px !important;
    bottom: 8rem !important;
    padding: 0.6rem !important;
  }
  #volunteer-form-container h4 {
    font-size: 1rem !important;
  }
  #volunteer-form-container form input,
  #volunteer-form-container form select {
    padding: 0.5rem !important;
    font-size: 0.9rem !important;
  }
  #volunteer-form-container form button.btn {
    font-size: 0.9rem !important;
    padding: 0.7rem !important;
  }
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-title {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 0.5px;
}

.footer-title:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--saffron);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--saffron);
  transform: translateX(5px);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(308px,1fr));
    gap:1rem;
  }
  #video-gallery{
    background-color: white;
  }
  #social-feed{
    background: linear-gradient(315deg, var(--navy), #88c8ffd1);
  }
  .gallery-item img,
  .video-thumb {
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:1rem;
    box-shadow:var(--shadow-md);
    transition:transform .3s,box-shadow .3s;
    cursor:pointer;
    background:#f0f0f0;
  }
  .video-thumb { position:relative; }
  .video-thumb::after {
    content:'▶';
    position:absolute; font-size:2rem;
    top:50%;left:50%; transform:translate(-50%,-50%);
    color:rgba(255,255,255,0.8);
  }
  .gallery-item img:hover,
  .video-thumb:hover {
    transform:scale(1.05);
    box-shadow:var(--shadow-lg);
  }
  .gallery-item.more-image,
  .video-item.more-video {
    display: none;
  }
  button#viewMoreImages,
  button#viewMoreVideos {
    display:block; margin:2rem auto;
  }
  .lightbox-overlay {
    display: none;
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    align-items:center; justify-content:center; z-index:9999;
  }
  .lightbox-overlay.open { display:flex; }
  #imgLightbox img
   {
    max-width:90%; max-height:90%; border-radius:1rem;
  }
  #imgLightboxClose,
  #vidLightboxClose {
    position:absolute; top:1rem; right:1rem;
    font-size:2rem; color:white; background:none; border:none; cursor:pointer;
  }
  .social-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(400px,1fr));
    gap:1rem; margin-top:2rem;
  }
  .social-box {
    background:white; border-radius:1rem; overflow:hidden;
    box-shadow:var(--shadow-md); padding:1rem;
  }
