
.other-sectors-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

/* Section title */
.other-sectors-wrapper .section-main-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 80px;
  text-align: left;
}

.other-sectors-wrapper .section-title-link {
  text-decoration: none;
  color: inherit;
}

.other-sectors-wrapper .section-title-link:hover .section-main-title {
  color: #007cba;
  transition: color 0.3s ease;
}

/* Slide content */
.other-sectors-wrapper .sector-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.other-sectors-wrapper .sector-item:hover {
  transform: translateY(-2px);
}

.other-sectors-wrapper .sector-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.other-sectors-wrapper .sector-image-container {
  position: relative;
  overflow: hidden;
}

.other-sectors-wrapper .sector-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.other-sectors-wrapper .sector-item:hover .sector-image {
  transform: scale(1.02);
}

/* Content below image */
.other-sectors-wrapper .sector-content {
  padding: 20px 20px 20px 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.other-sectors-wrapper .sector-title {
  color: #333 !important;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.other-sectors-wrapper .sector-arrow {
  color: #e93735;
  display: flex;
  align-items: center;
  padding: 5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.other-sectors-wrapper .sector-item:hover .sector-arrow {
  transform: translateX(5px);
  color: #c0392b;
}

.other-sectors-wrapper .sector-arrow svg {
  width: 24px;
  height: 24px;
}

/* Fallback grid layout */
.other-sectors-wrapper .sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.other-sectors-wrapper .slide-selector {
  padding-top: 60px;
  padding-bottom: 50px;
  text-align: center;
}

.other-sectors-wrapper .slide-selector .nav-wrapper {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 32px;
}

/* Arrows */
.other-sectors-wrapper .slide-selector .prev,
.other-sectors-wrapper .slide-selector .next {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Fix: Prevent left arrow from rotating on hover */
.other-sectors-wrapper .slide-selector .prev {
  transform: rotate(180deg);
}

.other-sectors-wrapper .slide-selector .prev:hover {
  transform: rotate(180deg) scale(1.1); 
}

/* Keep the right arrow normal */
.other-sectors-wrapper .slide-selector .next:hover {
  transform: scale(1.1); 
}

/* Custom Dots */
.other-sectors-wrapper .custom-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}

.other-sectors-wrapper .custom-dot {
  width: 10px;
  height: 4px;
  background-color: #d3cfcf;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.other-sectors-wrapper .custom-dot.is-active {
  background-color: #e93735;
  width: 30px;
}


@media (max-width: 1280px) and (min-width: 769px) {
  .other-sectors-wrapper .sector-content {
    padding: 15px;
    min-height: 55px;
  }

  .other-sectors-wrapper .sector-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .other-sectors-wrapper .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .other-sectors-wrapper .sector-content {
    padding: 12px;
    min-height: 50px;
  }

  .other-sectors-wrapper .sector-title {
    font-size: 15px;
  }

  .other-sectors-wrapper .sector-arrow svg {
    width: 20px;
    height: 20px;
  }

  .other-sectors-wrapper .section-main-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .other-sectors-wrapper .sectors-grid {
    grid-template-columns: 1fr;
  }

  .other-sectors-wrapper .sector-content {
    padding: 10px;
    min-height: 45px;
  }

  .other-sectors-wrapper .sector-title {
    font-size: 14px;
  }

  .other-sectors-wrapper .sector-arrow svg {
    width: 18px;
    height: 18px;
  }

  .other-sectors-wrapper .section-main-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
