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

:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0ea5e9;
  --accent-soft: #e0f2fe;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(248, 250, 252, 1) 60%);
}

.contact-page {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, rgba(248, 250, 252, 1) 40%);
}

.resources-page {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.04) 0%, rgba(248, 250, 252, 1) 35%);
}

.events-page {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, rgba(248, 250, 252, 1) 40%);
}

.news-page {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.03) 0%, rgba(248, 250, 252, 1) 30%);
}

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

.container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
  min-height: 75px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  background: transparent;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  gap: 0.5rem;
}
.logo-accent {
  color: var(--accent);
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transform: translateY(0.2rem);
}
.logo-image {
  max-height: 75px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.logo:hover .logo-image {
  transform: scale(1.1);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-dropdown {
  position: relative;
}
.user-dropdown {
  margin-left: 0.5rem;
}
.nav-drop-toggle {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.user-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  border: 2px solid rgba(14, 165, 233, 0.2);
}
.user-name {
  font-weight: 600;
  color: var(--text);
}
.nav-drop-toggle:hover,
.nav-drop-toggle:focus {
  color: var(--accent);
  outline: none;
}
.nav-drop-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0;
  display: none;
  z-index: 50;
}
.nav-drop-menu li {
  list-style: none;
}
.nav-drop-menu .user-meta {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.15rem;
}
.nav-drop-menu .user-meta span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-drop-menu .user-meta strong {
  font-size: 0.95rem;
}
.nav-drop-menu .user-meta small {
  font-size: 0.8rem;
  color: var(--muted);
}
.nav-drop-menu a {
  display: block;
  padding: 0.6rem 1rem;
}
.nav-drop-menu a:hover {
  background: rgba(14, 165, 233, 0.08);
}
.nav-dropdown.open .nav-drop-menu {
  display: block;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 1.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
}

main {
  padding: 4rem 0;
}

#hero {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0));
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.hero-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.primary-btn {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.primary-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.hero-card ul {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.6;
}
.hero-card li {
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin: 4rem auto;
}

.image-placeholder {
  display: grid;
  place-items: center;
  padding: 0;
}
.image-placeholder img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-hero {
  margin-top: 3rem;
  width: min(1400px, 96vw);
}
.about-hero .image-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}
.card h3 {
  margin-bottom: 0.75rem;
}
.card p {
  color: var(--muted);
  line-height: 1.6;
}

.resources .card {
  border-top: 3px solid var(--accent);
}

.mission-hero {
  margin: 4rem auto 2.5rem;
  text-align: center;
}
.mission-hero h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.mission-split {
  width: min(1400px, 96vw);
  margin: 0 auto 4rem;
  display: grid;
  gap: 2.5rem;
}
.mission-card {
  background: linear-gradient(145deg, #eff6ff, #ffffff);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 1.75rem 2.5rem;
  text-align: center;
}
.mission-card h2 {
  margin-bottom: 0.75rem;
}

.mission-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}
.mission-image-card {
  background: radial-gradient(circle at top left, #e0f2fe, #ffffff);
  border-radius: 1.5rem;
  padding: 0.75rem;
  min-height: 260px;
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(15, 23, 42, 0.02);
}
.mission-image-card img {
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .mission-split {
    gap: 2rem;
  }
  .mission-row {
    grid-template-columns: 1fr;
  }
}

.about-cards .card {
  background: linear-gradient(145deg, #e0f2fe, #ffffff);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.02);
}

.resources-preview .resource-summary {
  align-self: stretch;
}
.resource-summary ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}
.resource-summary li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.events-container,
.news-container {
  width: min(1080px, 92%);
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  gap: 3rem;
}

.events-hero,
.news-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.events-hero h1,
.news-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.events-hero p,
.news-hero p {
  color: var(--muted);
  line-height: 1.6;
}

.events-timeline {
  display: grid;
  gap: 1.75rem;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}
.event-date {
  display: grid;
  place-items: center;
  width: 96px;
  background: var(--accent);
  border-radius: 1rem;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1rem 0;
}
.event-date .month {
  font-size: 0.95rem;
}
.event-date .day {
  font-size: 2rem;
}
.event-details h2 {
  margin-bottom: 0.5rem;
}
.event-meta {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.event-details p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.events-callout {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0));
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(14, 165, 233, 0.2);
}
.events-callout p {
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-form {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 320px) auto;
  gap: 0.75rem;
  justify-content: center;
}
.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-size: 1rem;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.news-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 1rem;
}
.news-tag {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}
.news-meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.news-card p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  background: #0f172a;
  color: rgba(226, 232, 240, 0.9);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.site-footer h3 {
  color: white;
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: rgba(226, 232, 240, 0.9);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
}
.disclaimer {
  font-size: 0.9rem;
  line-height: 1.5;
}

.dashboard-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.dashboard-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.dashboard-intro p {
  color: var(--muted);
  line-height: 1.6;
}
.dashboard-embed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}
.dashboard-embed iframe {
  width: 100vw;
  min-height: 760px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: white;
}

.contact-container {
  width: min(1080px, 92%);
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  gap: 3rem;
}

.resources-container {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  gap: 3rem;
}

.resources-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.resources-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.resources-hero p {
  color: var(--muted);
  line-height: 1.6;
}

.resource-section h2 {
  margin-bottom: 1.5rem;
}

.resource-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 1rem;
}
.resource-card p {
  color: var(--muted);
  line-height: 1.6;
}

.resource-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.resource-link::after {
  content: "→";
  font-size: 0.9rem;
}

.download-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.secondary-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.secondary-btn:hover {
  background: var(--accent);
  color: white;
}

.contact-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.contact-hero p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.contact-form-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.15), transparent 60%),
    linear-gradient(145deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.02));
}

.contact-form-card::after {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border-radius: 1rem;
  border: 1px dashed rgba(14, 165, 233, 0.2);
  pointer-events: none;
}
.contact-info-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.02));
}
.contact-info-card::after {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border-radius: 1rem;
  border: 1px dashed rgba(14, 165, 233, 0.2);
  pointer-events: none;
}
.contact-card-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}
.contact-card-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.contact-card-header p {
  color: var(--muted);
  margin: 0;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.contact-info-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.15);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
}
.contact-info-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.4;
}
.contact-info-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}
.contact-info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.1rem 0 0;
  text-decoration: none;
}
.contact-info-value:hover {
  color: var(--accent);
}
.contact-info-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.4), transparent);
  margin-bottom: 1.5rem;
}
.office-hours-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  color: white;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.4);
}
.office-hours-badge {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}
.office-hours-title {
  font-size: 1rem;
  margin: 0;
}
.office-hours-time {
  margin: 0.1rem 0 0;
  font-weight: 600;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}
.contact-card strong {
  color: var(--text);
}
.contact-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.contact-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.contact-socials a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.contact-socials a svg {
  width: 22px;
  height: 22px;
}

.contact-form-header {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2.5rem 1.5rem;
}

.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-form-header h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
}

.contact-form-header p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.contact-form-body {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-divider {
  height: 0;
  border: none;
  border-top: 2px dotted rgba(14, 165, 233, 0.3);
  margin: 0;
  background: none;
}

.contact-form-divider--top {
  margin-bottom: 1rem;
}

.contact-form-divider--bottom {
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1.125rem;
  border-radius: 0.875rem;
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15), 0 4px 12px rgba(15, 23, 42, 0.08);
  background: var(--surface);
}

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

.field-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -0.35rem;
}

.contact-form-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 2.5rem 2.5rem;
  display: flex;
  justify-content: flex-end;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.contact-submit-btn svg {
  transition: transform 0.2s ease;
}

.contact-submit-btn:hover svg {
  transform: translateX(4px);
}

.contact-map {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-placeholder {
  background: var(--surface);
  border: 2px dashed var(--accent);
  border-radius: 1.5rem;
  padding: 4rem 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--accent);
}
.map-text p {
  color: var(--muted);
  line-height: 1.6;
}

.visit-us-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 60%),
    linear-gradient(145deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.02));
}

.visit-us-card::after {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border-radius: 1rem;
  border: 1px dashed rgba(14, 165, 233, 0.2);
  pointer-events: none;
}

.visit-us-header {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2.5rem 1.5rem;
}

.visit-us-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.visit-us-header h2 {
  font-size: 2rem;
  margin: 0;
}

.visit-us-body {
  position: relative;
  z-index: 1;
  padding: 0 2.5rem 2.5rem;
}

.visit-us-body p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 5%;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    display: none;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }
  .nav-links.show {
    display: grid;
    gap: 0.75rem;
    min-width: 200px;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-drop-menu {
    position: static;
    border-radius: 0.75rem;
    box-shadow: none;
    margin-top: 0.5rem;
  }
  .header-content {
    padding: 1rem 0.25rem;
  }
  main {
    padding: 3rem 0;
  }
  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .event-date {
    margin: 0 auto;
  }
  .newsletter-form {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form-header,
  .contact-form-body,
  .contact-form-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .contact-form-header {
    padding-top: 2rem;
  }
  
  .contact-form-footer {
    padding-bottom: 2rem;
    justify-content: stretch;
  }
  
  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .visit-us-header,
  .visit-us-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .visit-us-header {
    padding-top: 2rem;
  }
  
  .visit-us-body {
    padding-bottom: 2rem;
  }
  
  .about-hero .image-placeholder {
    width: 100%;
    height: auto;
    min-height: 400px;
  }
  
  .about-hero .image-placeholder img {
    height: auto;
    min-height: 400px;
  }
  .events-callout {
    text-align: center;
  }
  .edge-grid {
    padding: 0 1.25rem;
  }
}

.flash-messages {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.flash-messages li {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

.flash-success {
  background: #dcfce7;
  border-color: #4ade80;
}

.flash-danger {
  background: #fee2e2;
  border-color: #f87171;
}

.flash-warning {
  background: #fef3c7;
  border-color: #facc15;
}

.flash-info {
  background: #dbeafe;
  border-color: #60a5fa;
}

.error {
  color: #b91c1c;
  font-size: 0.85rem;
}

.form-alert {
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.form-alert-success {
  background: #dcfce7;
  border-color: #4ade80;
  color: #166534;
}
.form-alert-danger {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}


.auth-link a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.auth-link a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}
.auth-link .auth-btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.auth-link .auth-btn-primary:hover {
  background: #0284c7;
  color: white;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
  margin: 4rem auto;
  width: min(1100px, 92%);
}

.auth-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}
.auth-intro h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.auth-intro p {
  color: var(--muted);
  line-height: 1.7;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.1);
}
.auth-card h2 {
  margin-bottom: 1.5rem;
}

.auth-form {
  display: grid;
  gap: 1.25rem;
}
.auth-form .form-group {
  display: grid;
  gap: 0.5rem;
}
.form-input {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
}

.form-actions {
  margin-top: 0.5rem;
}

.auth-card .primary-btn {
  width: 100%;
  justify-content: center;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.btn-google {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-google:hover {
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}
.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.auth-divider {
  position: relative;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}
.auth-divider span {
  background: var(--surface);
  padding: 0 0.75rem;
  position: relative;
}

.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}

.contact-snippet ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.contact-snippet li strong {
  color: var(--text);
}

.lead {
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.dataset-form {
  margin: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dataset-form select {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.filter-toggle {
  padding: 0.65rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.25);
}
.filter-toggle:hover {
  background: #0284c7;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-badge {
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.filters-form {
  margin: 1.25rem 0 2.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.filters-form.collapse {
  display: none;
}
.filters-form.collapse.show {
  display: block;
}

.filters-row {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.filter-group {
  display: grid;
  gap: 0.75rem;
}
.filter-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.filter-group select,
.filter-group input[type="number"] {
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.filter-group select:focus,
.filter-group input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}
.filter-group select[multiple] {
  min-height: 140px;
}
.range-group .range-inputs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filters-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.filters-actions .primary-btn {
  margin-top: 0;
  text-decoration: none;
}
.secondary-link {
  color: var(--muted);
  font-weight: 600;
}
.secondary-link:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .filters-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .filters-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.metric-card {
  background: linear-gradient(145deg, #f0f9ff, #e0f2fe);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow:
    0 20px 40px rgba(14, 165, 233, 0.15),
    0 0 0 1px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 48px rgba(14, 165, 233, 0.2),
    0 0 0 1px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.metric-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.metric-card p {
  font-size: 1.4rem;
  font-weight: 600;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.9rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.chart-card .plotly-graph-div,
.chart-card svg {
  width: 100% !important;
}
.edge-grid {
  width: min(1800px, 99vw);
  margin: 0 auto;
  margin-top: 2.5rem;
  padding: 0 1vw;
}

@media (max-width: 1100px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.data-section {
  margin-top: 3rem;
}
.tabs {
  display: block;
  margin-top: 1.5rem;
}
.tabs > input[type="radio"] {
  display: none;
}
.tabs > label {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
}
.tabs > input[type="radio"]:checked + label {
  background: var(--accent);
  color: white;
}
.tab-panels {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}
.tab-panel {
  display: none;
}
.tabs > input:nth-of-type(1):checked ~ .tab-panels .tab-panel:nth-of-type(1),
.tabs > input:nth-of-type(2):checked ~ .tab-panels .tab-panel:nth-of-type(2),
.tabs > input:nth-of-type(3):checked ~ .tab-panels .tab-panel:nth-of-type(3),
.tabs > input:nth-of-type(4):checked ~ .tab-panels .tab-panel:nth-of-type(4) {
  display: block;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.table-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.table-controls .primary-btn {
  margin-top: 0;
  text-decoration: none;
}
.table-wrapper {
  max-height: 480px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th,
.data-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.8rem;
  text-align: left;
}
.data-table th {
  background: rgba(14, 165, 233, 0.08);
}

.filter-group.full-width {
  grid-column: 1 / -1;
}

.filter-group.narrow {
  max-width: 280px;
}

.filter-group.medium {
  max-width: 320px;
  width: 100%;
}
.filter-group.medium select {
  width: 100%;
}

.table-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

