/* =========================
   Global Cleanup
   ========================= */

body {
  margin: 0;
  padding: 0;
}

/* =========================
   Hero Section
   ========================= */

.hero {
  position: relative;
  height: 100vh; /* Full screen on load */
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.35),
      rgba(30, 64, 175, 0.35)
    ),
    url("https://images.pexels.com/photos/7653583/pexels-photo-7653583.jpeg?auto=compress&cs=tinysrgb");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

/* =========================
   Resources Section
   ========================= */

.resources {
  padding: 60px 20px;
  background: #ffffff;
}

.resources .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.resources h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.resources p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

/* =========================
   Footer
   ========================= */

.footer {
  padding: 30px 20px;
  background: #0f172a;
  color: white;
  text-align: center;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 100svh; /* fixes mobile browser chrome issues */
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
