* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #f13e3e;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #860909;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  height: 100vh;
  background: linear-gradient(to right, #a7d483, #b6fbff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.hero h1 {
  font-size: 3rem;
  color: rgb(0, 0, 0);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: rgb(0, 0, 0);
}

.content {
  padding: 80px 40px;
  background-color: #000000;
  font-size: 1.1rem;
}

/* Added styles for sections */
.section {
  padding: 60px 40px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  color: #222;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #555;
}

/* Adjust content section color to be distinct */
.content {
  padding: 80px 40px;
  background-color: #000000;
  font-size: 1.1rem;
  color: #fff;
  text-align: left;
}

/* Footer styles */
.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 1rem;
}
