/* Services Section Styles */
.services-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

/* Category filter buttons */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.category-button {
  padding: 8px 16px;
  background-color: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #e0d7fd;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.category-button:hover {
  background-color: #ede9fe;
  transform: translateY(-2px);
}

.category-button.active {
  background-color: #7c3aed;
  color: white;
  border-color: #7c3aed;
}

@media (max-width: 576px) {
  .category-filter {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .category-filter::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .category-filter-wrapper {
    padding: 0 15px;
    position: relative;
  }

  .category-filter-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, transparent, white);
    pointer-events: none;
  }
}

.packages-container-wrapper {
  position: relative;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 1200px;
}

.packages-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  gap: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.packages-container::-webkit-scrollbar {
  display: none;
}

/* Package card styling */
.package-card {
  flex: 0 0 auto;
  width: 300px;
  max-width: 90vw;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #f5f3ff;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(109, 40, 217, 0.2);
}

.package-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
  transform: scale(1.05);
}

.package-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.package-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}

.package-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.package-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.package-features li i {
  color: #7c3aed;
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.package-button {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #7c3aed;
  color: white;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
}

.package-button:hover {
  background: #6d28d9;
  transform: translateY(-2px);
}

/* Navigation arrows */
.packages-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 5;
}

.package-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  transition: all 0.3s ease;
  color: #7c3aed;
}

.package-nav-arrow:hover {
  background: #f5f3ff;
  transform: scale(1.1);
}

/* Dot navigation */
.package-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.package-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e0d7fd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.package-dot.active {
  background-color: #7c3aed;
  width: 24px;
  border-radius: 10px;
}

.package-dot:hover {
  background-color: #c8b7fb;
}

@media (max-width: 768px) {
  .packages-nav {
    padding: 0 10px;
  }

  .package-nav-arrow {
    width: 36px;
    height: 36px;
  }
}
