/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-secondary);
}

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

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

/* ========== GRIDS ========== */
.team-grid,
.research-grid,
.projects-grid,
.blog-grid,
.deadlines-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }

  .team-grid,
  .projects-grid,
  .blog-grid,
  .deadlines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }

  .team-grid,
  .research-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deadlines-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
