/* Merchandise Section */
.merchandise-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.merchandise-section  a{
  text-decoration: none;
}

.merchandise-section .product {
  background: #fff;
  width: 100%;
  max-width: 250px; /* Smaller product card */
  position: relative;
  z-index: 15;
  margin: 10px auto;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
  padding: 8px;
  text-align: center;
}

/* Product Image */
.merchandise-section img {
  max-width: 90%;
  height: auto;
  border-radius: 5px;
}

/* Product Description */
.merchandise-section .product .product-description {
  position: relative;
  z-index: 15;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.merchandise-section .product .product-description .info {
  padding: 5px;
  color: #444;
  font-size: 0.85em; /* Smaller text */
  display: flex;
  flex-direction: column;
  width: 100%;
}

.merchandise-section .product .product-description .info h1 {
  font-size: 16px; /* Reduced size */
  margin-bottom: 3px;
  font-weight: bold;
}

/* Price */
.merchandise-section .product .product-description .price {
  width: 100%;
  color: #28a745;  /* Green */
  font-size: 1.3em; /* Smaller font */
  font-weight: bold;
  text-align: center;
  margin-top: 3px;
}

/* Star Rating */
.star-rating {
  color: #f8c71e;  /* Gold */
  font-size: 12px; /* Smaller size */
  margin: 3px 0;
}

/* Buy Button */
.buy {
  background-color: #28a745;
  color: white;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  width: 100%;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.buy:hover {
  background-color: #218838;
}

.buy i {
  font-size: 12px;
}

/* RESPONSIVENESS */
@media screen and (max-width: 1024px) {
  .merchandise-section .product {
      max-width: 220px; /* Even smaller on medium screens */
  }
  .merchandise-section .product .product-description .price {
      font-size: 1.1em; /* Reduce further */
  }
}

@media screen and (max-width: 768px) {
  .merchandise-section .product {
      max-width: 180px; /* Smallest on tablets */
  }
  .merchandise-section .product .product-description .price {
      font-size: 1em;
  }
  .buy {
      font-size: 10px;
  }
}

@media screen and (max-width: 480px) {
  .merchandise-section .product {
      max-width: 100%; /* Full width for mobile */
  }
}







    .pioneer-img {
        height: 250px; 
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
    }
    .pioneer-img:hover {
        transform: scale(1.05);
    }
    .card {
        overflow: hidden;
        transition: box-shadow 0.3s ease-in-out;
    }
    .card:hover {
        box-shadow: 0px 4px 15px rgba(0, 123, 94, 0.2);
    }





     
  

/* Competition Card Styling */
.competition-card {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  max-width: 1000px;
  height: 500px; /* Ensures fixed height */
  display: flex;
}

/* Restore Hover Animation */
.competition-card:hover {
  transform: scale(1.02);
  box-shadow: 0px 8px 20px rgba(0, 123, 94, 0.3);
}

/* Ensure full height for row and equal width */
.row.g-0 {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
}

/* Ensure image and column take full height */
.col-md-6 {
  display: flex;
  align-items: stretch;
}

/* Adjust image width and height */
.competition-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reduce gap between image and text */
.card-body {
  padding: 1.5rem; /* Adjusted for better spacing */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .competition-img {
      border-radius: 15px 15px 0 0;
      height: 250px;
  }

  .competition-card {
      height: auto;
      flex-direction: column;
  }

  .row.g-0 {
      flex-direction: column;
  }

  .col-md-6 {
      width: 100%;
  }

  .card-body {
      padding: 1rem;
  }
}
