/* FluentHub - Modern Futuristic CSS */
:root {
  /* Primary color scheme */
  --primary: #32fe6b;
  --primary-dark: #20cb50;
  --primary-light: #5fff8c;
  --primary-glow: rgba(50, 254, 107, 0.6);
  --primary-transparent: rgba(50, 254, 107, 0.15);

  /* Background and surfaces */
  --dark-bg: #0a0a0a;
  --dark-surface: #121212;
  --dark-surface-light: #1a1a1a;
  --dark-surface-lighter: #222222;
  --glass-surface: rgba(30, 30, 30, 0.7);

  /* Text colors */
  --text-white: #ffffff;
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;

  /* Effects */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(50, 254, 107, 0.2);
  --glow-strong: 0 0 15px var(--primary-glow);

  /* Dimensions */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --spacing: 1.5rem;
  --spacing-mobile: 1rem;
  --spacing-tiny: 0.75rem;

  /* Typography */
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2.5rem;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Background grid effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to right,
      rgba(30, 30, 30, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(30, 30, 30, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* Navigation */
.nav-bar {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  padding: calc(var(--spacing) / 2) 0;
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(50, 254, 107, 0.1);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-white);
  padding: var(--spacing-mobile);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-toggle.active {
  transform: rotate(90deg);
}

.nav-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0 var(--spacing);
  white-space: nowrap;
  transition: max-height 0.3s ease;
}

.nav-item {
  margin-right: var(--spacing-mobile);
}

.nav-item a {
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  font-size: var(--font-size-base);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.nav-item a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-item a:hover::before {
  left: 100%;
}

.nav-item a:hover,
.nav-item a.active {
  background-color: var(--primary);
  color: var(--dark-bg);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: var(--spacing);
}

/* Section styling */
.section {
  margin-bottom: calc(var(--spacing) * 2);
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing);
  flex-wrap: wrap;
  gap: 1rem;
}

h2 {
  font-weight: 600;
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  padding-bottom: 0.5rem;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.75rem;
  height: 0.1875rem;
  background: linear-gradient(to right, var(--primary), transparent);
}

.section-desc {
  font-weight: 400;
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin-bottom: var(--spacing);
  max-width: 50rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
  max-width: 25rem;
}

.search-input {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background-color: var(--dark-surface-light);
  color: var(--text-light);
  font-size: 0.9rem;
  flex: 1;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
  box-shadow: inset 0 0 5px rgba(50, 254, 107, 0.3);
}

.search-btn {
  padding: 0.75rem 1.25rem;
  background-color: var(--primary);
  color: var(--dark-bg);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
  gap: var(--spacing);
}

/* Cards (Projects) */
.card {
  background: linear-gradient(
    145deg,
    var(--dark-surface),
    var(--dark-surface-light)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--dark-surface-light);
  overflow: hidden;
  position: relative;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: rgba(50, 254, 107, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.card-content {
  color: var(--text-light);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content p {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--primary-transparent);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: lowercase;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: var(--primary);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

/* Resource Cards */
.resource-card {
  background: linear-gradient(
    145deg,
    var(--dark-surface),
    var(--dark-surface-light)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--dark-surface-light);
  overflow: hidden;
  position: relative;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
}

.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: rgba(50, 254, 107, 0.3);
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  min-height: 3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-content {
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resource-card:hover .resource-image {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.resource-subheader {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Event Cards */
.event-card {
  background: linear-gradient(
    145deg,
    var(--dark-surface),
    var(--dark-surface-light)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--dark-surface-light);
  overflow: hidden;
  position: relative;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: rgba(50, 254, 107, 0.3);
}

.event-card:hover::before {
  opacity: 1;
}

.event-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.event-content {
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.event-card:hover .event-image {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.event-subheader {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-label {
  background-color: var(--primary-transparent);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  display: inline-block;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(50, 254, 107, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.action-btn {
  display: inline-block;
  background-color: var(--dark-surface-light);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: var(--font-size-base);
  width: 100%;
  text-align: center;
  margin-top: auto;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.action-btn:hover::before {
  left: 100%;
}

.action-btn:hover {
  background-color: var(--primary);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.action-btn.outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.action-btn.outline:hover {
  background-color: var(--primary);
  color: var(--dark-bg);
}

.action-btn.primary {
  background-color: var(--primary);
  color: var(--dark-bg);
}

.action-btn.primary:hover {
  background-color: var(--primary-light);
  box-shadow: var(--glow-strong);
}

/* Hero section */
header {
  background: linear-gradient(
    135deg,
    var(--dark-surface),
    var(--dark-surface-lighter)
  );
  color: var(--text-white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  border-bottom: 1px solid var(--primary-transparent);
}

.header-content {
  text-align: center;
  max-width: 75rem;
  position: relative;
  z-index: 2;
  padding: 0 var(--spacing-mobile);
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(50, 254, 107, 0.3);
}

.header-subtitle {
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0.9;
  max-width: 50rem;
  margin: 0 auto 1.5rem;
  color: var(--text-white);
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    var(--primary-transparent),
    transparent 70%
  );
  opacity: 0.8;
  z-index: 1;
}

.hero-button {
  display: inline-block;
  background-color: var(--primary);
  color: var(--dark-bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: var(--font-size-base);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-button::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.5s ease;
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--glow-strong);
}

/* Feature section */
.feature-section {
  background: linear-gradient(
    135deg,
    var(--dark-surface),
    var(--dark-surface-light)
  );
  border-radius: var(--radius);
  padding: calc(var(--spacing) * 1.5);
  margin-bottom: var(--spacing);
  border: 1px solid var(--dark-surface-lighter);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    var(--primary-transparent),
    transparent 70%
  );
  opacity: 0.3;
  z-index: 0;
}

.glow-card {
  border: 1px solid rgba(50, 254, 107, 0.3);
  box-shadow: 0 0 15px rgba(50, 254, 107, 0.1);
}

/* Stats */
.stats {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.stats-label {
  font-weight: 400;
  margin-right: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stats-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  text-shadow: 0 0 10px rgba(50, 254, 107, 0.3);
}

/* Footer */
footer {
  background-color: var(--dark-surface);
  color: var(--text-white);
  padding: 2rem 0 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--primary-transparent);
}

.footer-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-column {
  flex: 1;
  min-width: 10rem;
  text-align: center;
}

.footer-resources,
.footer-community {
  text-align: left;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-description {
  flex-basis: auto;
  max-width: 20rem;
  text-align: left;
}

.footer-description p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-align: left;
}

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary-transparent);
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.footer-bottom-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

.footer-newsletter {
  max-width: 20rem;
  text-align: left;
}

.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}

.footer-newsletter p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-align: left;
}

.footer-newsletter form {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.footer-newsletter input {
  flex: 1;
  max-width: 12.5rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.9rem;
  background-color: var(--dark-surface-light);
  color: var(--text-light);
  transition: all 0.3s ease;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.footer-newsletter input:focus {
  outline: none;
  box-shadow: inset 0 0 5px rgba(50, 254, 107, 0.3);
}

.footer-newsletter button {
  padding: 0.6rem 1rem;
  background-color: var(--primary);
  color: var(--dark-bg);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
}

.footer-columns {
  display: flex;
  gap: 2rem;
  flex-grow: 0;
}

/* Animation for links and buttons */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 254, 107, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(50, 254, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(50, 254, 107, 0);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: var(--spacing-mobile) 0;
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg));
    transition: max-height 0.3s ease;
    max-height: 0;
    overflow: hidden;
  }

  .nav-list.active {
    display: flex;
    max-height: 300px;
  }

  .nav-item {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .nav-item a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--dark-surface-light);
    display: block;
  }

  .nav-item:last-child a {
    border-bottom: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .card-title,
  .resource-title,
  .event-title {
    font-size: 1.125rem;
  }

  .stats-value {
    font-size: 1.5rem;
  }

  .container {
    padding: var(--spacing-mobile) var(--spacing-tiny);
  }

  .action-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  header {
    padding: 2rem 0;
    min-height: 70vh;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .hero-button {
    margin-top: 1rem;
  }

  .footer-top {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-columns {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .footer-newsletter,
  .footer-description {
    margin: 0 0 1.5rem 0;
  }

  .event-image,
  .resource-image {
    height: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
  }

  .event-card,
  .resource-card {
    padding: 1rem;
    min-height: 22rem;
  }

  .card {
    padding: 1rem;
    min-height: 16rem;
  }

  .event-subheader,
  .resource-subheader {
    font-size: 0.85rem;
    min-height: 2.55rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: var(--spacing-tiny);
  }

  .card,
  .resource-card,
  .event-card {
    padding: 0.75rem;
  }

  .card-title,
  .resource-title,
  .event-title {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .header-subtitle {
    font-size: 0.9rem;
  }

  .action-btn,
  .hero-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .event-image,
  .resource-image {
    height: 160px;
    object-fit: cover;
    margin-bottom: 0.75rem;
  }

  .event-subheader,
  .resource-subheader {
    font-size: 0.8rem;
    min-height: 2.4rem;
  }

  .footer-newsletter input {
    max-width: 10rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
