@import "../../../styles/varibale.scss";

@media (max-width: 1199.98px) {}

.sectionSubTitle {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4;
  color: $primaryColor;
  text-align: center;
  padding: 0 0 2rem 0;
  position: relative;
}

.subtitleSpan {
  position: relative;
  left: auto;
  display: inline-block;
}

.sliderContainer {
  position: relative;
  padding: 0 2rem;
  
  :global(.slick-list) {
    margin: 0 -0.5rem;
  }
}

.slideItem {
  padding: 0 0.5rem;
  height: 100%;
}

.industryCard {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
  
  &:hover {
    transform: scale(1.05);
  }
}

.imageWrapper {
  position: relative;
  width: 100%;
  height: 100%;
  
  :global(img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.titleContainer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.titleText {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brandDiv {
  background-color: transparent;
  margin-top: 2.5em;
  padding-bottom: 2rem;
}

.iconRightDisplay {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 0.5em;
  transition: 0.3s;
  color: $primaryColor;
  background: whitesmoke;
  width: 3.5em;
  height: 3.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -1em;
  top: calc(50% - 1.5em);
  opacity: 0.5;
}

.iconRightDisplay:hover {
  opacity: 1;
}

.iconLeftDisplay {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 0.5em;
  transition: 0.3s;
  color: $primaryColor;
  background: whitesmoke;
  width: 3.5em;
  height: 3.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -1em;
  top: calc(50% - 1.5em);
  z-index: 9;
  opacity: 0.5;
}

.iconLeftDisplay:hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .sliderContainer {
    padding: 0 1rem;
  }
  
  .brandDiv {
    margin-top: 1.5em;
  }

  .subtitleSpan {
    left: auto;
  }
  
  .sectionSubTitle {
    font-size: 1.5rem;
    text-align: center;
    padding: 0 0 1.5rem 0;
  }

  .titleText {
    font-size: 1rem;
  }
  
  .industryCard {
    aspect-ratio: 3/4;
  }
}