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

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #e9fce6, #f5fff5);
  color: #145a32;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: #145a32;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

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

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

nav ul li a:hover {
  color: #9be69d;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
  color: #fff;
  animation: fadeIn 1.5s ease-in;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  animation: slideDown 1.5s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn {
  background: #9be69d;
  color: #145a32;
  padding: 12px 22px;
  margin: 6px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* About */
.about {
  text-align: center;
  padding: 60px 20px;
  background: #f8fff8;
}

.about h2 {
  font-size: 1.8rem;
  color: #1e8449;
  margin-bottom: 20px;
}

/* Counter */
.counter {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(180deg, #ecfdf0, #d7f8dc);
}

.counter h2 {
  color: #1e8449;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

#treeCount {
  font-size: 3rem;
  color: #27ae60;
  font-weight: bold;
  animation: pulse 2s infinite;
}

/* Daily Impact Box */
#daily-impact {
  margin-top: 20px;
  text-align: center;
  background: #f0fff0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#daily-impact h3 {
  color: #145a32;
  margin-bottom: 8px;
}

#impact-values {
  font-size: 1.1rem;
  color: #1e8449;
  font-weight: 600;
}

/* Contact */
.contact {
  text-align: center;
  padding: 60px 20px;
  background: #f8fff8;
}

.contact h2 {
  margin-bottom: 15px;
  color: #145a32;
}

.contact a {
  color: #27ae60;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #145a32;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
}
