/* =========================
   Global Layout Fixes
   ========================= */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Navbar above all content */
.navbar {
  z-index: 2000;
}

/* =========================
   Hero Section
   ========================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}
.hero-section .display-3,
.hero-section .lead {
  color: #fff;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}
.hero-section .btn {
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* =========================
   Modules Section
   ========================= */
.modules .card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.modules .card:hover {
  transform: translateY(-5px);
}

/* =========================
   Mobile Menu
   ========================= */
.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.5);
}
.navbar-toggler-icon {
  filter: none;
}

/* =========================
   Section Z-Index
   ========================= */
section {
  position: relative;
  z-index: 1;
}
