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

/* CSS Variables — Light Theme */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --accent-gold: #d97706;
  --accent-gold-rgb: 217, 119, 6;
  --accent-gold-glow: rgba(217, 119, 6, 0.1);
  --accent-green: #059669;
  --accent-green-rgb: 5, 150, 105;
  --accent-green-glow: rgba(5, 150, 105, 0.1);
  --accent-red: #dc2626;
  --accent-red-glow: rgba(220, 38, 38, 0.15);
  --accent-blue: #2563eb;
  --text-main: #09131f;
  --text-muted: #374151;
  --text-dark: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.06);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
}

/* General Reset & Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(245, 158, 11, 0);
  }
}

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

@keyframes ripple {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Reusable Components */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.section-tag.green {
  background: var(--accent-green-glow);
  color: var(--accent-green);
  border-color: rgba(5, 150, 105, 0.2);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3.5rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  border-color: var(--text-muted);
}

.btn-green {
  background-color: var(--accent-green);
  color: var(--text-main);
}

.btn-green:hover {
  background-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-danger {
  background-color: var(--accent-red);
  color: var(--text-main);
}

.btn-danger:hover {
  background-color: #f87171;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
}

/* 1. Header (Navigation) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.state-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gov-emblem {
  height: 50px;
  width: auto;
}

.logo-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* 2. Hero Section — Full-bleed Background Slider */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* Background Slider Layer */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.bg-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Content sits above the background */
.hero-content-wrapper {
  position: relative;
  z-index: 5;
  padding-top: 8rem;
  padding-bottom: 5rem;
  max-width: 720px;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  color: #fff;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Carousel prev/next buttons - positioned on the hero itself */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.carousel-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  border-color: var(--accent-gold);
}

.carousel-btn.prev {
  left: 1.5rem;
}

.carousel-btn.next {
  right: 1.5rem;
}

/* Indicators at bottom of hero */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.indicator.active {
  background: var(--accent-gold);
  width: 28px;
  border-radius: 100px;
  border-color: var(--accent-gold);
}

/* Badge label on each slide */
.hero-badge {
  position: absolute;
  top: 6rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(251, 191, 36, 0.6);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 6;
}

/* Quick Stats Row */
.quick-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.quick-stat-item {
  display: flex;
  flex-direction: column;
}

.quick-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quick-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 3. Stats Dashboard Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: var(--bg-secondary);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
}

.gallery-card-overlay h4 {
  color: white;
  margin: 0;
  font-size: 1rem;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 22, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  max-width: 900px;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.gallery-modal img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-modal-caption {
  padding: 1.25rem 1.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
  background: var(--bg-primary);
}

.gallery-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 0 10px rgba(217, 119, 6, 0.08);
}

.stat-card.green-theme:hover {
  border-color: var(--accent-green);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 0 10px rgba(5, 150, 105, 0.08);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.75rem;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-gold);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.stat-card.green-theme .stat-icon {
  color: var(--accent-green);
}

.stat-val {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.stat-card.gold-theme .stat-val {
  color: var(--accent-gold);
}

.stat-card.green-theme .stat-val {
  color: var(--accent-green);
}

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

/* 4. About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.about-text-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-visual-card {
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
}

.about-visual-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.about-visual-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-visual-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--accent-gold);
  color: #fff;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.core-targets-list {
  display: grid;
  gap: 1rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.core-targets-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.98rem;
}

.core-targets-list li i {
  color: var(--accent-green);
  min-width: 20px;
}

.section-desc-compact {
  max-width: 100%;
  color: var(--text-muted);
}

.mission-snapshot {
  border: 1px solid rgba(217, 119, 6, 0.18);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.mission-snapshot-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mission-snapshot h3 {
  font-size: 1.9rem;
  margin: 0;
  color: var(--text-main);
}

.mission-snapshot-text {
  color: var(--text-main);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.mission-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
}

.mission-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.highlight-icon {
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-gold);
  color: white;
  border-radius: 16px;
  font-size: 1.1rem;
}

.mission-highlight h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.mission-highlight p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-pillar {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.about-pillar:hover {
  border-color: var(--accent-gold);
  transform: translateX(5px);
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* 5. Report Section */
.report-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.report-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

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

.security-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
}

.badge-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.badge-item h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.badge-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Custom Interactive Form */
.report-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-checkbox input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.form-checkbox input:checked + .checkbox-custom {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.form-checkbox input:checked + .checkbox-custom::after {
  content: '✓';
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: bold;
}

/* Form Success & Error Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  animation: fadeInUp 0.3s ease;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 6. Rehabilitation Section */
.rehab-header {
  margin-bottom: 3rem;
}

.rehab-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.rehab-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--accent-green);
}

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

.rehab-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rehab-feature-item {
  display: flex;
  gap: 1rem;
}

.rehab-feature-item i {
  color: var(--accent-green);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.rehab-feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.rehab-feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.locator-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}

.locator-card.active {
  border-color: var(--accent-green);
}

.locator-search {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.locator-search input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.locator-search input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.centers-list {
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.5rem;
}

.centers-list::-webkit-scrollbar {
  width: 6px;
}

.centers-list::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}

.center-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  transition: var(--transition-smooth);
}

.center-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.center-name {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.center-dist {
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.center-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.center-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
  display: none;
}

/* 7. Contacts Section */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contacts-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

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

.emergency-phone-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  animation: pulseGold 3s infinite;
}

.emergency-icon {
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 1rem;
}

.emergency-phone-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.emergency-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-red);
  font-family: var(--font-heading);
}

.contacts-list-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.contact-box:hover {
  border-color: var(--accent-gold);
}

.contact-box h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  color: var(--accent-gold);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-item i {
  color: var(--text-muted);
}

.contact-number {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
}

/* 8. Footer */
.footer {
  background: #1e293b;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  color: #e2e8f0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-text h3 {
  font-size: 1.2rem;
  color: #f8fafc;
}

.footer-logo-text span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--accent-gold);
}

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

/* 9. Floating WhatsApp Enquiry Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  font-family: var(--font-body);
}

.whatsapp-badge {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  border: none;
}

.whatsapp-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  z-index: -1;
  animation: ripple 2s infinite ease-out;
}

.whatsapp-badge-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: var(--accent-red);
  border-radius: 50%;
  border: 2px solid white;
}

/* Chatbox Popup */
.whatsapp-chatbox {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-chatbox.active {
  display: flex;
}

.chatbox-header {
  background: #075e54;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chatbox-avatar {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #075e54;
  flex-shrink: 0;
}

.chatbox-header-info {
  flex: 1;
}

.chatbox-header-info h4 {
  font-size: 0.95rem;
  color: white;
  margin-bottom: 0.15rem;
}

.chatbox-header-info span {
  font-size: 0.75rem;
  color: #a3e635;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chatbox-header-info span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #a3e635;
  border-radius: 50%;
  display: inline-block;
}

.chatbox-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.chatbox-close:hover {
  opacity: 1;
}

.chatbox-body {
  padding: 1.25rem;
  background: var(--bg-primary);
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chatbox-msg {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border-top-left-radius: 0;
  max-width: 85%;
  align-self: flex-start;
  font-size: 0.85rem;
  color: var(--text-main);
  position: relative;
}

.chatbox-msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
}

.chatbox-options-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.chatbox-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbox-opt-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
}

.chatbox-opt-btn:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.05);
  transform: translateX(3px);
}

.chatbox-footer {
  padding: 1rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.chatbox-input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: var(--text-main);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.chatbox-input:focus {
  outline: none;
  border-color: #25d366;
}

.chatbox-send-btn {
  background: #128c7e;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chatbox-send-btn:hover {
  background: #075e54;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    max-width: 100%;
  }
  .bg-slide {
    background-position: center center;
  }
  .hero-badge {
    top: auto;
    bottom: 4rem;
    right: 1.5rem;
  }
  .about-grid, .report-container, .rehab-grid, .contacts-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .section {
    padding: 4rem 0;
  }
  .hero {
    padding-top: 8rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-actions {
    display: none;
  }
  .nav-menu .nav-actions-mobile {
    display: flex;
    margin-top: auto;
    width: 100%;
  }
  .quick-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .about-section-inner {
    grid-template-columns: 1fr;
  }
  .mission-highlights {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .contacts-list-container {
    grid-template-columns: 1fr;
  }
  .whatsapp-chatbox {
    width: calc(100vw - 3rem);
    right: -1rem;
  }
}
