/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #2c6e49;
  color: white;
}

header nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #a8d5ba;
}

/* Hero Section: Split Layout */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 90vh;
  padding: 50px;
  background-color: #e6f2e6;
}

.hero-left {
  flex: 1;
  padding: 20px;
}

.hero-left h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero-left p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

.btn {
  padding: 10px 25px;
  background-color: #a8d5ba;
  color: #2c6e49;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #7abf95;
}

.hero-right {
  flex: 1;
  text-align: center;
}

.hero-right img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  animation: fadeIn 2s ease;
}

/* About Cards */
.about-cards {
  display: flex;
  justify-content: space-around;
  padding: 50px;
  background-color: #f0f8f5;
}

.card {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 15px;
  color: #2c6e49;
}

/* Featured Plants Grid */
.featured-plants {
  text-align: center;
  padding: 50px;
}

.plant-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.plant-card {
  background-color: #e6f2e6;
  padding: 20px;
  border-radius: 15px;
  width: 200px;
  transition: transform 0.3s;
}

.plant-card:hover {
  transform: translateY(-10px);
}

/* Footer */
footer {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background-color: #2c6e49;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

footer a:hover {
  color: #a8d5ba;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; }
  .about-cards { flex-direction: column; align-items: center; }
}
