/* Your existing sec-2 styles */
.sec-2 {
  display: flex;
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 6;
  margin-top: -40px;
  border-radius: 40px 40px 0px 0px;
}

.sec-2-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.125rem 0.5rem;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #d7d7d7;
}

.sec-2-container .title {
  font-size: 2rem;
  text-align: center;
  color: #000000;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sec-2-container .sub-title {
  font-size: 1rem;
  text-align: center;
  margin: 0rem auto 2rem auto;
  font-weight: 300;
  max-width: 350px;
}

.sec-2-container .card-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0.5rem;
}

.sec-2-container .card-container::-webkit-scrollbar {
  display: none;
}

.sec-2-container .card-item {
  box-shadow: 0px 1px 9px -2px #ddd;
  border-radius: 12px;
  min-width: 180px;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.sec-2-container .card-item img {
  width: auto;
  height: 8rem;
  margin: auto;
  padding: 0 1rem;
}

.sec-2-container .card-item p {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
}

/* Horizontal scroll carousel wrapper and navigation styles */
.horizontal-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.horizontal-scroll-container {
  flex: 1;
}

.scroll-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
}

.scroll-nav-btn:hover:not(.scroll-nav-btn-disabled) {
  background-color: #000;
  color: #fff;
  border-color: #000;
  transform: scale(1.05);
}

.scroll-nav-btn-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.scroll-nav-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .horizontal-scroll-wrapper {
    gap: 0.5rem;
  }

  .scroll-nav-btn {
    width: 2rem;
    height: 2rem;
  }

  .scroll-nav-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .sec-2-container .card-container {
    padding: 0;
  }
}
