/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 999;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3498db;
}

/* Navigation Menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s, background 0.3s;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.nav-links a:hover {
  background-color: #3498db;
  color: #fff;
}

/* Landing Section */
.landing {
  height: 100vh;
  background: linear-gradient(to right, #4facfe, #00f2fe);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  color: white;
}

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

.landing p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: white;
  color: #3498db;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #f1f1f1;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    background-color: white;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 180px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none; /* Optional: Enable toggle via JavaScript */
  }

  .nav-links a {
    color: #333;
  }

  /* If you want to show nav on mobile toggle */
  .nav-links.show {
    display: flex;
  }
}
