/* Shining effect for hero-btn-primary */
.hero-btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  animation: shine-sweep 2.2s infinite;
}
@keyframes shine-sweep {
  0% { left: -75%; }
  60% { left: 120%; }
  100% { left: 120%; }
}
.modern-about {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.09), 0 2px 8px rgba(30,41,59,0.07);
  padding: 2.5rem 2.2rem 2.2rem 2.2rem;
  margin-bottom: 2.2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1.1rem;
  color: var(--accent);
  filter: drop-shadow(0 2px 8px rgba(37,99,235,0.12));
}
.about-lead {
  font-size: 1.13rem;
  color: #475569;
  margin-bottom: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.2rem;
}
.about-highlights li {
  font-size: 1.05rem;
  color: #2563eb;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.about-bullet {
  font-size: 1.3rem;
  margin-right: 0.3rem;
}
.about-cta {
  font-size: 0.98rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 500;
}
/* Modern, mobile-first, aesthetic site-wide styles */
:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #e0e7ff;
  --bg: #f8fafc;
  --card-bg: #fff;
  --muted: #64748b;
  --radius: 1.2rem;
  --shadow: 0 4px 24px rgba(37,99,235,0.07);
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, #e8f0fa 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  position: relative;
  z-index: 1;
}
.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  width: 100%;
  max-width: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  margin-bottom: 0;
  backdrop-filter: blur(10px);
}
.header-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.8rem;
  gap: 1.2rem;
  padding: 0 2.2rem;
  box-sizing: border-box;
}
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Get Help CTA button */
.btn-help {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35), 0 2px 4px rgba(249, 115, 22, 0.2);
  height: auto;
  min-width: fit-content;
  width: auto;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-help::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}
.btn-help:hover::before {
  left: 100%;
}
.btn-help:hover, .btn-help:focus {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4), 0 3px 8px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-help.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4), inset 0 2px 4px rgba(0,0,0,0.1);
  transform: translateY(0);
}
.btn-help:active {
  transform: translateY(1px) scale(0.98);
}

@keyframes subtle-pulse {
  0%, 100% { 
    box-shadow: 0 4px 15px 0 rgba(255,107,53,0.4), 0 2px 8px 0 rgba(255,71,87,0.2);
  }
  50% { 
    box-shadow: 0 6px 20px 0 rgba(255,107,53,0.6), 0 4px 12px 0 rgba(255,71,87,0.3);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern translator button */
.lang-toggle {
  background: linear-gradient(90deg, #e0e7ff 60%, #f8fafc 100%);
  color: #2563eb;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem 0.45rem 0.95rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  border: 1.5px solid #dbe4f1;
}
.lang-toggle:focus, .lang-toggle:hover {
  background: linear-gradient(90deg, #dbeafe 60%, #e0e7ff 100%);
  color: #1d4ed8;
  box-shadow: 0 4px 16px 0 rgba(37,99,235,0.13);
  transform: translateY(-2px) scale(1.04);
}
.lang-toggle svg {
  margin-right: 0.4em;
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
}
.lang-label {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.05em;
}
.brand h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.brand .tag {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.5rem;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.main-nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-width: auto;
  text-align: center;
  white-space: nowrap;
}
nav.main-nav a.cta {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37,99,235,0.09);
}
nav.main-nav a.active, nav.main-nav a.cta.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 2px 4px rgba(59, 130, 246, 0.2);
  transform: translateY(0);
  position: relative;
  z-index: 2;
}
nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  background: rgba(226, 232, 240, 0.8);
  color: #1e293b;
  transform: translateY(-1px);
}
nav.main-nav a.active:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(0);
}
nav.main-nav .nav-underline {
  position: absolute;
  bottom: -0.4em;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark) 60%, var(--accent) 100%);
  border-radius: 2px;
  transition: left 0.28s cubic-bezier(.6,.2,.3,1), width 0.28s cubic-bezier(.6,.2,.3,1), opacity 0.18s;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  will-change: left, width, opacity;
  min-width: 0;
}
nav.main-nav {
  position: relative;
}
.lang-toggle {
  background: #f4f6fa;
  color: var(--accent-dark);
  border: none;
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.04);
  height: 2.2rem;
}
.lang-toggle:focus, .lang-toggle:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  transform: translateY(-2px) scale(1.04);
}
.lang-label {
  font-weight: 700;
  letter-spacing: 0.5px;
}
@media (max-width: 900px) {
  .site-header {
    padding: 0.6rem 0;
  }
  .header-inner {
    gap: 0.8rem;
    padding: 0 1.5rem;
    min-height: 3.4rem;
  }
  nav.main-nav {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  nav.main-nav a, .btn-help, .lang-toggle {
    font-size: 0.85rem;
    padding: 0.28rem 0.7rem;
    height: 2rem;
  }
  .nav-right {
    gap: 0.5rem;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 0.4rem 0;
    border-radius: 0 0 0.8rem 0.8rem;
  }
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.5rem;
    min-height: auto;
  }
  .nav-center {
    order: 2;
    width: 100%;
  }
  .nav-right {
    order: 1;
    justify-content: center;
    width: auto;
  }
  .btn-help {
    width: auto;
    min-width: fit-content;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
  }
  nav.main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.2rem 0.2rem;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }
  nav.main-nav a, .btn-help, .lang-toggle {
    font-size: 0.88rem;
    padding: 0.32rem 0.8rem;
    height: 2rem;
    border-radius: 18px;
  }
  .hero {
    padding: 1.2rem 0 2rem 0;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 0.2rem;
  }
  .hero-copy h2 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
  .hero-mission {
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
  }
  .hero-highlights {
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
  }
  .hero-chip {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
  }
  .hero-btn-primary, .hero-btn-secondary {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
  .hero-callout {
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    padding: 0.7rem 0.7rem;
  }
  .callout-icon {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
  .hero-visual {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 1.2rem;
  }
  .hero-graphic {
    max-width: 100%;
    height: auto;
    min-height: 180px;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: flex-end;
  }
  .hero-card {
    min-width: 120px;
    padding: 0.7rem;
    font-size: 0.85rem;
    border-radius: 14px;
    margin: 0 0.2rem;
    position: static;
    box-shadow: 0 4px 12px rgba(37,99,235,0.09);
  }
  .card-icon {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
  }
  .resource-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.5rem 0.2rem 1rem 0.2rem;
  }
  .resource-item {
    padding: 1rem 0.7rem;
    min-height: 180px;
    font-size: 0.95rem;
    border-radius: 14px;
  }
  .resource-item .btn-site {
    position: static;
    margin-top: 0.7rem;
    width: 100%;
    font-size: 0.95rem;
    padding: 0.7rem 0.2rem;
    border-radius: 10px;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  }
  .resources-controls {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.2rem 0.2rem;
  }
  .resources-controls-group {
  display: flex;
  flex-direction: row;
  gap: 1.1rem;
  width: 100%;
@media (max-width: 600px) {
  .resources-controls-group {
    flex-direction: column !important;
    gap: 0.7rem !important;
    width: 100%;
  }
}
  }
  .resource-view-toggle {
    gap: 0.3rem;
  }
  .resource-filter, .resource-page-size {
    gap: 0.3rem;
  }
}

/* Resource grid and card styles */
.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem 1.5rem;
  margin: 0 auto;
  padding: 1rem 0 2rem 0;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}
.resource-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  padding: 1.8rem 1.6rem 1.5rem 1.6rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.6rem;
  min-height: 280px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out backwards;
}
.resource-item:hover, .resource-item:focus-within {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12), 0 4px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
  z-index: 2;
}

.resource-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.resource-item:hover::before {
  opacity: 1;
}
.resource-item .resource-icon {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
  transition: all 0.25s ease;
}

.resource-item:hover .resource-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
  transform: scale(1.08);
}

.resource-item:hover .resource-icon svg {
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}
.resource-item strong {
  font-size: 1.12rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.15rem;
  line-height: 1.4;
}
.resource-item .muted {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.resource-item > div:nth-child(4) {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.resource-item .btn-site {
  position: absolute;
  bottom: 1.5rem;
  right: 1.6rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
  transition: all 0.2s ease;
  border: none;
  opacity: 0;
  transform: translateY(10px);
}
.resource-item:hover .btn-site,
.resource-item:focus-within .btn-site {
  opacity: 1;
  transform: translateY(0);
}
.resource-item .btn-site:hover,
.resource-item .btn-site:focus {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}
.resource-list.line-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.resource-line {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-radius: 0.8rem;
  box-shadow: 0 1px 6px 0 rgba(0,0,0,0.04);
  padding: 1rem 1.2rem;
  gap: 1rem;
}
.resource-line .resource-line-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
}
.resource-line .resource-line-title {
  font-weight: 600;
  flex: 1 1 160px;
}
.resource-line .resource-line-meta {
  color: var(--muted);
  flex: 1 1 120px;
  font-size: 0.98rem;
}
.resource-line .resource-line-desc {
  color: #555;
  flex: 2 1 260px;
  font-size: 0.98rem;
}
.resource-line .btn-site {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  margin-left: 1rem;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.06);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.resource-line .btn-site:hover,
.resource-line .btn-site:focus {
  background: var(--accent-dark);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px 0 rgba(0,0,0,0.10);
}

/* --- Modern card/grid styling fix --- */
.resource-card, .info-card, .event-card, .program-card, .action-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border-radius: 1.2rem;
  box-shadow: 0 6px 24px rgba(37,99,235,0.09), 0 2px 8px rgba(30,41,59,0.07);
  border: 1.5px solid #e2e8f0;
  padding: 1.5rem 1.3rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.resource-card h4 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}
.resource-card p.muted {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.resource-card p {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 0.7rem;
}
.resource-card .btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.featured-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
  text-align: left;
}
.home-featured-resources {
  background: linear-gradient(90deg, #e0e7ff 0%, #f8fafc 100%);
  border-radius: 1.3rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.07);
  padding: 2.2rem 2rem 1.5rem 2rem;
  margin-bottom: 2.2rem;
}
.featured-resources-grid {
  gap: 2rem 1.5rem;
}
}
.resource-card:hover, .info-card:hover, .event-card:hover, .program-card:hover, .action-card:hover {
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.13);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
.featured-resources-grid, .card-grid, .action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

/* Modern selects for resources controls */
.resources-controls select {
  background: #fff;
  border: 1.5px solid #d0d9e5;
  border-radius: 12px;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
  appearance: none;
  position: relative;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(30,41,59,0.06);
  background-image: linear-gradient(135deg,#f8fafc,#eef5fb), url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center, 0 0;
  background-size: 18px, 100% 100%;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.resources-controls select:hover {
  border-color: var(--accent);
}
.resources-controls select:focus-visible {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.25);
}
.resources-controls label.muted {
  font-weight: 600;
  color: #475569;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Toggle buttons for card/list view */
.resource-view-toggle {
  display: flex;
  gap: 0.5rem;
}
.toggle-btn {
  background: #f4f6fa;
  border: none;
  border-radius: 0.6rem;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.04);
}
.toggle-btn.active,
.toggle-btn:focus {
  background: var(--accent-light);
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}
.toggle-btn svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: var(--accent);
}

/* No bullet points anywhere */
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* Responsive hero and highlights */
.resources-hero, .hero.modern-hero {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  background: linear-gradient(90deg, var(--accent-light) 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 2.2rem 2rem 1.2rem 2rem;
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow);
}

/* Enhanced hero styling */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
  padding: 3rem 0 4rem 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(37,99,235,0.1) 0%, transparent 50%), 
              radial-gradient(circle at 20% 80%, rgba(37,99,235,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  background: linear-gradient(135deg, var(--accent-light) 0%, #dbeafe 100%);
  color: var(--accent-dark);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(37,99,235,0.2);
}
.hero h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #1e293b;
}
.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-mission {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.8rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,99,235,0.2);
  transition: all 0.2s;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.hero-btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent-light);
  transition: all 0.2s;
}
.hero-btn-secondary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.hero-callout {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.05);
}
.callout-icon {
  font-size: 1.2rem;
  margin-top: 0.1rem;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 350px;
}
.hero-card {
  position: absolute;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 12px 32px rgba(37,99,235,0.15), 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(37,99,235,0.12);
  text-align: center;
  min-width: 160px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.hero-card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,1) 100%);
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 20px 48px rgba(37,99,235,0.2), 0 8px 24px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-2px) scale(1.05);
}

.hero-card:hover::before {
  left: 100%;
}
.hero-card.floating {
  animation: float 6s ease-in-out infinite;
}
.hero-card.delay-1 {
  animation-delay: -2s;
}
.hero-card.delay-2 {
  animation-delay: -4s;
}
.hero-card:nth-child(1) {
  top: 20px;
  left: 20px;
}
.hero-card:nth-child(2) {
  top: 100px;
  right: 30px;
}
.hero-card:nth-child(3) {
  bottom: 40px;
  left: 50px;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
/* Enhanced featured resource cards */
.featured-card {
  position: relative;
  overflow: hidden;
}

.featured-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.featured-card .resource-icon-large {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(37,99,235,0.15) 100%);
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.featured-card:hover .resource-icon-large {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(37,99,235,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.featured-card .resource-badge {
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(37,99,235,0.1) 100%);
  color: var(--accent-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(37,99,235,0.15);
  backdrop-filter: blur(8px);
}

.featured-card h4 {
  font-size: 1.3rem;
  color: var(--accent-dark);
  margin: 0.5rem 0 0.3rem 0;
  font-weight: 700;
}

.featured-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.featured-card .resource-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(37,99,235,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #1e3a8a 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn.secondary {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.95) 100%);
  color: var(--accent-dark);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.btn.secondary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(37,99,235,0.15) 100%);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 16px rgba(37,99,235,0.15);
}

.hero-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
  color: var(--accent-dark);
}
.hero-card p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-graphic {
    height: 250px;
  }
}

.resources-hero.hero-split { flex-direction: column; align-items: stretch; }
.resources-hero-intro { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.resources-hero-intro > * { flex: 1 1 320px; min-width: 260px; }
.featured-resource-card { 
  display: flex; 
  align-items: center; 
  gap: 1.6rem; 
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%); 
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37,99,235,0.1); 
  border-left: 6px solid var(--accent); 
  border-radius: 20px; 
  padding: 1.5rem 1.8rem; 
  box-shadow: 0 8px 24px rgba(37,99,235,0.1), 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.featured-resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
}

.featured-resource-card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,1) 100%);
  border-color: rgba(37,99,235,0.15);
  box-shadow: 0 12px 36px rgba(37,99,235,0.15), 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-3px) scale(1.02);
}
.featured-resource-card h3 { margin: 0 0 .3rem 0; font-size: 1.25rem; color: var(--accent-dark); }
.featured-resource-card .muted { margin: 0 0 .5rem 0; }
.featured-resource-media { 
  flex: 0 0 auto; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(37,99,235,0.15) 100%); 
  border: 1px solid rgba(37,99,235,0.1);
  width: 104px; 
  height: 104px; 
  border-radius: 22px; 
  box-shadow: 0 6px 16px rgba(37,99,235,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.featured-resource-card:hover .featured-resource-media {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 8px 20px rgba(37,99,235,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: scale(1.05) rotate(3deg);
}

.featured-resource-card:hover .featured-resource-media svg {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.featured-resource-card .btn-site.inline { display: inline-flex; margin-top: .4rem; }
@media (max-width:800px){ .featured-resource-card { flex-direction: column; text-align:left; align-items:flex-start; } .featured-resource-media { width:72px; height:72px; } }

/* Ensure grid class for card mode (fallback) */
.resource-list.cards-mode { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
  padding: 0.5rem 0;
}
.hero-highlights {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem 0;
  list-style: none;
  padding: 0;
}
.hero-chip {
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.hero-illustration img {
  max-width: 340px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
  .resources-hero, .hero.modern-hero { flex-direction: column; align-items: flex-start; }
  .hero-illustration img { max-width: 100%; }
  .resource-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .resources-hero, .hero.modern-hero { padding: 1.2rem 0.5rem 0.7rem 0.5rem; }
  .resource-item, .resource-line { padding: 1rem 0.7rem; }
  .resource-list { gap: 0.7rem; }
  .hero-highlights { gap: 0.4rem; }
}

/* Accessibility helpers */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: none;
}
/* Provide subtle accessible focus ring only for keyboard navigation */
body:not(.using-mouse) nav.main-nav a:focus-visible,
body:not(.using-mouse) .btn:focus-visible,
body:not(.using-mouse) button:focus-visible {
  box-shadow: 0 0 0 3px rgba(37,99,235,0.25);
}

/* --- Modern page padding and floating nav offset fix --- */


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2.2rem 2.5rem 2.2rem;
  box-sizing: border-box;
}
.about {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.07);
  padding: 2.2rem 2rem 1.5rem 2rem;
  margin-bottom: 2.2rem;
  position: relative;
  overflow: hidden;
}
.about h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
}
.about p {
  font-size: 1.08rem;
  color: #475569;
  margin-bottom: 0.7rem;
  line-height: 1.7;
}
.about p.muted {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
  font-weight: 500;
}
}



/* --- Get Involved page polish --- */
.action-card, .volunteer-form {
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.action-card:hover {
  box-shadow: 0 8px 32px 0 rgba(37,99,235,0.13);
  border-color: #2563eb;
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
.pill-btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-weight: 700;
  font-size: 1.01rem;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.pill-btn:hover, .pill-btn:focus {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(37,99,235,0.13);
  transform: translateY(-2px) scale(1.04);
}
.involved-hero > div[style*='linear-gradient'] {
  transition: box-shadow 0.18s, transform 0.18s;
}
.involved-hero > div[style*='linear-gradient']:hover {
  box-shadow: 0 12px 36px -4px rgba(30,58,138,.25),0 4px 16px rgba(30,58,138,.18);
  transform: translateY(-2px) scale(1.02);
}
