/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-900: #0c1e4a;
  --green-800: #1e3a8a;
  --green-700: #1d4ed8;
  --green-600: #2563eb;
  --green-500: #3b82f6;
  --green-400: #60a5fa;
  --green-100: #dbeafe;
  --green-50: #eff6ff;

  --blue-700: #1d4ed8;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;

  --purple-700: #4338ca;
  --purple-500: #6366f1;
  --purple-100: #e0e7ff;

  --orange-700: #1e40af;
  --orange-500: #60a5fa;
  --orange-100: #eff6ff;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: clamp(14px, 1.1vw + 0.5rem, 18px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 110, 58, 0.3);
}

.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 6px 20px rgba(10, 110, 58, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: clamp(0.95rem, 1vw + 0.35rem, 1.15rem);
}

.btn-sm {
  padding: 10px 20px;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== NAVIGATION ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.5px;
}

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

.logo-name {
  font-weight: 800;
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.25rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: clamp(0.55rem, 0.6vw + 0.15rem, 0.7rem);
  opacity: 0.7;
  color: var(--white);
  font-weight: 500;
  line-height: 1.3;
  max-width: 200px;
}

#header.scrolled .logo-name {
  color: var(--gray-900);
}

#header.scrolled .logo-tagline {
  color: var(--gray-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: clamp(0.8rem, 0.85vw + 0.25rem, 0.92rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

#header.scrolled .nav-link {
  color: var(--gray-600);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
  color: var(--green-800);
  background: var(--green-50);
}

.nav-btn {
  margin-left: 4px;
  padding: 8px 20px;
  background: var(--green-800);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: clamp(0.8rem, 0.85vw + 0.25rem, 0.92rem);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

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

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#header.scrolled .hamburger span {
  background: var(--gray-800);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,30,74,0.75) 0%, rgba(30,58,138,0.6) 50%, rgba(29,78,216,0.55) 100%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: white;
  transform: scale(1.2);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 48px;
  max-width: 900px;
  background: rgba(12, 30, 74, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: clamp(0.7rem, 0.8vw + 0.25rem, 0.85rem);
  font-weight: 600;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--green-400), #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.35rem);
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(2rem, 2.5vw + 0.5rem, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat-plus {
  font-size: clamp(1.3rem, 1.4vw + 0.4rem, 1.6rem);
  font-weight: 700;
}

.stat-label {
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  opacity: 0.85;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  transition: var(--transition);
}

.hero-scroll a:hover {
  color: var(--white);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius-full);
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--gray-600);
  font-size: clamp(0.95rem, 1vw + 0.35rem, 1.15rem);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h3 {
  font-size: clamp(1.3rem, 1.5vw + 0.4rem, 1.7rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature h4 {
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.05rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.5;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.mission-icon {
  width: 52px;
  height: 52px;
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mission-card h4 {
  font-size: clamp(1rem, 1.1vw + 0.35rem, 1.15rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.mission-card p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-600);
  line-height: 1.6;
}

.mission-card.values h4 {
  margin-bottom: 16px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.values-list span {
  padding: 6px 14px;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: var(--radius-full);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 600;
  border: 1px solid var(--green-100);
}

/* ===== SERVICES ===== */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--green-800);
  color: var(--green-800);
}

.tab-btn.active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-100);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon.green {
  background: var(--green-100);
  color: var(--green-800);
}

.service-icon.blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.service-icon.purple {
  background: var(--purple-100);
  color: var(--purple-700);
}

.service-icon.orange {
  background: var(--orange-100);
  color: var(--orange-700);
}

.service-card h3 {
  font-size: clamp(1rem, 1.1vw + 0.35rem, 1.25rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-600);
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.05rem);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.service-card-wide {
  grid-column: span 2;
}

.service-requirements {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

.service-requirements h4 {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.service-requirements ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.service-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(0.8rem, 0.85vw + 0.25rem, 0.9rem);
  color: var(--gray-600);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.service-requirements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-400);
}

@media (max-width: 768px) {
  .service-card-wide {
    grid-column: span 1;
  }
}

/* ===== MEMBERSHIP ===== */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.membership-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.membership-card.highlight-card {
  border-color: var(--green-200, #bbf7d0);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--green-100);
}

.membership-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-100);
}

.membership-header h3 {
  font-size: clamp(1rem, 1.2vw + 0.35rem, 1.3rem);
  font-weight: 700;
  color: var(--gray-900);
}

.membership-list {
  padding: 24px 32px 32px;
}

.membership-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-50, #f9fafb);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-700);
}

.membership-list li:last-child {
  border-bottom: none;
}

.membership-list li svg {
  min-width: 20px;
  margin-top: 2px;
}

.membership-card:first-child .membership-list li svg {
  color: var(--green-600);
}

.membership-card.highlight-card .membership-list li svg {
  color: var(--green-700);
}

.membership-cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border-radius: var(--radius-xl);
  color: var(--white);
}

.membership-cta h3 {
  font-size: clamp(1.3rem, 1.4vw + 0.4rem, 1.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.membership-cta p {
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.membership-cta .btn-primary {
  background: var(--white);
  color: var(--green-800);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.membership-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== LEADERSHIP ===== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.leader-avatar {
  margin-bottom: 16px;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 1.2vw + 0.35rem, 1.4rem);
  font-weight: 700;
  margin: 0 auto;
}

.leader-card h4 {
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.15rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.leader-role {
  display: inline-block;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 10px;
}

.leader-card p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}

.news-image {
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 16px;
}

.news-card.featured .news-image {
  min-height: 240px;
}

.news-date-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: clamp(0.75rem, 0.8vw + 0.3rem, 0.9rem);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.news-content {
  padding: 24px;
}

.news-category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 0.8vw + 0.3rem, 0.9rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-card.featured .news-content h3 {
  font-size: clamp(1.1rem, 1.2vw + 0.4rem, 1.4rem);
}

.news-content p {
  font-size: clamp(0.85rem, 1vw + 0.35rem, 1.05rem);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-link {
  display: inline-block;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 600;
  color: var(--green-800);
  transition: var(--transition);
}

.news-link:hover {
  color: var(--green-600);
  transform: translateX(4px);
}

/* ===== CONTACT ===== */
.contact-intro {
  text-align: center;
  color: var(--gray-600);
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.05rem);
  max-width: 600px;
  margin: -8px auto 40px;
  line-height: 1.7;
}

.contact-detail {
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.85rem);
  color: var(--gray-500);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 110, 58, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
  margin-top: 16px;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  line-height: 1.7;
  color: var(--gray-300);
}

.footer-logo .logo-name,
.footer-logo .logo-tagline {
  color: var(--white);
}

.footer-logo .logo-tagline {
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green-700);
  color: var(--white);
}

.footer-links h4,
.footer-newsletter h4 {
  color: var(--white);
  font-size: clamp(0.95rem, 1vw + 0.35rem, 1.15rem);
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-links ul a {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-300);
  transition: var(--transition);
}

.footer-links ul a:hover {
  color: var(--green-400);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: inherit;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
}

.newsletter-form input::placeholder {
  color: var(--gray-400);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--green-600);
}

.newsletter-form .btn-primary {
  background: var(--green-700);
  border: none;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-300);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--green-400);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--green-800);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-700);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .news-card.featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 32px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    gap: 4px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    color: var(--gray-700);
    width: 100%;
    padding: 12px 16px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--green-800);
    background: var(--green-50);
  }

  .nav-btn {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    width: 100%;
    display: flex;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: clamp(1.5rem, 1.8vw + 0.5rem, 2rem);
  }

  .section {
    padding: 60px 0;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  .newsletter-form {
    flex-direction: column;
  }
}

/* ==================================================================
   PORTAL STYLES
   ================================================================== */

.portal-body {
  background: var(--gray-50);
}

/* Portal Header */
.portal-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.portal-header .navbar {
  height: 70px;
}

.portal-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.portal-nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.portal-nav-link:hover,
.portal-nav-link.active {
  color: var(--green-800);
  background: var(--green-50);
}

/* Auth Section */
.portal-auth {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: stretch;
}

.portal-auth-bg {
  position: fixed;
  inset: 0;
  background: var(--gray-50);
  z-index: -1;
}

.portal-auth-container {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 70px);
}

.portal-auth-sidebar {
  width: 380px;
  min-width: 380px;
  background: linear-gradient(135deg, #0c1e4a 0%, #1e3a8a 60%, #1d4ed8 100%);
  color: var(--white);
  padding: 48px 36px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.portal-auth-sidebar::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.portal-auth-sidebar::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.portal-auth-sidebar-content {
  position: relative;
  z-index: 1;
}

.portal-auth-sidebar-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.portal-auth-sidebar h2 {
  font-size: clamp(1.5rem, 1.8vw + 0.5rem, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.portal-auth-sidebar p {
  opacity: 0.8;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  line-height: 1.6;
  margin-bottom: 32px;
}

.portal-auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portal-auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  opacity: 0.9;
}

.portal-auth-feature svg {
  opacity: 0.7;
}

/* Auth Forms */
.portal-auth-forms {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-y: auto;
  max-height: calc(100vh - 70px);
}

.auth-form-panel {
  display: none;
  width: 100%;
  max-width: 560px;
}

.auth-form-panel.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.auth-form-header {
  margin-bottom: 32px;
}

.auth-form-header h2 {
  font-size: clamp(1.5rem, 1.8vw + 0.5rem, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.auth-form-header p {
  color: var(--gray-500);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
}

.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 14px;
  color: var(--gray-400);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 42px !important;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 4px;
}

.toggle-password:hover {
  color: var(--gray-600);
}

.form-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-600);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green-800);
}

.form-link {
  color: var(--green-800);
  font-weight: 600;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
}

.form-link:hover {
  color: var(--green-600);
}

.auth-form-footer {
  margin-top: 24px;
  text-align: center;
}

.auth-form-footer p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-500);
}

.btn-outline-dark {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-outline-dark:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

/* Form Steps */
.form-steps {
  position: relative;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.step-title {
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-100);
}

.form-step-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-indicators {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: var(--transition);
}

.step-dot.active {
  background: var(--green-800);
  width: 28px;
  border-radius: 5px;
}

.step-dot.completed {
  background: var(--green-500);
}

.step-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.terms-check {
  margin-top: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

/* Password Strength */
.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-500);
}

/* ===== PAYMENT METHODS ===== */
.payment-summary-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-100);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.payment-summary-item {
  text-align: center;
}

.payment-summary-item .label {
  display: block;
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-500);
  margin-bottom: 4px;
}

.payment-summary-item .value {
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.1rem);
  color: var(--gray-900);
}

.payment-summary-item.total .value {
  color: var(--green-800);
  font-size: clamp(1rem, 1.2vw + 0.35rem, 1.3rem);
}

.payment-summary-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-300);
}

.payment-methods h4 {
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.1rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.payment-method-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.payment-method-card:hover {
  border-color: var(--gray-300);
}

.payment-method-card.selected {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(10, 110, 58, 0.1);
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-header:hover {
  background: var(--gray-50);
}

.payment-method-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-icon { background: var(--blue-100); color: var(--blue-700); }
.airtel-icon { background: #fde8e8; color: #dc2626; }
.momo-icon { background: #fef3c7; color: #b45309; }
.visa-icon { background: #ede9fe; color: #6d28d9; }

.payment-method-info {
  flex: 1;
}

.payment-method-info h4 {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.payment-method-info p {
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.9rem);
  color: var(--gray-500);
}

.payment-method-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.payment-method-card.selected .payment-method-radio {
  border-color: var(--green-600);
}

.radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: var(--transition);
}

.payment-method-card.selected .radio-dot {
  background: var(--green-600);
}

.payment-method-details {
  display: none;
  padding: 0 20px 24px;
  border-top: 1px solid var(--gray-100);
}

.payment-method-card.selected .payment-method-details {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* Bank Details */
.bank-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.bank-detail {
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.bank-label {
  display: block;
  font-size: clamp(0.65rem, 0.7vw + 0.25rem, 0.8rem);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.bank-value {
  font-weight: 700;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  color: var(--gray-900);
}

.account-number {
  font-family: 'Courier New', monospace;
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.2rem);
  color: var(--blue-700);
}

/* Mobile Money */
.mobile-money-info {
  margin: 16px 0;
}

.mm-number-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mm-label {
  display: block;
  width: 100%;
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-500);
  margin-bottom: 4px;
}

.mm-number {
  font-size: clamp(1.2rem, 1.3vw + 0.4rem, 1.5rem);
  font-weight: 800;
  color: var(--gray-900);
  font-family: 'Courier New', monospace;
}

.mm-number.momo-color { color: var(--orange-700); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--green-800);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.copy-btn:hover {
  background: var(--green-700);
}

.copy-btn.copied {
  background: #16a34a;
}

.mm-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-detail {
  display: flex;
  justify-content: space-between;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-600);
  padding: 4px 0;
}

.mm-detail strong {
  color: var(--green-800);
}

/* Payment Instructions */
.payment-instructions {
  margin: 16px 0;
}

.payment-instructions h5 {
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.payment-instructions ol {
  list-style: none;
  counter-reset: step;
}

.payment-instructions ol li {
  counter-increment: step;
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-600);
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-50);
}

.payment-instructions ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.65rem, 0.7vw + 0.2rem, 0.8rem);
  font-weight: 700;
}

/* MoMo Pay QR */
.momo-pay-option {
  margin-top: 16px;
  padding: 16px;
  background: var(--orange-100);
  border-radius: var(--radius);
  border: 1px solid rgba(180, 83, 9, 0.15);
}

.momo-pay-option p {
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-700);
  line-height: 1.5;
}

.qr-placeholder {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.qr-box {
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px dashed var(--gray-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qr-box span {
  font-size: clamp(0.6rem, 0.65vw + 0.2rem, 0.75rem);
  color: var(--gray-500);
  font-weight: 600;
}

/* Upload Proof */
.upload-proof {
  margin-top: 16px;
}

.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.upload-area:hover {
  border-color: var(--green-600);
  background: var(--green-50);
}

.upload-area input {
  display: none;
}

.upload-area svg {
  color: var(--gray-400);
  margin-bottom: 8px;
}

.upload-area span {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.upload-area small {
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-400);
}

.upload-preview {
  margin-top: 12px;
  padding: 12px;
  background: var(--green-50);
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
}

/* Card Payment */
.card-payment-form {
  padding: 16px 0;
}

.card-brands {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.card-brand {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  font-weight: 800;
  letter-spacing: 1px;
}

.visa-brand { background: #1a1f71; color: white; }
.mastercard-brand { background: #eb001b; color: white; }
.unionpay-brand { background: #003478; color: white; }

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--green-50);
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.9rem);
  color: var(--green-800);
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}

.card-note {
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.readonly-input {
  background: var(--gray-100) !important;
  color: var(--gray-600) !important;
  font-weight: 700;
}

/* Payment Confirm */
.payment-confirm-section {
  margin-top: 28px;
  text-align: center;
}

.payment-note {
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.9rem);
  color: var(--gray-500);
  margin-top: 12px;
}

/* ===== ADMIN PORTAL ===== */
.portal-admin {
  padding: 110px 24px 48px;
  min-height: 100vh;
  background: var(--gray-50);
}

.admin-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.admin-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-intro h2 {
  font-size: clamp(1.3rem, 1.5vw + 0.6rem, 1.8rem);
  color: var(--gray-900);
  margin: 8px 0 6px;
}

.admin-intro p {
  color: var(--gray-600);
}

.admin-badge {
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 700;
  white-space: nowrap;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-toolbar h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.admin-toolbar p {
  color: var(--gray-500);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-panel-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-panel-header h4 {
  color: var(--gray-900);
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--gray-50);
}

.admin-item h5 {
  color: var(--gray-900);
  margin-bottom: 4px;
}

.admin-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-empty {
  padding: 16px;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  color: var(--gray-500);
  text-align: center;
  background: var(--white);
}

/* ===== DASHBOARD ===== */
.portal-dashboard {
  padding-top: 70px;
  min-height: 100vh;
}

.dashboard-container {
  display: flex;
  min-height: calc(100vh - 70px);
}

.dashboard-sidebar {
  width: 280px;
  min-width: 280px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

.sidebar-profile {
  text-align: center;
  padding: 24px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 1.2vw + 0.35rem, 1.4rem);
  font-weight: 700;
  margin: 0 auto 12px;
}

.sidebar-profile h4 {
  font-size: clamp(0.9rem, 1vw + 0.35rem, 1.1rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.member-id {
  display: block;
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-500);
  font-family: 'Courier New', monospace;
  margin-bottom: 8px;
}

.member-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: clamp(0.65rem, 0.7vw + 0.2rem, 0.8rem);
  font-weight: 600;
}

.active-status {
  background: var(--green-100);
  color: var(--green-800);
}

.sidebar-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.sidebar-link:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.sidebar-link.active {
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
}

.sidebar-logout {
  margin-top: auto;
  color: #dc2626;
}

.sidebar-logout:hover {
  background: #fef2f2;
}

/* Dashboard Main */
.dashboard-main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.dash-tab {
  display: none;
}

.dash-tab.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.dash-header {
  margin-bottom: 28px;
}

.dash-header h2 {
  font-size: clamp(1.3rem, 1.5vw + 0.4rem, 1.7rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.dash-header p {
  color: var(--gray-500);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.dash-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: var(--transition);
}

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

.dash-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.green-card .dash-card-icon { background: var(--green-100); color: var(--green-800); }
.blue-card .dash-card-icon { background: var(--blue-100); color: var(--blue-700); }
.purple-card .dash-card-icon { background: var(--purple-100); color: var(--purple-700); }
.orange-card .dash-card-icon { background: var(--orange-100); color: var(--orange-700); }

.dash-card-label {
  display: block;
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.9rem);
  color: var(--gray-500);
  margin-bottom: 6px;
}

.dash-card-value {
  display: block;
  font-size: clamp(1.2rem, 1.3vw + 0.4rem, 1.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.dash-card-change {
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  color: var(--gray-500);
}

.dash-card-change.positive {
  color: #16a34a;
}

.dash-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 24px;
}

.dash-section h3 {
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.dash-table-wrapper {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th,
.dash-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.95rem);
  border-bottom: 1px solid var(--gray-100);
}

.dash-table th {
  color: var(--gray-500);
  font-weight: 600;
  font-size: clamp(0.7rem, 0.75vw + 0.25rem, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-table td {
  color: var(--gray-700);
}

.positive-amount { color: #16a34a; font-weight: 600; }
.negative-amount { color: #dc2626; font-weight: 600; }

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: clamp(0.65rem, 0.7vw + 0.2rem, 0.8rem);
  font-weight: 600;
}

.status-badge.completed {
  background: var(--green-100);
  color: var(--green-800);
}

.status-badge.pending {
  background: var(--orange-100);
  color: var(--orange-700);
}

/* Loan Apply Card */
.loan-apply-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.loan-apply-card h3 {
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.loan-apply-card p {
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
}

/* Settings */
.settings-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.settings-card h3 {
  font-size: clamp(0.95rem, 1.1vw + 0.35rem, 1.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.settings-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===== PORTAL RESPONSIVE ===== */
@media (max-width: 1024px) {
  .portal-auth-sidebar {
    display: none;
  }

  .portal-auth-forms {
    max-width: 100%;
  }

  .dashboard-sidebar {
    width: 240px;
    min-width: 240px;
  }
}

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

  .portal-auth-container {
    flex-direction: column;
  }

  .portal-auth-forms {
    padding: 24px;
  }

  .auth-form .form-row {
    grid-template-columns: 1fr;
  }

  .dashboard-container {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .sidebar-profile {
    display: none;
  }

  .sidebar-nav {
    flex-direction: row;
    padding: 0;
    gap: 4px;
    overflow-x: auto;
    flex: unset;
  }

  .sidebar-link {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.9rem);
  }

  .sidebar-logout {
    margin-top: 0;
    margin-left: auto;
  }

  .dashboard-main {
    padding: 20px;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }

  .bank-details-grid {
    grid-template-columns: 1fr;
  }

  .payment-summary-bar {
    flex-direction: column;
    gap: 12px;
  }

  .payment-summary-divider {
    width: 60px;
    height: 1px;
  }

  .settings-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
   VOICES OF FINANCIAL LITERACY — DYNAMIC SLIDE SHOW
   ================================================================== */

/* --- Section wrapper --- */
.voices-section {
  background: linear-gradient(160deg, #e8f0fe 0%, #f0f4ff 40%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}

/* --- Background blobs --- */
.voices-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.voices-shape { position: absolute; border-radius: 50%; opacity: 0.15; }
.voices-shape-1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, #1d4ed8, #1e3a8a);
  top: -130px; left: -110px;
}
.voices-shape-2 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #3b82f6, #1d4ed8);
  bottom: -90px; right: -90px;
}
.voices-shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #60a5fa, #3b82f6);
  top: 45%; left: 55%;
}

/* --- Section tag --- */
.voices-tag { background: #dbeafe; color: #1e3a8a; }

/* --- Title block --- */
.voices-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.voices-title-main {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #1e3a8a;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 2px 3px 0 rgba(30,58,138,0.15);
  margin: 0 !important;
}
.voices-title-sub {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin: 2px 0 0 !important;
}
.voices-mic {
  position: absolute;
  top: -4px; right: -54px;
  font-size: 2.6rem;
  filter: drop-shadow(2px 4px 6px rgba(30,58,138,0.25));
  animation: micPulse 3s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50%       { transform: scale(1.09) rotate(4deg); }
}

/* =============================================
   SLIDER SHELL
   ============================================= */
.voices-slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto 44px;
}

/* --- Thin progress bar across the top --- */
.vs-progress {
  height: 4px;
  background: #c7d7fa;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0;
}
.vs-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  border-radius: 2px;
  /* JS drives the width; CSS handles the fill animation each tick */
  transition: width 0.08s linear;
}

/* --- Track: clips slides, no horizontal scroll --- */
.vs-track {
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

/* =============================================
   SINGLE SLIDE
   ============================================= */
.vs-slide {
  /* hidden by default */
  display: none;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 2px solid #c7d7fa;
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 36px 48px 32px;
  box-shadow: 0 8px 40px rgba(30,58,138,0.10);

  /* entrance / exit handled with classes */
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.45s cubic-bezier(0.4,0,0.2,1),
              transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* Active slide — visible, centred */
.vs-slide.vs-active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* Slide coming in from the left (going backward) */
.vs-slide.vs-from-left {
  transform: translateX(-60px);
}

/* --- Opening quote --- */
.vs-open-quote {
  font-size: 3.2rem;
  line-height: 1;
  color: #1e3a8a;
  font-family: Georgia, serif;
  align-self: flex-start;
  margin-bottom: 6px;
}

/* --- Closing quote --- */
.vs-close-quote {
  font-size: 3.2rem;
  line-height: 1;
  color: #3b82f6;
  font-family: Georgia, serif;
  align-self: flex-end;
  margin-top: 6px;
}

/* --- Body text --- */
.vs-body {
  width: 100%;
  text-align: center;
}
.vs-body p {
  font-size: clamp(0.92rem, 1vw + 0.3rem, 1.07rem);
  color: #1f2937;
  line-height: 1.8;
  margin: 0;
}
.vs-body p.vs-large {
  font-size: clamp(1.05rem, 1.2vw + 0.35rem, 1.28rem);
  font-weight: 600;
  color: #111827;
}
.vs-second { margin-top: 16px !important; }

.vs-together {
  font-size: clamp(1.15rem, 1.4vw + 0.4rem, 1.55rem) !important;
  font-style: italic;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  font-family: Georgia, serif;
}

/* --- Highlighted words --- */
.vh { color: #1d4ed8; font-weight: 700; }

/* --- Author nameplate --- */
.vs-author {
  width: 100%;
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid #dbeafe;
}
.vs-author strong {
  display: inline-block;
  font-size: clamp(0.9rem, 1vw + 0.3rem, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #1e3a8a;
  color: #ffffff;
  padding: 7px 22px;
  border-radius: 7px;
  margin-bottom: 7px;
}
.vs-author span {
  display: block;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.92rem);
  color: #4b5563;
  font-weight: 500;
}

/* Script-style author (Ocen Moses) */
.vs-script-author em {
  display: inline-block;
  font-size: clamp(1.15rem, 1.4vw + 0.35rem, 1.5rem);
  font-style: italic;
  color: #1d4ed8;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  margin-bottom: 6px;
}

/* =============================================
   PREV / NEXT ARROWS
   ============================================= */
.vs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #c7d7fa;
  background: #ffffff;
  color: #1e3a8a;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(30,58,138,0.12);
}
.vs-arrow:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.vs-prev { left: -56px; }
.vs-next { right: -56px; }

/* =============================================
   DOT INDICATORS
   ============================================= */
.vs-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.vs-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: #c7d7fa;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.vs-dot.active {
  background: #1e3a8a;
  transform: scale(1.35);
}
.vs-dot:hover { background: #3b82f6; }

/* =============================================
   SLIDE COUNTER  (1 / 5)
   ============================================= */
.vs-counter {
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.5px;
}
.vs-counter-sep { margin: 0 4px; color: #c7d7fa; }

/* =============================================
   CTA BAR
   ============================================= */
.voices-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 2px solid #c7d7fa;
  border-radius: 14px;
  padding: 18px 28px;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(30,58,138,0.08);
}
.voices-cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.voices-cta-contacts span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.92rem);
  font-weight: 600;
  color: #1e3a8a;
}
.voices-cta-contacts svg { color: #1d4ed8; flex-shrink: 0; }
.voices-btn {
  white-space: nowrap;
  background: #1e3a8a;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.voices-btn:hover { background: #1d4ed8; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .vs-prev { left: -12px; }
  .vs-next { right: -12px; }
}
@media (max-width: 768px) {
  .vs-slide { padding: 28px 24px 24px; }
  .vs-prev { left: 4px; }
  .vs-next { right: 4px; }
  .voices-title-main { font-size: 1.8rem; }
  .voices-title-sub  { font-size: 1.4rem; }
  .voices-mic { font-size: 2rem; right: -38px; }
  .voices-cta { flex-direction: column; text-align: center; }
  .voices-cta-contacts { justify-content: center; }
}
@media (max-width: 480px) {
  .vs-arrow { width: 36px; height: 36px; }
  .vs-slide { padding: 22px 16px 20px; }
  .voices-mic { display: none; }
}

/* ==================================================================
   CHAIRPERSON WELCOME SECTION
   ================================================================== */

.chair-welcome-section {
  background: var(--white);
}

.chair-welcome-card {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 60%);
  border: 2px solid #c7d7fa;
  border-radius: 24px;
  padding: 52px 60px 44px;
  box-shadow: 0 8px 48px rgba(30,58,138,0.08);
  position: relative;
}

/* Large decorative quote marks */
.chair-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: #1e3a8a;
  font-family: Georgia, serif;
  opacity: 0.18;
  margin-bottom: -16px;
  display: block;
}

.chair-quote-close {
  text-align: right;
  margin-top: -8px;
  margin-bottom: 0;
  color: #3b82f6;
}

/* Body text */
.chair-welcome-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chair-welcome-body p {
  font-size: clamp(0.92rem, 1vw + 0.3rem, 1.06rem);
  color: var(--gray-700);
  line-height: 1.85;
  margin: 0;
}

.chair-salutation {
  font-size: clamp(1rem, 1.1vw + 0.35rem, 1.15rem) !important;
  font-weight: 700;
  color: var(--gray-900) !important;
}

.chair-closing-line {
  font-size: clamp(0.95rem, 1.05vw + 0.32rem, 1.1rem) !important;
  color: var(--gray-800) !important;
  font-weight: 500;
}

/* Highlighted words */
.chair-hl {
  color: #1d4ed8;
  font-weight: 700;
}

/* Divider */
.chair-welcome-card::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  border-radius: 2px;
  margin: 28px auto 32px;
}

/* Signature block */
.chair-signature {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.chair-sig-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c7d7fa;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(30,58,138,0.14);
}

.chair-sig-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chair-sig-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chair-sig-valediction {
  font-size: clamp(0.82rem, 0.9vw + 0.28rem, 0.92rem);
  color: var(--gray-500);
  font-style: italic;
  margin: 0;
}

.chair-sig-name {
  font-size: clamp(1.1rem, 1.3vw + 0.38rem, 1.35rem);
  font-weight: 800;
  color: #1e3a8a;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  margin: 0;
}

.chair-sig-title {
  font-size: clamp(0.85rem, 0.95vw + 0.3rem, 1rem);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.chair-sig-org {
  font-size: clamp(0.78rem, 0.88vw + 0.28rem, 0.9rem);
  color: var(--gray-500);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .chair-welcome-card {
    padding: 36px 28px 32px;
  }

  .chair-quote-mark {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .chair-welcome-card {
    padding: 28px 18px 24px;
  }

  .chair-signature {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==================================================================
   PARTNERS & AFFILIATES — INFINITE SCROLL STRIP
   ================================================================== */

.partners-section {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 40px 0;
  overflow: hidden;
}

/* Centred label above the strip */
.partners-header {
  text-align: center;
  margin-bottom: 28px;
}

.partners-label {
  display: inline-block;
  font-size: clamp(0.7rem, 0.8vw + 0.25rem, 0.82rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  position: relative;
  padding: 0 20px;
}

/* Decorative lines either side of the label */
.partners-label::before,
.partners-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 48px;
  height: 1px;
  background: var(--gray-200);
}
.partners-label::before { right: 100%; }
.partners-label::after  { left:  100%; }

/* The visible window — fade edges with a mask */
.partners-strip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

/* The moving track */
.partners-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: partnersScroll 22s linear infinite;
}

/* Pause on hover */
.partners-strip:hover .partners-track {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% = scroll exactly one set */
}

/* Each logo + name block */
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 120px;
}

.partner-item img {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* Greyscale by default — full colour on hover */
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.partner-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.07);
}

.partner-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.3px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
}

.partner-item:hover span {
  color: var(--gray-700);
}

/* Responsive — tighten gap on small screens */
@media (max-width: 640px) {
  .partners-track { gap: 40px; }
  .partner-item img { height: 44px; }
  .partners-section { padding: 32px 0; }
}

/* ===== ADMIN PORTAL (standalone admin.html) ===== */

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

/* Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-blue { background: var(--green-100); color: var(--green-800); }
.stat-orange { background: var(--orange-100); color: var(--orange-700); }
.stat-purple { background: var(--purple-100); color: var(--purple-700); }
.stat-green { background: var(--blue-100); color: var(--blue-700); }

.admin-stat-value {
  display: block;
  font-size: clamp(1.3rem, 1.5vw + 0.4rem, 1.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

.admin-stat-label {
  display: block;
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.9rem);
  color: var(--gray-500);
  font-weight: 500;
}

/* Toolbar */
.admin-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.admin-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 8px 14px;
  flex: 1;
  max-width: 400px;
  transition: var(--transition);
}

.admin-search-box:focus-within {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admin-search-box svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.admin-search-box input {
  border: none;
  outline: none;
  background: none;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-900);
  width: 100%;
}

.admin-filter-group select {
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-700);
  font-size: clamp(0.8rem, 0.9vw + 0.3rem, 0.9rem);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.admin-filter-group select:focus {
  border-color: var(--green-500);
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 6px;
}

.admin-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  background: none;
  border-radius: var(--radius);
  font-size: clamp(0.82rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.admin-tab.active {
  background: var(--green-800);
  color: var(--white);
}

.admin-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-tab:not(.active) .admin-tab-count {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Tab Content */
.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* Table */
.admin-table-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: clamp(0.7rem, 0.75vw + 0.2rem, 0.8rem);
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  font-size: clamp(0.82rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: var(--gray-50);
}

.admin-empty-cell {
  text-align: center;
  color: var(--gray-500);
  padding: 40px 16px !important;
}

.admin-actions-cell {
  white-space: nowrap;
}

/* Status Pills */
.admin-status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: clamp(0.68rem, 0.7vw + 0.2rem, 0.8rem);
  font-weight: 600;
  white-space: nowrap;
}

.admin-status-pill.status-active,
.admin-status-pill.approved {
  background: var(--green-100);
  color: var(--green-800);
}

.admin-status-pill.status-pending {
  background: var(--orange-100);
  color: var(--orange-700);
}

.admin-status-pill.status-rejected,
.admin-status-pill.rejected {
  background: #fee2e2;
  color: #dc2626;
}

/* Button Sizes */
.btn-xs {
  padding: 5px 12px;
  font-size: clamp(0.72rem, 0.75vw + 0.2rem, 0.82rem);
}

.btn-danger {
  background: #dc2626;
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-danger:hover {
  background: #b91c1c;
}

/* Member Detail Modal */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.admin-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: fadeInUp 0.3s ease;
}

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

.admin-modal-header h3 {
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.3rem);
  font-weight: 700;
  color: var(--gray-900);
}

.admin-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 1.3rem;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.admin-modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.admin-modal-body {
  padding: 24px;
}

.admin-modal-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  justify-content: flex-end;
}

/* Modal Member Grid */
.modal-member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.modal-detail-group h4 {
  font-size: clamp(0.82rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: clamp(0.8rem, 0.85vw + 0.25rem, 0.9rem);
  border-bottom: 1px solid var(--gray-50);
}

.modal-detail-row span:first-child {
  color: var(--gray-500);
}

.modal-detail-row strong,
.modal-detail-row span:last-child {
  color: var(--gray-900);
  text-align: right;
}

.modal-payments-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.modal-payments-section h4 {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 1rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.modal-payments-table td,
.modal-payments-table th {
  padding: 10px 12px;
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.85rem);
}

/* Toast Notification */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--gray-900);
  color: var(--white);
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.admin-toast.toast-success {
  background: #059669;
}

.admin-toast.toast-error {
  background: #dc2626;
}

.admin-toast.toast-info {
  background: var(--green-800);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive — Admin Portal */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-member-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .admin-toolbar {
    flex-direction: column;
    gap: 12px;
  }
  .admin-toolbar-left {
    flex-direction: column;
    width: 100%;
  }
  .admin-search-box {
    max-width: 100%;
  }
  .admin-tabs {
    overflow-x: auto;
  }
  .admin-table-wrapper {
    overflow-x: auto;
  }
  .admin-table {
    min-width: 600px;
  }
  .admin-header-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-stat-card {
    padding: 16px;
  }
  .admin-modal {
    max-height: 95vh;
    margin: 12px;
  }
  .admin-modal-body {
    padding: 16px;
  }
}

/* ===== NOTIFICATION SYSTEM ===== */

/* Bell Icon */
.notif-bell {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--green-800);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
  transition: var(--transition);
}

.notif-bell:hover {
  background: var(--green-700);
  transform: scale(1.05);
}

.notif-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: #dc2626;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Notification Panel */
.notif-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 950;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.notif-panel {
  width: 100%;
  max-width: 440px;
  max-height: 80vh;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.notif-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notif-panel-title svg {
  color: var(--green-800);
}

.notif-panel-title h3 {
  font-size: clamp(1rem, 1.1vw + 0.3rem, 1.15rem);
  font-weight: 700;
  color: var(--gray-900);
}

.notif-panel-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.notif-panel-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.notif-panel-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-100);
  overflow-x: auto;
}

.notif-tab {
  padding: 6px 14px;
  border: none;
  background: none;
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 0.8vw + 0.25rem, 0.85rem);
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.notif-tab:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.notif-tab.active {
  background: var(--green-800);
  color: var(--white);
}

.notif-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--gray-400);
  text-align: center;
}

.notif-empty svg {
  margin-bottom: 12px;
  opacity: 0.5;
}

.notif-empty p {
  font-size: 0.95rem;
}

/* Notification Items */
.notif-item {
  padding: 16px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: var(--transition);
  cursor: default;
}

.notif-item:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.notif-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.notif-category-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.notif-category-badge.news {
  background: var(--blue-100);
  color: var(--blue-700);
}

.notif-category-badge.announcement {
  background: var(--orange-100);
  color: var(--orange-700);
}

.notif-category-badge.blog {
  background: var(--purple-100);
  color: var(--purple-700);
}

.notif-item-title {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 0.95rem);
  font-weight: 600;
  color: var(--gray-900);
}

.notif-item-message {
  font-size: clamp(0.8rem, 0.85vw + 0.25rem, 0.9rem);
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 8px;
}

.notif-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.notif-item-link {
  color: var(--green-800);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
}

.notif-item-link:hover {
  text-decoration: underline;
}

/* Notification Auto Popup */
.notif-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.notif-popup {
  width: 100%;
  max-width: 500px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
  position: relative;
}

.notif-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}

.notif-popup-close:hover {
  background: var(--white);
  color: var(--gray-900);
}

.notif-popup-header {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  padding: 32px 28px 24px;
  text-align: center;
}

.notif-popup-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.notif-popup-header h3 {
  font-size: clamp(1.1rem, 1.2vw + 0.4rem, 1.3rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.notif-popup-header p {
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 0.95rem);
  opacity: 0.9;
}

.notif-popup-body {
  max-height: 300px;
  overflow-y: auto;
  padding: 20px 28px;
}

.notif-popup-item {
  padding: 14px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: var(--transition);
}

.notif-popup-item:hover {
  background: var(--gray-50);
}

.notif-popup-item:last-child {
  margin-bottom: 0;
}

.notif-popup-footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 10px;
}

.notif-popup-footer .btn {
  flex: 1;
}

/* Admin Notification Create Card */
.notif-create-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.notif-create-card h4 {
  font-size: clamp(1rem, 1.1vw + 0.35rem, 1.15rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.notif-create-desc {
  color: var(--gray-500);
  font-size: clamp(0.82rem, 0.85vw + 0.25rem, 0.9rem);
  margin-bottom: 18px;
}

.notif-create-card textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: clamp(0.85rem, 0.9vw + 0.3rem, 0.95rem);
  color: var(--gray-900);
  resize: vertical;
  outline: none;
  transition: var(--transition);
}

.notif-create-card textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive — Notifications */
@media (max-width: 768px) {
  .notif-panel-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }
  .notif-panel {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .notif-bell {
    bottom: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
  }
  .notif-popup {
    max-width: 100%;
    margin: 12px;
  }
  .notif-popup-footer {
    flex-direction: column;
  }
}
