/* ==========================================
   VARIABLES
   ========================================== */
:root {
  /* Colors */
  --color-saffron: #F37020;
  --color-saffron-dark: #D95A0C;
  --color-saffron-light: #FF8C42;
  --color-black: #1A1A1A;
  --color-grey-dark: #333333;
  --color-grey: #666666;
  --color-grey-light: #E5E5E5;
  --color-grey-lighter: #F5F5F5;
  --color-white: #FFFFFF;

  /* Gradients */
  --gradient-saffron: linear-gradient(135deg, #F37020 0%, #FF8C42 100%);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */
  --text-6xl: 3.75rem;
  /* 60px */

  /* Spacing */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 1rem;
  /* 16px */
  --space-md: 1.5rem;
  /* 24px */
  --space-lg: 2rem;
  /* 32px */
  --space-xl: 3rem;
  /* 48px */
  --space-2xl: 4rem;
  /* 64px */
  --space-3xl: 6rem;
  /* 96px */

  /* Border Radius */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 1rem;
  /* 16px */
  --radius-xl: 1.5rem;
  /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-saffron);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-fixed);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-black);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--color-grey);
}

a {
  color: var(--color-saffron);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-saffron-dark);
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

/* Page transition */
#app {
  min-height: 100vh;
}

.page-content {
  animation: fadeIn 0.3s ease-in-out;
}

.page-content.language-switching {
  opacity: 0.8;
  transition: opacity 0.15s ease-in-out;
}

/* Form styles */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-black);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-body);
  border: 2px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(243, 112, 32, 0.1);
}

.form-control.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: block;
}

.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

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

select.form-control {
  cursor: pointer;
}

/* Test button to manually trigger chatbot */
#test-chatbot {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

/* ==========================================
   GRID SYSTEM
   ========================================== */
.grid {
  display: grid;
  gap: var(--space-md);
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================
   FLEX UTILITIES
   ========================================== */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* ==========================================
   BUTTON STYLES
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width var(--transition-base), height var(--transition-base);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-saffron);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-saffron);
  border: 2px solid var(--color-saffron);
}

.btn-secondary:hover {
  background: var(--color-saffron);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-saffron);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: var(--text-sm);
}

/* ==========================================
   CARD STYLES
   ========================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

/* Leader Card Specific Styles */
.card.leader-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
}

.card.leader-card .card-body {
  background: var(--color-white);
}

.card.leader-card .card-title {
  color: var(--color-black);
}

.card.leader-card .card-text {
  color: var(--color-grey-dark);
}

.card.leader-card .card-meta {
  color: var(--color-grey);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-img {
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  color: var(--color-black);
}

.card-text {
  color: var(--color-grey);
  margin-bottom: var(--space-md);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-saffron);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-sangli {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-saffron-dark);
  margin-top: -5px;
  float: right;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-black);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-saffron);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-saffron);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: var(--space-xs) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-black);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--color-grey-light);
  color: var(--color-saffron);
}

/* Mobile Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-saffron);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding-top: 100px;
  position: relative;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-saffron) 0%, #d35400 100%);
}

/* Banner Slider Item */
.banner-slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.banner-slider-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.banner-slider-item.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  padding: var(--space-xl);
  margin: 0 auto;
}

.hero-title {
  font-size: var(--text-5xl);
  color: var(--color-saffron);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Add styles for hero decoration */
.hero-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('https://shivsenacentraloffice.com/assets/images/banner/banner-shape3.png') no-repeat center bottom;
  background-size: contain;
  pointer-events: none;
}

/* About Image Styling */
.about-image {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.about-image img:hover {
  transform: scale(1.02);
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-saffron);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-grey);
  max-width: 600px;
  margin: var(--space-md) auto 0;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--color-grey-dark);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xs);
  display: block;
}

.footer-section a:hover {
  color: var(--color-saffron);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-saffron);
  transform: translateY(-3px);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-saffron {
  color: var(--color-saffron);
}

.text-white {
  color: var(--color-white);
}

.text-grey {
  color: var(--color-grey);
}

.bg-saffron {
  background: var(--color-saffron);
}

.bg-white {
  background: var(--color-white);
}

.bg-grey-light {
  background: var(--color-grey-lighter);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.pt-sm {
  padding-top: var(--space-sm);
}

.pt-md {
  padding-top: var(--space-md);
}

.pt-lg {
  padding-top: var(--space-lg);
}

.pt-xl {
  padding-top: var(--space-xl);
}

.pb-sm {
  padding-bottom: var(--space-sm);
}

.pb-md {
  padding-bottom: var(--space-md);
}

.pb-lg {
  padding-bottom: var(--space-lg);
}

.pb-xl {
  padding-bottom: var(--space-xl);
}

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* ==========================================
   LANGUAGE TOGGLE (DROPDOWN)
   ========================================== */
.language-dropdown {
  position: relative;
  display: inline-block;
  margin-left: var(--space-md);
  z-index: 1001;
}

.lang-drop-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.625rem 1.25rem;
  background: var(--color-white);
  border: 2px solid var(--color-saffron);
  border-radius: var(--radius-full);
  color: var(--color-saffron);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1001;
}

.lang-drop-btn:hover {
  background: var(--color-saffron);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.lang-drop-btn i {
  font-size: 0.75rem;
  transition: transform var(--transition-base);
}

.language-dropdown.open .lang-drop-btn {
  background: var(--color-saffron);
  color: var(--color-white);
}

.language-dropdown.open .lang-drop-btn i {
  transform: rotate(180deg);
}

.lang-drop-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-white);
  min-width: 180px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: var(--z-dropdown);
  border: 1px solid var(--color-grey-light);
  border-top: none;
}

.language-dropdown.open .lang-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: var(--text-base);
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  margin-bottom: 0.25rem;
  position: relative;
}

.lang-option:last-child {
  margin-bottom: 0;
}

.lang-option:hover {
  background: var(--color-grey-lighter);
  color: var(--color-saffron);
  transform: translateX(5px);
}

.lang-option.active {
  background: var(--gradient-saffron);
  color: var(--color-white);
  font-weight: 600;
  transform: translateX(5px);
}

.lang-option .check-icon {
  opacity: 0;
  transition: opacity var(--transition-fast);
  font-size: var(--text-sm);
}

.lang-option.active .check-icon {
  opacity: 1;
}

.lang-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--color-saffron);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.lang-option:hover::before,
.lang-option.active::before {
  opacity: 1;
}

/* Language Switch Animation */
@keyframes languageSwitch {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Mobile language toggle */
@media (max-width: 768px) {
  .language-dropdown {
    position: fixed;
    bottom: 90px; /* Positioned above chatbot */
    right: 20px;
    margin: 0;
    z-index: 9999; /* Higher than chatbot */
  }

  .lang-drop-btn {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--color-saffron);
  }

  .lang-drop-menu {
    bottom: calc(100% + 0.5rem);
    top: auto;
    right: 0;
    min-width: 160px;
  }
}

/* Language toggle focus states */
.lang-drop-btn:focus,
.lang-option:focus {
  outline: 2px solid var(--color-saffron);
  outline-offset: 2px;
}

/* Language option hover effects */
.lang-option:hover {
  transform: translateX(5px);
}

/* Active language option */
.lang-option.active {
  transform: translateX(5px);
}

/* Decorative Images */
.text-center img.img-fluid {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Contact Page Styles */
.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--color-saffron);
  min-width: 30px;
}

.contact-social .social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-saffron);
  color: white;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* District Page Styles */
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--color-saffron);
  margin-bottom: var(--space-sm);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-saffron);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-grey);
  margin: 0;
}

/* Language Switch Animation */
@keyframes languageSwitch {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Page transition */
#app {
  min-height: 100vh;
}

.page-content {
  animation: fadeIn 0.3s ease-in-out;
}

.page-content.language-switching {
  opacity: 0.8;
  transition: opacity 0.15s ease-in-out;
}

/* Form styles */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-black);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-body);
  border: 2px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(243, 112, 32, 0.1);
}

.form-control.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: block;
}

.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

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

select.form-control {
  cursor: pointer;
}

/* Gallery Item Styles */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

/* Video Container Styles */
.video-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.video-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.video-container:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Card Link Styles */
.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-base);
}

.card-link:hover {
  transform: translateY(-5px);
}

/* Card Glass Effect */
.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Stat Card Styles */
.stat-card {
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.stat-text {
  font-size: var(--text-base);
  margin: 0;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: var(--space-md);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
}
