.skill-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: red !important;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 5%;
}

.col-6-custom {
  width: 48%;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .col-6-custom {
    width: 100%;
    margin-bottom: 30px;
  }
}
/* Modern Products Grid Styling */
.products-list.gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  padding: 0 !important;
  margin: 40px 0 !important;
  justify-content: center !important;
}

.item.product {
  width: calc(33.333% - 20px) !important;
  flex: 0 0 calc(33.333% - 20px) !important;
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}

.item.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.item.product a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Consistent Image Sizing */
.item.product img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px 8px 0 0;
}

.item.product:hover img {
  transform: scale(1.08);
}

.item-border {
  display: none;
}

.item-info {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  border-radius: 0 0 8px 8px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.item-info .cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.item-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.item-info .price {
  font-weight: 700;
  color: #fff;
  font-size: 22px;
  margin: 15px 0 0 0;
  font-family: 'Inter', sans-serif;
}

.item-info span {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.2px;
  transition: all 0.3s ease;
  font-weight: 600;
  margin-top: 15px;
  border-radius: 6px;
  width: 100%;
  text-align: center;
}

.item.product:hover .item-info span {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* Modern Pagination Styling */
.pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 60px 0 40px 0 !important;
  flex-wrap: wrap;
  text-align: center !important;
}

.pagination a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px !important;
  text-decoration: none !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 !important;
  backdrop-filter: blur(10px);
}

.pagination a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px);
}

/* Active page style */
.pagination a[style*="background: #000"],
.pagination a[style*="background:#000"] {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

/* Previous/Next buttons */
.pagination a:first-child,
.pagination a:last-child {
  font-weight: 600;
  padding: 0 20px !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Loading state for images */
.item.product img {
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .item.product {
    width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px) !important;
  }
  
  .item.product img {
    height: 250px !important;
  }

  .products-list.gallery {
    gap: 25px !important;
  }

  .item-info {
    padding: 18px;
  }

  .item-info h4 {
    font-size: 17px;
  }

  .item-info .price {
    font-size: 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .products-list.gallery {
    gap: 20px !important;
    margin: 30px 0 !important;
  }
  
  .item.product {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 auto !important;
    margin-bottom:20px;
  }

  .item.product img {
    height: 280px !important;
  }

  .item-info {
    padding: 20px;
  }

  .item-info h4 {
    font-size: 18px;
  }

  .item-info .price {
    font-size: 22px;
    margin: 15px 0 0 0;
  }

  .item-info span {
    padding: 14px 24px;
    font-size: 13px;
    margin-top: 15px;
  }

  .pagination {
    margin: 50px 0 30px 0 !important;
    gap: 6px;
  }

  .pagination a {
    min-width: 42px;
    height: 42px;
    padding: 0 14px !important;
    font-size: 14px;
  }

  .pagination a:first-child,
  .pagination a:last-child {
    padding: 0 18px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .item.product {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  .item.product img {
    height: 240px !important;
  }

  .item-info {
    padding: 18px;
  }

  .pagination {
    gap: 4px;
  }

  .pagination a {
    min-width: 38px;
    height: 38px;
    padding: 0 12px !important;
    font-size: 13px;
  }

  .pagination a:first-child,
  .pagination a:last-child {
    padding: 0 14px !important;
    font-size: 12px;
  }
}

/* Empty State Styling */
.card-body p {
  text-align: center !important;
  padding: 80px 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Focus states for accessibility */
.item.product a:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 8px;
}

.pagination a:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}