@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #4e73df;
  --secondary-color: #f8f9fa;
  --accent-color: #ff6b6b;
  --dark-color: #2c3e50;
  --light-color: #ffffff;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #224abe;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 115, 223, 0.4);
}

body {
  background-color: var(--secondary-color);
  font-family: 'Poppins', sans-serif;
}

/***** hero section start *****/
.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  height: 330px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
  max-height: 400px;
}

.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

.nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/***** hero section end *****/



/***** category section start *****/

.category-filter.active {
  background: none !important;
  color: white !important;
  font-weight: 500;
  border-radius: 8px;
  border: none;
}

.category-filter:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.category ul li {
  transition: all 0.5s ease-in;
}

.category-filter i {
  color: #ffdd59;
}

/***** category section starend *****/

/***** shop section start *****/

.shop-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--light-color);
  height: 100%;
  margin-bottom: 20px;
}

.shop-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.shop-card .card-img-top {
  height: 180px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.shop-card .card-body {
  padding: 1.5rem;
}

.shop-card .card-title {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.shop-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
}

.shop-card .location-icon {
  color: var(--accent-color);
  margin-right: 5px;
}

.no-shops {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rating {
  margin-bottom: 10px;
}

.rating i {
  color: #ffc107;
  transition: transform 0.3s ease;
  transform: scale(1.2);
}

/***** shop section end *****/


/* media query */
@media screen and (max-width: 576px) {
  .main-container{
    flex-direction: column !important;
  } 
}



.badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Animation classes */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.animate-in.show {
  opacity: 1;
  transform: translateY(0);
}