/* ================= EQUIPMENT SECTION ================= */
/* ================= SECTION ================= */
.equipment-section {
  padding: 80px 70px;
  /* background: #f8f8f8; */
  background: url("../../images/Rectangle 30.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.equipment-wrapper {
  max-width: 1320px;
  margin: auto;
}

.section-title {
  font-family: EB Garamond;
  font-weight: 400;
  font-style: Regular;
  font-size: 36px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 1%;

  margin-bottom: 40px;
  position: relative;
  /* padding-left: 22px; */
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 35px;
  height: 4px;
  background: #ed1c24;
}

/* ================= CAROUSEL ================= */
.equipment-carousel {
  overflow: hidden;
}

.equipment-track {
  display: flex;
  gap: 28px;
  width: max-content;
}

/* ================= CARD ================= */
.equipment-card {
  min-width: 300px;
  height: 250px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;

  /* Deep red border */
  /* border: 3px solid #ed1c24; */

  border-radius: 16px;

  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ed1c24, #ffffff) border-box;

  border: 3px solid transparent;

  /* Soft elevation */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.equipment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.6) 5%,
    rgba(255, 255, 255, 0) 49%
  );
  z-index: 1; /* 👈 important */
  pointer-events: none;
}

.equipment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2; /* 👈 higher than overlay */
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-align: center;
  max-width: 300px;
  font-family: Outfit;
  font-weight: 600;
  font-style: Medium;


  letter-spacing: 1%;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .equipment-section {
    padding: 30px 35px;
  }

  .equipment-card {
    min-width: 260px;
    height: 180px;
  }
  .section-title {
    font-size: 30px;
  }
}
