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

body {
  font-family: 'Roboto', sans-serif;
  color: #555;
  line-height: 1.6;
  background-color: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #006400;
}

.btn-login, .btn-signup {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-login {
  background-color: #006400;
  color: #ffffff;
}

.btn-signup {
  background-color: #e0e0e0;
  color: #000;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section - Modified */
.hero {
  height: 100vh;
  background: url('../images/hero-bg.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
}

/* New overlay just for background */
.hero-bg-overlay {
  background-color: rgba(0, 100, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1; /* Behind content */
}

.hero-content {
  text-align: center;
  color: #000;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2; /* Above overlay */
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 600;
  color: #006400;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #006400;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #004d00;
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #000;
}

.btn-secondary:hover {
  background-color: #cccccc;
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: #000;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #006400;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.footer-bottom p {
  font-size: 12px;
  color: #424242;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #ffffff;
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 16px;
  }
}
