@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #FF6813;
  --primary-hover: #E05300;
  --secondary: #0B2545;
  --secondary-light: #134074;
  --accent: #F4B41A;
  --dark-bg: #071629;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #E2E8F0;
  --success: #10B981;
  --danger: #EF4444;
  --info: #3B82F6;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --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 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(255, 104, 19, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --navbar-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light-bg);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
}

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

/* --- LOADING SCREEN --- */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container {
  text-align: center;
  color: var(--white);
  padding: 20px;
  max-width: 90%;
}

.loader-logo {
  width: 140px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 10px rgba(255, 104, 19, 0.5));
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  position: absolute;
  left: -100%;
  animation: loadProgress 1.5s infinite linear;
}

.loader-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.loader-subtitle {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes loadProgress {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary) 100%);
  color: var(--white);
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid var(--primary);
  z-index: 998;
}

.announcement-label {
  background-color: var(--primary);
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.announcement-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.announcement-ticker {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.announcement-ticker span {
  margin-right: 60px;
  display: inline-flex;
  align-items: center;
}

.announcement-ticker span::before {
  content: '•';
  color: var(--accent);
  font-size: 1.5rem;
  margin-right: 15px;
}

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

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --- HEADER / NAVBAR --- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 997;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item a {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-item a:hover, .nav-item.active a {
  color: var(--primary);
  background-color: rgba(255, 104, 19, 0.08);
}

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

.btn-admin-toggle {
  background-color: var(--secondary);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-admin-toggle:hover {
  background-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- HERO BANNER --- */
.hero {
  position: relative;
  min-height: auto;
  background: linear-gradient(135deg, rgba(7, 22, 41, 0.93) 0%, rgba(19, 64, 116, 0.85) 100%), url('./assets/rks_hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 45px 0 5px 0;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  z-index: 5;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-tag {
  background: rgba(255, 104, 19, 0.2);
  border-left: 4px solid var(--primary);
  padding: 6px 16px;
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-radius: 0 8px 8px 0;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  opacity: 0.95;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

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

.btn-secondary { background-color: rgba(255, 255, 255, 0.1); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease-out;
}

.hero-circle-logo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 40px rgba(255, 104, 19, 0.45);
}


/* --- WELCOME POPUP --- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 22, 41, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.popup-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 520px;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.popup-overlay.active .popup-card { transform: scale(1); }

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.popup-close:hover { color: var(--danger); transform: rotate(90deg); }

.popup-logo {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
}

.popup-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--secondary);
}
.popup-title span {
  color: var(--primary);
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 5px;
}

.popup-tagline {
  color: var(--secondary-light);
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 15px 0;
  letter-spacing: 1.5px;
}

.popup-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}


/* --- FLOATING ACTION DOCK --- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 996;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}
.fab svg { width: 24px; height: 24px; fill: currentColor; }
.fab:hover { transform: translateY(-4px) scale(1.05); }

.fab-whatsapp { background-color: #25D366; }
.fab-call { background-color: var(--primary); }
.fab-chatbot { background-color: var(--secondary); }
.fab-scrolltop { background-color: #64748B; opacity: 0; visibility: hidden; }
.fab-scrolltop.visible { opacity: 1; visibility: visible; }

.fab::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.fab:hover::before { opacity: 1; visibility: visible; right: 60px; }


/* --- SECTION LAYOUTS --- */
section {
  padding: 80px 0;
  scroll-margin-top: calc(var(--navbar-height) + 40px);
}
.section-alt { background-color: var(--white); }
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.section-tagline { color: var(--primary); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; display: block; }
.section-title { font-size: 2.3rem; margin-bottom: 15px; position: relative; padding-bottom: 10px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--primary); }
.section-desc { color: var(--text-muted); font-size: 1.05rem; }


/* --- ABOUT SECTION --- */
/*.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; } */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-video-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.35fr;
  gap: 24px;
  margin-bottom: 30px;
  align-items: stretch;
}
.vision-cards-grid-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-grow: 1;
}
.about-img-container { position: relative; }
.about-img-card {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-decor {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.about-content h3 { font-size: 1.9rem; margin-bottom: 15px; }
.about-subtitle { color: var(--primary); font-weight: 600; margin-bottom: 20px; display: block; }
.about-text p { color: var(--text-muted); margin-bottom: 15px; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.about-detail-item { display: flex; gap: 12px; }
.about-detail-item svg { color: var(--primary); width: 22px; flex-shrink: 0; }
.about-detail-text h5 { font-size: 0.95rem; color: var(--text-dark); }
.about-detail-text p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }


/* --- DYNAMIC BLOG SECTION --- */
.blog-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 35px; flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img-wrap { position: relative; width: 100%; height: 200px; background-color: var(--dark-bg); }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blog-type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(7, 22, 41, 0.85);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.blog-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.blog-card-cat { color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.blog-card-title { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; flex-grow: 1; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #F1F5F9; padding-top: 15px; font-size: 0.8rem; color: var(--text-muted); }
.blog-author { display: flex; align-items: center; gap: 8px; }
.blog-author-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }


/* --- SOCIAL WORK SECTION --- */
.social-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.social-work-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition);
}
.social-work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.social-work-img { width: 100%; height: 200px; object-fit: cover; }
.social-work-content { padding: 24px; }
.social-work-meta { display: flex; align-items: center; gap: 15px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.social-work-loc { color: var(--primary); font-weight: 600; }
.social-work-title { font-size: 1.25rem; margin-bottom: 10px; }
.social-work-desc { font-size: 0.9rem; color: var(--text-muted); }


/* --- MEETING SECTION --- */
.meetings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.meeting-card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: var(--transition);
}
.meeting-card:hover { box-shadow: var(--shadow-md); border-color: rgba(255, 104, 19, 0.2); }
.meeting-header { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 15px; border-bottom: 1px solid #F1F5F9; padding-bottom: 10px; }
.meeting-title { font-size: 1.15rem; margin-bottom: 12px; color: var(--secondary); }
.meeting-details { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 15px; }
.meeting-attendees { display: flex; flex-wrap: wrap; gap: 6px; }
.attendee-tag { background-color: var(--light-bg); font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; color: var(--secondary-light); font-weight: 550; }


/* --- LATEST UPDATES FEED GRID --- */
.latest-updates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.update-feed-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.update-feed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.update-feed-type { font-size: 0.72rem; text-transform: uppercase; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.update-feed-title { font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.update-feed-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.update-feed-meta { font-size: 0.75rem; color: var(--text-muted); border-top: 1px solid #F1F5F9; padding-top: 8px; }


/* --- DYNAMIC ANALYTICS CHARTS --- */
.analytics-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; margin-bottom: 24px; }
.analytics-card { background: var(--white); border-radius: var(--border-radius); padding: 24px; box-shadow: var(--shadow-sm); }
.chart-container { width: 100%; height: 220px; position: relative; margin-top: 15px; }
.svg-chart { width: 100%; height: 100%; }
.chart-tooltip {
  position: absolute;
  background-color: var(--secondary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.stats-summary-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 24px; }
.admin-stat-box { background: var(--white); border-radius: var(--border-radius); padding: 20px; box-shadow: var(--shadow-sm); text-align: center; }
.admin-stat-val { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.admin-stat-lbl { font-size: 0.78rem; text-transform: uppercase; font-weight: 600; color: var(--text-muted); }


/* --- SECTION ORDERING BOXES --- */
.section-sort-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.section-sort-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.section-sort-title { font-weight: 600; color: var(--secondary); }
.section-sort-actions { display: flex; gap: 6px; align-items: center; }
.btn-sort {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: none;
  background-color: var(--light-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.btn-sort:hover { background-color: #CBD5E1; }
.section-visibility-toggle {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.section-visibility-toggle.visible { background-color: rgba(16, 185, 129, 0.1); color: var(--success); }
.section-visibility-toggle.hidden { background-color: rgba(239, 68, 68, 0.1); color: var(--danger); }


/* --- ROLE SYSTEM STYLES --- */
.role-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  display: inline-block;
}
.role-badge.superadmin { background-color: var(--danger); }
.role-badge.admin { background-color: var(--primary); }
.role-badge.editor { background-color: var(--info); }
.role-badge.moderator { background-color: var(--success); }


/* --- BLOG DEDICATED MODAL VIEWER --- */
.blog-modal-card { max-width: 800px; text-align: left; overflow-y: auto; max-height: 90vh; }
.blog-modal-banner { width: 100%; height: 320px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 20px; }
.blog-modal-content { font-size: 1.05rem; color: var(--text-dark); line-height: 1.8; margin-top: 20px; }


/* --- REMAINING STYLES (Copied from basic CSS to ensure compatibility) --- */
.announcement-ticker span::after { display: none; }
.announcement-ticker span { margin-right: 50px; }
.gallery-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; }
.filter-btn { padding: 8px 20px; border-radius: 30px; border: 1px solid #CBD5E1; background-color: var(--white); color: var(--text-dark); font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background-color: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 4px 8px rgba(255, 104, 19, 0.25); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; position: relative; background: var(--dark-bg); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(7, 22, 41, 0.85) 0%, rgba(7, 22, 41, 0) 70%); opacity: 0; display: flex; align-items: flex-end; padding: 20px; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-text { color: var(--white); }
.gallery-text h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 5px; }
.gallery-text span { font-size: 0.8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; }

.achievements-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  border-radius: var(--border-radius);
  padding: 35px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--secondary);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  border-bottom-color: var(--primary);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 104, 19, 0.15);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
}

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.video-card { background-color: var(--white); border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, 0.05); }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-info { padding: 20px; }
.video-title { font-size: 1.15rem; margin-bottom: 8px; }
.video-desc { font-size: 0.9rem; color: var(--text-muted); }

.news-events-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-card { background-color: var(--white); border-radius: var(--border-radius); display: grid; grid-template-columns: 240px 1fr; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, 0.05); }
.news-img { width: 100%; height: 100%; object-fit: cover; background-color: var(--dark-bg); }
.news-body { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.news-meta { display: flex; align-items: center; gap: 15px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.news-tag { background-color: rgba(255, 104, 19, 0.1); color: var(--primary); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.news-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.news-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }
.news-readmore { color: var(--primary); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }

.events-timeline { display: flex; flex-direction: column; gap: 15px; }
.event-item { background: var(--white); padding: 20px; border-radius: var(--border-radius); border-left: 4px solid var(--secondary); box-shadow: var(--shadow-sm); display: flex; gap: 15px; transition: var(--transition); }
.event-item:hover { border-left-color: var(--primary); }
.event-date-box { background-color: rgba(11, 37, 69, 0.05); color: var(--secondary); border-radius: 8px; width: 65px; height: 65px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.event-date-day { font-size: 1.3rem; line-height: 1; }
.event-date-month { font-size: 0.75rem; text-transform: uppercase; }
.event-details { flex-grow: 1; }
.event-details h4 { font-size: 1rem; margin-bottom: 5px; }
.event-meta { font-size: 0.8rem; color: var(--text-muted); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.contact-info-card { background: var(--secondary); color: var(--white); border-radius: var(--border-radius-lg); padding: 40px 30px; box-shadow: var(--shadow-lg); }
.contact-info-card h3 { color: var(--white); margin-bottom: 25px; }
.contact-links-list { display: flex; flex-direction: column; gap: 20px; }
.contact-link-item { display: flex; gap: 15px; }
.contact-link-item svg { color: var(--primary); width: 24px; flex-shrink: 0; }
.contact-link-content h5 { color: var(--text-light); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 2px; }
.contact-link-content p { color: var(--white); font-size: 0.95rem; }
.contact-form-card { background-color: var(--white); border-radius: var(--border-radius-lg); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, 0.05); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }
.form-group-full { grid-column: 1 / span 2; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.form-control { width: 100%; padding: 12px 16px; border-radius: var(--border-radius); border: 1px solid #CBD5E1; font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 104, 19, 0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* AI Chatbot styles */
.chat-window { position: fixed; bottom: 90px; right: 24px; width: 360px; height: 500px; background-color: var(--white); border-radius: var(--border-radius-lg); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; z-index: 1002; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); overflow: hidden; }
.chat-window.active { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header { background: var(--secondary); color: var(--white); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.chat-bot-identity { display: flex; align-items: center; gap: 10px; }
.chat-bot-avatar { width: 36px; height: 36px; background-color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.chat-bot-info h4 { color: var(--white); font-size: 0.95rem; margin: 0; }
.chat-bot-info span { font-size: 0.75rem; color: var(--success); display: flex; align-items: center; gap: 4px; }
.chat-bot-info span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background-color: var(--success); display: inline-block; }
.chat-close { background: none; border: none; color: var(--white); cursor: pointer; opacity: 0.8; font-size: 1.2rem; transition: var(--transition); }
.chat-close:hover { opacity: 1; }
.chat-messages { flex-grow: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background-color: #F8FAFC; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: 0.9rem; line-height: 1.4; word-wrap: break-word; }
.chat-bubble-bot { background-color: var(--white); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.05); }
.chat-bubble-user { background-color: var(--primary); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 2px 4px rgba(255, 104, 19, 0.1); }
.chat-typing { align-self: flex-start; background-color: var(--white); padding: 12px 16px; border-radius: 16px; border-bottom-left-radius: 4px; display: none; align-items: center; gap: 4px; border: 1px solid rgba(0,0,0,0.05); }
.chat-typing span { width: 6px; height: 6px; background-color: var(--text-muted); border-radius: 50%; display: inline-block; animation: typing 1.4s infinite ease-in-out both; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1.1); opacity: 1; } }
.chat-footer { padding: 12px 15px; background-color: var(--white); border-top: 1px solid #E2E8F0; display: flex; gap: 10px; }
.chat-input { flex-grow: 1; border: 1px solid #E2E8F0; border-radius: 20px; padding: 8px 16px; outline: none; font-family: var(--font-body); font-size: 0.9rem; transition: var(--transition); }
.chat-input:focus { border-color: var(--primary); }
.chat-send-btn { background-color: var(--primary); color: var(--white); border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.chat-send-btn:hover { background-color: var(--primary-hover); }

/* Admin drawer styles */
.admin-panel-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(7, 22, 41, 0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2000; display: flex; justify-content: flex-end; opacity: 0; visibility: hidden; transition: var(--transition); }
.admin-panel-overlay.active { opacity: 1; visibility: visible; }
.admin-panel-drawer { width: 100%; max-width: 950px; height: 100%; background-color: var(--white); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; }
.admin-panel-overlay.active .admin-panel-drawer { transform: translateX(0); }
.admin-header { background: var(--dark-bg); color: var(--white); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-header h2 { color: var(--white); font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.btn-admin-close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; opacity: 0.8; transition: var(--transition); }
.btn-admin-close:hover { opacity: 1; color: var(--primary); }

.admin-auth-screen { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background-color: var(--light-bg); }
.auth-card { background-color: var(--white); padding: 30px; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); width: 100%; max-width: 400px; text-align: center; }
.auth-card h3 { margin-bottom: 10px; }
.auth-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.admin-workspace { display: grid; grid-template-columns: 240px 1fr; flex-grow: 1; overflow: hidden; }
.admin-sidebar { background-color: #0E1E38; padding: 20px 10px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.admin-sidebar-btn { background: none; border: none; color: #94A3B8; padding: 10px 15px; border-radius: 6px; text-align: left; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: var(--transition); width: 100%; }
.admin-sidebar-btn:hover, .admin-sidebar-btn.active { color: var(--white); background-color: rgba(255, 255, 255, 0.08); }
.admin-sidebar-btn.active { border-left: 3px solid var(--primary); background-color: rgba(255, 104, 19, 0.12); color: var(--primary); }
.admin-content-area { padding: 30px; overflow-y: auto; background-color: var(--light-bg); }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.admin-tab-header { margin-bottom: 20px; border-bottom: 1px solid #E2E8F0; padding-bottom: 12px; }
.admin-tab-header h3 { font-size: 1.3rem; color: var(--secondary); }
.admin-tab-header p { color: var(--text-muted); font-size: 0.85rem; }

.admin-card { background-color: var(--white); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; border: 1px solid rgba(0,0,0,0.02); }
.admin-card-title { font-size: 1.05rem; margin-bottom: 15px; border-bottom: 1px solid #F1F5F9; padding-bottom: 8px; color: var(--secondary); font-weight: 600; }
.admin-list-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; background-color: var(--light-bg); border-radius: 8px; margin-bottom: 10px; font-size: 0.9rem; }
.admin-list-actions { display: flex; gap: 8px; }
.btn-icon { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.btn-icon-edit { color: var(--secondary); background-color: #E2E8F0; }
.btn-icon-edit:hover { background-color: #CBD5E1; }
.btn-icon-delete { color: var(--white); background-color: var(--danger); }
.btn-icon-delete:hover { background-color: #DC2626; }
.btn-add-item { background-color: var(--success); color: var(--white); border: none; padding: 8px 16px; border-radius: 6px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; margin-bottom: 15px; transition: var(--transition); }
.btn-add-item:hover { background-color: #059669; }

/* Footer styling */
footer { background-color: var(--dark-bg); color: var(--white); padding: 70px 0 30px; border-top: 4px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 20px; }
.footer-slogan { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--primary); letter-spacing: 1px; }
.footer-section-title { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--primary); }
.footer-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-links a { color: var(--text-light); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact-info { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-contact-item { display: flex; gap: 10px; }
.footer-contact-item svg { color: var(--primary); width: 18px; flex-shrink: 0; }
.footer-socials { display: flex; gap: 12px; margin-top: 25px; }
.footer-social-link { width: 38px; height: 38px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.08); color: var(--white); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social-link:hover { background-color: var(--primary); transform: translateY(-3px); }
.footer-social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; font-size: 0.85rem; color: #94A3B8; }
.footer-powered-by a { color: var(--primary); font-weight: 600; }
.footer-powered-by a:hover { color: var(--white); }

/* Table styling in admin */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.85rem; }
.admin-table th, .admin-table td { padding: 10px; text-align: left; border-bottom: 1px solid #E2E8F0; }
.admin-table th { background-color: #F1F5F9; font-weight: 600; color: var(--secondary); }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .hero-cutout-img { width: 100%; max-width: 330px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .social-work-grid { grid-template-columns: 1fr 1fr; }
  .meetings-grid { grid-template-columns: 1fr 1fr; }
  .latest-updates-grid { grid-template-columns: 1fr 1fr; }

  /* Header & Mobile Navigation Menu Activation at 1024px */
  header { height: 70px; }
  .nav-container { padding: 0 16px; }
  .logo-img { height: 52px; }
  .logo-name { font-size: 1.15rem; }
  .logo-tagline { font-size: 0.65rem; }
  .hamburger { display: flex; }
  .nav-menu { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--white); flex-direction: column; padding: 30px 20px; gap: 15px; align-items: stretch; transition: var(--transition); box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 1000; }
  .nav-menu.active { left: 0; }
  .nav-item a { display: block; padding: 12px 20px; font-size: 1.1rem; }
  .btn-admin-toggle { padding: 6px 12px; font-size: 0.8rem; }
  .header-top-bar { display: none !important; }

  /* Dropdown Accordion Menu for Mobile Menu */
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 5px 0 5px 15px !important;
    background: transparent !important;
    display: none;
    width: 100%;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .caret {
    margin-left: auto;
  }
}

@media (max-width: 992px) {
  section { padding: 60px 0; }
  .hero { padding: 35px 0 5px 0 !important; }
  .hero-container { grid-template-columns: 1.2fr 0.8fr; text-align: left; gap: 20px; align-items: flex-end; }
  .hero-graphic { display: flex; justify-content: flex-end; align-items: flex-end; }
  .hero-cutout-img { max-width: 100%; top: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-container { max-width: 400px; margin: 0 auto; }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .news-events-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .admin-workspace { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .admin-sidebar { flex-direction: row; overflow-x: auto; padding: 10px; white-space: nowrap; }
  .admin-sidebar-btn { display: inline-flex; width: auto; }
  .stats-summary-strip { grid-template-columns: 1fr 1fr 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 25px 0 5px 0 !important; }
  .hero-title { font-size: 1.8rem !important; }
  .hero-subtitle { font-size: 1.3rem !important; }
  .hero-desc { font-size: 0.95rem !important; }
  .hero-tag { font-size: 0.75rem !important; padding: 4px 10px !important; margin-bottom: 12px !important; }
  .hero-ctas .btn { padding: 8px 14px !important; font-size: 0.8rem !important; }
  .popup-card { padding: 30px 20px; }
  .popup-title { font-size: 1.6rem; }
  .section-title { font-size: 1.9rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .social-work-grid { grid-template-columns: 1fr; }
  .meetings-grid { grid-template-columns: 1fr; }
  .latest-updates-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-img { height: 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: auto; }
  .chat-window { width: calc(100% - 32px); height: 450px; right: 16px; bottom: 80px; }
  .floating-actions { bottom: 16px; right: 16px; }
  .fab { width: 46px; height: 46px; }
  .fab::before { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-summary-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 20px 0 5px 0 !important; }
  .hero-title { font-size: 1.95rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .achievements-grid { grid-template-columns: 1fr; }
  .about-details { grid-template-columns: 1fr; }
  .admin-content-area { padding: 15px; }
  .admin-header { padding: 15px; }
  .stats-summary-strip { grid-template-columns: 1fr; }
}

/* --- UPDATED BRANDING LOGO & DROP-DOWN MENU STYLES --- */
.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.logo-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

/* Nav Menu Updates with Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu li a {
  display: block !important;
  padding: 8px 20px !important;
  font-size: 0.9rem !important;
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  background: none !important;
  border-radius: 0 !important;
  text-align: left;
}
.dropdown-menu li a:hover {
  background-color: rgba(255, 104, 19, 0.08) !important;
  color: var(--primary) !important;
  padding-left: 24px !important;
}
.caret {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  display: inline-block;
}
.dropdown:hover .caret {
  transform: rotate(180deg);
}

/* --- HERO SECTION DECORATIONS --- */
.hero {
  position: relative;
  background: linear-gradient(-45deg, #FF6813, #FF8E43, #FFFDFB, #41A317, #1E824C);
  background-size: 400% 400%;
  animation: gradientAnimation 12s ease infinite;
  overflow: hidden;
  min-height: auto !important;
  display: flex;
  align-items: center;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-map-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 800px;
  min-width: 320px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  animation: mapGlow 12s ease-in-out infinite;
}
.hero-map-bg svg {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes mapGlow {
  0%, 100% { opacity: 0.08; filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.05)); }
  50% { opacity: 0.16; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.18)); }
}
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  animation: floatUp 8s infinite ease-in-out;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-10vh) scale(1.3); opacity: 0; }
}

.hero-assembly-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 2;
}
.tricolor-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 6;
  pointer-events: none;
}

.hero-cutout-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 50% 50% 0 0;
  object-fit: cover;
  filter: drop-shadow(0 15px 30px rgba(7, 22, 41, 0.5)) drop-shadow(0 0 25px rgba(255, 104, 19, 0.4));
  animation: floatAnim 5s ease-in-out infinite;
  z-index: 2;
  position: relative;
  top: 0; /* shift down to touch/overlap the tiranga wave at the bottom */
}
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- VISION CARDS & TIMELINE --- */
.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.vision-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.vision-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: height 0.3s ease;
  z-index: -1;
}
.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 104, 19, 0.2);
}
.vision-card:hover::after {
  height: 100%;
  opacity: 0.03;
}
.vision-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.4s ease;
}
.vision-card:hover .vision-icon {
  transform: scale(1.18) rotate(5deg);
}
.vision-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
}
.vision-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mission Timeline Styles */
.mission-timeline {
  position: relative;
  max-width: 850px;
  margin: 40px auto 0;
  padding: 20px 0;
}
.mission-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 3px;
  background-color: rgba(255, 104, 19, 0.2);
}
.timeline-card {
  position: relative;
  margin-bottom: 30px;
  padding-left: 70px;
  animation: fadeInUp 0.5s ease-out;
}
.timeline-dot {
  position: absolute;
  left: 20px;
  top: 6px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--primary);
  box-shadow: 0 0 10px rgba(255, 104, 19, 0.4);
  z-index: 2;
  transition: transform 0.3s ease;
}
.timeline-card:hover .timeline-dot {
  transform: scale(1.25);
  background-color: var(--primary);
}
.timeline-content {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition);
}
.timeline-card:hover .timeline-content {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 104, 19, 0.15);
}
.timeline-content h4 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 104, 19, 0.1);
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 3rem;
  color: rgba(255, 104, 19, 0.15);
  font-family: Georgia, serif;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Dropdown styles */
@media (max-width: 768px) {
  .mission-timeline::before {
    left: 21px;
  }
  .timeline-card {
    padding-left: 50px;
  }
  .timeline-dot {
    left: 10px;
  }
  .vision-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .logo-img {
    height: 52px;
  }
}
@media (max-width: 480px) {
  .vision-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- NEW PREMIUM COMPONENT STYLES --- */

/* Scrolling Marquee updates bar */
.marquee-bar {
  display: flex;
  align-items: center;
  background-color: var(--dark-bg);
  border-bottom: 1px solid rgba(255, 104, 19, 0.2);
  color: var(--white);
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-label {
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 3px 0 8px rgba(0,0,0,0.2);
  z-index: 2;
}

.marquee-content-wrap {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 1;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scrollMarquee 85s linear infinite; /* Slowed down to 85s for clean, highly readable speed */
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.marquee-text span {
  margin-right: 40px;
  display: inline-block;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Hero Supporter overlapping avatars */
.supporter-profiles-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.supporter-avatars {
  display: flex;
  align-items: center;
}
.supporter-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  margin-right: -10px;
  object-fit: cover;
  transition: var(--transition);
}
.supporter-avatars img:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 10;
}
.supporter-text {
  font-size: 0.85rem;
  color: #ECEFF1;
  font-weight: 500;
  line-height: 1.4;
}

/* Featured Social Initiative card effects */
.featured-init-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--light-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
  align-items: center;
  transition: var(--transition);
}
.featured-init-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.featured-init-img {
  overflow: hidden;
}
.featured-init-img img {
  transition: transform 0.6s ease;
}
.featured-init-card:hover .featured-init-img img {
  transform: scale(1.05);
}

/* About Grid play button pulse animation */
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--primary-hover);
}

/* Latest Updates Hub cards */
.updates-hub-grid .hub-column {
  transition: var(--transition);
}
.updates-hub-grid .hub-column:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(255, 104, 19, 0.15) !important;
}

/* Social Feeds Column grids */
.social-grid-cards {
  padding: 5px;
}
.social-feed-card {
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.social-feed-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.08) !important;
}

/* Glassmorphism Quick Connect Cards */
.glass-connect-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--border-radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 250px;
}
.glass-connect-card:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 104, 19, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.connect-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 15px;
}
.glass-connect-card h4 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.glass-connect-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Stats summary strip grid adjustments in Admin console */
.stats-summary-strip {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
}

/* Footer outline map pulse */
.bihar-map-wrap svg path {
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.footer-map-container:hover .bihar-map-wrap svg path {
  fill: rgba(255, 104, 19, 0.25);
  stroke: var(--primary);
}

/* --- RESPONSIVE COLLAPSIBLE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .about-video-vision-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }
  .about-featured-video-card {
    min-height: 250px;
  }
  .updates-hub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  .social-feeds-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }
  .quick-connect-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  .quick-connect-grid, .updates-hub-grid {
    display: grid;
  }
}

@media (max-width: 768px) {
  .featured-init-card {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .featured-init-img {
    min-height: 240px;
  }
  .quick-connect-grid {
    grid-template-columns: 1fr !important;
  }
  .updates-hub-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Header Top Utility Bar */
.header-top-bar {
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1001;
  position: relative;
}
.header-top-bar a:hover {
  color: var(--primary) !important;
}
@media (max-width: 768px) {
  .header-top-bar {
    display: none !important;
  }
}

/* ==========================================================================
   ABOUT REDESIGN & DYNAMIC PREMIUM HOVERS
   ========================================================================== */

/* About Section Header Premium Styling */
.about-section-header-mockup .section-tagline {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.about-section-header-mockup .section-title {
  color: var(--secondary);
  font-size: 2.3rem;
  font-weight: 800;
  margin-top: 10px;
}

/* About Grid Items Premium Hover Transitions */
.about-info-navy-card {
  background-image: linear-gradient(135deg, rgba(11, 37, 69, 0.98) 0%, rgba(19, 64, 116, 0.95) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.05' fill='%23ffffff'%3E%3Cpath d='M10,80 L20,80 L20,55 L30,45 L40,55 L40,80 L50,80 L50,30 L60,20 L70,30 L70,80 L80,80 L80,65 L90,80 Z'/%3E%3C/svg%3E") !important;
  background-position: bottom right !important;
  background-size: 130px !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: var(--transition) !important;
}

.about-info-navy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(11, 37, 69, 0.35) !important;
  border-color: rgba(255, 104, 19, 0.25) !important;
}

.about-bullets li {
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: var(--transition) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.about-bullets li:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 104, 19, 0.25) !important;
  transform: translateX(5px) !important;
  color: var(--white) !important;
}

.portrait-video-card {
  transition: var(--transition) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  overflow: hidden;
  position: relative;
}

.portrait-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(11, 37, 69, 0.25) !important;
}

.portrait-video-card img {
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

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

.play-btn {
  animation: playPulse 2s infinite ease-in-out;
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 104, 19, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(255, 104, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 104, 19, 0); }
}

/* Achievements Section Stats Card Icons Micro-Animations */
.stat-card svg {
  transition: var(--transition) !important;
}

.stat-card:hover svg {
  transform: scale(1.22) rotate(4deg);
  stroke: var(--primary) !important;
}

/* Vision Cards styling updates */
.about-vision-grid-column {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%) !important;
  transition: var(--transition) !important;
}

.about-vision-grid-column:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(255, 104, 19, 0.12) !important;
}

.vision-cards-grid-small .vision-card {
  background: var(--white) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 16px 12px !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
}

.vision-cards-grid-small .vision-card h4 {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.vision-card-green:hover {
  border-color: rgba(16, 185, 129, 0.2) !important;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.08) !important;
}

.vision-card-orange:hover {
  border-color: rgba(255, 104, 19, 0.2) !important;
  box-shadow: 0 10px 20px rgba(255, 104, 19, 0.08) !important;
}

.vision-card-blue:hover {
  border-color: rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.08) !important;
}

.vision-card-purple:hover {
  border-color: rgba(139, 92, 246, 0.2) !important;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.08) !important;
}

.vision-cards-grid-small .vision-card .vision-icon {
  transition: var(--transition) !important;
}

.vision-cards-grid-small .vision-card:hover .vision-icon {
  transform: scale(1.1) rotate(3deg);
}

/* Bottom Pillars Bar styling */
.pillar-col {
  padding: 10px 5px !important;
  border-right: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.pillar-col:last-child {
  border-right: none !important;
}

.pillar-col:hover {
  transform: translateY(-4px);
}

.pillar-col:hover .pillar-icon-circle {
  transform: scale(1.12);
  box-shadow: var(--shadow-sm);
}

/* Hero Subtitle responsive styling */
.hero-subtitle {
  font-size: 2.2rem;
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .about-video-vision-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .about-video-vision-grid {
    grid-template-columns: 1fr !important;
  }
  .about-bottom-pillars-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
  }
  .pillar-col {
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .pillar-col:nth-child(4), .pillar-col:nth-child(5) {
    border-bottom: none !important;
  }
}

@media (max-width: 480px) {
  .about-bottom-pillars-bar {
    grid-template-columns: 1fr 1fr !important;
  }
  .pillar-col {
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  }
  .pillar-col:last-child {
    border-bottom: none !important;
  }
}

/* ==========================================================================
   BLOG / UPDATES HUB DEDICATED PAGE STYLES
   ========================================================================== */

/* Blog Hero banner */
.blog-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--primary);
}

.blog-hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 104, 19, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.blog-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.blog-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Search bar component */
.blog-search-container {
  max-width: 650px;
  margin: -30px auto 40px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}

.blog-search-wrapper {
  display: flex;
  background-color: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 6px;
}

.blog-search-input {
  flex-grow: 1;
  border: none;
  padding: 12px 20px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.blog-search-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 25px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.blog-search-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-glow);
}

/* Blog Navigation / filter system */
.blog-categories-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.blog-categories-bar .filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid #E2E8F0;
  font-weight: 600;
  transition: var(--transition);
}

.blog-categories-bar .filter-btn.active,
.blog-categories-bar .filter-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 12px rgba(255, 104, 19, 0.2);
}

/* Empty state styling */
.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.blog-empty-state svg {
  color: #CBD5E1;
  margin-bottom: 20px;
}

.blog-empty-state h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* Toast Notifications Container */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  max-width: 450px;
  transform: translateX(120%);
  animation: toastSlideIn 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--primary);
  z-index: 9999;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.hide {
  animation: toastSlideOut 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
  to { transform: translateX(0); }
}
@keyframes toastSlideOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* --- ADDITIONAL DYNAMIC MOBILE-RESPONSIVE OVERRIDES --- */
.updates-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.quick-connect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.social-feeds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.glass-connect-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.glass-connect-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.connect-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .updates-hub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .quick-connect-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .social-feeds-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .updates-hub-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .quick-connect-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  .social-feeds-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .featured-init-card {
    grid-template-columns: 1fr !important;
  }
  .featured-init-img {
    height: 250px !important;
  }
  .supporter-profiles-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }
  .supporter-text {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }
  .supporter-avatars img {
    width: 28px !important;
    height: 28px !important;
    margin-right: -8px !important;
  }
  .hero-cutout-img {
    top: 0 !important;
  }
}

@media (max-width: 480px) {
  .join-text {
    display: none;
  }
  .btn-join-supporters {
    padding: 8px !important;
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
  }
  .logo-img {
    height: 42px !important;
  }
  .logo-name {
    font-size: 0.95rem !important;
  }
  .logo-tagline {
    font-size: 0.6rem !important;
    letter-spacing: 1px !important;
  }
  .logo-link {
    gap: 6px !important;
  }
  .hero-cutout-img {
    top: 0 !important;
  }
  .hero-title {
    font-size: 1.25rem !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
  }
  .hero-desc {
    font-size: 0.75rem !important;
  }
  .hero-tag {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
    margin-bottom: 8px !important;
  }
  .supporter-profiles-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-top: 12px !important;
  }
  .supporter-text {
    font-size: 0.65rem !important;
    line-height: 1.3 !important;
  }
  .supporter-avatars img {
    width: 24px !important;
    height: 24px !important;
    margin-right: -6px !important;
  }
  .hero-ctas {
    gap: 6px !important;
  }
  .hero-ctas .btn {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
  }
  .vision-cards-grid-small {
    grid-template-columns: 1fr !important;
  }
}

/* --- PREMIUM GLOWING SECTIONS --- */
#featured-initiative, #about {
  background: linear-gradient(180deg, rgba(255, 104, 19, 0.03) 0%, rgba(255, 255, 255, 1) 50%, rgba(11, 37, 69, 0.02) 100%) !important;
  position: relative;
  overflow: hidden;
}

/* --- PREMIUM CURSOR GLOW EFFECT --- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 104, 19, 0.07) 0%, rgba(11, 37, 69, 0.04) 40%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 9999;
  filter: blur(20px);
  transform: translate3d(-1000px, -1000px, 0);
  transition: transform 0.12s cubic-bezier(0.1, 0.8, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}
body:hover .cursor-glow {
  opacity: 1;
}
@media (max-width: 1024px) {
  .cursor-glow {
    display: none !important;
  }
}

