/* Snake Protectors Sri Lanka - Modern Web Design System */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Sinhala:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary: #059669;
  --primary-dark: #064e3b;
  --primary-light: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.2);
  --primary-rgb: 5, 150, 105;

  --accent-amber: #f59e0b;
  --accent-amber-light: #fef3c7;
  --accent-coral: #ef4444;
  --accent-coral-light: #fee2e2;
  --accent-blue: #0284c7;

  --bg-dark: #0a1118;
  --bg-dark-secondary: #0f1a26;
  --card-dark: #152232;
  --border-dark: #1e3148;

  --bg-light: #f8fafc;
  --bg-surface: #ffffff;
  --card-border: #e2e8f0;
  --card-hover-border: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  --text-light-muted: #94a3b8;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Sinhala', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Emergency Bar */
.top-emergency-bar {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  z-index: 101;
}

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

.emergency-alert-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.emergency-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.emergency-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.emergency-link:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Main Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
  transition: transform 0.2s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.06);
}

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

.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.brand-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: #334155;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
  background-color: rgba(5, 150, 105, 0.08);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 105;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(5, 150, 105, 0.08);
  color: var(--primary-dark);
  transform: translateX(3px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: #cbd5e1;
  color: #334155;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(5, 150, 105, 0.05);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(ellipse at top, #11261f 0%, #081413 60%, #050b0a 100%);
  color: #ffffff;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-backdrop-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.12;
  background-image: radial-gradient(#10b981 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.16;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan-si {
  font-size: 18px;
  color: #a7f3d0;
  font-weight: 500;
  margin-bottom: 18px;
  border-left: 3px solid #10b981;
  padding-left: 14px;
  line-height: 1.6;
}

.hero-desc {
  font-size: 16.5px;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Quick Search Card in Hero */
.hero-quick-search-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.quick-search-header {
  margin-bottom: 24px;
}

.quick-search-title {
  font-size: 22px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-search-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
}

.quick-search-form .form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition-fast);
  outline: none;
}

.form-select option {
  background: #0f172a;
  color: #ffffff;
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* Light Form Styles (for standard pages) */
.form-light .form-label {
  color: #334155;
}

.form-light .form-select, .form-light .form-input, .form-light .form-textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-main);
}

.form-light .form-select option {
  background: #ffffff;
  color: #0f172a;
}

/* Stats Counter Bar */
.stats-bar-section {
  position: relative;
  margin-top: -45px;
  z-index: 10;
}

.stats-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  box-shadow: var(--shadow-xl);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

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

/* Section Common Styling */
.section {
  padding: 85px 0;
}

.section-light {
  background-color: var(--bg-light);
}

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

.section-dark {
  background-color: var(--bg-dark-secondary);
  color: #ffffff;
}

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

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
  background: rgba(5, 150, 105, 0.1);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: #ffffff;
}

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

.section-dark .section-desc {
  color: #94a3b8;
}

/* District Grid Cards */
.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.district-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-normal);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.district-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}

.district-card-info {
  display: flex;
  flex-direction: column;
}

.district-name-en {
  font-size: 16px;
  font-weight: 700;
}

.district-name-si {
  font-size: 13px;
  color: var(--text-muted);
}

.district-count-badge {
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Rescuer Card */
.catcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.catcher-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.catcher-card:hover {
  border-color: #a7f3d0;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.catcher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #059669 0%, #10b981 100%);
}

.catcher-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.catcher-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catcher-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.catcher-name-en {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.catcher-name-si {
  font-size: 14px;
  color: #64748b;
}

.catcher-name-ta {
  font-size: 13.5px;
  color: #6b21a8;
}

.catcher-name-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.trilingual-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.lang-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lang-tag-en {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.lang-tag-si {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.lang-tag-ta {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.catcher-district-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.catcher-section-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
  transition: all var(--transition-fast);
}

.catcher-section-box:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.section-box-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #edf2f7;
}

.section-box-icon {
  font-size: 14px;
}

.section-box-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.trilingual-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.trilingual-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.lang-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.lang-pill-en {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.lang-pill-si {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.lang-pill-ta {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.trilingual-text {
  color: #1e293b;
  flex: 1;
  word-break: break-word;
}

.phone-val {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
}

.phone-val strong {
  font-size: 14.5px;
  color: #047857;
  font-family: monospace, sans-serif;
  letter-spacing: 0.5px;
}

.phone-alt-row {
  padding-top: 6px;
  margin-top: 4px;
  border-top: 1px dashed #e2e8f0;
}

.phone-label-badge {
  font-size: 10px;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
}

.catcher-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.btn-call {
  flex: 1;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-call:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  flex: 1;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
}

.lang-mode-tabs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
  margin-bottom: 20px;
}

.lang-mode-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* Snake Species Cards */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.species-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.species-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.species-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: #0f172a;
}

.species-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.species-card:hover .species-img {
  transform: scale(1.06);
}

.species-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.badge-danger {
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
}

.badge-success {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

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

.species-scientific {
  font-size: 13px;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.species-title-en {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.species-title-si {
  font-size: 14.5px;
  color: #64748b;
  margin-bottom: 12px;
}

.species-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.species-card-footer {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.filter-tab:hover {
  background: #f1f5f9;
  color: var(--primary-dark);
}

.filter-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Emergency Rescue Submission Form */
.rescue-form-container {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-xl);
}

.rescue-alert-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rescue-alert-icon {
  color: #dc2626;
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.rescue-alert-title {
  font-size: 15px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 4px;
}

.rescue-alert-desc {
  font-size: 13.5px;
  color: #b91c1c;
  line-height: 1.5;
}

/* Educational Info Cards & Layout */
.info-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.info-article {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.info-step-card {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}

.do-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.dont-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.do-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dont-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}

.bullet-list.do-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 800;
}

.bullet-list.dont-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 800;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

/* Floating WhatsApp Emergency Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

/* Flash Messages */
.flash-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.flash-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.flash-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 1px solid #1e293b;
}

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

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

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: all var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-emergency-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-links, .nav-actions {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--card-border);
    padding: 20px;
    box-shadow: var(--shadow-xl);
  }

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

  .hero-title {
    font-size: 32px;
  }

  .stats-card-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .do-dont-grid {
    grid-template-columns: 1fr;
  }

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

  .rescue-form-container {
    padding: 24px;
  }
}

/* ==========================================================================
   Flashing Policy Notice Banner (Flashes every 10 seconds)
   ========================================================================== */
.site-notice-wrapper {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 2px solid #fde68a;
  padding: 10px 0;
  position: relative;
  z-index: 80;
}

.flash-notice-banner {
  background: #ffffff;
  border: 1.5px solid #f59e0b;
  border-left: 6px solid #d97706;
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.35s ease;
  animation: flashNoticeEvery10s 10s ease-in-out infinite;
}

@keyframes flashNoticeEvery10s {
  0%, 82%, 100% {
    background-color: #ffffff;
    border-color: #f59e0b;
    border-left-color: #d97706;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
    transform: scale(1);
  }
  85% {
    background-color: #fef3c7;
    border-color: #d97706;
    border-left-color: #b45309;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8), 0 0 50px rgba(217, 119, 6, 0.45);
    transform: scale(1.012);
  }
  88% {
    background-color: #ffffff;
    border-color: #f59e0b;
    border-left-color: #d97706;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
    transform: scale(1);
  }
  92% {
    background-color: #fef3c7;
    border-color: #d97706;
    border-left-color: #b45309;
    box-shadow: 0 0 32px rgba(245, 158, 11, 0.9), 0 0 65px rgba(217, 119, 6, 0.5);
    transform: scale(1.015);
  }
  96% {
    background-color: #ffffff;
    border-color: #f59e0b;
    border-left-color: #d97706;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
    transform: scale(1);
  }
}

.flash-notice-banner.flash-pulse {
  background-color: #fef3c7 !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.9), 0 0 65px rgba(217, 119, 6, 0.5) !important;
  transform: scale(1.015);
}

.notice-icon-box {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  animation: pulsePin 2.5s infinite ease-in-out;
}

@keyframes pulsePin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-8deg); }
}

.notice-content {
  flex-grow: 1;
}

.notice-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.notice-badge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.notice-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #92400e;
  margin: 0;
}

.notice-body-si {
  font-size: 14.5px;
  line-height: 1.65;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 8px;
}

.notice-body-translations {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px dashed #fde68a;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

.notice-row-en, .notice-row-ta {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.notice-mini-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.notice-mini-tag.en { background: #e2e8f0; color: #334155; }
.notice-mini-tag.ta { background: #fed7aa; color: #9a3412; }


@media (max-width: 768px) {
  .flash-notice-banner {
    flex-direction: column;
    padding: 14px 16px;
    gap: 10px;
  }
  .notice-row-en, .notice-row-ta {
    flex-direction: column;
    gap: 2px;
  }
}

/* ==========================================================================
   AI ASSISTANT - 3D ANIMATED SNAKE ROUNDED INDICATOR & INTERFACE
   ========================================================================== */

/* 3D Animated Snake Round Floating Indicator */
.snake-bot-round-indicator {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 998;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 0;
  background: radial-gradient(circle at 35% 30%, #064e3b 0%, #022c22 65%, #01140e 100%);
  border: 2px solid #34d399;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 22px rgba(52, 211, 153, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.snake-bot-round-indicator:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: #6ee7b7;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 255, 136, 0.65), inset 0 2px 6px rgba(255, 255, 255, 0.5);
}

.snake-bot-round-indicator.active {
  border-color: #10b981;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 22px rgba(16, 185, 129, 0.6);
}

/* Pulsing Ambient Radar Rings */
.snake-3d-orb-pulse,
.snake-3d-orb-pulse-2 {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 211, 153, 0.6);
  pointer-events: none;
  animation: snakeOrbPulse 3s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

.snake-3d-orb-pulse-2 {
  animation-delay: 1.5s;
}

@keyframes snakeOrbPulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Inner 3D Container */
.snake-3d-orb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Photo-Realistic 3D Animated Snake Orb Container */
.snake-photo-orb-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #01140e;
}

/* Living Breathing Photo Layer */
.snake-photo-living-layer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transform-origin: 52% 47%;
  animation: snakeLivingBreathing 4.5s ease-in-out infinite;
  filter: brightness(1.05) contrast(1.08);
  transition: transform 0.3s ease;
}

.snake-bot-round-indicator:hover .snake-photo-living-layer {
  transform: scale(1.08) rotate(1deg);
}

@keyframes snakeLivingBreathing {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  35% {
    transform: scale(1.045) rotate(0.8deg);
  }
  70% {
    transform: scale(0.985) rotate(-0.5deg);
  }
}

/* Golden Glowing Eye Overlay */
.snake-eye-glow-layer {
  position: absolute;
  top: 46.9%;
  left: 51.8%;
  width: 9%;
  height: 9%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(255, 230, 120, 0.8) 0%, rgba(245, 158, 11, 0.4) 50%, transparent 85%);
  mix-blend-mode: screen;
  animation: snakeEyePulse 3.8s ease-in-out infinite;
}

@keyframes snakeEyePulse {
  0%, 100% {
    opacity: 0.35;
    filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4));
  }
  45% {
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
  }
  75% {
    opacity: 0.5;
    filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.6));
  }
}

/* Slit Pupil Dilation */
.snake-slit-pupil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22%;
  height: 75%;
  background: #050505;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  animation: pupilDilate 3.8s ease-in-out infinite;
}

@keyframes pupilDilate {
  0%, 100% { transform: translate(-50%, -50%) scaleX(1); }
  45% { transform: translate(-50%, -50%) scaleX(0.5); }
  75% { transform: translate(-50%, -50%) scaleX(1.3); }
}

/* Real Mouth Tongue SVG Layer */
.snake-real-mouth-tongue-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

/* Tongue Animation originating from the mouth notch (28% 59.6%) */
.snake-mouth-tongue-strike {
  transform-origin: 28% 59.6%;
  animation: snakeMouthTongueFlick 4s infinite ease-in-out;
}

@keyframes snakeMouthTongueFlick {
  0%, 72%, 100% {
    transform: scale(0);
    opacity: 0;
  }
  75% {
    transform: scale(0.6) rotate(2deg);
    opacity: 0.9;
  }
  78% {
    transform: scale(1.05) rotate(-3deg);
    opacity: 1;
  }
  81% {
    transform: scale(0.9) rotate(2.5deg);
    opacity: 1;
  }
  84% {
    transform: scale(1.1) rotate(-1.5deg);
    opacity: 1;
  }
  87% {
    transform: scale(0.45) rotate(0deg);
    opacity: 0.7;
  }
  90% {
    transform: scale(0);
    opacity: 0;
  }
}

/* Glass Orb Spherical Lens Highlight */
.snake-orb-glass-lens {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 35%, transparent 65%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.snake-3d-svg {
  width: 100%;
  height: 100%;
  transform: perspective(400px) rotateX(4deg);
  transition: transform 0.3s ease;
}

.snake-bot-round-indicator:hover .snake-3d-svg {
  transform: perspective(400px) rotateX(0deg) scale(1.06);
}

/* Live Status Gem */
.snake-live-status-gem {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background: #00ff88;
  border-radius: 50%;
  border: 2px solid #022c22;
  box-shadow: 0 0 8px #00ff88;
  animation: snakeGemPulse 2s infinite ease-in-out;
}

@keyframes snakeGemPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px #00ff88; }
  50% { transform: scale(1.25); box-shadow: 0 0 12px #00ff88; }
}

/* 3D Lifelike Snake Animations */
.snake-3d-model {
  transform-origin: 50% 60%;
  animation: snake3DIdle 4.5s infinite ease-in-out;
}

@keyframes snake3DIdle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-1.5px) rotate(-1deg);
  }
  75% {
    transform: translateY(1px) rotate(1.2deg);
  }
}

.snake-3d-coil {
  transform-origin: 50% 70%;
  animation: snakeCoilBreathing 4.5s infinite ease-in-out;
}

@keyframes snakeCoilBreathing {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03) translateY(-0.5px); }
}

.snake-3d-hood {
  transform-origin: 50% 36%;
  animation: snakeHoodBreathing 3.8s infinite ease-in-out;
}

@keyframes snakeHoodBreathing {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04, 1.02); }
}

.snake-3d-head {
  transform-origin: 50% 24%;
  animation: snakeHeadBob 3.2s infinite ease-in-out;
}

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

.snake-3d-eye {
  animation: snake3DEyeGlow 2.2s infinite alternate ease-in-out;
}

@keyframes snake3DEyeGlow {
  0% { opacity: 0.75; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.18); filter: drop-shadow(0 0 4px #00ff88); }
}

.snake-3d-tongue {
  transform-origin: 50% 12px;
  animation: snake3DTongueStrike 3.8s infinite ease-in-out;
}

@keyframes snake3DTongueStrike {
  0%, 82%, 100% { opacity: 0; transform: scale(0.4) translateY(2px); }
  88%, 94% { opacity: 1; transform: scale(1.1) translateY(-2px); }
}

/* Chat Dialog Container */
.snake-bot-dialog {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #09131d 0%, #050b12 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1001;
  animation: snakeBotSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes snakeBotSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.snake-bot-header {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  position: relative;
}

.snake-bot-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #34d399, transparent);
}

.bot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar-3d-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
  overflow: visible;
}

.snake-3d-avatar-svg {
  width: 100%;
  height: 100%;
}

.bot-online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #00ff88;
  border-radius: 50%;
  border: 1.5px solid #022c22;
  box-shadow: 0 0 6px #00ff88;
}

.bot-name {
  font-size: 15px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-tag {
  font-size: 10px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  text-transform: uppercase;
}

.bot-status-text {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

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

.bot-header-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.bot-header-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Chat Message Stream */
.snake-bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.snake-bot-messages::-webkit-scrollbar {
  width: 5px;
}
.snake-bot-messages::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 10px;
}
.snake-bot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.bot-message-row {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.bot-message-row.bot {
  align-self: flex-start;
}

.bot-message-row.user {
  align-self: flex-end;
}

.user-bubble {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 16px 16px 3px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
  word-break: break-word;
}

.bot-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 13px 16px;
  border-radius: 16px 16px 16px 3px;
  color: #e2e8f0;
  font-size: 13.5px;
  line-height: 1.6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bot-bubble strong {
  color: #34d399;
}

.bot-time-label {
  font-size: 10px;
  color: #64748b;
  margin-top: 4px;
}

.bot-message-row.user .bot-time-label {
  text-align: right;
}

/* Quick Prompt Chips */
.bot-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.bot-chip {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.bot-chip:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Catcher Cards Inside Chat */
.bot-catchers-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.bot-catcher-card {
  background: rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.2s;
}

.bot-catcher-card:hover {
  border-color: #34d399;
  background: rgba(6, 78, 59, 0.4);
}

.bot-catcher-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.bot-catcher-name {
  font-size: 13.5px;
  color: #ffffff;
  display: block;
}

.bot-catcher-si {
  font-size: 11.5px;
  color: #34d399;
}

.bot-verified-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.bot-catcher-areas {
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.4;
}

.bot-catcher-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.bot-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.bot-call-btn {
  background: #059669;
  color: #ffffff;
}

.bot-call-btn:hover {
  background: #10b981;
  color: #ffffff;
}

.bot-wa-btn {
  background: #25d366;
  color: #ffffff;
}

.bot-wa-btn:hover {
  background: #1eb956;
  color: #ffffff;
}

/* Typing Indicator */
.snake-bot-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.snake-typing-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: snakeDotBlink 1.4s infinite ease-in-out;
}

.snake-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.snake-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes snakeDotBlink {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Input Bar */
.snake-bot-input-bar {
  padding: 12px 14px;
  background: #050b12;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.snake-bot-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 9px 16px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.snake-bot-input:focus {
  border-color: #34d399;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}

.snake-bot-input::placeholder {
  color: #64748b;
  font-size: 12px;
}

.snake-bot-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #059669;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.snake-bot-send-btn:hover {
  background: #10b981;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   MOBILE OPTIMIZATION & RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Mobile Backdrop Overlay */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 17, 24, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 98;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Sticky Mobile Bottom Quick Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(15, 26, 38, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  z-index: 999;
  padding: 4px 8px;
  padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 12px;
  min-width: 58px;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bar-icon {
  font-size: 19px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mobile-bar-btn.active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.mobile-bar-btn.active .mobile-bar-icon {
  transform: scale(1.15);
}

.mobile-bar-btn.emergency-pulse {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 6px 12px;
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.45);
  animation: mobileEmergencyGlow 2s infinite;
}

@keyframes mobileEmergencyGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 14px 4px rgba(239, 68, 68, 0.6); }
}

.mobile-bar-btn.whatsapp-btn {
  color: #25d366;
}

.mobile-bar-btn:active {
  transform: scale(0.92);
}

/* Medium Screens & Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--primary-dark);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .mobile-menu-toggle:hover {
    background: rgba(5, 150, 105, 0.15);
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 30px;
    gap: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 13px 16px;
    font-size: 15.5px;
    border-radius: 10px;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #f8fafc;
    margin: 6px 0 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

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

  /* Grid Layout Adjustments */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-quick-search-card {
    max-width: 100%;
  }

  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .district-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .species-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Space for sticky bottom bar */
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .container {
    padding: 0 16px;
  }

  .top-emergency-bar {
    padding: 7px 0;
    font-size: 12px;
  }

  .top-emergency-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .emergency-contacts {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }

  .navbar {
    height: 72px;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
  }

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

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

  .hero-section {
    padding: 45px 0 65px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-slogan-si {
    font-size: 15.5px;
    padding-left: 10px;
  }

  .hero-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .stats-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px 14px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 12px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .species-grid,
  .district-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  /* Form & Input Touch Optimization */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }

  /* Floating WhatsApp Button position on mobile */
  .floating-whatsapp-btn {
    bottom: 78px;
    right: 14px;
    padding: 8px 14px;
    font-size: 12.5px;
  }

  /* Snake Bot Widget position on mobile */
  .snake-bot-round-indicator {
    bottom: 78px;
    left: 14px;
    right: auto;
    width: 52px;
    height: 52px;
  }

  .snake-bot-dialog {
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: calc(100vw - 20px);
    height: calc(100vh - 85px);
    max-height: none;
    border-radius: 18px;
  }

  /* Notice Banner responsive text */
  .flash-notice-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 27px;
  }

  .stats-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .district-card {
    padding: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ==========================================================================
   FLOATING SOCIAL SHARE BAR & IN-PAGE SHARE BUTTONS
   ========================================================================== */

.floating-share-bar {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(15, 26, 38, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 6px;
  border-radius: 30px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 97;
  transition: all 0.3s ease;
}

.share-bar-label {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #34d399;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin-bottom: 2px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover {
  transform: scale(1.15) translateX(4px);
}

.share-btn.share-whatsapp:hover {
  background: #25d366;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.6);
}

.share-btn.share-facebook:hover {
  background: #1877f2;
  box-shadow: 0 0 14px rgba(24, 119, 242, 0.6);
}

.share-btn.share-twitter:hover {
  background: #000000;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.3);
}

.share-btn.share-telegram:hover {
  background: #229ed9;
  box-shadow: 0 0 14px rgba(34, 158, 217, 0.6);
}

.share-btn.share-copy:hover {
  background: #059669;
  box-shadow: 0 0 14px rgba(5, 150, 105, 0.6);
}

@media (max-width: 992px) {
  .floating-share-bar {
    display: none; /* In-footer and mobile bars handle sharing on tablets/mobile */
  }
}

/* Footer Social Sharing Icons */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-social-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-social-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social-btn.twitter:hover {
  background: #000000;
  border-color: #334155;
}

.footer-social-btn.telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
}

.footer-social-btn.copy-btn:hover {
  background: #059669;
  border-color: #059669;
}

/* ==========================================================================
   DAILY VISITOR MONITOR COUNTER WIDGET
   ========================================================================== */

.visitor-counter-box {
  background: rgba(15, 26, 38, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.visitor-counter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 6px;
}

.visitor-live-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
  animation: visitorLivePulse 1.8s infinite;
}

@keyframes visitorLivePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

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

.visitor-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
}

.visitor-stat-num {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans', monospace;
}

.visitor-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Toast Notification */
.site-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #059669;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Homepage Hero Image Slider (5s Auto-Rotate, Auto-Responsive)
   ========================================================================== */
.home-slider-section {
  position: relative;
  background: #090d16;
  overflow: hidden;
}

.home-slider-container {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 480px;
  overflow: hidden;
}

.home-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
  z-index: 1;
}

.home-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.home-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 29, 0.94) 0%, rgba(10, 15, 29, 0.72) 45%, rgba(10, 15, 29, 0.3) 100%),
              linear-gradient(180deg, rgba(10, 15, 29, 0.4) 0%, transparent 40%, rgba(10, 15, 29, 0.85) 100%);
  z-index: 2;
}

.home-slide-content-wrap {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.home-slide-content {
  max-width: 680px;
  color: #ffffff;
  padding: 20px 0;
  animation: slideFadeIn 0.8s ease-out;
}

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

.slider-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.slider-headline {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider-headline-si {
  font-size: 19px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 14px;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.slider-desc {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.slider-desc-si {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 580px;
}

.slider-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 24px;
}

.slider-arrow-next {
  right: 24px;
}

/* Slider Bottom Indicators & Timer Bar */
.slider-bottom-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  width: 36px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.slider-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #34d399);
  z-index: 11;
  width: 0%;
}

.slider-timer-bar.running {
  animation: sliderTimer 5s linear forwards;
}

@keyframes sliderTimer {
  from { width: 0%; }
  to { width: 100%; }
}

.slider-counter-badge {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', monospace;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

@media (max-width: 992px) {
  .home-slider-container {
    height: 480px;
  }
  .slider-headline {
    font-size: 32px;
  }
  .slider-headline-si {
    font-size: 16px;
  }
  .slider-arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .slider-arrow-prev { left: 12px; }
  .slider-arrow-next { right: 12px; }
}

@media (max-width: 768px) {
  .home-slider-container {
    height: 420px;
    min-height: 380px;
  }
  .slider-headline {
    font-size: 26px;
  }
  .slider-headline-si {
    font-size: 14.5px;
    margin-bottom: 10px;
  }
  .slider-desc, .slider-desc-si {
    display: none;
  }
  .slider-badge-tag {
    font-size: 11.5px;
    padding: 4px 12px;
    margin-bottom: 10px;
  }
  .slider-arrow-btn {
    display: none;
  }
}





