@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #d1fae5;
  --primary-dark: #064e3b;
  --forest-green: #14532d;
  --mint: #10b981;
  --mint-light: #ecfdf5;
  --lime: #84cc16;
  --accent-gold: #f59e0b;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-green-soft: #f0fdf4;
  --bg-green-subtle: #ecfdf5;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-subtle: #e2e8f0;
  --border-green: #a7f3d0;
  --border-focus: #34d399;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.25;
}

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

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

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

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #059669, #047857);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857, #064e3b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--forest-green);
  border-color: var(--border-green);
}

.btn-secondary:hover {
  background: #bbf7d0;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

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

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

.btn-playstore {
  background: #111827;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid #374151;
}

.btn-playstore:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-red {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-dark {
  background: #1e293b;
  color: #f8fafc;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #14532d, #064e3b);
  color: #ecfdf5;
  font-size: 0.84rem;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
}

.top-bar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: #a7f3d0;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 600;
}

/* Header & Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.brand:hover .brand-logo {
  transform: rotate(6deg) scale(1.08);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest-green);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

/* Reusable Responsive Layout Grids */
.detail-layout,
.contact-layout,
.download-box-layout,
.about-hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--forest-green);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s ease;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links .nav-link {
  font-size: 1.1rem;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at top left, #ecfdf5 0%, #f0fdf4 40%, #ffffff 100%);
  padding: 70px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-green);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--forest-green);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--border-green);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--forest-green);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, #059669, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.app-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
  transition: var(--transition);
}

.app-badge-box:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.app-badge-icon {
  width: 28px;
  height: 28px;
}

.app-badge-text-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  line-height: 1;
}

.app-badge-text-main {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* App Notice Banner */
.app-notice-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.app-notice-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--forest-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Banner Slider Animations */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImagePop {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes liveDotGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    transform: scale(1.15);
  }
}

.hero-slider-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-slide {
  display: none;
  opacity: 0;
  width: 100%;
  transition: opacity 0.35s ease;
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

/* Staggered entrance animations when slide becomes active */
.hero-slide.active .hero-pill {
  animation: heroFadeUp 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}

.hero-slide.active .hero-title {
  animation: heroFadeUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-slide.active .hero-subtitle {
  animation: heroFadeUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-slide.active .hero-actions {
  animation: heroFadeUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-slide.active .app-notice-card {
  animation: heroFadeUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-slide.active .hero-main-card {
  animation: heroImagePop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* Slider Controls Bar */
.hero-slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.12);
  margin-top: 24px;
  position: relative;
  z-index: 10;
}

.hero-slider-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-green);
  background: #ffffff;
  color: var(--forest-green);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.hero-slider-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.1);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}

.hero-slider-dot.active {
  width: 30px;
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.hero-slider-counter {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--forest-green);
  background: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.hero-slide-live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: liveDotGlow 2s infinite ease-in-out;
}

.hero-title-dynamic {
  background: linear-gradient(135deg, #064e3b 20%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: break-word;
}

/* Hero Media Card */
.hero-visual {
  position: relative;
}

.hero-visual-mobile {
  display: none;
  margin: 18px 0 24px;
}

.hero-visual-desktop {
  display: block;
}

.hero-main-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 20px 40px -15px rgba(6, 78, 59, 0.16), 0 0 0 1px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -15px rgba(6, 78, 59, 0.22), 0 0 0 1.5px rgba(16, 185, 129, 0.35);
}

.hero-main-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.hero-main-card:hover .hero-main-img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Stats Counter Grid */
.stats-strip {
  background: #ffffff;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-green-soft);
  border: 1px solid var(--border-green);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--forest-green);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--forest-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border: 1px solid var(--border-green);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--forest-green);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Section Padding */
.section {
  padding: 70px 0;
}

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

.bg-white {
  background-color: #ffffff;
}

/* How It Works 3-Step Flow */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.flow-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-green);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.flow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.flow-step-num {
  position: absolute;
  top: -16px;
  left: 28px;
  background: linear-gradient(135deg, var(--forest-green), var(--primary));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.flow-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--forest-green);
}

.flow-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

/* Event Card */
.event-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-green);
}

.event-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-img {
  transform: scale(1.05);
}

.event-date-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(20, 83, 45, 0.92);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.rsvp-status {
  font-size: 0.82rem;
  color: var(--forest-green);
  font-weight: 600;
}

/* Report Card (Open Civic Issues) */
.report-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.report-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

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

.report-code-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.report-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.report-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.report-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.report-locality {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.report-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.upvote-btn {
  background: var(--bg-green-soft);
  border: 1px solid var(--border-green);
  color: var(--forest-green);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.upvote-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.upvote-btn.voted {
  background: var(--primary);
  color: #ffffff;
}

/* Solved Issues Cards (Before & After Showcase) */
.solved-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-green);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

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

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  height: 220px;
}

.before-pane, .after-pane {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.before-pane img, .after-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pane-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.label-before {
  left: 12px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
}

.label-after {
  right: 12px;
  background: rgba(5, 150, 105, 0.95);
  color: #ffffff;
}

.solved-body {
  padding: 24px;
}

.solved-metrics-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-green-soft);
  border-radius: var(--radius-md);
  margin: 16px 0;
  font-size: 0.84rem;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--forest-green);
}

/* Community Gallery Cards */
.community-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.community-media-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  cursor: pointer;
}

.community-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.community-card:hover .community-media-img {
  transform: scale(1.04);
}

.type-indicator {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.community-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.community-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.community-author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.community-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.community-tags {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.community-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.action-btn {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--bg-green-soft);
  color: var(--primary);
}

.action-btn.shared {
  color: var(--primary);
}

/* App Download Banner CTA */
.app-cta-banner {
  background: linear-gradient(135deg, #064e3b 0%, #14532d 50%, #047857 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin: 50px auto;
}

.app-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 70%);
}

.app-cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.app-cta-title {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.app-cta-desc {
  font-size: 1.05rem;
  color: #a7f3d0;
  margin-bottom: 28px;
  max-width: 580px;
}

.qr-box-cta {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--forest-green);
  box-shadow: var(--shadow-lg);
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.filter-select {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
}

.filter-select:focus {
  border-color: var(--primary);
}

/* Modal Dialogs */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-surface);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.share-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.share-btn-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.share-btn-option:hover {
  background: var(--bg-green-soft);
  border-color: var(--border-green);
  color: var(--primary);
}

.copy-link-box {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.copy-link-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  outline: none;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Site Footer */
.site-footer {
  background: #064e3b;
  color: #ecfdf5;
  padding: 70px 0 30px;
  border-top: 4px solid var(--primary);
}

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

.footer-brand .brand-title {
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-brand .brand-tagline {
  color: #a7f3d0;
}

.footer-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #34d399;
  transform: translateX(4px);
  display: inline-block;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

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

.social-icon:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #a7f3d0;
}

/* Legal / Static Page Styles */
.legal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 50px;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 14px;
  color: var(--forest-green);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

.legal-content p, .legal-content ul {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 18px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Comprehensive Responsive Media Queries (Mobile, Tablet, Laptop, Desktop)
   ========================================================================== */

/* Desktop only rules (>= 1081px) */
@media (min-width: 1081px) {
  .mobile-toggle {
    display: none !important;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
  .drawer-overlay {
    display: none !important;
  }
}

/* Compact Laptop Mode (1081px to 1260px) */
@media (max-width: 1260px) and (min-width: 1081px) {
  .main-nav {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .brand-logo {
    height: 42px;
  }
  .brand-title {
    font-size: 1.18rem;
  }
  .brand-tagline {
    font-size: 0.64rem;
  }
  .header-actions {
    gap: 10px;
  }
  .header-playstore-btn {
    padding: 7px 12px;
  }
  .header-playstore-btn .app-badge-text-main {
    font-size: 0.82rem !important;
  }
  .header-qr-btn {
    padding: 7px 12px;
  }
}

/* Tablet & Smaller Laptop Breakpoint (<= 1080px) */
@media (max-width: 1080px) {
  .main-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .header-actions .header-playstore-btn {
    display: inline-flex;
    padding: 8px 14px;
  }
  .header-actions .header-playstore-btn .app-badge-text-main {
    font-size: 0.82rem !important;
  }
  .header-actions .header-qr-btn {
    display: none;
  }
  .site-header .nav-container {
    height: 70px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-visual-desktop {
    display: none !important;
  }
  .hero-visual-mobile {
    display: block !important;
    max-width: 100%;
    margin: 16px 0 20px;
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .app-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .app-cta-banner {
    padding: 44px 32px;
  }
  .detail-layout,
  .contact-layout,
  .download-box-layout,
  .about-hero-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .site-header .nav-container {
    height: 64px;
  }
  .brand-logo {
    height: 38px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
  }
  .header-actions .header-playstore-btn {
    display: none !important;
  }
  .top-bar {
    padding: 6px 0;
    font-size: 0.78rem;
  }
  .top-bar-slogan {
    display: none;
  }
  .top-bar .inner {
    justify-content: center;
    text-align: center;
  }
  .top-bar-cta {
    width: 100%;
    text-align: center;
  }
  .hero-section {
    padding: 24px 0 32px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .hero-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .hero-actions .app-badge-box {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.84rem;
  }
  .hero-visual {
    order: 2;
    width: 100%;
    max-width: 100%;
  }
  .hero-main-card {
    padding: 8px;
    border-radius: 16px;
  }
  .hero-main-img {
    height: 220px;
    border-radius: 12px;
  }
  .hero-floating-badge {
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 8px 12px;
    gap: 8px;
  }
  .hero-slider-controls {
    margin-top: 18px;
    padding: 4px 12px;
    gap: 10px;
  }
  .hero-slider-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .hero-slider-dot {
    width: 8px;
    height: 8px;
  }
  .hero-slider-dot.active {
    width: 24px;
  }
  .hero-slider-counter {
    font-size: 0.72rem;
    padding: 2px 8px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-item {
    padding: 12px 14px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .before-after-grid {
    height: 180px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }
  .filter-pills {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
  }
  .filter-pill {
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 6px 14px;
  }
  .filter-select {
    width: 100%;
  }
  .app-cta-title {
    font-size: 1.85rem;
  }
  .app-cta-banner {
    padding: 32px 20px;
    margin: 30px auto;
  }
  .modal-content {
    padding: 24px 18px;
    max-width: 95%;
  }
  .share-options-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 24px 18px;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-logo {
    height: 34px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-main-img {
    height: 240px;
  }
  .hero-floating-badge {
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .app-cta-title {
}

/* Government Non-Affiliation Disclaimer & Official Sources */
.gov-disclaimer-banner {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.gov-disclaimer-banner.dark {
  background: #0f172a;
  border-color: #334155;
  border-left-color: #f59e0b;
  color: #f1f5f9;
}

.gov-disclaimer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #92400e;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gov-disclaimer-banner.dark .gov-disclaimer-title {
  color: #fbbf24;
}

.gov-disclaimer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 12px;
}

.gov-disclaimer-banner.dark .gov-disclaimer-text {
  color: #cbd5e1;
}

.gov-disclaimer-sources {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  margin-top: 10px;
}

.gov-disclaimer-banner.dark .gov-disclaimer-sources {
  border-color: #334155;
  color: #94a3b8;
}

.gov-disclaimer-sources strong {
  color: #1e293b;
}

.gov-disclaimer-banner.dark .gov-disclaimer-sources strong {
  color: #f8fafc;
}

.gov-disclaimer-sources a {
  color: #0284c7;
  text-decoration: underline;
  word-break: break-all;
}

.gov-disclaimer-banner.dark .gov-disclaimer-sources a {
  color: #38bdf8;
}

.footer-gov-disclaimer {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 32px 0 20px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-gov-disclaimer strong {
  color: #ffffff;
}

.footer-gov-disclaimer a {
  color: #a7f3d0;
  text-decoration: underline;
}

