* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9fff6;
  overflow-x: hidden;
  color: #333;
  position: relative;
}

/* Animated Gradient Background */
.gradient-bg {
  position: fixed;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, #e7fbea, transparent 60%),
    radial-gradient(circle at 70% 70%, #e0f7fa, transparent 60%),
    radial-gradient(circle at 50% 90%, #f1f8e9, transparent 70%);
  animation: move-bg 15s infinite alternate ease-in-out;
  z-index: -2;
}

@keyframes move-bg {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-10%, -10%) scale(1.2);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 70px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 1s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header .logo {
  color: #4b9049;
  font-family: "Ranchers", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  font-size: 38px;
  letter-spacing: 1px;
  cursor: pointer;
}

.nav-links {
  display: flex;
}

.nav-links a {
  margin-left: 60px;
  text-decoration: none;
  font-weight: 600;
  color: #284f28;
  font-size: 20px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff9800;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: #ff9800;
  left: 0;
  bottom: -6px;
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger (for mobile) */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #ff9800;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #f1fdf1;
  color: #555;
  margin-top: 60px;
  font-size: 14px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 120px 20px;
  position: relative;
  z-index: 5;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.badge {
  display: inline-block;
  background: #ff9800;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #376736;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  line-height: 1.2;
}

.highlight {
  color: #ff8500;
  border-bottom: 3px solid #ff8500;
}

.hero p {
  font-size: 1.25rem;
  color: #666666;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  padding: 18px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 18px;
}

.btn-primary {
  background: #ff9800;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
  background: #e68a00;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 152, 0, 0.5);
}

.secondary {
  border: 2px solid #2e7d32;
  color: #2e7d32;
  background: white;
}

.secondary:hover {
  background: #e6ffe6;
  transform: scale(1.05);
}

#why-choose,
#how-it-works {
  max-width: 1100px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 5;
  animation: fadeUp 1.5s ease both;
}

section h2 {
  font-size: 36px;
  color: #4b9049;
  margin-bottom: 20px;
  animation: bounceIn 1.2s ease;
}

section p {
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.feature-box span {
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
}

.feature-box h3 {
  margin-bottom: 10px;
  color: #2d7a2d;
}

/* Floating Emojis */
.floating-bg span {
  position: absolute;
  font-size: 38px;
  opacity: 0.7;
  animation: float 14s infinite ease-in-out;
}

.floating-bg span:nth-child(1) {
  top: 30%;
  left: 10%;
  animation-delay: 0s;
}

.floating-bg span:nth-child(2) {
  top: 80%;
  left: 20%;
  animation-delay: 1s;
}

.floating-bg span:nth-child(3) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.floating-bg span:nth-child(4) {
  top: 40%;
  left: 70%;
  animation-delay: 3s;
}

.floating-bg span:nth-child(5) {
  top: 90%;
  left: 50%;
  animation-delay: 2s;
}

.floating-bg span:nth-child(6) {
  top: 10%;
  left: 60%;
  animation-delay: 5s;
}

.floating-bg span:nth-child(7) {
  top: 50%;
  left: 5%;
  animation-delay: 3s;
}

.floating-bg span:nth-child(8) {
  top: 75%;
  left: 90%;
  animation-delay: 3s;
}

.floating-bg span:nth-child(9) {
  top: 20%;
  left: 40%;
  animation-delay: 2s;
}

.floating-bg span:nth-child(10) {
  top: 95%;
  left: 75%;
  animation-delay: 5s;
}

.floating-bg span:nth-child(11) {
  top: 65%;
  left: 30%;
  animation-delay: 3s;
}

.floating-bg span:nth-child(12) {
  top: 35%;
  left: 85%;
  animation-delay: 1s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-40px) rotate(20deg);
    opacity: 1;
  }

  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
    animation: fadeIn 0.5s ease-in;
  }

  .hamburger {
    display: block;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}