/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  z-index: 1000;
  transition: 0.3s ease;
}

.navbar.scrolled {
  background: linear-gradient(to right, #360033, #0b8793);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.logo {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #cce7ff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #fff;
  background-color: #1e88e5;
  box-shadow: 0 0 10px #1e88e5;
}

/* Responsive Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Sections */
.section {
  height: 100vh;
  padding: 90px 30px 20px;
  background: #f2f4f8;
  border-bottom: 1px solid #ddd;
}

.section:nth-child(even) {
  background: #e8edf3;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    background: #203a43;
    flex-direction: column;
    width: 200px;
    text-align: right;
    padding: 20px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }
}
