:root {
  --primary-color: #2ECC71;
  --secondary-color: #27AE60;
  --text-color: #2C3E50;
  --light-gray: #ECF0F1;
  --error-color: #E74C3C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazir', sans-serif;
}

body {
  background-color: #F9F9F9;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
  color: white;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.stats-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  display: inline-block;
}

.tree-count {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  color: #FFF;
}

/* Price Box */
.price-box {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-tag {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.price-tag .currency {
  font-size: 1.2rem;
  margin-right: 5px;
}

/* Form Styling */
.donation-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  display: block;
}

/* Benefits Section */
.benefits {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
}

.benefits h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.benefits ul {
  list-style-type: none;
}

.benefits li {
  margin-bottom: 10px;
  padding-right: 25px;
  position: relative;
}

.benefits li:before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  right: 0;
}

/* Submit Button */
.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid var(--light-gray);
}

.contact-info {
  margin-top: 20px;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Checkbox Styling */
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.terms-link {
  color: var(--primary-color);
  text-decoration: none;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .tree-count {
    font-size: 2.5rem;
  }
  
  .donation-form {
    padding: 20px;
  }
  
  .price-tag {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  
  .hero {
    padding: 40px 15px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .benefits li {
    font-size: 0.9rem;
  }
}

/* Form Validation Styles */
input:invalid,
select:invalid {
  border-color: var(--error-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 5px;
}