/* ===== Smart Dhamoni Portal - Premium CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1a6b3c;
  --primary-dark: #0f4a28;
  --primary-light: #2d8f54;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --saffron: #ff6b00;
  --bg: #f0fdf4;
  --bg-dark: #0d1f14;
  --surface: #ffffff;
  --surface2: #f5f9f6;
  --text: #1a2e22;
  --text-muted: #5a7a65;
  --border: #c6e8d1;
  --shadow: 0 4px 24px rgba(26, 107, 60, 0.10);
  --shadow-md: 0 8px 40px rgba(26, 107, 60, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font-main: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #e8f5ee;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 99px;
}

/* ===== NOTICE SLIDER (Below Hero) ===== */
.notices-section {
  background: var(--surface2);
  padding: 40px 16px;
  border-bottom: 1.5px solid var(--border);
}

.notice-slider-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.notice-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.notice-card {
  min-width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media(min-width: 768px) {
  .notice-card {
    min-width: calc(50% - 10px);
  }
}

.notice-tag {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
}

.notice-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.notice-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notice-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.notice-btn {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.notice-btn.primary {
  background: var(--primary);
  color: #fff;
}

.notice-btn.secondary {
  background: var(--bg);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.notice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: 0.3s;
}

.nav-dot.active {
  background: var(--primary);
  width: 25px;
  border-radius: 5px;
}

/* ===== CONTACT / SUGGESTION SECTION ===== */
.contact-section {
  padding: 100px 16px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(26, 107, 60, 0.1);
  overflow: hidden;
}

@media(min-width: 800px) {
  .contact-container {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info-side {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.contact-info-side::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-side .section-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  width: fit-content;
  margin-bottom: 20px;
}

.contact-info-side h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.contact-info-side p {
  color: #c8e6c9;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 350px;
}

.enquiry-form {
  padding: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media(min-width: 800px) {
  .enquiry-form {
    padding: 60px;
  }
}

.enquiry-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width: 500px) {
  .enquiry-row {
    grid-template-columns: 1fr 1fr;
  }
}

.enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enquiry-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.enquiry-input {
  background: var(--surface2);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enquiry-input::placeholder {
  color: #94a3b8;
  opacity: 0.8;
}

.enquiry-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(26, 107, 60, 0.08);
  transform: translateY(-2px);
}

textarea.enquiry-input {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.enquiry-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 10px 25px rgba(26, 107, 60, 0.2);
}

.enquiry-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(26, 107, 60, 0.3);
  filter: brightness(1.1);
}

.enquiry-btn:active {
  transform: translateY(-1px);
}

.enquiry-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== HEADER ===== */
header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--saffron));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(245, 158, 11, .4);
}

.logo-text {
  line-height: 1.2;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}

.logo-tagline {
  font-size: .65rem;
  color: #a7d9b8;
  font-weight: 400;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 9999;
  transition: left .35s ease;
  padding: 20px 0;
  overflow-y: auto;
  box-shadow: 4px 0 30px rgba(0, 0, 0, .4);
}

.mobile-nav.open {
  left: 0;
}

.nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0 20px 16px;
  display: block;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: #d4edd8;
  font-size: .95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding-left: 32px;
}

.mobile-nav a .nav-icon {
  font-size: 1.1rem;
  opacity: .8;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9998;
}

.nav-overlay.open {
  display: block;
}

/* ===== DESKTOP NAV ===== */
.desktop-nav {
  display: none;
}

@media(min-width:900px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .desktop-nav a {
    color: #d4edd8;
    font-size: .88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
  }

  .desktop-nav a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
  }

  .menu-btn {
    display: none;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:nth-child(1) {
  background: linear-gradient(135deg, #0f4a28 0%, #1a6b3c 40%, #2a9d5c 70%, #3cb371 100%);
}

.hero-slide:nth-child(2) {
  background: linear-gradient(135deg, #1a3a0d 0%, #2d6a1f 40%, #4a8f30 70%, #6aaf40 100%);
}

.hero-slide:nth-child(3) {
  background: linear-gradient(135deg, #0a2a40 0%, #1a5278 40%, #2980b9 70%, #1a6b3c 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  opacity: .18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 15, .85) 0%, rgba(10, 30, 15, .35) 60%, transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 20px 16px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, .2);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(.9rem, 3vw, 1.15rem);
  color: #c8e6c9;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  min-width: 100px;
}

.hero-btn .btn-icon {
  font-size: 1.5rem;
}

.hero-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, .3);
}

.hero-btn.primary {
  background: var(--primary);
  border-color: var(--primary-light);
}

.hero-btn.primary:hover {
  background: var(--primary-light);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .4);
  transition: var(--transition);
  cursor: pointer;
}

.dot.active {
  background: #fff;
  width: 24px;
}

/* ===== SECTION COMMONS ===== */
section {
  padding: 60px 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 5px 16px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 8px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== DIRECTORY v2 - HOME TABS ===== */
.dir-tabs-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 15px;
  margin-bottom: 25px;
  scrollbar-width: none;
}

.dir-tabs-container::-webkit-scrollbar {
  display: none;
}

.dir-tab-link {
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: 99px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  color: var(--text-muted);
}

.dir-tab-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26, 107, 60, 0.2);
}

.view-more-container {
  text-align: center;
  margin-top: 30px;
}

.view-more-btn {
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
}

.view-more-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== LEADERSHIP ===== */
.panchayat-section {
  background: var(--surface);
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media(min-width:600px) {
  .leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:900px) {
  .leaders-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.leader-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.leader-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 3px solid var(--border);
}

.leader-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.leader-role {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(26, 107, 60, .1);
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
}

.leader-contact {
  margin-top: 10px;
}

.leader-contact a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.leader-contact a:hover {
  color: var(--primary);
}

/* ===== VILLAGE STATS ===== */
.stats-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 28px 20px;
  color: #fff;
  margin-top: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: .72rem;
  color: #c8e6c9;
  margin-top: 4px;
}

/* ===== MANDIR SECTION ===== */
.mandir-section {
  background: linear-gradient(135deg, #fff9f0, #fff5e6);
}

.mandir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width:600px) {
  .mandir-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:900px) {
  .mandir-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mandir-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
}

.mandir-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.mandir-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.mandir-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(0);
  opacity: .15;
}

.mandir-body {
  padding: 16px;
}

.mandir-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.mandir-desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mandir-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 107, 0, .1);
  color: var(--saffron);
}

/* ===== KISAN CORNER ===== */
.kisan-section {
  background: var(--surface2);
}

.kisan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width:768px) {
  .kisan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.weather-card {
  background: linear-gradient(135deg, #1565c0, #42a5f5);
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.weather-temp {
  font-size: 3.5rem;
  font-weight: 800;
}

.weather-info h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.weather-info p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.weather-grid-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.weather-stat {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 12px;
}

.weather-stat-val {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.weather-stat-label {
  font-size: 0.7rem;
  opacity: 0.7;
}

.weather-alert {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 4px solid #ef4444;
  font-size: 0.82rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
}

.weather-alert.active {
  display: flex;
}

.weather-update {
  font-size: .68rem;
  opacity: .6;
  margin-top: 12px;
  text-align: center;
}

.mandi-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mandi-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 16px 20px;
  color: #fff;
}

.mandi-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.mandi-date {
  font-size: .75rem;
  opacity: .8;
}

.mandi-table {
  width: 100%;
  border-collapse: collapse;
}

.mandi-table th {
  background: var(--surface2);
  padding: 10px 16px;
  font-size: .78rem;
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
}

.mandi-table td {
  padding: 12px 16px;
  font-size: .85rem;
  border-bottom: 1px solid var(--border);
}

.mandi-table tr:last-child td {
  border-bottom: none;
}

.mandi-table tr:hover td {
  background: #f0fdf4;
}

.price-up {
  color: #16a34a;
  font-weight: 700;
}

.price-dn {
  color: #dc2626;
  font-weight: 700;
}

.crop-icon {
  font-size: 1rem;
  margin-right: 6px;
}

.trend-badge {
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}

.trend-up {
  background: #dcfce7;
  color: #16a34a;
}

.trend-dn {
  background: #fee2e2;
  color: #dc2626;
}

/* ===== DIRECTORY ===== */
.directory-section {
  background: var(--surface);
}

.dir-grid {
  display: block;
}

/* removed old grid-grid queries */

.dir-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.dir-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.dir-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 14px 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dir-icon {
  font-size: 1.4rem;
}

.dir-cat-name {
  font-size: .85rem;
  font-weight: 700;
}

.dir-items {
  padding: 14px;
}

.dir-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.dir-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dir-item-name {
  font-size: .85rem;
  font-weight: 600;
}

.dir-btns {
  display: flex;
  gap: 6px;
}

.btn-call {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-call:hover {
  background: #15803d;
}

.btn-wa {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-wa:hover {
  background: #1da851;
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--bg-dark);
  color: #fff;
}

.gallery-section .section-title {
  color: #fff;
}

.gallery-section .section-subtitle {
  color: #9ca3af;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-tab {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  font-family: var(--font-main);
}

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media(min-width:600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width:900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

.gallery-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform .35s ease;
}

.gallery-item:hover .gallery-item-inner {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: .72rem;
  color: #fff;
  font-weight: 600;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media(min-width:600px) {
  .events-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.event-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}

.event-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--primary-light);
}

.event-date-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  flex-shrink: 0;
  min-width: 52px;
}

.event-day {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.event-month {
  font-size: .65rem;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}

.event-name {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.event-desc {
  font-size: .75rem;
  color: #9ca3af;
}

.event-type {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  margin-top: 6px;
}

.event-upcoming {
  background: rgba(245, 158, 11, .2);
  color: var(--accent);
}

.event-recent {
  background: rgba(34, 197, 94, .2);
  color: #4ade80;
}

/* ===== USEFUL LINKS SLIDER ===== */
.useful-links-slider-section {
  background: var(--bg);
  padding: 40px 16px 80px;
}

.useful-slider-container {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.useful-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.useful-link-card {
  min-width: 280px;
  flex: 0 0 280px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.useful-link-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.useful-link-icon {
  width: 50px;
  height: 50px;
  background: rgba(26, 107, 60, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.useful-link-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.useful-link-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
}

.useful-link-btn:hover {
  background: var(--primary-dark);
}

@media (max-width: 600px) {
  .useful-link-card {
    min-width: calc(100% - 20px);
    flex: 0 0 calc(100% - 20px);
  }
}

/* ===== FOOTER ===== */
footer {
  background: #0d1b12;
  padding: 100px 16px 40px;
  color: #fff;
  font-family: var(--font-main);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f0fdf4' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,112C672,107,768,149,864,165.3C960,181,1056,171,1152,149.3C1248,128,1344,96,1392,80L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.footer-brand .logo-title {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand .logo-tagline {
  color: #6b9e7a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

@media(min-width:768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 40px;
  }
}

.footer-desc {
  font-size: .95rem;
  color: #e2e8f0;
  opacity: 0.9;
  margin-top: 16px;
  line-height: 1.8;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-4px);
  border-color: var(--primary-light);
  color: #fff;
}

.useful-links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.useful-links-list li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: .92rem;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.useful-links-list li a:hover {
  color: var(--primary-light);
  transform: translateX(6px);
}

.footer-heading {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  display: inline-block;
  width: 100%;
}

.emergency-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.emergency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .05);
  border-radius: 10px;
  padding: 10px 12px;
}

.emergency-icon {
  font-size: 1.1rem;
}



.emergency-name {
  font-size: .75rem;
  color: #9ca3af;
}

.emergency-num {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}

.footer-address {
  font-size: .82rem;
  line-height: 1.8;
  color: #9ca3af;
}

.footer-address strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin: 28px 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-copy {
  font-size: .75rem;
  color: #4b6e57;
}

.footer-dev {
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
}

/* ===== FLOATING BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 107, 60, .4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* ===== UTILITY ===== */
.green-bg {
  background: linear-gradient(135deg, var(--bg), #e8f5ee);
}

.hidden {
  display: none !important;
}

/* ===== MANDI MARKET TABS ===== */
.mandi-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.mandi-tabs::-webkit-scrollbar {
  display: none;
}

.mandi-tab {
  flex: 1;
  min-width: 90px;
  padding: 10px 4px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  white-space: nowrap;
}

.mandi-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(26, 107, 60, .05);
}

.mandi-tab:hover:not(.active) {
  color: var(--primary);
  background: rgba(26, 107, 60, .04);
}

/* ===== LIGHTBOX ===== */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, .94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
}

#lightbox.open {
  display: flex;
}

.lb-img-wrap {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0, 0, 0, .7);
}

.lb-close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.lb-close:hover {
  background: rgba(255, 255, 255, .3);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  z-index: 2;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, .3);
}

#lb-prev {
  left: -22px;
}

#lb-next {
  right: -22px;
}

@media(max-width:600px) {
  #lb-prev {
    left: -8px;
  }

  #lb-next {
    right: -8px;
  }
}

.lb-footer {
  margin-top: 14px;
  text-align: center;
}

#lb-caption {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

#lb-counter {
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
}

/* ===== DIRECTORY v2 - PERSON CARDS ===== */
.dir-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.dir-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.dir-cat-label .cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.dir-cat-count {
  font-size: .72rem;
  background: rgba(26, 107, 60, .1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
}

.dir-persons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

@media(max-width:480px) {
  .dir-persons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.person-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.person-card-top {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 20px 16px 40px;
  text-align: center;
}

.person-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid rgba(255, 255, 255, .3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .15);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-name {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.person-service {
  font-size: .7rem;
  color: rgba(255, 255, 255, .75);
  margin-top: 3px;
}

.person-price-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(245, 158, 11, .4);
}

.person-card-bottom {
  padding: 22px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.person-phone {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.person-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.person-btns .btn-call,
.person-btns .btn-wa {
  width: 100%;
  justify-content: center;
  padding: 8px 4px;
  font-size: .75rem;
  border-radius: 10px;
}

.person-card.user-added {
  border-color: var(--accent);
  border-style: dashed;
}

.person-card.user-added .person-card-top {
  background: linear-gradient(135deg, #78350f, #d97706);
}

.new-badge {
  font-size: .62rem;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== CONTRIBUTION FORMS ===== */
.contribute-section {
  margin-top: 36px;
  border-top: 2px dashed var(--border);
  padding-top: 28px;
}

.contribute-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 0;
}

.contribute-toggle-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: var(--font-main);
  width: 100%;
}

.contribute-toggle-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), #3cb371);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contribute-toggle-btn .btn-arrow {
  margin-left: auto;
  transition: transform .3s ease;
}

.contribute-toggle-btn.open .btn-arrow {
  transform: rotate(180deg);
}

.contribute-form-wrap {
  display: none;
  margin-top: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: slideDown .3s ease;
}

.contribute-form-wrap.open {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cf-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 14px 20px;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.cf-body {
  padding: 20px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media(min-width:600px) {
  .cf-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cf-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cf-input,
.cf-select,
.cf-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-family: var(--font-main);
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}

.cf-input::placeholder {
  color: #9ca3af;
}

.cf-select option {
  color: var(--text);
  background: #fff;
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 107, 60, .1);
}

.cf-textarea {
  resize: vertical;
  min-height: 80px;
}

.cf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7a65' fill='none' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.cf-file {
  width: 100%;
  padding: 10px 14px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.cf-file:hover {
  border-color: var(--primary);
}

.cf-preview {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  display: none;
  border: 2px solid var(--border);
}

.cf-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cf-submit:active {
  transform: none;
}

.cf-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #dcfce7;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 12px;
  color: #166534;
  font-size: .85rem;
  font-weight: 600;
}

.cf-success.show {
  display: flex;
}

/* Gallery dark section overrides */
.gallery-section .contribute-section {
  border-top-color: rgba(255, 255, 255, .12);
}

.gallery-section .contribute-toggle-btn {
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
}

.gallery-section .contribute-toggle-btn:hover {
  background: var(--primary);
}

.gallery-section .contribute-form-wrap {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}

.gallery-section .cf-header {
  background: rgba(255, 255, 255, .1);
}

.gallery-section .cf-label {
  color: #9ca3af;
}

.gallery-section .cf-input,
.gallery-section .cf-select {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}

.gallery-section .cf-input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.gallery-section .cf-file {
  border-color: rgba(255, 255, 255, .2);
  color: #9ca3af;
}

.gallery-section .cf-success {
  background: rgba(74, 222, 128, .1);
  border-color: rgba(74, 222, 128, .3);
  color: #4ade80;
}