/*
 Theme Name: SHE Report
 Theme URI: https://shereport.42web.io
 Description: SHE Report — Safety, Help, Evidence Report. Mapping the journey of a victim to survivor.
 Version: 1.0
 Author: SHE Report Kerala
*/

/* ================================================================
   SHE REPORT — Main Stylesheet
   Safety, Help, Evidence Report
   Mapping the Journey of a Victim to Survivor
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --primary: #E8401A;
  --primary-dark: #C43800;
  --primary-light: #FF6B3D;
  --accent: #F4A261;
  --accent-dark: #E07B30;
  --teal: #2A9D8F;
  --navy: #1A2B4A;
  --light-bg: #FDF6F0;
  --card-bg: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A6A;
  --text-light: #8A8AAA;
  --border: #E8E0F0;
  --success: #27AE60;
  --warning: #F39C12;
  --danger: #C0392B;
  --shadow-sm: 0 2px 8px rgba(139, 26, 74, 0.08);
  --shadow-md: 0 4px 20px rgba(139, 26, 74, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 26, 74, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
}

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

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

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

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

/* ── Layout Utilities ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad    { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.text-center    { text-align: center; }
.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.gap-1          { gap: 1rem; }
.gap-2          { gap: 2rem; }
.mt-2           { margin-top: 2rem; }
.mb-2           { margin-bottom: 2rem; }

/* ── Section Header ───────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ── EMERGENCY BAR ────────────────────────────────────────────── */
.emergency-bar {
  background: #B91C1C;
  color: white;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.emergency-bar a {
  color: white;
  text-decoration: underline;
}

/* ================================================================
   NAVBAR
   Mobile-first: hamburger always visible, nav hidden by default.
   Desktop (1025px+): full horizontal nav, hamburger hidden.
   ================================================================ */

.she-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.she-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.she-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-text { line-height: 1.1; }

.brand-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #E8401A;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav: hidden by default — shown via .open or desktop override */
.she-navbar-nav {
  display: none;
  list-style: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-md);
  padding: 1rem;
  z-index: 999;
  gap: 0;
}

.she-navbar-nav.open {
  display: flex;
}

.she-navbar-nav li {
  width: 100%;
}

.she-navbar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  width: 100%;
}

.she-navbar-nav a:hover,
.she-navbar-nav a.active {
  background: var(--primary);
  color: white;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: white !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-admin {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.4rem 1rem !important;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-admin:hover {
  background: #0f1d36 !important;
  color: white !important;
}

/* Hamburger — visible by default (mobile-first) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── DESKTOP ONLY — 1025px and above ── */
@media (min-width: 1025px) {
  .she-navbar-nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
    width: auto;
  }

  .she-navbar-nav li {
    width: auto;
  }

  .she-navbar-nav a {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    width: auto;
    display: inline-block;
  }

  .nav-toggle {
    display: none !important;
  }
}

/* ── HERO SECTION ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #7a1e00 0%, #c43800 50%, #E8401A 100%);
  color: white;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 162, 97, 0.4);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-outline {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── HERO STATS ───────────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.4rem;
}

/* ── TICKER ───────────────────────────────────────────────────── */
.ticker-bar {
  background: var(--primary);
  color: white;
  padding: 0.6rem 0;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  gap: 4rem;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PILLARS ──────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
}

.pillar-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pillar-card p  { font-size: 0.87rem; color: var(--text-light); margin: 0; }

/* ── STATS SECTION ────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #7a1e00, #c43800);
}

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ── CHART SECTION ────────────────────────────────────────────── */
.chart-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.chart-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* ── NEWS GRID ────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

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

.news-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--border);
}

.news-card-body { padding: 1.5rem; }

.news-date {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}

.news-source {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-style: italic;
}

.news-tag {
  display: inline-block;
  background: rgba(139, 26, 74, 0.1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-top: 0.75rem;
}

/* ── COMPONENTS SECTION ───────────────────────────────────────── */
.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.component-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.component-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.component-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.component-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.component-card p  { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

/* ── SUPPORT PAGE ─────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.support-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.support-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.support-card h3 { margin-bottom: 0.75rem; }

/* ── HELPLINES ────────────────────────────────────────────────── */
.helplines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.helpline-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.helpline-card h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.helpline-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}

.helpline-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ── FORMS ────────────────────────────────────────────────────── */
.form-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #fff;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 74, 0.12);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.optional-tag {
  font-weight: 400;
  color: var(--text-light, #888);
  font-size: 0.85em;
}

/* ── STEP-FORM ALERT BOXES ───────────────────────────────────── */
.alert-box {
  max-width: 600px;
  margin: 0 auto 2rem;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #1a7a42;
}

.alert-warning {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.2);
  color: #7a5309;
}

/* ── CONTINUE / DECLINE CHOICE (after Step 1 submit) ─────────── */
.continue-choice {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.continue-choice .btn-submit {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-continue-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-continue-no:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── DATA TABLE ───────────────────────────────────────────────── */
.data-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--primary);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.data-table tr:nth-child(even) td { background: rgba(139, 26, 74, 0.03); }
.data-table tr:hover td           { background: rgba(139, 26, 74, 0.06); }

/* ── ALERTS ───────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  color: #1a6e3b;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.alert-error {
  background: rgba(192, 57, 43, 0.1);
  color: #7a1c11;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.alert-info {
  background: rgba(42, 157, 143, 0.1);
  color: #1a5c56;
  border: 1px solid rgba(42, 157, 143, 0.2);
}

.alert-warning {
  background: rgba(243, 156, 18, 0.1);
  color: #7a5309;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

/* ── BREADCRUMB ───────────────────────────────────────────────── */
.breadcrumb {
  background: var(--card-bg);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.breadcrumb a       { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep     { color: var(--text-light); }
.breadcrumb-current { color: var(--primary); font-weight: 600; }

/* ── PAGE HERO ────────────────────────────────────────────────── */
.page-hero {
  background: #E8401A;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-title {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

.footer h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }

.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  color: var(--accent);
  font-style: italic;
  font-size: 0.85rem;
}

/* ── BACK TO TOP ──────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 500;
}

#backToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

#backToTop.visible { display: flex; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── TABLET — 1024px and below ──────────────────────────────────── */
@media (max-width: 1024px) {

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .hero { padding: 3rem 0; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .helplines-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* ── MOBILE — 640px and below ───────────────────────────────────── */
@media (max-width: 640px) {

  .emergency-bar {
    font-size: 0.72rem;
    line-height: 1.9;
    padding: 0.5rem 0.75rem;
  }

  .hero { padding: 2rem 0; }
  .hero h1 { font-size: 1.75rem; }
  .hero-tagline { font-size: 0.95rem; }
  .hero p { font-size: 0.92rem; margin-bottom: 1.2rem; }
  .hero-badge { font-size: 0.7rem; margin-bottom: 1rem; }

  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero-actions a {
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-stat-card   { padding: 1rem 0.75rem; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-label  { font-size: 0.7rem; }

  .pillars-grid,
  .components-grid,
  .support-grid,
  .news-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .helplines-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .helpline-card    { padding: 1rem 0.75rem; }
  .helpline-number  { font-size: 1.8rem; }
  .helpline-card h3 { font-size: 0.85rem; }

  .charts-row { grid-template-columns: 1fr !important; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .form-card   { padding: 1.5rem 1rem; }
  .section-pad { padding: 2rem 0; }

  .alert-box { padding: 0.85rem 1rem; margin-left: 1rem; margin-right: 1rem; }

  .continue-choice {
    flex-direction: column;
  }

  .continue-choice .btn-submit,
  .btn-continue-no {
    width: 100%;
  }
  .container   { padding: 0 0.9rem; }

  #backToTop { bottom: 1rem; right: 1rem; }

  .section-header h2 { font-size: 1.5rem; }
  .section-header p  { font-size: 0.9rem; }

  .page-hero    { padding: 2rem 0; }
  .page-hero h1 { font-size: 1.6rem; }

  .pillar-card    { padding: 1.25rem; }
  .news-card-body { padding: 1rem; }
}

/* ── VERY SMALL — 380px and below ──────────────────────────────── */
@media (max-width: 380px) {
  .hero h1          { font-size: 1.5rem; }
  .hero-stat-number { font-size: 1.3rem; }
  .page-hero h1     { font-size: 1.4rem; }
  .helpline-number  { font-size: 1.5rem; }
  .emergency-bar    { font-size: 0.65rem; }
  .helplines-grid   { grid-template-columns: 1fr; }
}






/* SHE Report - Legal Context box styling
   Add this to your theme's stylesheet (style.css), anywhere near the bottom. */

.she-legal-context-box {
    border: 1px solid #f0d9c8;
    background: #fdf6f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
}

.she-legal-context-heading {
    font-size: 14px;
    font-weight: 600;
    color: #c1440e;
    margin-bottom: 10px;
}

.she-legal-context-entry {
    background: #ffffff;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.she-legal-context-title {
    font-size: 13px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 2px;
}

.she-legal-context-punishment {
    font-size: 13px;
    color: #555555;
    margin: 0;
}

.she-legal-context-disclaimer {
    font-size: 12px;
    color: #888888;
    margin: 12px 0 0;
    line-height: 1.5;
}