/* CSS Design System for Omoluabi Rebirth Movement (ORM) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* Color Variables and Theme Setup */
:root {
  /* Light Theme Variables */
  --bg-primary: #F7F9F8;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EDF2F0;
  
  --text-primary: #121A17;
  --text-secondary: #4A5D57;
  --text-light: #7E948C;
  --text-white: #FFFFFF;
  
  --primary: #0A4D38; /* Deep Forest Green */
  --primary-hover: #073827;
  --primary-light: #E6F3EE;
  
  --accent: #C59B27; /* Premium African Gold */
  --accent-hover: #A37F1C;
  --accent-light: #FAF4E5;
  
  --danger: #D32F2F;
  --danger-light: #FFEBEE;
  --success: #388E3C;
  --success-light: #E8F5E9;
  --warning: #F57C00;
  
  --border: #DDE5E2;
  --shadow: 0 4px 20px rgba(10, 77, 56, 0.05);
  --shadow-lg: 0 10px 30px rgba(10, 77, 56, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --header-height: 80px;
}

[data-theme="dark"] {
  /* Dark Theme Variables */
  --bg-primary: #0A0F0D;
  --bg-secondary: #121A17;
  --bg-tertiary: #192420;
  
  --text-primary: #ECEFF1;
  --text-secondary: #B0BEC5;
  --text-light: #78909C;
  --text-white: #FFFFFF;
  
  --primary: #0E6B4E;
  --primary-hover: #128B65;
  --primary-light: #16362B;
  
  --accent: #E5C158;
  --accent-hover: #F2D57D;
  --accent-light: #342D15;
  
  --danger: #EF5350;
  --danger-light: #3D1E1E;
  --success: #66BB6A;
  --success-light: #1B351E;
  --warning: #FFA726;
  
  --border: #233530;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul {
  list-style: none;
}

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

.section-padding {
  padding: 80px 0;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Typography Enhancements */
.highlight-gold {
  color: var(--accent);
}

.highlight-green {
  color: var(--primary);
}

/* Header & Navigation */
header {
  background-color: rgba(18, 26, 23, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-white);
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img, .logo svg {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid rgba(197, 155, 39, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  white-space: nowrap;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-white);
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

/* Nav Dropdown (More menu) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition);
  font-family: var(--font-body);
}

.nav-dropdown-trigger:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: rgba(18, 26, 23, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

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

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: rgba(197, 155, 39, 0.12);
  color: var(--accent);
}

.nav-dropdown-menu a i {
  width: 18px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.visible {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 26, 23, 0.99) 0%, rgba(10, 15, 13, 0.99) 100%);
  backdrop-filter: blur(20px);
  z-index: 1050;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  border-radius: 10px;
  margin-bottom: 4px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.mobile-nav-drawer a:hover, .mobile-nav-drawer a.active {
  background: rgba(197, 155, 39, 0.12);
  color: var(--accent);
}

.mobile-nav-drawer .mobile-nav-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Interactive Controls styles */
.btn-control {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-control:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.lang-btn {
  text-transform: uppercase;
}

/* Call to Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(10, 77, 56, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

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

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

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

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

.btn-light:hover {
  background-color: var(--bg-tertiary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Router View Animations */
.view-section {
  display: none;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.view-section.active {
  display: block;
  opacity: 1;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 46, 34, 0.95) 0%, rgba(18, 26, 23, 0.97) 100%);
  color: var(--text-white);
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px), radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--accent);
}

.hero-media-cover {
  width: 100%;
  height: auto;
  display: block;
}

/* Statistics Bar */
.stats-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Movement Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

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

.pillar-card:hover::before {
  opacity: 1;
}

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

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Slider Section (Testimonial Slider) */
.testimonial-section {
  background-color: var(--bg-tertiary);
  position: relative;
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  padding: 20px;
}

.testimonial-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 8rem;
  color: var(--primary-light);
  line-height: 1;
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-role {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--accent);
  width: 28px;
  border-radius: 10px;
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(rgba(10, 77, 56, 0.85), rgba(18, 26, 23, 0.95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10 H 90 V 90 H 10 Z' fill='none' stroke='%23C59B27' stroke-opacity='0.05'/%3E%3C/svg%3E");
  color: var(--text-white);
  padding: 80px 0;
  text-align: center;
}

.manifesto-section {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border);
}

.manifesto-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.manifesto-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-item:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.value-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.value-item h4 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.founder-msg-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

.founder-photo {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.founder-photo img {
  width: 100%;
  display: block;
}

/* Forms Styling */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

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

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.form-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* Split Form layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

/* Stories Section Styles */
.stories-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.story-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.story-badge {
  background-color: var(--accent);
  color: var(--text-white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  top: 15px;
  left: 15px;
}

.story-image-container {
  height: 200px;
  background-color: var(--bg-tertiary);
  position: relative;
}

.story-media-mock {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light), var(--bg-tertiary));
  font-size: 3rem;
}

.story-content {
  padding: 25px;
}

.story-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.story-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.story-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Event Calendar Page Styles */
.event-section-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 40px;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  display: flex;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.event-date-badge {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  text-align: center;
}

.event-date-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-month {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.event-info {
  padding: 20px 25px;
  flex-grow: 1;
}

.event-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.event-meta {
  display: flex;
  gap: 15px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

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

/* Booking & Interview Page */
.calendar-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.calendar-weekday {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 10px 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  transition: var(--transition);
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--primary-light);
  color: var(--primary);
}

.calendar-day.active {
  background-color: var(--accent);
  color: var(--text-white);
}

.calendar-day.disabled {
  color: var(--text-light);
  opacity: 0.3;
  cursor: not-allowed;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.time-slot {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.time-slot:hover:not(.booked) {
  border-color: var(--primary);
  color: var(--primary);
}

.time-slot.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.time-slot.booked {
  background-color: var(--bg-tertiary);
  color: var(--text-light);
  cursor: not-allowed;
  border-color: var(--border);
}

/* Question Database Cards */
.questions-database {
  margin-top: 40px;
}

.question-accordion-btn {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 20px;
  text-align: left;
  font-weight: 700;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.question-accordion-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.question-accordion-content {
  display: none;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: none;
  padding: 25px;
  margin-top: -10px;
  margin-bottom: 15px;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.question-accordion-content.active {
  display: block;
}

.question-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.question-item {
  padding: 15px;
  background-color: var(--bg-primary);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Counseling Center Page */
.counseling-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-green {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-card-green h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.whatsapp-button-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  padding: 14px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-button-link:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20BA5A;
}

/* Chatbot Widget Styles */
.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary);
  color: var(--text-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  background-color: var(--primary-hover);
}

.chatbot-container {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 380px;
  height: 500px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transition: var(--transition);
}

.chatbot-container.active {
  display: flex;
}

.chatbot-header {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-title {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--accent);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
}

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

.chatbot-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chatbot-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chatbot-msg.bot {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chatbot-msg.user {
  background-color: var(--primary);
  color: var(--text-white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-input-area {
  padding: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}

.chatbot-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  outline: none;
}

.chatbot-send {
  background-color: var(--accent);
  color: var(--text-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-send:hover {
  background-color: var(--accent-hover);
}

/* Media Page filter grids */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.media-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-player-placeholder {
  height: 180px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 3rem;
  cursor: pointer;
  position: relative;
}

.media-player-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(10, 77, 56, 0.4), transparent);
}

.media-player-placeholder i {
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.media-player-placeholder:hover i {
  transform: scale(1.2);
}

.media-details {
  padding: 20px;
}

.media-tag {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Blog Articles Layout */
.blog-view-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

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

.blog-card-img {
  height: 180px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-light);
  background: linear-gradient(135deg, var(--primary), var(--bg-primary));
}

.blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.blog-sidebar-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}

.blog-sidebar-widget h4 {
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Partnerships and Sponsors widgets */
.donation-widget {
  background-color: var(--bg-secondary);
  border: 2px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.donation-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.preset-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.preset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.preset-btn.active {
  background-color: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

/* Sponsor logo grids */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sponsor-logo-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

/* Admin Dashboard Layout */
.admin-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-height));
}

.admin-sidebar {
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 30px 20px;
}

.admin-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-secondary);
  transition: var(--transition);
}

.admin-menu-item:hover, .admin-menu-item.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Admin Login Overlay */
.admin-login-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.admin-login-overlay.active {
  display: flex;
}
.admin-login-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.admin-login-header {
  text-align: center;
  margin-bottom: 25px;
}

.admin-main {
  padding: 40px;
  background-color: var(--bg-primary);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.admin-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 5px;
}

.admin-stat-title {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-table-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  overflow: hidden;
}

.admin-table-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.admin-table th {
  background-color: var(--bg-tertiary);
  padding: 15px 25px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.admin-table td {
  padding: 16px 25px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}

.badge-status.pending {
  background-color: #FFF3E0;
  color: #E65100;
}

.badge-status.approved {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.badge-status.resolved {
  background-color: #E3F2FD;
  color: #1565C0;
}

/* Modals styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: modalReveal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 25px;
}

/* Live Notification System styles */
.notifications-toaster {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  animation: slideIn 0.3s forwards, fadeOut 0.5s 4.5s forwards;
  min-width: 280px;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Footer Section */
footer {
  background-color: #06110D;
  color: #A2B5AD;
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

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

.footer-links a {
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid #142E25;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

.footer-hashtags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hashtag {
  color: var(--accent);
  font-weight: 600;
}

/* Mobile Responsiveness Rules */
@media (max-width: 1200px) {
  .nav-links, .nav-controls {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .mobile-nav-drawer {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
  .event-section-grid {
    grid-template-columns: 1fr;
  }
  .blog-view-wrapper {
    grid-template-columns: 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .nav-links, .nav-controls {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .mobile-nav-drawer {
    display: block;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* LOADING SKELETON SCREENS                     */
/* ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  height: 200px;
  margin-bottom: 20px;
}
.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  width: 80%;
}
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }

/* ============================================ */
/* SEARCH OVERLAY                               */
/* ============================================ */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.search-overlay.active { opacity: 1; }
.search-modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 560px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.1rem;
  outline: none;
}
.search-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
}
.search-results {
  padding: 10px;
  overflow-y: auto;
  max-height: 50vh;
}
.search-result-item {
  padding: 14px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.search-result-item:hover { background: var(--bg-tertiary); }
.search-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 8px;
}
.search-badge.blog { background: var(--primary-light); color: var(--primary); }
.search-badge.story { background: var(--accent-light); color: var(--accent); }
.search-badge.event { background: #E3F2FD; color: #1565C0; }
.search-snippet {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.search-hint {
  padding: 30px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ============================================ */
/* CAPTCHA                                      */
/* ============================================ */
.captcha-container {
  margin: 15px 0;
}
.captcha-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}
.captcha-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ============================================ */
/* RESOURCES LIBRARY                            */
/* ============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.resource-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.resource-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}
.resource-card h4 {
  margin-bottom: 8px;
}
.resource-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* ============================================ */
/* MEMBER / AMBASSADOR DIRECTORY                */
/* ============================================ */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.directory-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
}
.directory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.directory-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.directory-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.directory-card .role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}
.directory-card .location {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================ */
/* ADMIN EXPORT BUTTON                          */
/* ============================================ */
.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
}
.export-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* ============================================ */
/* ADMIN CHARTS                                 */
/* ============================================ */
.admin-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.chart-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.chart-card h4 {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--text-secondary);
}
.chart-card canvas {
  width: 100% !important;
  max-height: 200px;
}

/* ============================================ */
/* ADMIN USERS TABLE                            */
/* ============================================ */
.admin-user-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ============================================ */
/* RESPONSIVE ADDITIONS                         */
/* ============================================ */
@media (max-width: 768px) {
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
  .admin-user-form {
    grid-template-columns: 1fr;
  }
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* WHATSAPP FOLLOW-UP SLIDE BANNER              */
/* ============================================ */
.wa-followup-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 520px;
  transition: bottom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.wa-followup-banner.active {
  bottom: 24px;
  pointer-events: auto;
}

.wa-followup-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a1a2e;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(37,211,102,0.12);
  backdrop-filter: blur(10px);
}

.wa-followup-icon {
  width: 44px;
  height: 44px;
  background: #25D366;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.wa-followup-content {
  flex: 1;
  min-width: 0;
}

.wa-followup-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 2px;
}

.wa-followup-sub {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-followup-cta {
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.wa-followup-cta:hover {
  background: #1ebe5a;
}

.wa-followup-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 6px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.wa-followup-close:hover {
  color: rgba(255,255,255,0.9);
}

/* ============================================ */
/* VIDEO GUIDE MODAL ENHANCEMENTS               */
/* ============================================ */
#video-guide-modal .modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

#video-guide-modal .modal-body {
  padding: 24px;
}

/* ============================================ */
/* RESPONSIVE — BANNER MOBILE                   */
/* ============================================ */
@media (max-width: 480px) {
  .wa-followup-banner.active {
  margin-top: 4px;
}

/* ============================================ */
/* ADMIN EXPORT BUTTON                          */
/* ============================================ */
.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
}
.export-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* ============================================ */
/* ADMIN CHARTS                                 */
/* ============================================ */
.admin-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.chart-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.chart-card h4 {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--text-secondary);
}
.chart-card canvas {
  width: 100% !important;
  max-height: 200px;
}

/* ============================================ */
/* ADMIN USERS TABLE                            */
/* ============================================ */
.admin-user-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ============================================ */
/* RESPONSIVE ADDITIONS                         */
/* ============================================ */
@media (max-width: 768px) {
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
  .admin-user-form {
    grid-template-columns: 1fr;
  }
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* WHATSAPP FOLLOW-UP SLIDE BANNER              */
/* ============================================ */
.wa-followup-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 520px;
  transition: bottom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.wa-followup-banner.active {
  bottom: 24px;
  pointer-events: auto;
}

.wa-followup-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a1a2e;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(37,211,102,0.12);
  backdrop-filter: blur(10px);
}

.wa-followup-icon {
  width: 44px;
  height: 44px;
  background: #25D366;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.wa-followup-content {
  flex: 1;
  min-width: 0;
}

.wa-followup-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 2px;
}

.wa-followup-sub {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-followup-cta {
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.wa-followup-cta:hover {
  background: #1ebe5a;
}

.wa-followup-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 6px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.wa-followup-close:hover {
  color: rgba(255,255,255,0.9);
}

/* ============================================ */
/* VIDEO GUIDE MODAL ENHANCEMENTS               */
/* ============================================ */
#video-guide-modal .modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

#video-guide-modal .modal-body {
  padding: 24px;
}

/* ============================================ */
/* RESPONSIVE — BANNER MOBILE                   */
/* ============================================ */
@media (max-width: 480px) {
  .wa-followup-banner.active {
    bottom: 80px; /* above floating buttons */
  }
  .wa-followup-sub {
    display: none;
  }
  .wa-followup-inner {
    padding: 12px;
    gap: 10px;
  }
}

/* ============================================ */
/* 10 NEW FEATURES — CSS COMPONENTS             */
/* ============================================ */

/* Pledge Wall */
.pledge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pledge-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  padding: 6px 12px 6px 6px;
  border-radius: 30px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-primary);
  animation: slideUpFade 0.5s ease;
}
.pledge-avatar {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}
.pledge-loc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.pledge-chip-more {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Countdown Widget */
.countdown-widget {
  background: linear-gradient(135deg, var(--primary) 0%, #062b1b 100%);
  border-radius: 16px;
  padding: 24px;
  color: white;
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.1);
}
.countdown-label {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.8);
}
.countdown-label strong {
  color: var(--accent);
}
.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.3);
  padding: 10px 15px;
  border-radius: 12px;
  min-width: 70px;
}
.countdown-num {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
}
.countdown-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgba(255,255,255,0.4);
}
.countdown-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Donation Progress Bar */
.donation-progress-wrap {
  margin: 20px 0;
}
.donation-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}
.donation-progress-track {
  width: 100%;
  height: 12px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
}
.donation-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}
.donor-chip {
  display: inline-block;
  background: var(--bg-tertiary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  margin: 4px;
  border: 1px solid var(--border);
}

/* Nav Controls Extra */
.notify-btn {
  color: var(--accent) !important;
}
.notify-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
