.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1a3d2c 0%, #39644e 100%);
  color: #fff;
  padding: 18px 40px;

  transition: box-shadow 0.3s ease-in-out;
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.brand {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.1;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s;
  font-size: 1em;
}

nav ul li a.active,
nav ul li a:hover {
  border-bottom: 2px solid #fff;
}

.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #1a3d2c;
  color: #fff;
  padding: 60px 40px 30px 40px;
}

.hero-text {
  max-width: 60%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.hero-logo {
  text-align: center;
}

.hero-logo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid #4caf50;
  background: #fff;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.hero-logo p {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }

  nav ul {
    gap: 18px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-logo {
    margin-top: 30px;
  }
}