/* ==========================================================================
   DOOTA FOUNDATION - MODERN FULLY RESPONSIVE STYLESHEET
   Flawless adaptability across Mobile, Tablet, Laptop & Desktop screens
   ========================================================================== */

/* ---------- CSS VARIABLES & RESET ---------- */
:root {
  --primary-green: #0d3826;
  --primary-green-dark: #082619;
  --primary-green-light: #16563c;
  --primary-green-subtle: #f0f6f2;
  --gold-accent: #ebb438;
  --gold-pill: #ebb243;
  --gold-pill-hover: #f3be4d;
  --page-bg: #fdf6df;
  --page-bg-gradient: radial-gradient(circle at 50% 20%, #fff9e8 0%, #fcf3d7 50%, #f6eac2 100%);
  --card-bg: #ffffff;
  --card-border: #d4e0d4;
  --card-border-hover: #b8ceb8;
  --input-border: #bed0be;
  --input-focus: #0d3826;
  --input-icon-color: #3b5746;
  --text-dark: #1b2e23;
  --text-body: #333333;
  --text-muted: #555555;
  --text-light: #777777;
  --services-box-bg: #fef7e7;
  --check-green: #178c3c;
  --divider-color: #d6e2d6;
  --font-serif-title: 'Cinzel', 'Times New Roman', Georgia, serif;
  --font-serif-body: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive, 'Brush Script MT', sans-serif;
  --shadow-card: 0 4px 16px rgba(13, 56, 38, 0.05);
  --shadow-hover: 0 8px 24px rgba(13, 56, 38, 0.12);
  --radius-card: 10px;
  --radius-btn: 6px;
  --radius-input: 5px;
  --transition: all 0.25s 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-sans);
  background-color: var(--page-bg);
  background-image: var(--page-bg-gradient);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--primary-green);
  color: #ffffff;
  width: 100%;
  position: relative;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  padding: 10px 0;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: clamp(38px, 4vw, 48px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
  transition: transform var(--transition);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-serif-title);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: clamp(11.5px, 1.2vw, 13.5px);
  color: var(--gold-accent);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 18px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold-accent);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Active "Home" Pill Badge */
.nav-link.active-pill {
  background-color: var(--gold-pill);
  color: var(--primary-green);
  font-weight: 700;
  padding: 6px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-link.active-pill:hover {
  background-color: var(--gold-pill-hover);
  color: var(--primary-green);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: 4px;
  transition: background-color var(--transition);
}

.mobile-nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   MAIN WRAPPER & CONTAINERS
   ========================================================================== */
.main-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0 28px;
}

.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Decorative Side Leaves (Desktop Only) */
.decorative-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
}

.leaf-left {
  left: 0;
  top: 260px;
  width: 44px;
  height: 240px;
  background-image: url('assets/images/leaf_left_transparent.png');
}

.leaf-right {
  right: 0;
  top: 280px;
  width: 46px;
  height: 230px;
  background-image: url('assets/images/leaf_right_transparent.png');
}

/* ==========================================================================
   CARDS BASE STYLING
   ========================================================================== */
.card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--card-border-hover);
}

.card-header {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title {
  font-family: var(--font-serif-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 0;
}

.header-icon.gold-accent {
  color: var(--gold-accent);
  font-size: 14px;
}

.header-lotus-icon {
  width: 17px;
  height: 17px;
  fill: var(--gold-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   TOP SPLIT SECTION: 2 COLUMNS (Laptop & Desktop)
   ========================================================================== */
.top-split-section {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 20px;
  align-items: stretch;
}

/* ----- LEFT COLUMN: REQUEST HELP FORM ----- */
.request-card {
  display: flex;
  flex-direction: column;
}

.request-card .card-body {
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.form-lead-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.help-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.form-group {
  position: relative;
  width: 100%;
}

.input-with-icon {
  display: flex;
  align-items: center;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background-color: #ffffff;
  height: 32px;
  transition: var(--transition);
}

.input-with-icon:focus-within {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 2px rgba(13, 56, 38, 0.1);
}

.input-icon {
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--input-icon-color);
  font-size: 11.5px;
  flex-shrink: 0;
}

.input-with-icon input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 8px 0 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #222222;
  height: 100%;
}

.input-with-icon input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

/* Split dropdown: "Type of Request ▾" | "Select an option ▾" */
.split-dropdown-group .custom-select-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.dropdown-tag-label {
  font-size: 10.5px;
  color: #333333;
  padding-right: 6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  border-right: 1px solid #d4dfd4;
  margin-right: 8px;
  user-select: none;
}

.mini-caret {
  font-size: 8px;
  color: #555555;
}

.custom-select-wrapper select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #333333;
  cursor: pointer;
  height: 100%;
  padding: 0;
}

/* Textarea Group */
.textarea-group {
  height: auto;
  align-items: flex-start;
}

.textarea-icon {
  padding-top: 8px;
}

.textarea-group textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 6px 8px 6px 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #222222;
  resize: vertical;
  min-height: 48px;
}

.textarea-group textarea::placeholder {
  color: var(--text-light);
}

/* Submit Request Button */
.btn-submit-request {
  width: 100%;
  background-color: var(--primary-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-btn);
  height: 34px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  transition: var(--transition);
}

.btn-submit-request:hover {
  background-color: var(--primary-green-light);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(13, 56, 38, 0.2);
}

.btn-submit-request:active {
  transform: translateY(0);
}

/* ----- RIGHT COLUMN: ABOUT OUR SEVA & OUR MISSION ----- */
.about-seva-card {
  display: flex;
  flex-direction: column;
}

.about-body-layout {
  padding: 14px 18px 10px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  align-items: center;
  flex: 1;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kindness-headline {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary-green);
  line-height: 1.3;
}

.about-description {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-body);
}

/* Services Box */
.services-box {
  background-color: var(--services-box-bg);
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 4px;
}

.services-title {
  font-family: var(--font-serif-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: #222222;
}

.service-check {
  color: var(--check-green);
  font-size: 11px;
  flex-shrink: 0;
}

/* Right image: hands cupping red heart */
.about-image-container {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.about-hero-img:hover {
  transform: scale(1.03);
}

/* Sub-banner: Our Mission */
.mission-banner {
  background-color: var(--primary-green);
  color: #ffffff;
  border-radius: 6px;
  margin: 0 18px 12px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mission-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mission-handshake-icon {
  color: var(--gold-accent);
  font-size: 14px;
}

.mission-heading {
  font-family: var(--font-serif-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.3px;
}

.mission-quote {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 11.5px;
  color: #ffffff;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   MIDDLE SECTION: DONATE NOW CARD
   ========================================================================== */
.donate-card {
  padding: 16px 22px;
}

.donate-card-grid {
  display: grid;
  grid-template-columns: 240px 1px 260px 1px 230px 1fr;
  gap: 18px;
  align-items: center;
}

.vertical-divider {
  width: 1px;
  height: 85px;
  background-color: var(--divider-color);
  justify-self: center;
}

/* Zone 1: Intro & Slogan */
.donate-col-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donate-badge {
  background-color: var(--primary-green);
  color: #ffffff;
  border-radius: 6px 16px 16px 6px;
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-serif-body);
  font-weight: 700;
  font-size: 15px;
}

.donate-badge-icon {
  color: var(--gold-accent);
  font-size: 16px;
}

.donate-intro-text {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--text-body);
  max-width: 220px;
}

.donate-cursive-tagline {
  font-family: var(--font-script);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

/* Micro Headings */
.section-micro-heading {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

/* Zone 2: Amount Grid */
.donate-col-amounts {
  display: flex;
  flex-direction: column;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.amount-btn {
  background-color: #ffffff;
  color: #222222;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  padding: 5px 6px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.amount-btn:hover {
  border-color: var(--primary-green);
  background-color: #f7faf7;
}

/* Active / Selected Amount Button (₹1,000 in original) */
.amount-btn.active {
  background-color: var(--gold-pill);
  color: var(--primary-green);
  border: 1.5px solid var(--primary-green);
  font-weight: 700;
}

.custom-amount-field {
  display: flex;
  align-items: center;
  margin-top: 6px;
  border: 1px solid var(--primary-green);
  border-radius: 4px;
  padding: 3px 8px;
  background: #ffffff;
}

.currency-prefix {
  font-weight: 700;
  font-size: 11.5px;
  color: var(--primary-green);
  margin-right: 4px;
}

.custom-amount-field input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 11.5px;
  font-family: var(--font-sans);
}

/* Zone 3: Donor Details */
.donate-col-details {
  display: flex;
  flex-direction: column;
}

.donor-inputs-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.donor-field {
  height: 28px;
  border-radius: 4px;
}

.donor-field .input-icon {
  width: 28px;
  font-size: 10.5px;
}

.donor-field input {
  font-size: 11px;
  padding: 0 6px 0 0;
}

/* Zone 4: Donate Button & Security Notice */
.donate-col-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-left: 8px;
}

.btn-donate-now {
  background-color: var(--primary-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 11px 20px;
  font-family: var(--font-serif-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 180px;
  box-shadow: 0 3px 8px rgba(13, 56, 38, 0.2);
  transition: var(--transition);
}

.btn-donate-now:hover {
  background-color: var(--primary-green-light);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(13, 56, 38, 0.25);
}

.btn-donate-now:active {
  transform: translateY(0);
}

.donate-heart-icon {
  color: var(--gold-accent);
  font-size: 14px;
}

.donate-secure-notice {
  font-size: 9px;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: center;
  max-width: 180px;
  line-height: 1.25;
}

.donate-secure-notice i {
  font-size: 9px;
  flex-shrink: 0;
}

/* ==========================================================================
   SCROLLING TICKER: OUR GENEROUS DONORS
   ========================================================================== */
.donors-ticker-bar {
  background-color: var(--primary-green);
  color: #ffffff;
  width: 100%;
  padding: 8px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ticker-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.ticker-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 14px;
}

.ticker-icon {
  color: var(--gold-accent);
  font-size: 13px;
}

.ticker-title {
  font-family: var(--font-serif-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ticker-marquee-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 15px, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black 95%, transparent);
}

.ticker-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeContinuous 32s linear infinite;
}

.ticker-marquee-track:hover {
  animation-play-state: paused;
}

.donor-item {
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  padding: 0 10px;
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  user-select: none;
}

@keyframes marqueeContinuous {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   GALLERY & SEVA ACTIVITIES SECTION
   ========================================================================== */
.gallery-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gallery-section-title {
  font-family: var(--font-serif-body);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--primary-green);
  text-align: center;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.ornamental-line {
  height: 1.5px;
  width: clamp(40px, 6vw, 80px);
  background: linear-gradient(90deg, transparent, var(--primary-green));
}

.ornamental-line.line-right {
  background: linear-gradient(90deg, var(--primary-green), transparent);
}

/* 5-Column Gallery Grid (Desktop) */
.gallery-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery-card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--card-border-hover);
}

.gallery-img-wrap {
  width: 100%;
  height: 100px;
  overflow: hidden;
  background-color: #e5ece5;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-photo {
  transform: scale(1.06);
}

.gallery-card-badge {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-green);
  color: #ffffff;
  width: 100%;
  padding: 16px 0;
  flex-shrink: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 14px;
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  white-space: nowrap;
}

.footer-contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--gold-accent);
}

.contact-icon {
  color: #ffffff;
  font-size: 11px;
}

.footer-divider-pipe {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  user-select: none;
}

.footer-social-group {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.follow-us-label {
  color: #ffffff;
  font-weight: 500;
  font-size: 11px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  transition: transform var(--transition), filter var(--transition);
}

.social-icon:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.social-fb { background-color: #1877f2; }
.social-yt { background-color: #ff0000; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-in { background-color: #0a66c2; }

/* Footer Right */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
}

.footer-cursive-motto {
  font-family: var(--font-script);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1.1;
}

.footer-copyright {
  font-size: 9.5px;
  color: #d2ded7;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   MODALS & TOAST NOTIFICATIONS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 56, 38, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background-color: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  max-width: 460px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.25s ease-out;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  transition: opacity 0.2s;
}

.modal-close-btn:hover {
  opacity: 0.8;
}

.modal-header {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h3 {
  font-family: var(--font-serif-body);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.modal-header-icon {
  color: var(--gold-accent);
  font-size: 16px;
}

.modal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.donation-summary-card {
  background-color: #f7faf7;
  border: 1px solid #d4e4d4;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

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

.highlight-amount {
  font-size: 18px;
  color: var(--primary-green);
}

.text-green {
  color: #178c3c;
  font-size: 11px;
  font-weight: 600;
}

.payment-methods-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-green);
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.payment-tab {
  background-color: #ffffff;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 8px 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: var(--transition);
}

.payment-tab.active {
  border-color: var(--primary-green);
  background-color: #f2f7f3;
  color: var(--primary-green);
  font-weight: 700;
}

.tab-panel {
  padding: 6px 0;
}

.panel-instruction {
  font-size: 11px;
  color: #555555;
  margin-bottom: 8px;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.form-row-dual input, .tab-panel input, .bank-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--input-border);
  border-radius: 5px;
  font-size: 12px;
  outline: none;
}

.bank-select {
  background-color: #ffffff;
  cursor: pointer;
}

.btn-confirm-payment {
  background-color: var(--primary-green);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  transition: var(--transition);
}

.btn-confirm-payment:hover {
  background-color: var(--primary-green-light);
}

/* Gallery Lightbox Modal */
.gallery-modal-card {
  max-width: 520px;
}

.gallery-modal-card .modal-close-btn {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 12px;
  right: 12px;
}

.gallery-modal-img-wrap {
  width: 100%;
  height: 240px;
  background-color: #0d3826;
}

.gallery-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-modal-tag {
  background-color: var(--gold-pill);
  color: var(--primary-green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  width: fit-content;
}

.gallery-modal-info h3 {
  font-family: var(--font-serif-body);
  font-size: 17px;
  color: var(--primary-green);
}

.gallery-modal-info p {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.5;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  animation: slideUp 0.3s ease-out;
}

.toast-content {
  background-color: var(--primary-green);
  color: #ffffff;
  border-left: 4px solid var(--gold-accent);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  max-width: 360px;
}

.toast-icon {
  font-size: 22px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.toast-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-desc {
  font-size: 11px;
  color: #e5ece5;
}

.toast-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  margin-left: 8px;
}

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

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Laptop)
   ========================================================================== */

/* 1. Medium Laptops / Small Desktops (1024px - 1180px) */
@media (max-width: 1180px) {
  .donate-card-grid {
    grid-template-columns: 210px 1px 230px 1px 200px 1fr;
    gap: 12px;
  }
  
  .top-split-section {
    grid-template-columns: 350px 1fr;
    gap: 16px;
  }
  
  .about-body-layout {
    grid-template-columns: 1fr 220px;
  }
}

/* 2. Tablets & Small Laptops (769px - 1023px) */
@media (max-width: 1023px) {
  .leaf-left, .leaf-right {
    display: none;
  }

  .top-split-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-seva-card {
    order: 1;
  }

  .request-card {
    order: 2;
  }

  .about-body-layout {
    grid-template-columns: 1.2fr 1fr;
    padding: 16px;
  }

  .about-image-container {
    min-height: 200px;
  }

  .donate-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .vertical-divider {
    display: none;
  }

  .donate-col-details {
    grid-column: span 1;
  }

  .donate-col-action {
    grid-column: span 1;
    padding-left: 0;
  }

  .gallery-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* 3. Mobile Devices & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 8px 0;
  }

  .header-inner {
    padding: 0 16px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* Mobile Navigation Drawer */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-green);
    flex-direction: column;
    padding: 16px;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.mobile-open {
    display: flex;
    animation: slideUp 0.2s ease-out;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
  }

  .main-wrapper {
    padding: 16px 0 24px;
    gap: 16px;
  }

  .page-container {
    padding: 0 16px;
    gap: 16px;
  }

  /* Stack Top Section on Mobile */
  .top-split-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-seva-card {
    order: 1;
  }

  .request-card {
    order: 2;
  }

  .about-body-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .about-image-container {
    height: 190px;
    min-height: 190px;
    order: -1;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px 8px;
  }

  /* Form spacing on mobile */
  .input-with-icon {
    height: 40px;
  }

  .input-icon {
    width: 40px;
    font-size: 13.5px;
  }

  .input-with-icon input {
    font-size: 13px;
  }

  .custom-select-wrapper select {
    font-size: 12.5px;
  }

  .btn-submit-request {
    height: 42px;
    font-size: 13.5px;
    margin-top: 6px;
  }

  /* Donate Card Stack on Mobile */
  .donate-card {
    padding: 16px;
  }

  .donate-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vertical-divider {
    display: none;
  }

  .donate-col-intro {
    align-items: center;
    text-align: center;
  }

  .donate-intro-text {
    max-width: 100%;
    font-size: 11.5px;
  }

  .donate-cursive-tagline {
    font-size: 19px;
  }

  .section-micro-heading {
    text-align: center;
    font-size: 13px;
    margin-bottom: 8px;
  }

  .amount-grid {
    gap: 8px;
  }

  .amount-btn {
    padding: 9px 6px;
    font-size: 13.5px;
  }

  .donor-field {
    height: 40px;
  }

  .donor-field .input-icon {
    width: 40px;
    font-size: 13px;
  }

  .donor-field input {
    font-size: 13px;
  }

  .donate-col-action {
    padding-left: 0;
    width: 100%;
  }

  .btn-donate-now {
    max-width: 100%;
    height: 46px;
    font-size: 16px;
  }

  .donate-secure-notice {
    font-size: 10.5px;
    max-width: 100%;
  }

  /* Ticker on Mobile */
  .ticker-inner {
    padding: 0 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ticker-label-wrap {
    margin-right: 0;
  }

  .donors-ticker-bar {
    padding: 10px 0;
  }

  /* Gallery Grid on Mobile */
  .gallery-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-img-wrap {
    height: 95px;
  }

  /* Footer on Mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 0 16px;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-divider-pipe {
    display: none;
  }

  .footer-social-group {
    margin-top: 4px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .footer-right {
    align-items: center;
    text-align: center;
    margin-top: 4px;
  }

  .footer-cursive-motto {
    font-size: 17px;
  }

  .toast-notification {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

/* 4. Extra Small Mobile Devices (<= 420px) */
@media (max-width: 420px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-img-wrap {
    height: 130px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 10.5px;
  }
}
