.category-event-section {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
  width: 100%;
  background: #ffffff;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.category-tab {
  padding: 12px 24px;
  background: #f5f5f5;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.category-tab:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.category-tab.active {
  background: #ad2324;
  color: #ffffff;
}

.category-slider-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  position: relative;
  background-color: #ffffff;
}

/* Left content side */
.category-slider-content {
  width: 50%;
  height: 487px;
  position: relative;
  z-index: 1;
}

.category-slider-content-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #ffffff;
}

.category-slider-content-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 60px;
  gap: 32px;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.category-slider-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 16px;
  width: 100%;
}

.category-slider-title {
  width: 100%;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 56px;
  line-height: 120%;
  color: #ad2324;
  margin: 0;
}

.category-slider-description {
  width: 100%;
  max-width: 493px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #000000;
  margin: 0;
}

.category-slider-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 26px;
  gap: 10px;
  background: #ad2324;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  transition: all 0.3s ease;
}

.category-slider-button:hover {
  background: #870708;
  color: #ffffff;
}

.category-slider-button-text {
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  color: #ffffff;
}

.category-slider-button-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.category-slider-button-icon::after {
  content: "";
  position: absolute;
  left: 16.67%;
  right: 16.66%;
  top: 29.17%;
  bottom: 29.17%;
  border: 1.5px solid #ffffff;
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}

/* Right image side */
.category-slider-image-container {
  width: 50%;
  height: 487px;
  position: relative;
  overflow: hidden;
}

.category-slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.category-slider-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.category-slider-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.category-slider-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  transition: transform 0.5s ease;
}

/* Navigation controls */
.category-slider-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.category-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  gap: 20px;
}

.category-slider-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid #c3c3c5;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.category-slider-arrow:hover {
  border-color: #ad2324;
}

.category-slider-arrow.next {
  border-color: #ad2324;
}

.category-slider-arrow-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.category-slider-arrow-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  border-left: 2px solid #c3c3c5;
  border-bottom: 2px solid #c3c3c5;
  transform: translate(-25%, -50%) rotate(45deg);
}

.category-slider-arrow.next .category-slider-arrow-icon::after {
  border-color: #ad2324;
  transform: translate(-75%, -50%) rotate(-135deg);
}

/* Progress bar between arrows */
.category-slide-progress-container {
  flex: 1;
  height: 3px;
  background: #bdc2d4;
  position: relative;
  margin: 0 10px;
}

.category-slide-progress-active {
  position: absolute;
  height: 100%;
  background: #ad2324;
  left: 0;
  top: 0;
  width: 0%;
  transition: width 0.3s ease;
}

/* Remove the old slide indicators styles */
.category-slide-indicators {
  display: none;
}

/* Responsive styles */
@media (max-width: 1400px) {
  .category-slider-title {
    font-size: 48px;
  }
}

@media (max-width: 1200px) {
  .category-slider-container {
    flex-direction: column;
  }

  .category-slider-content,
  .category-slider-image-container {
    width: 100%;
  }

  .category-slider-content {
    height: auto;
    padding: 40px 0;
  }

  .category-slider-content-inner {
    position: relative;
    top: 0;
    transform: none;
    padding: 40px;
  }

  .category-slider-content-bg {
    position: relative;
  }

  .category-slider-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .category-event-section {
    padding: 40px 0;
  }

  .category-tabs {
    gap: 10px;
  }

  .category-tab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .category-slider-content-inner {
    padding: 30px;
  }

  .category-slider-title {
    font-size: 36px;
  }

  .category-slider-description {
    font-size: 14px;
  }

  .category-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .category-slider-controls {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .category-event-section {
    padding: 30px 0;
  }

  .category-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: flex-start;
  }

  .category-tab {
    white-space: nowrap;
  }

  .category-slider-content-inner {
    padding: 20px;
  }

  .category-slider-title {
    font-size: 28px;
  }

  .category-slider-button {
    width: 100%;
  }

  .category-slider-image {
    height: 250px;
  }

  .category-slider-navigation {
    flex-wrap: wrap;
    justify-content: center;
  }

  .category-slider-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .category-slider-title {
    font-size: 24px;
  }

  .category-slider-description {
    font-size: 14px;
    line-height: 1.4;
  }

  .category-slider-controls {
    max-width: 300px;
  }
}
