body, html {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

/* Animated Background */
.bg-img {
  background: linear-gradient(270deg, #0f4c75, #4a90e2, #1b262c, #2e7d32); /* Added earthy green for agriculture feel */
  background-size: 800% 800%; /* Larger size for smoother gradient flow */
  animation: gradientMove 12s ease infinite; /* Slightly slower for elegance */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Center Container */
.center-container {
  color: white;
  text-align: center;
  animation: fadeIn 1.2s ease-out forwards;
  opacity: 0;
  z-index: 10;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Big Letter with Water Ripple */
.big-letter {
  font-size: 10rem;
  font-weight: bold;
  line-height: 1;
  position: relative;
  opacity: 0;
  animation: waterMove 4s linear infinite, popIn 1.5s ease-out forwards;

  /* Enhanced water gradient */
  background: linear-gradient(45deg, rgba(0, 188, 255, 0.7), rgba(0, 120, 180, 0.9), rgba(0, 188, 255, 0.7));
  background-size: 200% 200%;
  background-position: center;

  /* Clip background to text */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Enhanced glow */
  text-shadow: 0 0 25px rgba(0, 204, 255, 0.8), 0 0 40px rgba(0, 188, 255, 0.5);
}

@keyframes waterMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* Subtitle */
.subtitle {
  font-size: 2.2rem; /* Slightly larger for prominence */
  letter-spacing: 3px; /* Wider spacing for elegance */
  animation: slideUp 1.2s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Subtle glow */
}

@keyframes slideUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Buttons */
.btn {
  min-width: 140px; /* Wider buttons for better clickability */
  font-weight: 600;
  padding: 12px 24px; /* Larger padding for a polished look */
  border-radius: 50px; /* More rounded for modern feel */
  transition: all 0.3s ease;
  animation: fadeInButtons 1.5s ease-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

@keyframes fadeInButtons {
  to { opacity: 1; }
}

.btn-primary {
  background-color: #00b4d8;
  border: none;
}

.btn-primary:hover {
  background-color: #0096c7;
  box-shadow: 0 10px 25px rgba(0, 150, 199, 0.5);
  transform: translateY(-3px);
}

.btn-success {
  background-color: #06d6a0;
  border: none;
}

.btn-success:hover {
  background-color: #04b58a;
  box-shadow: 0 10px 25px rgba(4, 181, 138, 0.5);
  transform: translateY(-3px);
}

/* Pulse animation for button click */
.pulse {
  animation: pulseEffect 0.5s ease-in-out;
}

@keyframes pulseEffect {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Agriculture-Themed Animations */

/* Growing Crops */
.crop {
  position: absolute;
  bottom: 0;
  width: 50px; /* Slightly larger for visibility */
  height: 50px;
  background: linear-gradient(135deg, #1b5e20, #4caf50, #1b5e20); /* Richer green tones */
  opacity: 0;
  animation: growCrop 3.5s ease-in-out infinite;
  z-index: 5;
  border-radius: 15px; /* Softer edges */
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.5); /* Subtle glow */
}

.crop:nth-child(1) { left: 10%; animation-delay: 0s; }
.crop:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.crop:nth-child(3) { left: 80%; animation-delay: 1s; }
.crop:nth-child(4) { left: 90%; animation-delay: 1.5s; }

@keyframes growCrop {
  0% { transform: scale(0.3) translateY(120px); opacity: 0; }
  50% { transform: scale(1.2) translateY(0); opacity: 0.9; }
  100% { transform: scale(0.3) translateY(120px); opacity: 0; }
}

/* Rising Sun */
.sun {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100px; /* Larger for prominence */
  height: 100px;
  background: radial-gradient(circle, #ffeb3b 40%, #ff5722 100%); /* Warmer tones */
  border-radius: 50%;
  animation: riseSun 8s ease-in-out infinite;
  z-index: 5;
  box-shadow: 0 0 30px rgba(255, 235, 59, 0.7); /* Enhanced glow */
}

@keyframes riseSun {
  0% { transform: translate(-50%, 0); opacity: 0; }
  50% { transform: translate(-50%, -85vh); opacity: 0.9; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* Falling Leaves */
.leaf {
  position: absolute;
  width: 25px; /* Slightly larger for visibility */
  height: 25px;
  background: linear-gradient(45deg, #2e7d32, #81c784); /* Brighter green */
  opacity: 0.8;
  animation: fallLeaf 5s linear infinite;
  z-index: 5;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 0 8px rgba(0, 128, 0, 0.4); /* Subtle shadow */
}

.leaf:nth-child(1) { left: 15%; animation-delay: 0s; }
.leaf:nth-child(2) { left: 30%; animation-delay: 1s; }
.leaf:nth-child(3) { left: 45%; animation-delay: 2s; }
.leaf:nth-child(4) { left: 60%; animation-delay: 3s; }
.leaf:nth-child(5) { left: 75%; animation-delay: 4s; }

@keyframes fallLeaf {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 0.8; }
  50% { transform: translateY(0) rotate(180deg); opacity: 0.8; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Waving Wheat */
.wheat {
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 60px;
  background: linear-gradient(0deg, #3f51b5 10%, #fbc02d 70%); /* Brown base, golden wheat */
  clip-path: polygon(40% 0%, 60% 0%, 70% 20%, 50% 100%, 30% 20%); /* Wheat stalk shape */
  opacity: 0.9;
  animation: waveWheat 2s ease-in-out infinite;
  z-index: 5;
}

.wheat:nth-child(1) { left: 5%; animation-delay: 0s; }
.wheat:nth-child(2) { left: 25%; animation-delay: 0.3s; }
.wheat:nth-child(3) { left: 70%; animation-delay: 0.6s; }
.wheat:nth-child(4) { left: 85%; animation-delay: 0.9s; }

@keyframes waveWheat {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

/* Water Sprinkler */
.sprinkler {
  position: absolute;
  bottom: 20%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #78909c 10%, transparent 20%); /* Gray center, transparent outer */
  animation: rotateSprinkler 4s linear infinite;
  z-index: 5;
}

.sprinkler::before, .sprinkler::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(0, 188, 255, 0.5), transparent); /* Water spray effect */
  top: 50%;
  left: 50%;
  transform-origin: left;
}

.sprinkler::before { transform: rotate(0deg); }
.sprinkler::after { transform: rotate(180deg); }

@keyframes rotateSprinkler {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Butterfly Flight */
.butterfly {
  position: absolute;
  width: 30px;
  height: 20px;
  background: linear-gradient(45deg, #ff9800, #f44336); /* Vibrant orange-red wings */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* Butterfly wing shape */
  animation: flyButterfly 6s ease-in-out infinite;
  z-index: 6;
}

.butterfly:nth-child(1) { top: 20%; animation-delay: 0s; }
.butterfly:nth-child(2) { top: 40%; animation-delay: 2s; }

@keyframes flyButterfly {
  0% { transform: translateX(-100vw) translateY(0) rotate(0deg); opacity: 0.8; }
  50% { transform: translateX(50vw) translateY(-50px) rotate(20deg); opacity: 1; }
  100% { transform: translateX(100vw) translateY(0) rotate(0deg); opacity: 0.8; }
}