/* ==========================================================================
   JANSEWA for Animals - Main Stylesheet
   Modern, Compassionate, High-Impact Pet NGO Design
   Specially for Dogs & Cats in Delhi NCR
   ========================================================================== */

:root {
  --primary: #0d6e53;            /* Deep compassionate emerald green */
  --primary-dark: #084c39;
  --primary-light: #e8f5f1;
  --primary-hover: #0a5742;

  --accent-orange: #ea580c;       /* Urgent rescue & energy */
  --accent-orange-light: #ffedd5;
  --accent-amber: #f59e0b;        /* Warmth, optimism, care */
  --accent-amber-light: #fef3c7;

  --emergency-red: #dc2626;       /* 24/7 Helpline & rescue alert */
  --emergency-light: #fee2e2;

  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;

  --bg-main: #fcfbf7;             /* Soft warm organic cream */
  --bg-card: #ffffff;
  --bg-subtle: #f3f4f1;
  --bg-dark: #111827;

  --border-color: #e5e7eb;
  --border-light: #f1f5f3;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 35px -10px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 25px rgba(13, 110, 83, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------- Reset & Base ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------------- Top Urgent Alert Bar ---------------- */
.emergency-topbar {
  background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.emergency-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #fef08a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(254, 240, 138, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(254, 240, 138, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(254, 240, 138, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(254, 240, 138, 0); }
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  transition: background var(--transition-fast);
}

.topbar-phone:hover {
  background: rgba(255, 255, 255, 0.35);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.95;
  font-size: 0.82rem;
}

.btn-report-quick {
  background: #ffffff;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), background var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-report-quick:hover {
  transform: translateY(-1px);
  background: #fef2f2;
}

/* ---------------- Main Header & Navigation ---------------- */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #10b981);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(13, 110, 83, 0.25);
  flex-shrink: 0;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--accent-orange);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
}

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

.nav-link:hover {
  color: var(--primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 110, 83, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 83, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, #f97316, var(--accent-orange));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

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

.btn-outline-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-emergency {
  background: var(--emergency-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-emergency:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ---------------- Hero Section ---------------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 10% 20%, rgba(13, 110, 83, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
              var(--bg-main);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(13, 110, 83, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(245, 158, 11, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: float 4s ease-in-out infinite;
}

.badge-top {
  top: -15px;
  right: -15px;
  animation-delay: 0s;
}

.badge-bottom {
  bottom: 25px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-icon.green {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------------- Triage Quick Alert Banner ---------------- */
.quick-rescue-bar {
  background: #ffffff;
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--emergency-red);
}

.quick-rescue-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rescue-text-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.alert-circle-icon {
  width: 52px;
  height: 52px;
  background: var(--emergency-light);
  color: var(--emergency-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rescue-text-col h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bg-dark);
}

.rescue-text-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rescue-action-col {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ---------------- Section Common ---------------- */
.section {
  padding: 5.5rem 0;
}

.section-bg-light {
  background-color: #f7f9f6;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------------- Services / What We Do ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #34d399);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 110, 83, 0.3);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.service-card.orange .service-icon {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

.service-card.red .service-icon {
  background: var(--emergency-light);
  color: var(--emergency-red);
}

.service-card.amber .service-icon {
  background: var(--accent-amber-light);
  color: #b45309;
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--bg-dark);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
}

.service-link:hover {
  gap: 0.7rem;
}

/* ---------------- Adoptable Pets Showcase ---------------- */
.pet-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 110, 83, 0.25);
}

.pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.pet-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.pet-thumb-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #eee;
}

.pet-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pet-card:hover .pet-thumb-box img {
  transform: scale(1.05);
}

.pet-status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13, 110, 83, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.pet-type-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pet-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pet-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.pet-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-dark);
}

.pet-age {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pet-breed {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.badge-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.pet-story {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.pet-btn-adopt {
  width: 100%;
}

/* ---------------- Donation Support Section ---------------- */
.donation-section {
  background: linear-gradient(135deg, #094736, #0e5c46, #094736);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.donation-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.donation-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.donor-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.donor-perks-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #34d399;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.donation-card-box {
  background: #ffffff;
  color: var(--text-main);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.frequency-switch {
  display: flex;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.freq-btn {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  color: var(--text-muted);
}

.freq-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.amount-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.amount-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.amount-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.amount-val {
  font-size: 1.2rem;
  font-weight: 800;
}

.amount-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.custom-amount-wrap {
  margin-bottom: 1.5rem;
  position: relative;
}

.currency-sym {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--text-muted);
}

.custom-amount-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.2rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: border-color var(--transition-fast);
}

.custom-amount-input:focus {
  border-color: var(--primary);
  outline: none;
}

.tax-badge-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  justify-content: center;
}

/* ---------------- Transformation Stories ---------------- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.story-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.story-compare-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.story-compare-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-tag-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(13, 110, 83, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.story-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-body h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--bg-dark);
}

.story-meta {
  font-size: 0.82rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.story-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------- Rohini Shelter & Contact Section ---------------- */
.contact-section {
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  background: var(--bg-main);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.contact-info-panel h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-item-row {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-details p, .contact-details a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-dark);
  line-height: 1.4;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-form-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-form-box p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--bg-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 83, 0.12);
}

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

/* ---------------- FAQ Accordion ---------------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-dark);
  text-align: left;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 1.35rem;
}

/* ---------------- Footer ---------------- */
.footer {
  background: #0b1512;
  color: #9ca3af;
  padding: 5rem 0 2rem;
  border-top: 1px solid #1f2937;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #9ca3af;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #9ca3af;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-helpline-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.footer-helpline-card h5 {
  color: #f87171;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.footer-helpline-card .phone-link {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-helpline-card p {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ---------------- Floating Action Elements ---------------- */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 95;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.fab-call {
  background: var(--emergency-red);
}

.fab-call:hover {
  background: #b91c1c;
  transform: scale(1.05);
}

.fab-whatsapp {
  background: #25d366;
}

.fab-whatsapp:hover {
  background: #20ba59;
  transform: scale(1.05);
}

/* ---------------- Modals System ---------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-close-btn {
  font-size: 1.4rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-subtle);
  color: var(--bg-dark);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

/* ---------------- Toast Notification ---------------- */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #111827;
  color: #ffffff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  font-size: 0.92rem;
  font-weight: 600;
  border-left: 4px solid var(--primary);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------------- Mobile Responsive ---------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    max-width: 500px;
    margin: 0 auto;
  }

  .donation-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right var(--transition-normal);
    z-index: 92;
    align-items: flex-start;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .quick-rescue-content {
    flex-direction: column;
    text-align: center;
  }

  .rescue-text-col {
    flex-direction: column;
  }
}
