:root {
  --bg-dark: #020617;
  --bg-dark-alt: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-light: rgba(255, 255, 255, 0.85);
  --accent: #16a34a;
  --accent-soft: #22c55e;
  --accent-dark: #15803d;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
  --nav-height: 76px;
}

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

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #020617 0%, #020617 35%, #020617 100%);
  color: var(--text-main);
  min-height: 100vh;
}

body.light {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
}

body.light .glass,
body.light .glass-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.4);
  color: #1e293b;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

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

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

/* Layout utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.93), rgba(2, 6, 23, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

body.light .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

body.light .brand-text span:last-child {
  color: #374151;
}

body.light .nav-links a {
  color: #4b5563;
}

body.light .nav-links a:hover,
body.light .nav-links a.active {
  color: #111827;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf3;
  font-weight: 700;
  font-size: 1.12rem;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.65);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span:first-child {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
}

.brand-text span:last-child {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width var(--transition-med);
}

.nav-links a:hover,
.nav-links a.active {
  color: #e5e7eb;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #ecfdf5;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.7);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.7);
}

body.light .btn-outline {
  background: #ffffff;
  color: #111827;
}

.btn-outline:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #ecfdf5;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

.btn-accent:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.7);
}

/* Theme Toggle - Clear Sun/Moon Button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(145deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
  border-color: var(--accent-soft);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.theme-toggle .toggle-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Pure CSS Moon - visible in dark mode */
.theme-toggle .css-moon {
  width: 18px;
  height: 18px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 6px -6px 0 0 #0f172a inset, 0 0 12px rgba(251, 191, 36, 0.6);
  transition: all 0.4s ease;
  opacity: 1;
  transform: scale(1);
}

/* Pure CSS Sun - hidden in dark mode */
.theme-toggle .css-sun {
  width: 20px;
  height: 20px;
  background: #f59e0b;
  border-radius: 50%;
  position: absolute;
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  box-shadow: 0 0 0 3px #f59e0b, 0 0 0 6px transparent,
    0 0 0 8px #f59e0b,
    0 0 15px rgba(245, 158, 11, 0.5);
}

/* Light mode styles */
body.light .theme-toggle {
  background: linear-gradient(145deg, #ffffff, #e2e8f0);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.light .theme-toggle:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Moon hidden in light mode */
body.light .theme-toggle .css-moon {
  opacity: 0;
  transform: scale(0.5) rotate(180deg);
}

/* Sun visible in light mode */
body.light .theme-toggle .css-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (max-width: 480px) {
  .theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .theme-toggle .css-moon {
    width: 16px;
    height: 16px;
  }
  .theme-toggle .css-sun {
    width: 18px;
    height: 18px;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
}

/* CSS Hamburger icon lines */
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* X icon when open */
.nav-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

body.light .nav-toggle {
  background: rgba(243, 244, 246, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
}

body.light .nav-toggle .bar {
  background-color: #111827;
}

.nav-toggle:hover,
.nav-toggle:active {
  background: rgba(34, 197, 94, 0.25);
  border-color: var(--accent-soft);
  transform: scale(1.02);
}

/* Hero Section */
.hero {
  padding: 2.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -200px;
  background: radial-gradient(circle at 10% 0%, rgba(22, 163, 74, 0.18), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(22, 163, 74, 0.15), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--accent-soft);
  background: radial-gradient(circle at top left, rgba(22, 163, 74, 0.4), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.4);
  margin-bottom: 0.8rem;
}

.hero-badge span {
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title strong {
  color: var(--accent-soft);
}

.hero-subtitle {
  font-size: 0.96rem;
  max-width: 34rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-meta-item i {
  color: var(--accent-soft);
}

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

.glass {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.88));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-slider-wrapper {
  position: relative;
  padding: 0.9rem;
}

.swiper {
  border-radius: calc(var(--radius-xl) - 10px);
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  max-height: 380px;
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
}

.swiper-pagination-bullet {
  background: rgba(148, 163, 184, 0.8);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent-soft);
}

.swiper-button-next,
.swiper-button-prev {
  color: #e5e7eb;
}

.hero-floating-stats {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -3.1rem;
  width: 100%;
  max-width: 730px;
  z-index: 2;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent-soft), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  font-size: 0.9rem;
}

.stat-text strong {
  font-size: 0.9rem;
}

.stat-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

@media (max-width: 768px) {
  .stats-card {
    border-radius: 24px;
    grid-template-columns: 1fr;
  }
}

/* Sections */
section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title span {
  width: 8px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--accent-soft), var(--accent-dark));
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 26rem;
  text-align: right;
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-subtitle {
    text-align: left;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.85));
  padding: 1.5rem 1.6rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.about-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.about-highlight {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
}

.highlight-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-soft);
}

.about-visual {
  position: relative;
}

.about-main-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  padding: 1.1rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.85);
}

.about-main-card img {
  border-radius: 18px;
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 0.4rem;
  bottom: 0.4rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.35rem 0.7rem;
  border-radius: 0.9rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.about-floating-card {
  position: absolute;
  right: -0.5rem;
  top: -0.5rem;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  max-width: 210px;
  color: #ecfdf5;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.6);
}

@media (max-width: 768px) {
  .about-floating-card {
    position: static;
    margin-top: 0.8rem;
  }
}

/* Office Bearers Preview */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.bearer-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.92));
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
  cursor: pointer;
}

body.light .bearer-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .bearer-card:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

body.light .bearer-info h4 {
  color: #1e293b;
}

.bearer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  border-color: rgba(34, 197, 94, 0.75);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.99), rgba(15, 23, 42, 0.95));
}

.bearer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
}

.bearer-avatar img {
  width: 100%;
  object-fit: cover;
}

.bearer-info h4 {
  font-size: 0.98rem;
}

.bearer-role {
  font-size: 0.8rem;
  color: var(--accent-soft);
  margin-bottom: 0.2rem;
}

.bearer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bearer-meta span {
  display: block;
}

/* Practice Areas */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.7);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.7);
}

body.light .pill {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
  color: #4b5563;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 992px) {
  .practice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.practice-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.7);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  padding: 0.95rem;
  font-size: 0.8rem;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
  cursor: default;
}

body.light .practice-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .practice-card:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), #ffffff);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

body.light .practice-card h4 {
  color: #1e293b;
}

.practice-card i {
  font-size: 1rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

.practice-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.practice-card p {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.8);
  border-color: var(--accent-soft);
  background: radial-gradient(circle at top, rgba(22, 163, 74, 0.38), rgba(15, 23, 42, 0.98));
}

/* Notices / Announcements */
.notices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.1rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .notices-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.notice-item {
  border-radius: 14px;
  border: 1px solid rgba(75, 85, 99, 0.85);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.88));
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  cursor: pointer;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.notice-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.85);
  border-color: rgba(34, 197, 94, 0.65);
  background: radial-gradient(circle at top, rgba(22, 163, 74, 0.35), rgba(15, 23, 42, 0.98));
}

.notice-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.notice-content h4 {
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

.notice-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.notice-meta span + span::before {
  content: "•";
  margin: 0 0.3rem;
}

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

.notice-highlight {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 197, 94, 0.55);
  background: radial-gradient(circle at top, rgba(22, 163, 74, 0.4), rgba(15, 23, 42, 0.96));
  padding: 1.2rem 1.4rem;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.6);
  font-size: 0.85rem;
}

.notice-highlight h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.notice-highlight ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  font-size: 0.8rem;
  color: #ecfdf5;
}

.notice-highlight ul li + li {
  margin-top: 0.25rem;
}

/* CTA Strip */
.cta-strip {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 197, 94, 0.55);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.32), rgba(15, 23, 42, 0.98));
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 20px 48px rgba(22, 163, 74, 0.75);
  flex-wrap: wrap;
}

.cta-strip h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.cta-strip p {
  font-size: 0.8rem;
  color: #bbf7d0;
}

/* Contact Strip & Footer */
.contact-strip {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.85);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.4rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .contact-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-details div {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-details i {
  color: var(--accent-soft);
  margin-top: 0.15rem;
  font-size: 0.82rem;
}

.contact-map-placeholder {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.75);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-map-placeholder span {
  font-size: 0.78rem;
}

footer {
  padding: 2.2rem 0 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(30, 41, 59, 0.9);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-soft);
  color: #022c22;
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

/* Responsive nav */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }
  body.light .nav-links {
    background: rgba(249, 250, 251, 0.98);
  }
  .nav-links.open {
    max-height: 450px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.8rem 1.25rem 1rem;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 0.95rem;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 1.8rem;
  }
  .hero-floating-stats {
    position: static;
    transform: none;
    margin-top: 1.8rem;
  }
}

/* ================================
   PAGE-SPECIFIC STYLES
   ================================ */

/* About Page */
.message-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .message-card {
    grid-template-columns: 1fr;
  }
}

.message-avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
}

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

.message-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--accent-soft);
}

.message-content h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.message-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

.mission-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: radial-gradient(circle at top, rgba(22, 163, 74, 0.25), rgba(15, 23, 42, 0.92));
}

.mission-card i {
  font-size: 2rem;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.mission-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.mission-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Cabinet Page */
.cabinet-section {
  margin-bottom: 3rem;
}

.cabinet-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cabinet-section h3 i {
  color: var(--accent-soft);
}

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

/* Directory Page */
.directory-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.directory-header h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.directory-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

body.light .search-input {
  background: #ffffff;
  color: #111827;
}

.search-input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 100;
  display: none;
}

body.light .suggestions-dropdown {
  background: #ffffff;
}

.suggestions-dropdown.show {
  display: block;
}

.suggestion-item {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.suggestion-item:hover {
  background: rgba(34, 197, 94, 0.2);
}

.suggestion-item strong {
  color: var(--accent-soft);
}

.ai-helper {
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 1.5rem;
}

.ai-helper-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ai-helper-text i {
  color: var(--accent-soft);
}

.ai-helper-text.warning {
  color: #fbbf24;
}

.ai-helper-text.error {
  color: #f87171;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.member-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.7);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  padding: 1.2rem;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

body.light .member-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .member-card:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

body.light .member-name {
  color: #1e293b;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.75);
  border-color: rgba(34, 197, 94, 0.6);
}

.member-role {
  font-size: 0.75rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.member-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.member-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.member-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.member-contact-item i {
  color: var(--accent-soft);
  width: 16px;
}

.member-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  margin-top: 0.8rem;
}

.member-status.active {
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent-soft);
}

.member-status.inactive {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.light .pagination-btn {
  background: #ffffff;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.page-numbers {
  display: flex;
  gap: 0.3rem;
}

.page-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

body.light .page-num {
  background: #ffffff;
}

.page-num:hover:not(.active) {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.page-num.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: var(--accent);
  color: #ecfdf5;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.no-results h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* Notifications Page */
.notification-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.light .filter-btn {
  background: #ffffff;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.notification-full-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.85);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.88));
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

body.light .notification-full-item {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .notification-full-item:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

body.light .notification-full-header h3 {
  color: #1e293b;
}

.notification-full-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.75);
}

.notification-full-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.notification-full-header h3 {
  font-size: 1.1rem;
  flex: 1;
}

.notification-full-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.notification-full-meta i {
  color: var(--accent-soft);
  margin-right: 0.3rem;
}

.notification-full-body {
  color: var(--text-muted);
  line-height: 1.7;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent-soft);
  font-size: 0.85rem;
  margin-top: 1rem;
  transition: background var(--transition-fast);
}

.download-btn:hover {
  background: rgba(34, 197, 94, 0.35);
}

/* Gallery Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

body.light .gallery-item {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .gallery-item:hover {
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12);
}

body.light .gallery-overlay h4 {
  color: #1e293b;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-overlay {
  padding: 1rem;
}

.gallery-overlay h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

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

/* Resources Page */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.7);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

body.light .resource-item {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .resource-item:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

body.light .resource-info h4 {
  color: #1e293b;
}

.resource-item:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
  border-color: rgba(34, 197, 94, 0.6);
}

.resource-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.resource-info {
  flex: 1;
}

.resource-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

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

.resource-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.resource-type {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.resource-download {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent-soft);
  font-size: 0.85rem;
  transition: background var(--transition-fast);
}

.resource-download:hover {
  background: rgba(34, 197, 94, 0.35);
}

/* Contact Page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.7);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
}

body.light .contact-form {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

body.light .contact-form h3 {
  color: #1e293b;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

body.light .form-group input,
body.light .form-group textarea,
body.light .form-group select {
  background: #f9fafb;
  color: #111827;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 85, 99, 0.7);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
}

body.light .contact-info-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.light .contact-info-card h4 {
  color: #1e293b;
}

/* Light mode section titles */
body.light .section-title {
  color: #1e293b;
}

/* Light mode hero section */
body.light .hero-title {
  color: #1e293b;
}

body.light .hero-subtitle {
  color: #4b5563;
}

body.light .hero-badge {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}

/* Light mode stats */
body.light .stats-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

body.light .stat-item {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
}

body.light .stat-text strong {
  color: #1e293b;
}

/* Light mode footer */
body.light footer {
  border-top-color: rgba(148, 163, 184, 0.3);
}

body.light .footer-inner {
  color: #4b5563;
}

body.light .footer-links a {
  color: #4b5563;
}

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

body.light .footer-social a {
  border-color: rgba(148, 163, 184, 0.4);
  color: #4b5563;
}

/* Light mode about section */
body.light .about-body {
  color: #4b5563;
}

body.light .about-main-card {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

body.light .about-floating-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), #ffffff);
  border-color: rgba(34, 197, 94, 0.25);
  color: #1e293b;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

/* Light mode notices */
body.light .notice-item {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
}

body.light .notice-item:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), #ffffff);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

body.light .notice-content h4 {
  color: #1e293b;
}

body.light .notice-highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), #ffffff);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.12);
}

body.light .notice-highlight h4,
body.light .notice-highlight ul {
  color: #1e293b;
}

/* Light mode CTA */
body.light .cta-strip {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), #ffffff);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.15);
}

body.light .cta-strip h3 {
  color: #1e293b;
}

body.light .cta-strip p {
  color: #166534;
}

/* Light mode mission cards */
body.light .mission-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), #ffffff);
  border-color: rgba(34, 197, 94, 0.25);
}

body.light .mission-card h4 {
  color: #1e293b;
}

body.light .mission-card p {
  color: #4b5563;
}

/* Light mode message cards */
body.light .message-content h3 {
  color: var(--accent-soft);
}

body.light .message-content h4 {
  color: #6b7280;
}

body.light .message-content p {
  color: #4b5563;
}

/* Light mode directory header */
body.light .directory-header h1 {
  color: #1e293b;
}

body.light .directory-header p {
  color: #4b5563;
}

.contact-info-card i {
  font-size: 1.5rem;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ================================
   COMPREHENSIVE RESPONSIVE STYLES
   ================================ */

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  /* Container padding */
  .container {
    padding: 0 1rem;
  }

  /* Hero section */
  .hero {
    padding: 1.5rem 0 2rem;
  }

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

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-meta {
    flex-direction: column;
    gap: 0.8rem;
  }

  /* Navbar */
  .brand-text span:first-child {
    font-size: 0.75rem;
  }

  .brand-text span:last-child {
    font-size: 0.85rem;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  /* Section headers */
  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  /* Cards */
  .glass-card {
    padding: 1.2rem;
  }

  .bearer-card {
    padding: 0.8rem;
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .bearer-avatar {
    margin: 0 auto;
  }

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

  .bearer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .bearer-meta span {
    font-size: 0.7rem;
    word-break: break-all;
  }

  /* Practice grid */
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    padding: 1rem;
  }

  /* CTA strip */
  .cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
    gap: 1rem;
  }

  .cta-strip > div:last-child {
    width: 100%;
    justify-content: center;
  }

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

  /* Contact strip */
  .contact-strip {
    padding: 1rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* About page */
  .about-grid {
    gap: 1.5rem;
  }

  .about-highlight {
    flex-direction: column;
    gap: 1rem;
  }

  .highlight-item strong {
    font-size: 1.2rem;
  }

  /* Message card */
  .message-card {
    padding: 1.2rem;
    gap: 1rem;
  }

  .message-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

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

  .message-content h3 {
    font-size: 1.1rem;
  }

  .message-content p {
    font-size: 0.85rem;
    text-align: left;
  }

  /* Mission cards */
  .mission-vision-grid {
    gap: 1rem;
  }

  .mission-card {
    padding: 1.2rem;
  }

  .mission-card i {
    font-size: 1.5rem;
  }

  .mission-card h4 {
    font-size: 1rem;
  }

  /* Cabinet page */
  .cabinet-section h3 {
    font-size: 1.1rem;
  }

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

  /* Directory page */
  .directory-header h1 {
    font-size: 1.5rem;
  }

  .directory-header p {
    font-size: 0.85rem;
  }

  .search-input {
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    font-size: 0.9rem;
  }

  .search-icon {
    left: 0.8rem;
  }

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

  .member-card {
    padding: 1rem;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-contact-item {
    font-size: 0.8rem;
    word-break: break-all;
  }

  /* Pagination */
  .pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pagination-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .page-num {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  /* Notifications page */
  .notification-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }

  .notification-full-item {
    padding: 1rem;
  }

  .notification-full-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .notification-full-header h3 {
    font-size: 0.95rem;
  }

  .notification-full-meta {
    flex-direction: column;
    gap: 0.3rem;
  }

  .notification-full-body {
    font-size: 0.85rem;
  }

  .notification-full-body ul {
    margin-left: 1rem;
  }

  /* Gallery page */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 180px;
  }

  /* Video gallery responsive */
  section [style*="grid-template-columns: repeat(auto-fill, minmax(350px"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /* Resources page */
  .resource-item {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .resource-icon {
    margin: 0 auto;
  }

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

  .resource-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Contact page */
  .contact-form {
    padding: 1.2rem;
  }

  .contact-info-card {
    padding: 1rem;
  }

  .contact-info-card h4 {
    font-size: 0.95rem;
  }

  .contact-info-card p {
    font-size: 0.85rem;
  }

  /* Notices grid */
  .notices-grid {
    gap: 1.5rem;
  }

  .notice-highlight {
    padding: 1rem;
  }

  .notice-highlight h4 {
    font-size: 0.95rem;
  }

  .notice-highlight ul {
    font-size: 0.75rem;
  }

  /* Stats card */
  .stats-card {
    padding: 0.7rem;
    gap: 0.5rem;
  }

  .stat-item {
    padding: 0.4rem 0.6rem;
    gap: 0.5rem;
  }

  .stat-icon {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .stat-text strong {
    font-size: 0.8rem;
  }

  .stat-text span {
    font-size: 0.65rem;
  }

  /* Pill row */
  .pill-row {
    gap: 0.4rem;
  }

  .pill {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  /* About tags */
  .about-tags {
    gap: 0.35rem;
  }

  .tag-pill {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: row;
  }

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

  .bearer-card {
    flex-direction: row;
    text-align: left;
  }

  .bearer-info {
    text-align: left;
  }

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

  .resource-item {
    flex-direction: row;
    text-align: left;
  }

  .resource-icon {
    margin: 0;
  }

  .resource-info {
    text-align: left;
  }

  .resource-meta {
    flex-direction: row;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 769px) and (max-width: 992px) {
  .nav-actions .btn-outline {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero-inner {
    gap: 2rem;
  }

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

/* Navbar responsive improvements */
@media (max-width: 900px) {
  .nav-inner {
    position: relative;
  }

  .nav-links {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-actions {
    order: 2;
  }

  .nav-toggle {
    order: 3;
    margin-left: 0.5rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .nav-toggle,
  .theme-toggle,
  .footer-social,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .glass-card,
  .glass {
    background: white;
    border: 1px solid #ccc;
  }
}
