/* Custom Design System for Resilient Islands Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Theme Colors */
  --primary-ocean: #0284c7;
  --primary-ocean-dark: #0369a1;
  --primary-ocean-light: #e0f2fe;
  --primary-ocean-glow: rgba(2, 132, 199, 0.25);

  --secondary-emerald: #10b981;
  --secondary-emerald-dark: #047857;
  --secondary-emerald-light: #d1fae5;
  --secondary-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);

  --danger-rose: #f43f5e;
  --danger-rose-light: #ffe4e6;

  /* Neutrals */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  
  /* Fonts */
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 30px -10px rgba(2, 132, 199, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

body.lang-bn {
  font-family: var(--font-bn);
}

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-ocean), var(--secondary-emerald));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px var(--primary-ocean-glow);
}

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

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--primary-ocean);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

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

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

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

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

/* Language Toggle Switcher */
.lang-switcher {
  display: flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary-ocean);
  color: white;
  box-shadow: 0 2px 6px var(--primary-ocean-glow);
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-ocean), #0284c7);
  color: white;
  box-shadow: var(--shadow-md), 0 4px 14px var(--primary-ocean-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px var(--primary-ocean-glow);
  background: linear-gradient(135deg, var(--primary-ocean-dark), var(--primary-ocean));
}

.btn-emerald {
  background: linear-gradient(135deg, var(--secondary-emerald), #059669);
  color: white;
  box-shadow: var(--shadow-md), 0 4px 14px var(--secondary-emerald-glow);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px var(--secondary-emerald-glow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: white;
  box-shadow: var(--shadow-md), 0 4px 14px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px var(--accent-gold-glow);
}

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

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

.btn-admin {
  background: #1e293b;
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-admin:hover {
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Badges */
.badge-unicef {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: var(--primary-ocean-dark);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.badge-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold-dark);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.6) 0%, rgba(209, 250, 229, 0.4) 40%, rgba(254, 243, 199, 0.3) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

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

.hero-title span.highlight-blue {
  color: var(--primary-ocean);
  background: linear-gradient(120deg, var(--primary-ocean), #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight-gold {
  color: var(--accent-gold);
  background: linear-gradient(120deg, var(--accent-gold), #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-partners {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
  width: 100%;
}

.hero-partners-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.partner-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partner-pill {
  background: white;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

/* Hero Media Showcase */
.hero-media {
  position: relative;
}

.hero-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
}

.hero-card-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.hero-floating-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-tag-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

.hero-tag-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Impact Counters Section */
.impact-section {
  padding: 4rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.impact-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.impact-card.card-blue::before { background: var(--primary-ocean); }
.impact-card.card-green::before { background: var(--secondary-emerald); }
.impact-card.card-gold::before { background: var(--accent-gold); }
.impact-card.card-teal::before { background: #0d9488; }

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

.impact-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-blue .impact-icon-wrapper { background: var(--primary-ocean-light); color: var(--primary-ocean); }
.card-green .impact-icon-wrapper { background: var(--secondary-emerald-light); color: var(--secondary-emerald-dark); }
.card-gold .impact-icon-wrapper { background: var(--accent-gold-light); color: var(--accent-gold-dark); }
.card-teal .impact-icon-wrapper { background: #ccfbf1; color: #0f766e; }

.impact-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

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

.impact-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-ocean);
  background: var(--primary-ocean-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

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

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

/* Photo Upload Box Component */
.photo-upload-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-main);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--primary-ocean);
}

.photo-preview-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid var(--primary-ocean);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
}

.photo-upload-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-ocean);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.photo-upload-btn-label:hover {
  background: var(--primary-ocean-dark);
}

/* Official Participant Registration Pass Modal & Printable Card */
.pass-modal-container {
  max-width: 650px;
  width: 90%;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.registration-pass-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid var(--secondary-emerald);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  position: relative;
}

.pass-card-header {
  background: linear-gradient(135deg, var(--bg-dark), #1e293b);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--secondary-emerald);
}

.pass-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pass-header-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.pass-header-sub {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.pass-badge-id {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pass-card-body {
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.pass-avatar-box {
  width: 95px;
  height: 95px;
  border-radius: var(--radius-md);
  border: 3px solid var(--primary-ocean);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.pass-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pass-detail-item {
  display: flex;
  flex-direction: column;
}

.pass-detail-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.pass-detail-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.pass-card-footer {
  background: #f1f5f9;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 2050 Climate Projections Section */
.vision2050-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #090d16 0%, var(--bg-dark) 100%);
  color: white;
  position: relative;
}

.vision-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.vision-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.vision-btn.btn-risk.active {
  background: var(--danger-rose);
  color: white;
  border-color: var(--danger-rose);
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.4);
}

.vision-btn.btn-resilient.active {
  background: var(--secondary-emerald);
  color: white;
  border-color: var(--secondary-emerald);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.vision-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.vision-card.card-risk {
  border-top: 4px solid var(--danger-rose);
}

.vision-card.card-solution {
  border-top: 4px solid var(--secondary-emerald);
}

.vision-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.card-risk .vision-icon-box { background: var(--danger-rose-light); color: var(--danger-rose); }
.card-solution .vision-icon-box { background: var(--secondary-emerald-light); color: var(--secondary-emerald-dark); }

.vision-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.vision-card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.vision-stat-highlight {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.card-risk .vision-stat-num { color: var(--danger-rose); }
.card-solution .vision-stat-num { color: var(--secondary-emerald); }

.vision-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Ground Reality & Climate Crisis Gallery Section */
.reality-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #090d16 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.reality-section .section-title {
  color: white;
}

.reality-section .section-desc {
  color: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.gallery-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.gallery-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.gallery-card:hover .gallery-img-box img {
  transform: scale(1.08);
}

.gallery-tag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

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

.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* 50 Source Documentary & Evidence Library Section */
.evidence-section {
  padding: 5.5rem 0;
  background: white;
}

.archive-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  border: 1.5px solid var(--border-light);
  background: var(--bg-main);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-ocean);
  color: white;
  border-color: var(--primary-ocean);
  box-shadow: 0 4px 12px var(--primary-ocean-glow);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.archive-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

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

.archive-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-ocean);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.archive-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.archive-card-source {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.archive-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-ocean-dark);
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.archive-card-link:hover {
  color: var(--secondary-emerald);
  transform: translateX(4px);
}

/* Admin Dashboard Modal & Controls */
.admin-modal-container {
  max-width: 1100px;
  width: 95%;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.admin-header-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-passcode-box {
  max-width: 400px;
  margin: 3rem auto;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  background: var(--bg-main);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.admin-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-ocean-dark);
}

.admin-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.admin-controls-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-search-input {
  flex-grow: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 0.9rem;
}

.admin-filter-select {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
}

.admin-table-wrapper {
  overflow-x: auto;
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.admin-table th {
  background: #f1f5f9;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--text-main);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid var(--border-light);
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  vertical-align: middle;
}

.admin-table tr:hover {
  background: #f8fafc;
}

.admin-photo-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-ocean);
  box-shadow: var(--shadow-sm);
}

.status-badge {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pending { background: #fef3c7; color: #b45309; }
.status-approved { background: #d1fae5; color: #047857; }
.status-certified { background: #e0f2fe; color: #0369a1; }

.btn-delete-row {
  border: none;
  background: #ffe4e6;
  color: #e11d48;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-delete-row:hover {
  background: #e11d48;
  color: white;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  border: 2px solid rgba(255,255,255,0.2);
}

.lightbox-caption {
  margin-top: 1rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* 3 Core Pillars Section */
.pillars-section {
  padding: 5rem 0;
  background: white;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.pillar-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.pillar-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.pillar-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  box-shadow: var(--shadow-sm);
}

.badge-p1 { background: var(--secondary-emerald); }
.badge-p2 { background: var(--primary-ocean); }
.badge-p3 { background: var(--accent-gold); }

.pillar-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pillar-highlights {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: auto;
}

.pillar-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pillar-highlights li svg {
  color: var(--secondary-emerald);
  flex-shrink: 0;
}

/* Workshop Highlights Section */
.workshop-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #edf2f7 100%);
}

.workshop-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.workshop-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.workshop-info p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.workshop-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-main);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-ocean-light);
  color: var(--primary-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.feature-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.workshop-card-preview {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-card));
  border-radius: var(--radius-md);
  padding: 2rem;
  color: white;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.workshop-card-preview::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cert-badge-tag {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.cert-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.cert-stats-row {
  display: flex;
  gap: 1.5rem;
}

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

.cert-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-emerald);
}

.cert-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Registration Form Section */
.register-section {
  padding: 5rem 0;
  background: white;
  position: relative;
}

.register-card-wrapper {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.register-info-panel {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-card));
  color: white;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.register-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-ocean), var(--secondary-emerald), var(--accent-gold));
}

.register-info-header h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.register-info-header p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.register-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.register-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.benefit-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--secondary-emerald-glow);
  border: 1px solid var(--secondary-emerald);
  color: var(--secondary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.register-contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-light);
}

.register-form-panel {
  padding: 3.5rem 3rem;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

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

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

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

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: white;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-ocean);
  box-shadow: 0 0 0 4px var(--primary-ocean-glow);
}

select.form-control {
  cursor: pointer;
}

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

.role-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.role-option {
  position: relative;
}

.role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.role-card-btn {
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: white;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
}

.role-option input[type="radio"]:checked + .role-card-btn {
  border-color: var(--secondary-emerald);
  background: var(--secondary-emerald-light);
  box-shadow: 0 2px 8px var(--secondary-emerald-glow);
}

.role-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}

.role-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.05rem;
}

.form-success-alert {
  display: none;
  background: var(--secondary-emerald-light);
  border: 1px solid var(--secondary-emerald);
  color: var(--secondary-emerald-dark);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
}

.form-success-alert.active {
  display: block;
}

/* Action Plan Modal Drawer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

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

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.modal-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.modal-body {
  margin-top: 1.5rem;
}

.modal-body p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.modal-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-ocean-dark);
  margin: 1.5rem 0 0.5rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--secondary-emerald);
}

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

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 420px;
  margin-bottom: 1.25rem;
}

.footer-links h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

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

.footer-initiation {
  color: var(--secondary-emerald-light);
  font-weight: 700;
}

/* Print Styles for Official Registration Pass Slip */
@media print {
  body * {
    visibility: hidden;
  }
  #pass-modal, #pass-modal * {
    visibility: visible;
  }
  #pass-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
  }
  .modal-close, .pass-actions-row {
    display: none !important;
  }
  .registration-pass-card {
    border: 2px solid #000;
    box-shadow: none;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

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

  .gallery-grid, .archive-grid, .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .workshop-box {
    grid-template-columns: 1fr;
  }

  .register-card-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .gallery-grid, .archive-grid, .vision-grid {
    grid-template-columns: 1fr;
  }

  .reality-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .workshop-features {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }

  .role-selector-grid {
    grid-template-columns: 1fr;
  }

  .register-form-panel {
    padding: 2rem 1.5rem;
  }

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

  .pass-card-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pass-avatar-box {
    margin: 0 auto;
  }
  
  .pass-details-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Mobile Navigation + Responsive Refinements
   ========================================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text-main);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}
.mobile-link:active { background: var(--primary-ocean-light); }
.mobile-link-cta {
  margin-top: 0.5rem;
  text-align: center;
  color: #fff;
  background: var(--secondary-emerald);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { width: 100%; padding: 0 1rem; }
  img, svg, video, canvas, table { max-width: 100%; }
  section { overflow-x: hidden; }
  .navbar { padding: 0.6rem 0; }
  .nav-container { gap: 0.5rem; }
  .nav-logo { min-width: 0; }
  .logo-title { font-size: 1rem; }
  .logo-subtitle { font-size: 0.7rem; }
  .nav-actions { gap: 0.5rem; }
  .nav-cta { display: none; }
  .lang-switcher { transform: scale(0.92); }

  .hero { padding: 2.5rem 0 3rem; }
  .hero-title { font-size: 1.85rem; line-height: 1.25; }
  .hero-badge-row { flex-wrap: wrap; gap: 0.5rem; }
  .hero-cta-row, .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn, .hero-buttons .btn { width: 100%; text-align: center; }

  h2, .section-title { font-size: 1.6rem; line-height: 1.3; }
  h3 { font-size: 1.2rem; }
  p, li { font-size: 0.98rem; }

  .btn { padding: 0.8rem 1.1rem; font-size: 0.95rem; }

  .admin-table-wrapper, .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-controls-bar { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .admin-header-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .modal-container { width: 94vw; max-height: 88vh; overflow-y: auto; padding: 1.25rem; }

  input, select, textarea { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .stats-row, .stats-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ===== Research Reports Library ===== */
.reports-section {
  padding: 5rem 0;
  background: #f6f9fc;
}
.reports-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.report-search {
  flex: 1 1 260px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fff;
}
.report-search:focus {
  outline: none;
  border-color: #1d72c2;
  box-shadow: 0 0 0 3px rgba(29, 114, 194, 0.15);
}
.report-count {
  font-size: 0.85rem;
  color: #5b6b7d;
  font-weight: 600;
}
.reports-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.report-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e6edf4;
  border-left: 4px solid #1d72c2;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.report-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
}
.report-index {
  font-weight: 800;
  color: #9bb0c4;
  font-size: 1.05rem;
  min-width: 2ch;
}
.report-body { flex: 1 1 auto; min-width: 0; }
.report-title {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #10263d;
}
.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.82rem;
  color: #5b6b7d;
}
.report-type {
  background: #eaf3fb;
  color: #1d72c2;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  font-weight: 700;
}
.report-link {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1d72c2;
  text-decoration: none;
  white-space: nowrap;
}
.report-link:hover { text-decoration: underline; }
.report-empty {
  text-align: center;
  padding: 2rem;
  color: #5b6b7d;
}
@media (max-width: 640px) {
  .report-item {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 1rem;
  }
  .report-link {
    width: 100%;
    text-align: center;
    background: #eaf3fb;
    border-radius: 10px;
    padding: 0.6rem;
  }
}

/* ===== Brand Mark & Banners ===== */
.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  color: #fff;
  isolation: isolate;
}
.brand-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,47,73,0.95) 0%, rgba(8,47,73,0.75) 45%, rgba(4,120,87,0.35) 100%);
  z-index: -1;
}
.brand-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.brand-banner-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.brand-banner-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.4rem;
}
.brand-banner-title {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  color: #fff;
}
.brand-banner-text {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
}

.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4.5rem 0;
  text-align: center;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 45, 0.6);
  z-index: -1;
}
.cta-banner-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
}
.cta-banner-text {
  color: rgba(255,255,255,0.88);
  margin: 0 auto 1.6rem;
  max-width: 620px;
}

@media (max-width: 640px) {
  .brand-banner-inner { text-align: center; justify-content: center; }
  .brand-banner-logo { width: 76px; height: 76px; }
}

/* ===== Gallery Read More + Story Lightbox ===== */
.gallery-card { cursor: pointer; }

.gallery-readmore {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #047857;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-readmore:hover {
  background: #047857;
  border-color: #047857;
  color: #fff;
  transform: translateX(2px);
}

.lightbox-content {
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(6, 24, 34, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: left;
  scrollbar-width: thin;
}
.lightbox-content img {
  display: block;
  margin: 0 auto;
  max-height: 52vh;
}
.lightbox-caption {
  text-align: left;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 1.1rem;
  border-left: 4px solid #f59e0b;
  padding-left: 0.75rem;
}
.lightbox-story {
  margin-top: 1rem;
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 72ch;
}
.lightbox-story p { margin: 0 0 0.95rem; }
.lightbox-story p:last-child { margin-bottom: 0; }
.lightbox-story p:first-child::first-letter {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  float: left;
  padding: 0.1rem 0.5rem 0 0;
  color: #34d399;
}

@media (max-width: 640px) {
  .lightbox-modal { padding: 1rem 0.75rem; }
  .lightbox-content { padding: 0.9rem; }
  .lightbox-close { top: 4px; right: 6px; position: sticky; float: right; }
  .lightbox-caption { font-size: 1.08rem; }
  .lightbox-story { font-size: 0.93rem; }
}
