/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  color: #ffffff;
  background-color: #0a0a0a;
  overflow-x: hidden;
  line-height: 1.6;
}

/* === Main Navigation === */
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.4);
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border: 2px solid #008284;
  border-radius: 8px;
  background-color: transparent;
  transition: all 0.25s ease;
  display: inline-block;
}

.main-nav a:hover {
  background-color: #00F9FD;
  color: #fff;
  text-decoration: none;
  color: #000000;
 box-shadow: 0 0 10px #00F9FDaa;
}

.main-nav .active {
  background-color: #008284;
}

/* === Hero Section === */
.hero {
  height: 100vh;
  background: url('../images/Hero Background.png') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #008284;
}

.hero-text p {
  font-size: 1.2rem;
  text-shadow: 0 0 5px #008284;
}

/* === Subpage Header === */
.sub-header {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sub-header::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
}

.sub-header .main-nav {
  position: relative;
  padding: 1rem;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sub-header h1 {
  color: white;
  position: relative;
  z-index: 1;
  padding-bottom: 1rem;
  font-size: 2rem;
  text-shadow: 0 0 8px #000;
}

/* === Content === */
.content {
  padding: 2rem;
  max-width: 960px;
  margin: auto;
}

.content h2 {
  font-size: 2rem;
  color: #008284;
  margin-bottom: 1rem;
}

.content p, .content li {
  margin-bottom: 1rem;
  color: #ccc;
}

.content ul {
  list-style-type: square;
  padding-left: 1.2rem;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #111;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 2rem;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav a {
    width: 80%;
    max-width: 300px;
    text-align: center;
  }

  .content {
    padding: 1rem;
  }
}
