.products-section {
  padding: 90px 0;
  background: #f5f7fa;
  font-family: Arial, sans-serif;
}

.products-heading {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: #2169b3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.products-heading h2 {
  font-size: clamp(25px, 4vw, 46px);
  color: #142b43;
  margin: 0 0 15px;
  font-weight: 700;
}

.products-heading p {
  color: #718096;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* Grid */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1%;
  row-gap:25px;
  justify-content: center;
}


/* Product Card */
.product-card {
  width:31.33%;
  margin: 0 1%;
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #2169b3;
  box-shadow: 0 20px 45px rgba(20, 43, 67, 0.12);
}

/* Product Image */
.product-image {
  position: relative;
  /* height: 300px; */
  overflow: hidden;
  background: #e9edf1;
}

.product-image img {
  width: 100%;
  padding: 25px;
  box-sizing: border-box;
  transition: transform 0.6s ease;
}

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

/* Image Number */
.product-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #526579;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 5px;
}

/* Hover Arrow */
.product-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background:#b8945b;
  border-radius: 50%;
  font-size: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.product-card:hover .product-arrow {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 28px;
}

.product-category {
  display: block;
  color: #2169b3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 9px;
}

.product-info h3 {
  color: #172e46;
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
  color: #2169b3;
}

.view-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.view-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.product-card:hover .view-link span {
  transform: translateX(5px);
}

@media (max-width: 767px) { 
  .products-section {
    padding: 65px 0;
  }

  .products-grid {
    gap: 20px;
  }

  .product-image {
    height: 230px;
  }

  .product-info {
    padding: 20px;
  }

  .product-info h3 {
    font-size: 18px;
  }
  .product-card {
    width: 48%;
  }
  .products-heading{
    margin-bottom: 30px;
  }
  .product-image img{
    padding: 8px;
  }
}

@media (max-width: 575px) {
  .product-card {
    width: 100%;
  }
  .products-grid {
    gap: 22px;
  }

  .product-image {
    height: 260px;
  }

  .product-info {
    padding: 22px;
  }

  .product-arrow {
    opacity: 1;
    transform: none;
  }
}



