/* Enhanced Modern Footer Styles */
.modern-footer {
  background: linear-gradient(135deg, #155724 0%, #198754 50%, #20c997 100%);
  color: white;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.footer-main {
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

/* Footer Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo-img,
.footer-logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 6px;
}

.footer-logo-img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.footer-logo-icon {
  display: grid;
  place-items: center;
  color: #155724;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  font-size: 1.1rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 850;
  margin: 0;
  color: #ffd700;
  letter-spacing: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: #ffd700;
  color: #155724;
  transform: translateY(-3px);
  text-decoration: none;
}

/* Footer Titles */
.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ffd700;
  border-radius: 1px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  padding: 4px 0;
}

.footer-link:hover {
  color: #ffd700;
  text-decoration: none;
  transform: translateX(5px);
}

.footer-link i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

/* Footer Features */
.footer-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-feature i {
  color: #ffd700;
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.copyright p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: #ffd700;
  text-decoration: none;
}

/* Reviews Section Styles */
.reviews-section {
  background: #f8f9fa;
  color: #333;
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #28a745;
}

.reviews-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #155724;
  margin-bottom: 2rem;
}

.review-form {
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  margin: auto;
  max-width: 600px;
  border: 1px solid rgba(40, 167, 69, 0.1);
}

.review-form h4 {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.review-form .form-control,
.review-form .form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.review-form .form-control:focus,
.review-form .form-select:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.review-form button {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.review-form button:hover {
  background: linear-gradient(135deg, #1e7e34, #17a2b8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

#reviewsDisplay {
  margin-top: 40px;
}

.review-box {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: left;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-box strong {
  color: #155724;
}

.review-box p {
  margin: 0;
}

.testimonial-slider {
  max-width: 660px;
  margin: 0 auto;
  padding: 50px 20px;
}

.review-item {
  text-align: center;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 0 10px;
}

.review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.review-item p {
  margin: 10px 0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.review-item strong {
  color: #155724;
  font-weight: 600;
}

/* Slick Slider Customization */
.slick-dots {
  bottom: -40px;
}

.slick-dots li button::before {
  font-size: 12px;
  color: #28a745;
  opacity: 0.5;
}

.slick-dots li.slick-active button::before {
  opacity: 1;
  color: #155724;
}

.slick-prev,
.slick-next {
  color: white !important;
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  font-size: 18px !important;
  z-index: 2 !important;
  width: 50px !important;
  height: 50px !important;
  border: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

.slick-prev:hover,
.slick-next:hover {
  background: linear-gradient(135deg, #1e7e34, #17a2b8) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.slick-prev {
  left: -70px !important;
}

.slick-next {
  right: -70px !important;
}

.slick-prev::before,
.slick-next::before {
  font-size: 20px !important;
  color: white !important;
  line-height: 1 !important;
}

.slick-prev,
.slick-next {
  opacity: 1 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-main {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .reviews-title {
    font-size: 2rem;
  }

  .testimonial-slider {
    padding: 30px 10px;
  }

  .slick-prev,
  .slick-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }

  .slick-prev {
    left: -50px !important;
  }

  .slick-next {
    right: -50px !important;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 2rem 1rem 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-bottom {
    padding: 1rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 1rem;
  }

  .slick-prev {
    left: -30px !important;
  }

  .slick-next {
    right: -30px !important;
  }
}

/* Crop page styles */
.crop-image-section {
  background: #ffffff;
  color: #333;
  padding: 60px 20px;
  text-align: center;
}

.crop-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #155724;
  margin-bottom: 30px;
}

.crop-icon {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 15px;
}

.crop-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #28a745;
  margin-bottom: 10px;
}

.crop-image-section p {
  font-size: 1rem;
  line-height: 1.5;
  color: #666;
}

@media screen and (max-width: 768px) {
  .crop-title {
    font-size: 2rem;
  }

  .crop-icon {
    font-size: 2.5rem;
  }

  .crop-feature-title {
    font-size: 1.3rem;
  }

  .crop-image-section p {
    font-size: 0.9rem;
  }
}
