/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

nav.scrolled {
  background: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav .logo {
  color: rgb(35, 22, 22);
  font-size: 22px;
  font-weight: bold;
}
/* Right Side Logo */
.right-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-left: 20px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 16px;
  padding: 8px 12px;
  transition: color 0.3s ease, background 0.3s ease;
}

nav ul li a:hover {
  background: rgb(143, 152, 162);
  color: #f9e3e3;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('https://source.unsplash.com/1600x900/?technology,nature') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(136, 169, 215);
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 600px;
}

/* Sections */
section {
  height: 100vh;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

section:nth-child(even) {
  background: #61b0da;
}

section:nth-child(odd) {
  background: #917b7b;
}

/* Responsive Menu */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #333;
    padding: 20px;
    border-radius: 10px;
  }

  nav ul.show {
    display: flex;
  }

  nav .menu-toggle {
    display: block;
    font-size: 24px;
    color: rgb(144, 136, 235);
    cursor: pointer;
  }
}

@media (min-width: 769px) {
  nav .menu-toggle {
    display: none;
  }
}
