/* ==========================================================================
   Dr. Surajit Giri Official Medical & Humanitarian Website
   Design System & Modern Responsive Stylesheet
   ========================================================================== */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --primary-glow: rgba(13, 148, 136, 0.25);
  
  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #e0f2fe;

  --accent-emergency: #e11d48;
  --accent-emergency-dark: #be123c;
  --accent-emergency-bg: #fff1f2;

  --accent-warning: #f59e0b;
  --accent-success: #10b981;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --border-color: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Nirmala UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-page: #0b1120;
  --bg-card: #131c31;
  --bg-card-alt: #1a2540;
  --border-color: #23314d;
  
  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-light: #64748b;
  
  --primary-light: #134e4a;
  --secondary-light: #0c4a6e;
  --accent-emergency-bg: #4c0519;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

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

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

section[id], div[id] {
  scroll-margin-top: 110px;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1560px;
    padding: 0 2.5rem;
  }
}

/* ==========================================================================
   Emergency Top Banner
   ========================================================================== */
.emergency-top-bar {
  background: linear-gradient(90deg, #be123c, #e11d48, #9f1239);
  color: #ffffff;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

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

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

@keyframes pulse {
  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-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.emergency-phone-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.emergency-phone-link:hover {
  color: #fef08a;
}

.top-bar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Header & Main Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

[data-theme="dark"] .site-header {
  background: rgba(19, 28, 49, 0.92);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.25rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 2px 10px var(--primary-glow);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary);
  display: block;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 0.9vw, 1.25rem);
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0.25rem;
  white-space: nowrap;
}

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

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

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

.nav-cta-btn {
  background: var(--accent-emergency);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.3);
}

.nav-cta-btn:hover {
  background: var(--accent-emergency-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 40%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .hero-badge-pill {
  color: #5eead4;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero-title .text-highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-emergency {
  background: var(--accent-emergency);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.btn-emergency:hover {
  background: var(--accent-emergency-dark);
  transform: translateY(-2px);
}

.btn-fb {
  background: #1877f2;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);
}

.btn-fb:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
}

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

/* Hero Profile Visual Card */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.doctor-profile-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.doctor-img-container {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent-warning));
  flex-shrink: 0;
}

.doctor-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  border: 3px solid var(--bg-card);
}

.doctor-meta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.doctor-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.doctor-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.35rem;
}

[data-theme="dark"] .doctor-verified-tag {
  background: #082f49;
  color: #38bdf8;
}

.profile-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.profile-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.profile-highlights-list svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-social-strip {
  background: var(--bg-card-alt);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.fb-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Live Stats Counter Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  display: block;
}

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

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

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

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .section-badge {
  color: #5eead4;
}

.section-badge.emergency {
  background: var(--accent-emergency-bg);
  color: var(--accent-emergency);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Emergency Protocol & First-Aid Section (CRITICAL MEDICAL FEATURE)
   ========================================================================== */
.emergency-section {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.first-aid-banner-card {
  background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 25px rgba(159, 18, 57, 0.25);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.first-aid-banner-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.first-aid-banner-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.first-aid-card-cta {
  background: #ffffff;
  color: #be123c;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.first-aid-card-cta:hover {
  background: #fff1f2;
}

.golden-hour-clock {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.golden-hour-clock h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clock-timer {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* DOs and DONTs Comparison Grid */
.dos-donts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.protocol-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.protocol-box.do-box {
  border-top: 5px solid var(--accent-success);
}

.protocol-box.dont-box {
  border-top: 5px solid var(--accent-emergency);
}

.protocol-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.protocol-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.do-box .protocol-icon-circle {
  background: #dcfce7;
  color: #15803d;
}

.dont-box .protocol-icon-circle {
  background: #ffe4e6;
  color: #be123c;
}

.protocol-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.protocol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.protocol-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
}

.protocol-list li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.icon-check {
  color: var(--accent-success);
  flex-shrink: 0;
  margin-top: 3px;
}

.icon-cross {
  color: var(--accent-emergency);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Regional Snake Species Identifier */
.snakes-id-wrapper {
  background: var(--bg-card-alt);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
}

.snakes-id-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.snakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.snake-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.snake-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.snake-tag.venomous {
  background: var(--accent-emergency-bg);
  color: var(--accent-emergency-dark);
}

.snake-tag.mild {
  background: #fef3c7;
  color: #92400e;
}

.snake-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.snake-assamese-name {
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.snake-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.snake-symptoms {
  font-size: 0.78rem;
  background: var(--bg-card-alt);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   The Demow Model (Pioneering System)
   ========================================================================== */
.demow-model-section {
  background: var(--bg-page);
}

.model-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .pillar-icon-box {
  background: #134e4a;
  color: #5eead4;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

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

/* The Demow Story & Blueprint Visual */
.model-story-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.story-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.quote-highlight {
  border-left: 4px solid var(--primary);
  padding-left: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-main);
  margin: 1.5rem 0;
}

.national-impact-card {
  background: linear-gradient(135deg, #042f2e, #0f766e);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.national-impact-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.95;
}

.impact-list li {
  position: relative;
  padding-left: 1.5rem;
}

.impact-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #5eead4;
  font-weight: 700;
}

/* ==========================================================================
   The Venom Army (Community Section)
   ========================================================================== */
.venom-army-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.venom-army-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.venom-army-content h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.venom-army-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cadre-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cadre-card {
  background: var(--bg-card-alt);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
}

.cadre-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.cadre-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Volunteer Action Card */
.venom-volunteer-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.venom-volunteer-card h4 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.venom-volunteer-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   About Dr. Surajit Giri Section
   ========================================================================== */
.about-section {
  background: var(--bg-page);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.about-card-sticky {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.about-photo-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 4px;
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
}

.about-card-sticky h3 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.about-card-sticky .designation {
  text-align: center;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-details-table {
  width: 100%;
  font-size: 0.88rem;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.about-details-table tr {
  border-bottom: 1px solid var(--border-color);
}

.about-details-table td {
  padding: 0.65rem 0;
}

.about-details-table td:first-child {
  font-weight: 600;
  color: var(--text-light);
  width: 40%;
}

.about-details-table td:last-child {
  color: var(--text-main);
  font-weight: 500;
}

.about-story-col h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.about-story-col p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.timeline-track {
  margin: 2.5rem 0;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--primary-light);
}

.timeline-point {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-point::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-page);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

/* ==========================================================================
   Books & Research Publications Section
   ========================================================================== */
.publications-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.book-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

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

.book-cover-mock {
  width: 110px;
  height: 160px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--primary);
}

.book-cover-mock.alt-cover {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
  border-left: 4px solid #f59e0b;
}

.book-cover-title {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.book-cover-author {
  font-size: 0.65rem;
  opacity: 0.8;
}

.book-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.book-publisher {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.book-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Research Papers List */
.research-papers-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.research-papers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.paper-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.paper-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.paper-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.paper-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Awards, Honors & Media Section
   ========================================================================== */
.awards-section {
  background: var(--bg-page);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-warning);
}

.award-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.award-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.award-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-warning);
  margin-bottom: 0.65rem;
}

.award-org {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Media Quotes Carousel / Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.media-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.media-logo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.media-quote-card p {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Facebook Profile & Social Community Hub
   ========================================================================== */
.facebook-hub-section {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .facebook-hub-section {
  background: linear-gradient(180deg, #0f1e36 0%, #131c31 100%);
}

.fb-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}

.fb-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.fb-profile-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fb-avatar-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.fb-profile-block h3 {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fb-handle {
  font-size: 0.88rem;
  color: #1877f2;
  font-weight: 600;
}

/* Facebook Feed Highlights */
.fb-posts-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.fb-post-item {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.fb-post-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.post-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: #e0f2fe;
  color: #0369a1;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.post-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.post-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.post-footer-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1877f2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.post-footer-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Demow Model Hospital Location & Contact Section
   ========================================================================== */
.contact-section {
  background: var(--bg-page);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.detail-text p, .detail-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact / Workshop Request Form */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.contact-form-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ==========================================================================
   Realistic Facebook Post & Embed Cards
   ========================================================================== */
.fb-post-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.fb-interactive-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #1877f2;
}

.fb-post-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0.85rem;
}

.fb-author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fb-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #1877f2;
  flex-shrink: 0;
}

.fb-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.fb-post-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2px;
}

.fb-pinned-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.fb-post-caption {
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

.fb-post-media {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}

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

.fb-interactive-post:hover .fb-post-media img {
  transform: scale(1.03);
}

.fb-reaction-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.fb-reaction-icons {
  display: flex;
  align-items: center;
  gap: -6px;
}

.fb-reaction-pill {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 1.5px solid var(--bg-card);
}

.fb-reaction-like { background: #1877f2; color: #fff; }
.fb-reaction-love { background: #fa3e3e; color: #fff; }

.fb-post-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.5rem 0.75rem;
  background: var(--bg-card-alt);
}

.fb-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.fb-action-btn:hover {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

.fb-direct-link-footer {
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Photo & Video Gallery Styles
   ========================================================================== */
.gallery-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.gallery-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: var(--transition);
}

.gallery-tab-btn.active, .gallery-tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.gallery-card {
  background: var(--bg-card-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.gallery-thumb-container {
  position: relative;
  width: 100%;
  height: 255px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

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

.gallery-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.gallery-zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(13, 148, 136, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  z-index: 2;
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-card-body {
  padding: 1.25rem;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.gallery-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Video Section */
.videos-section {
  background: var(--bg-page);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

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

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

.video-preview-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 220px;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.video-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.video-card:hover .video-preview-img {
  transform: scale(1.05);
  opacity: 1;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent-emergency);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.6);
  transition: var(--transition);
  z-index: 2;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #be123c;
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

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

.video-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emergency);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.video-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.video-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.video-watch-link {
  color: var(--accent-emergency);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content-box {
  max-width: 900px;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid var(--border-color);
}

.lightbox-image-wrap {
  width: 100%;
  max-height: 520px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.lightbox-details {
  padding: 1.5rem 2rem;
}

.lightbox-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.lightbox-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--accent-emergency);
}

/* Video Player Modal */
.video-player-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-player-modal.active {
  display: flex;
}

.video-player-box {
  max-width: 960px;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  border: 1px solid var(--border-color);
}

.video-iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-info {
  padding: 1.5rem 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.footer-disclaimer-card {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #fca5a5;
}

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

/* ==========================================================================
   Floating Emergency Quick Call Dial
   ========================================================================== */
.floating-emergency-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-emergency);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.45);
  animation: floatBounce 3s ease-in-out infinite;
  transition: var(--transition);
}

.floating-emergency-fab:hover {
  background: var(--accent-emergency-dark);
  transform: scale(1.05);
}

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

/* ==========================================================================
   Interactive Modals & Notifications
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 2500;
  box-shadow: var(--shadow-xl);
  display: none;
  border-left: 4px solid var(--primary);
}

/* Print Stylesheet for Emergency Sheet */
@media print {
  .emergency-top-bar, .site-header, .hero-section, .facebook-hub-section, 
  .contact-section, .site-footer, .floating-emergency-fab {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .emergency-section {
    padding: 0 !important;
  }
  .protocol-box {
    border: 1px solid #000 !important;
    break-inside: avoid;
  }
}

/* ==========================================================================
   Mobile Backdrop & Drawer Navigation
   ========================================================================== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ==========================================================================
   Responsive Media Queries (Extremely Mobile Friendly)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .model-story-box, .venom-army-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-card-sticky {
    position: static;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fb-post-card-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }
  .nav-container {
    height: 66px;
    padding: 0 1rem;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
  }
  .mobile-menu-btn:hover {
    background: var(--bg-card-alt);
  }
  .mobile-menu-btn.is-active {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary);
  }
  .nav-menu {
    display: flex;
    position: fixed;
    top: 66px;
    right: 0;
    width: 86%;
    max-width: 360px;
    height: calc(100vh - 66px);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.25rem 1.25rem 3.5rem;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
    border-left: 1px solid var(--border-color);
    gap: 0.25rem;
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.mobile-open {
    transform: translateX(0);
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: var(--radius-md);
    transition: var(--transition);
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover, .nav-link.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding-left: 0.85rem;
  }
  .nav-cta-item {
    margin-top: 1rem;
    border-bottom: none !important;
  }
  .nav-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }
  section[id] {
    scroll-margin-top: 80px;
  }
  .section-padding {
    padding: 3rem 0;
  }
  .container {
    padding: 0 1.15rem;
  }

  /* Emergency Top Bar */
  .emergency-top-bar {
    padding: 0.45rem 0;
    font-size: 0.8rem;
  }
  .emergency-top-inner {
    justify-content: space-between;
    gap: 0.5rem;
  }
  .emergency-badge {
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
  }
  .emergency-phone-link {
    font-size: 0.82rem;
  }

  /* Header Branding */
  .brand-avatar {
    width: 40px;
    height: 40px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.72rem;
    max-width: 185px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0 2rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    line-height: 1.2;
  }
  .hero-desc {
    font-size: 0.98rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  .hero-social-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hero-social-strip .btn {
    width: 100%;
    justify-content: center;
  }

  /* Live Impact Stats */
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .stat-item {
    padding: 1rem 0.75rem;
  }
  .stat-number {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }

  /* Emergency Protocol */
  .first-aid-banner-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .first-aid-banner-card h3 {
    font-size: 1.2rem;
  }
  .first-aid-card-cta {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }
  .dos-donts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .do-card, .dont-card {
    padding: 1.25rem;
  }

  /* Demow Model & Venom Army */
  .model-story-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .model-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .venom-army-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cadre-roles-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .timeline-track {
    padding-left: 1.5rem;
  }
  .timeline-point::before {
    left: -1.9rem;
  }

  /* App-Style Horizontal Swipe Filters */
  .species-filter-bar,
  .gallery-filter-bar {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
  }
  .species-filter-bar::-webkit-scrollbar,
  .gallery-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .species-filter-btn,
  .gallery-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-height: 42px;
    border-radius: var(--radius-full);
  }

  /* Snake Identifier Grid */
  .snakes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Photo & Video Galleries */
  .photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .gallery-thumb-wrap {
    height: 230px;
  }
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .fb-videos-preview-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Books, Honors & Research */
  .books-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .media-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .research-papers-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .research-papers-header .btn {
    width: 100%;
    justify-content: center;
  }
  .paper-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Facebook Hub on Mobile */
  .fb-hub-card {
    border-radius: 12px;
  }
  .fb-hub-card > div:first-child {
    height: 140px !important;
  }
  .fb-hub-card > div:last-child {
    padding: 1.25rem 1rem 1.5rem !important;
  }
  .fb-hub-header {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -45px !important;
    gap: 1rem;
  }
  .fb-author-avatar {
    width: 80px !important;
    height: 80px !important;
    border-width: 3px !important;
  }
  .fb-profile-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .fb-profile-block > div:last-child {
    margin-top: 10px !important;
  }
  .fb-hub-header > div:last-child {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  .fb-hub-header > div:last-child .btn {
    width: 100%;
    justify-content: center;
  }
  .fb-post-card-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .fb-posts-preview-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Contact & Form Inputs (No iOS Auto-Zoom) */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .contact-info-card, .contact-form-box {
    padding: 1.5rem 1.25rem;
  }
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
    padding: 0.8rem;
    border-radius: 8px;
  }
  .form-group {
    margin-bottom: 1.15rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Floating Emergency SOS FAB */
  .floating-emergency-fab {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
    box-shadow: 0 4px 18px rgba(225, 29, 72, 0.45);
    z-index: 99;
  }

  /* Modals & Lightbox */
  .modal-box,
  .lightbox-content-box {
    width: 94%;
    max-width: 94%;
    max-height: 90vh;
    padding: 1.25rem;
    border-radius: 16px;
    overflow-y: auto;
  }
  .lightbox-image-wrap {
    max-height: 42vh;
  }
  .lightbox-image-wrap img {
    max-height: 42vh;
  }
  .lightbox-details {
    padding: 1rem 0 0.5rem;
  }
  .lightbox-close-btn,
  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    display: none;
  }
  .brand-title {
    font-size: 1rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .emergency-badge {
    display: none;
  }
  .stat-item {
    padding: 0.85rem;
  }
  .first-aid-banner-card {
    padding: 1rem;
  }
}
