
.equipment-section {
  padding: 50px;
  background: #fff;
  font-family: sans-serif;
}

.equipment-header h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.equipment-header h2 span {
  color: orange;
}

.equipment-tabs {
  text-align: center;
  margin-bottom: 30px;
}

.equipment-tabs .tab {
  display: inline-block;
  margin: 0 10px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

.equipment-tabs .tab:hover,
.equipment-tabs .tab.active {
  color: orange;
  background-color: #ffe5c1;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(223px, 1fr));
  gap: 25px;
}

.equipment-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  color: black;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.equipment-card:hover {
  transform: scale(1.07);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.equipment-card img {
  width: 100%;
  height: 191px;
  object-fit: contain;
  max-height: 205px;
  transition: transform 0.4s ease;
}

.equipment-card:hover img {
  transform: scale(1.1);
}

.equipment-card p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  margin-top: 43px;
  display: block;
  max-width: 34%;
  max-height: 81%;
}

.modal-close {
  position: absolute;
  margin-top: 92px;
  top: 40px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover{
  color: #ffac1f;
}
