/*
Theme Name: KBMS Vikash Trust
Theme URI: https://kbmsviktrust.org
Author: Kishanidevi Bhinwaram Meel Samaveshi Vikash Trust
Description: Official WordPress theme for KBMS Vikash Trust — Bilingual Hindi-English NGO website for rural development in Rajasthan.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2
Text Domain: kbmsvtrust
Tags: ngo, charity, hindi, bilingual, india, rural
*/

/* ========================================
   KISHANIDEVI BHINWARAM MEEL SAMAVESHI VIKASH TRUST
   Main Stylesheet — WordPress Theme Version
   Color Scheme: Deep Forest Green + Golden Yellow + Warm Cream
   ======================================== */

:root {
  --green-dark: #1a4a1a;
  --green-mid: #2d6a2d;
  --green-light: #4a9a4a;
  --green-pale: #e8f5e8;
  --yellow: #f5c518;
  --yellow-dark: #d4a000;
  --yellow-light: #fff8d6;
  --cream: #fdf8f0;
  --brown: #5c3d1e;
  --text-dark: #1a2e1a;
  --text-mid: #3d5a3d;
  --text-light: #6b8c6b;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26,74,26,0.12);
  --shadow-lg: 0 8px 48px rgba(26,74,26,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-dark); background: var(--cream); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* SKIP LINK */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--yellow); color: var(--green-dark); padding: 10px 20px; border-radius: 0 0 8px 0; z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 0; }

/* ---- NAVBAR (Bootstrap 5 custom styling) ---- */

/* Override Bootstrap - our dark green navbar */
.kbms-navbar {
/*   position: fixed;
  top: 0; left: 0; right: 0; */
  z-index: 1000;
  background: rgba(26,74,26,0.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
  padding: 0;
  min-height: 70px;
}

.kbms-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 70px;
  display: flex;
  align-items: center;
}


.kbms-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0;
}
.kbms-brand:hover { opacity: 0.92; }

.kbms-logo-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
  color: var(--green-dark);
  font-family: 'Tiro Devanagari Hindi', serif;
  flex-shrink: 0; overflow: hidden; position: relative;
}
.kbms-logo-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.kbms-logo-text { font-family: 'Tiro Devanagari Hindi', serif; font-size: 12px; font-weight: 800; color: var(--green-dark); }
.kbms-logo-name { display: flex; flex-direction: column; }
.kbms-logo-hi { font-family: 'Tiro Devanagari Hindi', serif; font-size: 13px; color: var(--yellow); line-height: 1.3; }
.kbms-logo-en { font-size: 11px; color: rgba(255,255,255,0.72); }

/* HAMBURGER TOGGLER */
.kbms-toggler {
  border: 2px solid rgba(245,197,24,0.6) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.kbms-toggler:focus {
  box-shadow: 0 0 0 3px rgba(245,197,24,0.3) !important;
}
.kbms-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV LINKS */
.kbms-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap;
}
.kbms-link:hover,
.kbms-link.active,
.kbms-link.show {
  color: var(--yellow) !important;
  background: rgba(245,197,24,0.1) !important;
}
/* Dropdown toggle arrow color */
.kbms-link.dropdown-toggle::after {
  border-top-color: rgba(255,255,255,0.6);
}
.kbms-link.dropdown-toggle:hover::after,
.kbms-link.dropdown-toggle.show::after {
  border-top-color: var(--yellow);
}

/* DESKTOP DROPDOWN MENU */
.kbms-dropdown {
  background: var(--green-dark) !important;
  border: 1px solid rgba(245,197,24,0.25) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
  padding: 6px 0 !important;
  min-width: 200px !important;
}
.kbms-drop-item {
  color: rgba(255,255,255,0.85) !important;
  font-size: 13.5px !important;
  padding: 10px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}
.kbms-drop-item:last-child { border-bottom: none !important; }
.kbms-drop-item:hover,
.kbms-drop-item:focus {
  color: var(--yellow) !important;
  background: rgba(245,197,24,0.12) !important;
}

/* ── MOBILE (≤ 992px — Bootstrap lg breakpoint) ── */
@media (max-width: 991.98px) {

  /* Collapsed menu panel */
  .kbms-navbar .navbar-collapse {
    background: #1a4a1a;
    border-top: 2px solid rgba(245,197,24,0.25);
    padding: 8px 0 16px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  /* Nav links — full width rows */
  .kbms-link {
    display: block !important;
    width: 100% !important;
    padding: 13px 20px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    font-size: 15px !important;
    color: rgba(255,255,255,0.92) !important;
  }
  .kbms-link:hover,
  .kbms-link.active {
    color: var(--yellow) !important;
    background: rgba(245,197,24,0.08) !important;
  }

  /* Dropdown toggle arrow — right side */
  .kbms-link.dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Mobile dropdown sub-menu */
  .kbms-dropdown {
    background: rgba(0,0,0,0.28) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    position: static !important;
    float: none !important;
  }

  .kbms-drop-item {
    padding: 11px 20px 11px 36px !important;
    color: rgba(255,255,255,0.75) !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  }
  .kbms-drop-item:hover {
    color: var(--yellow) !important;
    background: rgba(245,197,24,0.08) !important;
  }

  /* ms-auto remove on mobile */
  .navbar-nav.ms-auto { margin-left: 0 !important; }
}

/* ---- HERO ---- */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0d2e0d 0%, #1a4a1a 40%, #2d6a2d 100%); }
.hero-overlay { position: absolute; inset: 0; background: 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='%23f5c518' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 60px 24px 80px; max-width: 860px; animation: fadeInUp 1s ease; }
.hero-badge { display: inline-block; background: var(--yellow); color: var(--green-dark); padding: 6px 20px; border-radius: 50px; font-family: 'Tiro Devanagari Hindi', serif; font-size: 15px; font-weight: 700; margin-bottom: 24px; letter-spacing: 1px; }
.hero-title { margin-bottom: 16px; }
.hero-hi { display: block; font-family: 'Tiro Devanagari Hindi', serif; font-size: clamp(28px,5vw,52px); color: var(--yellow); font-weight: 700; line-height: 1.3; }
.hero-en { display: block; font-family: 'Playfair Display', serif; font-size: clamp(20px,3.5vw,38px); color: var(--white); font-weight: 700; line-height: 1.3; }
.hero-sub { color: rgba(255,255,255,0.82); font-size: 17px; margin: 12px 0 6px; }
.hero-sub-hi { font-family: 'Tiro Devanagari Hindi', serif; color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-indicator { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.4); border-radius: 12px; position: relative; }
.scroll-indicator::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--yellow); border-radius: 2px; animation: scrollBob 2s infinite; }

/* ---- BUTTONS ---- */
.btn-primary { display: inline-block; background: var(--yellow); color: var(--green-dark); padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 16px rgba(245,197,24,0.4); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,197,24,0.5); }
.btn-secondary { display: inline-block; background: transparent; border: 2px solid rgba(255,255,255,0.6); color: var(--white); padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: var(--transition); }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-white { display: inline-block; background: var(--white); color: var(--green-dark); padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-outline { display: inline-block; background: transparent; border: 2px solid var(--yellow); color: var(--yellow); padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: var(--transition); }
.btn-outline:hover { background: var(--yellow); color: var(--green-dark); transform: translateY(-2px); }

/* ---- STATS ---- */
.stats-section { background: var(--yellow); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { text-align: center; padding: 20px; }
.stat-icon { font-size: 32px; margin-bottom: 8px; }
.stat-number { font-size: 36px; font-weight: 900; color: var(--green-dark); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 13px; color: var(--green-mid); font-weight: 500; line-height: 1.4; }

/* ---- SECTIONS ---- */
.content-section { padding: 80px 0; }
.bg-light { background: var(--green-pale); }
.section-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green-mid); letter-spacing: 2px; text-transform: uppercase; background: var(--yellow-light); padding: 4px 14px; border-radius: 50px; border: 1px solid rgba(245,197,24,0.4); margin-bottom: 14px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px,4vw,44px); color: var(--text-dark); line-height: 1.25; margin-bottom: 16px; }
.highlight { color: var(--green-mid); }
.section-sub { font-size: 16px; color: var(--text-mid); max-width: 700px; margin-bottom: 40px; font-family: 'Tiro Devanagari Hindi', serif; line-height: 1.8; }

/* ---- MISSION CARDS ---- */
.mission-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.mission-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; text-align: center; cursor: pointer; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; }
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--yellow); }
.mc-icon { font-size: 40px; margin-bottom: 14px; }
.mission-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--green-dark); margin-bottom: 10px; }
.mission-card p { font-size: 14px; color: var(--text-mid); }

/* ---- STORY ---- */
.story-section { background: var(--green-dark); padding: 80px 0; }
.story-flex { display: flex; gap: 60px; align-items: center; }
.story-text { flex: 1.4; }
.story-text .section-tag { background: rgba(245,197,24,0.15); color: var(--yellow); border-color: rgba(245,197,24,0.3); }
.story-text h2 { color: var(--white); font-family: 'Playfair Display', serif; font-size: clamp(24px,3.5vw,40px); margin-bottom: 16px; }
.story-text p { color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.story-visual { flex: 0.6; text-align: center; }
.tree-logo-big { font-size: 120px; filter: drop-shadow(0 0 30px rgba(245,197,24,0.3)); }
.story-motto { font-family: 'Tiro Devanagari Hindi', serif; font-size: 22px; color: var(--yellow); margin-top: 12px; font-weight: 700; }

/* ---- CTA ---- */
.cta-section { background: linear-gradient(135deg, var(--green-mid), var(--green-dark)); padding: 80px 0; text-align: center; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); font-family: 'Tiro Devanagari Hindi', serif; font-size: 17px; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- PAGE HERO ---- */
.page-hero { background: linear-gradient(135deg, #0d2e0d, #2d6a2d); padding: 70px 24px 70px; text-align: center;}
.page-hero-content .section-tag { background: rgba(245,197,24,0.2); color: var(--yellow); border-color: rgba(245,197,24,0.3); margin-bottom: 16px; }
.page-hero h1 { font-family: 'Playfair Display', serif; color: var(--white); margin: 0; }
.kisan-hero p { color: rgba(255,255,255,0.8); margin-top: 12px; font-size: 16px; }
.hero-sub-hi { font-family: 'Tiro Devanagari Hindi', serif; color: rgba(255,255,255,0.7); font-size: 15px; margin-top: 8px; }

/* ---- SUB NAV ---- */
.sub-nav { background: var(--white); border-bottom: 2px solid var(--green-pale); padding: 0 24px; display: flex; gap: 0; overflow-x: auto; position: sticky; top: 70px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.sub-nav a { padding: 16px 24px; color: var(--text-mid); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; transition: var(--transition); }
.sub-nav a:hover { color: var(--green-dark); border-bottom-color: var(--yellow); }

/* ---- CONTENT FLEX ---- */
.content-flex { display: flex; gap: 48px; align-items: flex-start; margin-top: 36px; }
.content-text { flex: 1.4; }
.content-text p { color: var(--text-mid); margin-bottom: 16px; font-size: 16px; }
.content-side { flex: 0.6; }

/* ---- QUOTE + VALUES ---- */
.quote-card { background: var(--green-dark); padding: 32px; border-radius: var(--radius-lg); text-align: center; margin-bottom: 24px; }
.quote-text { font-family: 'Tiro Devanagari Hindi', serif; font-size: 24px; color: var(--yellow); font-weight: 700; margin-bottom: 8px; }
.quote-sub { color: rgba(255,255,255,0.7); font-size: 14px; }
.values-list { display: flex; flex-direction: column; gap: 12px; }
.value-item { background: var(--white); padding: 12px 16px; border-radius: var(--radius); font-size: 14px; color: var(--text-dark); box-shadow: var(--shadow); border-left: 3px solid var(--yellow); }

/* ---- MISSION / VISION ---- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 56px; }
.mv-card { padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.mission-bg { background: var(--green-dark); }
.vision-bg { background: var(--white); border: 2px solid var(--green-pale); }
.mv-icon { font-size: 40px; margin-bottom: 14px; }
.mv-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 14px; }
.mission-bg h3 { color: var(--yellow); }
.vision-bg h3 { color: var(--green-dark); }
.mission-bg p { color: rgba(255,255,255,0.82); margin-bottom: 12px; font-size: 15px; }
.vision-bg p { color: var(--text-mid); margin-bottom: 12px; font-size: 15px; }

/* ---- OBJECTIVES ---- */
.objectives-section { margin-top: 20px; }
.obj-title { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--green-dark); margin-bottom: 28px; text-align: center; }
.obj-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.obj-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.obj-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--yellow); flex-shrink: 0; line-height: 1; }
.obj-item p { font-size: 14px; color: var(--text-mid); margin: 0; }

/* ---- CHAIRMAN ---- */
.chairman-card { display: flex; gap: 48px; align-items: flex-start; background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-lg); border: 2px solid var(--green-pale); }
.chairman-photo { flex-shrink: 0; text-align: center; }
.chairman-avatar { width: 120px; height: 120px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 60px; border: 4px solid var(--yellow); }
.chairman-msg { flex: 1; }
.msg-quote { font-family: 'Playfair Display', serif; font-size: 80px; color: var(--yellow); line-height: 0.5; margin-bottom: 16px; }
.chairman-msg p { color: var(--text-mid); margin-bottom: 14px; font-size: 15.5px; }
.chairman-sig { margin-top: 24px; padding-top: 16px; border-top: 2px solid var(--green-pale); color: var(--green-dark); }
.chairman-sig span { font-size: 14px; color: var(--text-light); }

/* ---- TRUSTEES ---- */
.trustees-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.trustee-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: var(--shadow); border: 2px solid var(--green-pale); transition: var(--transition); }
.trustee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trustee-avatar { width: 70px; height: 70px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 14px; border: 3px solid var(--yellow); }
.trustee-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.trustee-role { font-size: 13px; color: var(--green-mid); font-weight: 600; margin-bottom: 8px; }
.trustee-desc { font-size: 13px; color: var(--text-light); }
.trustees-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-light); font-style: italic; }

/* ---- OUR WORK ---- */
.work-section-header { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.work-icon { font-size: 50px; }
.work-activities { margin-top: 24px; }
.work-activities h4 { color: var(--green-dark); font-size: 16px; margin-bottom: 14px; }
.work-activities ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.work-activities li { background: var(--cream); padding: 10px 16px; border-radius: var(--radius); font-size: 14.5px; color: var(--text-mid); border-left: 3px solid var(--yellow); }
.work-stats-card { border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.health-card { background: linear-gradient(135deg, #ffe8e8, #fff); border: 2px solid #ffcccc; }
.agri-card { background: linear-gradient(135deg, #e8f5e8, #fff); border: 2px solid #c8e6c8; }
.animal-card { background: linear-gradient(135deg, #fff8e1, #fff); border: 2px solid #ffe082; }
.env-card { background: linear-gradient(135deg, #e0f7fa, #fff); border: 2px solid #b2ebf2; }
.ws-item { text-align: center; padding: 16px; background: rgba(255,255,255,0.7); border-radius: var(--radius); }
.ws-num { display: block; font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--green-dark); }
.ws-label { font-size: 13px; color: var(--text-mid); }

/* ---- VOLUNTEER ---- */
.vol-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 56px; }
.vol-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); transition: var(--transition); }
.vol-card:hover { transform: translateY(-4px); }
.vol-icon { font-size: 40px; margin-bottom: 14px; }
.vol-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--green-dark); margin-bottom: 10px; }
.vol-card p { font-size: 14px; color: var(--text-mid); }

/* ---- FORMS ---- */
.form-section, .donate-section { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); margin-top: 40px; }
.form-section h3, .donate-section h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--green-dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--green-pale); border-radius: var(--radius); font-size: 15px; color: var(--text-dark); background: var(--cream); transition: var(--transition); font-family: 'DM Sans', sans-serif; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green-mid); background: var(--white); box-shadow: 0 0 0 3px rgba(45,106,45,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form { background: transparent; }

/* ---- DONATE ---- */
.donate-impact { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 40px; }
.impact-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; text-align: center; box-shadow: var(--shadow); border: 2px solid var(--green-pale); }
.featured-impact { border-color: var(--yellow); background: var(--yellow-light); }
.impact-amount { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--green-dark); margin-bottom: 8px; }
.impact-text { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.donate-amounts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.amount-btn { padding: 10px 20px; border: 2px solid var(--green-mid); border-radius: 50px; background: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--green-dark); transition: var(--transition); }
.amount-btn:hover, .amount-btn.selected { background: var(--green-dark); color: var(--yellow); border-color: var(--green-dark); }
.custom-amount { margin-bottom: 24px; }
.custom-amount input { max-width: 100%; padding: 12px 16px; border: 2px solid var(--green-pale); border-radius: var(--radius); font-size: 15px; width: 100%; background: var(--cream); font-family: 'DM Sans', sans-serif; }
.btn-donate { width: 100%; padding: 16px; background: var(--yellow); color: var(--green-dark); border: none; border-radius: 50px; font-size: 18px; font-weight: 800; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 16px rgba(245,197,24,0.4); }
.btn-donate:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.donate-note { text-align: center; margin-top: 14px; font-size: 13px; color: var(--text-light); }
.donor-form { margin-top: 20px; }

/* ---- KISAN CORNER INFO ---- */
.kisan-info-section { padding: 60px 0; background: var(--green-pale); }
.kisan-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.kisan-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.ki-icon { font-size: 2.5rem; margin-bottom: 14px; }
.kisan-info-card h3 { font-family: 'Playfair Display',serif; font-size:1.1rem; color: var(--green-dark); margin-bottom: 10px; }
.kisan-info-card p { font-size: 14px; color: var(--text-mid); }

/* ---- FORM SUCCESS/ERROR MSG ---- */
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; font-size: 14px; display: none; }
.form-msg.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.form-msg.error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* ---- CONTACT FORM WRAP ---- */
.contact-form-wrap {
  background: var(--white); padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--green-dark); margin-bottom: 24px; }

/* ---- SOCIAL BUTTONS ---- */
.social-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  padding: 8px 18px; border-radius: 50px;
  text-decoration: none; font-size: 13px; font-weight: 700; transition: var(--transition);
}
.fb { background: #1877f2; color: var(--white); }
.wa { background: #25d366; color: var(--white); }
.yt { background: #ff0000; color: var(--white); }
.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); }
.social-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ---- FOOTER ---- */
.footer { background-color: var(--green-dark); color: rgba(255,255,255,0.8); padding: 64px 0 0; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px;
}

.footer-logo-name {
  font-family: 'Tiro Devanagari Hindi', serif; font-size: 17px;
  color: var(--yellow); margin-bottom: 12px; line-height: 1.5;
}

.footer-about p { font-size: 14px; color: rgba(255,255,255,0.6); }

.footer-links h4, .footer-work h4, .footer-contact h4 {
  color: var(--yellow); font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px;
}

.footer-links a, .footer-work a {
  display: block; color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 14px; margin-bottom: 8px; transition: var(--transition);
}

.footer-links a:hover, .footer-work a:hover { color: var(--yellow); }

.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 8px; }

.footer-contact a { color: rgba(255,255,255,0.65); text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes scrollBob { 0%,100%{transform:translateX(-50%) translateY(0);opacity:1} 50%{transform:translateX(-50%) translateY(8px);opacity:0.4} }

/* ---- RESPONSIVE ---- */
@media (max-width:1100px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .mission-grid { grid-template-columns: repeat(2,1fr); }
  .trustees-grid { grid-template-columns: repeat(2,1fr); }
  .vol-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .donate-impact { grid-template-columns: repeat(2,1fr); }
  .kisan-info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:860px) {
  /* Layout only — navbar handled by Bootstrap lg breakpoint */
  .content-flex { flex-direction: column; }
  .story-flex { flex-direction: column; }
  .mv-grid { grid-template-columns: 1fr; }
  .obj-grid { grid-template-columns: 1fr; }
  .chairman-card { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .cart-modal { width: 100%; right: -100%; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width:580px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .mission-grid { grid-template-columns:1fr; }
  .vol-grid { grid-template-columns:1fr; }
  .trustees-grid { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .donate-impact { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero-btns, .cta-btns { flex-direction:column; align-items:center; }
  .kisan-info-grid { grid-template-columns:1fr; }
}




/* ---- WOOCOMMERCE PAGES ---- */

.kbms-woo-wrapper {
  padding: 100px 0 60px;
  min-height: 60vh;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.wc-block-cart__submit-button {
  background: #f5c518 !important;
  color: #1a4a1a !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  border: none !important;
/*   padding: 12px 28px !important; */
  font-family: 'DM Sans', sans-serif !important;
  transition: all 0.3s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover {
  background: #d4a000 !important;
  color: #1a4a1a !important;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.wc-block-cart__totals-title {
  font-family: 'Playfair Display', serif !important;
  color: #1a4a1a !important;
}

.woocommerce .price,
.wc-block-components-product-price__value {
  color: #1a4a1a !important;
}

.wc-block-components-sale-badge {
  background: #f5c518 !important;
  color: #1a4a1a !important;
  font-weight: 700 !important;
}

.wc-block-cart,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-checkout,
.alignwide {
  max-width: 100% !important;
}

.wc-block-cart__submit-container {
  width: 100%;
}

.wc-block-cart__submit-button {
  width: 100%;
  display: block !important;
  text-align: center;
  border-radius: 50px !important;
  font-size: 16px !important;
  padding: 14px 28px !important;
}

.content-section .wc-block-cart,
.content-section .wp-block-woocommerce-cart,
.content-section .wp-block-woocommerce-checkout {
  max-width: 100% !important;
  width: 100% !important;
}

.content-section .container > div[style*="max-width"] {
  max-width: 100% !important;
  width: 100% !important;
}