/********** Custom CSS **********/

/*** Button as per the primary colors ***/
.btn.btn-primary:not(.rounded-circle) {
  display: inline-block;
  font-weight: 700;
  text-transform: capitalize;
  transition: all 0.25s ease-in-out;
  overflow: hidden;
  border-radius: 6px;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 17px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
  color: var(--color-heading);
  border: none;
  background: var(--color-primary);
  padding: 16px 52px;
}

.btn.btn-primary.btn-sm:not(.rounded-circle) {
  font-size: 14px;
  padding: 10px 30px;
}

.btn.btn-primary:not(.rounded-circle)::after {
  position: absolute;
  top: inherit;
  right: inherit;
  bottom: inherit;
  left: -5%;
  content: "";
  height: 150px;
  width: 115%;
  z-index: -1;
  background-color: var(--color-secondary);
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  -webkit-transform: translateY(-45%) skew(25deg) scale(0);
  transform: translateY(-45%) skew(25deg) scale(0);
}

.btn.btn-primary:not(.rounded-circle):hover {
  color: var(--white);
}

.btn.btn-primary:not(.rounded-circle):hover::after {
  -webkit-transform: translateY(-45%) skew(25deg) scale(1.2);
  transform: translateY(-45%) skew(25deg) scale(1.2);
}

.service-img img {
  filter: blur(1px) grayscale(1);
}

.nav-item.dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.productMenuIcon {
  width: 18px;
  height: 18px;
}

/* Custome product card */

.product-card {
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-tilt-effect {
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
  position: relative;
}

.product-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 8px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: #18181b;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.product-description p {
  font-size: 14px;
  color: #52525b;
  line-height: 1.5;
  margin-bottom: 15px;
  /* overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2; */
}

@media (max-width: 400px) {
  .product-title {
    font-size: 18px;
  }

  .product-image {
    height: 200px;
  }

  .product-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
/* End custom product card */

/* For the product details page */

.product-details .sticky-image {
  position: sticky;
  top: 100px;
}

.product-details .product-image {
  max-width: 100%;
  border-radius: 10px;
}

/* Section container with gradient border */
.gradient-border {
  border: 4px solid transparent;
  border-radius: 10px;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(97deg, #337c35 50%, rgba(252, 197, 27, 1) 100%) border-box;
  padding: 5px;
}

.gradient-border h5 {
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 5px;
}

.section-title {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 120%;
  background: linear-gradient(97deg, #337c35 50%, rgba(252, 197, 27, 1) 100%);
  border-radius: 2px;
}

.spec-table th {
  background-color: #f0f0f0;
  font-weight: 600;
}
.spec-table td,
.spec-table th {
  vertical-align: middle;
  padding: 12px;
}
.spec-table tr:nth-child(even) {
  background-color: #fafafa;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding-left: 2px;
}

.feature-icon {
  color: #337c35;
  font-size: 1.2rem;
  flex-shrink: 0;
}
/* End product details page */

ul {
  list-style-image: url('img/arrow-vector.png');
}

.badge-gradient {
  background: var(--bg-gradient);
  color: white; /* Ensure text is readable */
  padding: 8px 12px;
  margin-bottom: 5px;
}

.footer .btn-link {
  width: max-content;
}

.menuIcon {
  width: 30px;
  height: 30px;
}