* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1a1a2e;
  color: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.nav-links li a:hover {
  background-color: #00adb5;
  color: #222831;
}

/* When scrolled */
header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header.scrolled .nav-links li a {
  color: #1a1a2e;
}

header.scrolled .nav-links li a:hover {
  background-color: #1a1a2e;
  color: white;
}

.hero {
  height: 100vh;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  padding-top: 80px; /* to prevent overlap with fixed header */
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

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

.content {
  padding: 150px 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}
