/* Tree Types Section */
.tree-types {
  padding: 80px 0;
  background-color: #ffffff;
}

.tree-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.tree-slider {
  overflow: hidden;
  border-radius: 10px;
}

.tree-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.tree-card {
  flex: 0 0 240px;
  background-color: #ffffff;
  border: 1px solid #D0F8D2;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tree-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tree-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.tree-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tree-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.tree-info {
  padding: 20px;
}

.tree-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 22px;
  color: #23B100;
  margin-bottom: 16px;
}

.tree-details {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #000000;
}

.tree-details p {
  margin-bottom: 4px;
}

/* Slider Controls */
.tree-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.slider-btn {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #00B330;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  color: #00B330;
}

.slider-btn:hover {
  background-color: #00B330;
  color: #ffffff;
  transform: scale(1.1);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-btn:disabled:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #00B330;
  transform: none;
}

.slider-prev {
  left: -24px;
}

.slider-next {
  right: -24px;
}

/* Slider Dots */
.tree-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #D0D0D0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover,
.slider-dot.active {
  background-color: #00B330;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tree-card {
    flex: 0 0 280px;
  }
  
  .slider-prev {
    left: -16px;
  }
  
  .slider-next {
    right: -16px;
  }
}

@media (max-width: 768px) {
  .tree-card {
    flex: 0 0 250px;
  }
  
  .tree-info {
    padding: 16px;
  }
  
  .tree-name {
    font-size: 18px;
    line-height: 20px;
  }
  
  .tree-details {
    font-size: 12px;
    line-height: 18px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
  }
  
  .slider-prev {
    left: -8px;
  }
  
  .slider-next {
    right: -8px;
  }
}

@media (max-width: 480px) {
  .tree-card {
    flex: 0 0 220px;
  }
  
  .tree-image {
    height: 160px;
  }
  
  .slider-btn {
    width: 36px;
    height: 36px;
  }
  
  .slider-prev {
    left: 0;
  }
  
  .slider-next {
    right: 0;
  }
  
  .tree-slider-dots {
    margin-top: 24px;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
}
