.icons-carousel {
  padding: 60px 0;
  /* Removed background-color: #f8f9fa; */
}

.icons-carousel .glide {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.icons-carousel .glide__track {
  overflow: hidden;
  padding: 20px 0;
}

.icons-carousel .glide__slides {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.icons-carousel .icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  height: 100%;
  transition: transform 0.3s ease;
}

.icons-carousel .icon-card:hover {
  transform: translateY(-5px);
}

.icons-carousel .icon-card:hover .icon-wrapper {
  border-color: #16a08b;
}

.icons-carousel .icon-wrapper {
  /* width: 80px;
  height: 120px; */
  margin-bottom: 15px;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center;
  justify-content: flex-start; /* Align items from the top */
  border: 1px solid #ddd;
  transition: border-color 0.3s ease, transform 0.3s ease;
  padding: 10px 5px; /* Add padding for spacing */
}

.icons-carousel .icon-title {
  font-size: 14px; /* Smaller font size to fit in the wrapper */
  font-weight: 600;
  margin: 30px 0 0 0; /* Add bottom margin for spacing between title and image */
  color: #58595b;
  order: -1; /* Move to the top of the flex container */
  text-align: center;
}

.icons-carousel .icon-image {
  width: 100%;
  /* height: 60px; */
  object-fit: contain;
}

/* Responsive adjustments */
/* @media (max-width: 768px) {
  .icons-carousel .icon-wrapper {
    width: 70px;
    height: 100px; 
  }

  .icons-carousel .icon-title {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .icons-carousel .icon-image {
    height: 50px;
  }
} */
.icons-carousel .icon-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e9ecef;
  border-radius: 50%;
}

.icons-carousel .icon-title {
  font-size: 14px;
  font-weight: 800;
  /* margin: 0; */
  color: #58595b;
}

/* Navigation arrows */
.icons-carousel .glide__arrows {
  position: absolute;
  top: -50px;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  z-index: 1;
}

.icons-carousel .glide__arrow {
  background-color: rgba(0, 174, 239, 0.8);
  color: white;
  border: none;
  border-radius: 0; /* Square shape */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.icons-carousel .glide__arrow:hover {
  background-color: rgba(0, 174, 239, 1);
}

/* Remove individual positioning since they're now together */
.icons-carousel .glide__arrow--left {
  position: static;
}

.icons-carousel .glide__arrow--right {
  position: static;
}

/* Bullets */
.icons-carousel .glide__bullets {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 1;
}

.icons-carousel .glide__bullet {
  background-color: #d9d9d9;
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.icons-carousel .glide__bullet--active {
  background-color: #00aeef;
}

/* Placeholder */
.icons-carousel-placeholder {
  padding: 40px;
  text-align: center;
  background-color: #f8f9fa;
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
}
