/* @tailwind base;
@tailwind components;
@tailwind utilities; */
.custom_container{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 20px;

}


.bg-hero{
background: linear-gradient(to bottom, #58A456, #347E43, #286E3C);
  padding: 0px 20px;

}


  .icon-btn {
    background-color: white;
    color: black;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(2.5rem);
    opacity: 0;
    transition: all 0.5s;
  }

  .group:hover .icon-btn {
    transform: translateY(0);
    opacity: 1;
  }



  .glass-card {

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0px 0px rgba(255, 255, 255, 0);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}





/* Backdrop fade-in */
#productModal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#productModal.show {
  opacity: 1;
  visibility: visible;
}

/* Modal box scale + fade */
#productModal .bg-white {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: 
    opacity 0.2s ease 0.1s, /* 0.1s delay */
    transform 0.2s ease 0.1s;
}

#productModal.show .bg-white {
  opacity: 1;
  transform: scale(1) translateY(0);
}




/* Fade-in animation for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar for enquiry modal */
#customerDetailsModal .overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

#customerDetailsModal .overflow-y-auto::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
  margin: 8px 0;
}

#customerDetailsModal .overflow-y-auto::-webkit-scrollbar-thumb {
  background: #347E43;
  border-radius: 3px;
  transition: background 0.3s ease;
  margin: 8px 0;
}

#customerDetailsModal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #286E3C;
}

/* Firefox scrollbar styling */
#customerDetailsModal .overflow-y-auto {
  scrollbar-width: thin;
  scrollbar-color: #347E43 transparent;
}

/* Fix for modal border radius with scrollbar */
#customerDetailsModal .bg-white {
  padding-right: 2px;
}

#customerDetailsModal .overflow-y-auto {
  margin-right: -2px;
  padding-right: 8px;
}

/* Line clamp utility for product cards */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product card hover effects */
.product-card-hover {
  transition: all 0.3s ease;
}

.product-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styles */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content:not(.hidden) {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-toggle i {
    transition: transform 0.3s ease;
}
