.button-sections {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #182535;
  width: fit-content;
  padding: 15px 20px;
  border-radius: 5px;
  bottom: 10px;
}

.callicon-banner {
  max-width: 50px;
  max-height: 50px;
}

.cont-main-text {
  font-weight: 600;
  font-size: 20px;
}

.cont-sub-text {
  font-weight: 400;
  font-size: 16px;
}

.or-sec {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
  font-weight: 600;
  font-size: 16px;
}

@media screen and (max-width: 1799px) and (min-width: 1600px) {
  .callicon-banner {
    max-width: 40px;
    max-height: 40px;
  }
}

@media screen and (max-width: 1599px) and (min-width: 1400px) {
  .callicon-banner {
    max-width: 35px;
    max-height: 35px;
  }

  .cont-main-text {
    font-size: 16px;
  }

  .cont-sub-text {
    font-size: 12px;
  }

  .or-sec {
    width: 30px;
    height: 30px;

    font-size: 14px;
  }
}

@media screen and (max-width: 1399px) and (min-width: 1300px) {
  .callicon-banner {
    max-width: 30px;
    max-height: 30px;
  }

  .cont-main-text {
    font-size: 14px;
  }

  .cont-sub-text {
    font-size: 11px;
  }

  .or-sec {
    width: 25px;
    height: 25px;

    font-size: 12px;
  }
}

@media screen and (max-width: 1299px) and (min-width: 1100px) {
  .button-sections {
    bottom: 5px;
  }

  .callicon-banner {
    max-width: 30px;
    max-height: 30px;
  }

  .cont-main-text {
    font-size: 12px;
  }

  .cont-sub-text {
    font-size: 11px;
  }

  .or-sec {
    width: 25px;
    height: 25px;

    font-size: 12px;
  }
}

@media screen and (max-width: 1099px) and (min-width: 993px) {
  .button-sections {
    bottom: 5px;
    padding: 10px 15px;
  }

  .callicon-banner {
    max-width: 30px;
    max-height: 30px;
  }

  .cont-main-text {
    font-size: 12px;
  }

  .cont-sub-text {
    font-size: 11px;
  }

  .or-sec {
    width: 25px;
    height: 25px;

    font-size: 12px;
  }
}

@media screen and (max-width: 992px) and (min-width: 768px) {
  .button-sections {
    bottom: 5px;
    padding: 5px 10px;
  }

  .callicon-banner {
    max-width: 20px;
    max-height: 20px;
  }

  .cont-main-text {
    font-size: 10px;
  }

  .cont-sub-text {
    font-size: 9px;
  }

  .or-sec {
    width: 15px;
    height: 15px;

    font-size: 8px !important;
  }
}

@media screen and (max-width: 767px) and (min-width: 500px) {
  .button-sections {
    bottom: 5px;
    padding: 15px 10px;
    gap: 10px !important;
  }

  .callicon-banner {
    max-width: 25px;
    max-height: 25px;
  }

  .cont-main-text {
    font-size: 12px;
  }

  .cont-sub-text {
    font-size: 10px;
  }

  .or-sec {
    width: 20px;
    height: 20px;

    font-size: 8px !important;
  }
}

@media screen and (max-width: 499px) and (min-width: 400px) {
  .button-sections {
    bottom: 5px;
    padding: 15px 5px;
    gap: 8px !important;
  }

  .callicon-banner {
    max-width: 20px;
    max-height: 20px;
  }

  .cont-main-text {
    font-size: 10px;
  }

  .cont-sub-text {
    font-size: 8px;
  }

  .or-sec {
    width: 15px;
    height: 15px;

    font-size: 6px !important;
  }
}

@media screen and (max-width: 399px) and (min-width: 300px) {
  .button-sections {
    bottom: 5px;
    padding: 5px 5px;
    gap: 8px !important;
  }

  .callicon-banner {
    max-width: 18px;
    max-height: 18px;
  }

  .cont-main-text {
    font-size: 10px;
  }

  .cont-sub-text {
    font-size: 8px;
  }

  .or-sec {
    width: 12px;
    height: 12px;

    font-size: 6px !important;
  }
}

.cards {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.card_new {
  flex: 0 0 4rem;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;

  transition: flex 0.5s ease-in-out;
  background-color: #eee;
}
.card__name {
  overflow-y: scroll !important;
}

.card__name img {
  max-width: 90%;
}

.card__name .conttext2 {
  font-size: 16px;
}
.card__name-1 {
  position: absolute;
  bottom: 30px;
  transform: rotate(-90deg);
  left: 0;
  right: 0;
  color: #fff;
}

.card__name1,
.card__name2,
.card__name3,
.card__name4,
.card__name5 {
  width: 700px;
  left: -320px;
  bottom: 350px;
  font-size: 20px;
}

.card__name .conttext1 {
  font-size: 30px;
  margin-top: 50px;
}

.card__name {
  display: none;
}

.card_new[active] {
  flex: 1;
  background: none !important;
  overflow-y: scroll !important;
}

.card__image {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  filter: brightness(0.675) saturate(75%);
  transition: filter 0.3s ease-in-out;
}

.card_new[active] .card__image {
  display: block;
}
.card_new[active] .card__name {
  display: block;
}

.card_new:not([active]) .card__image {
  display: none;
}

.card_new:hover .card__image {
  filter: brightness(0.875) saturate(100%);
}

.card__infos {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card__name {
  margin: 0;
  color: white;
  font-size: 1.5rem;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left bottom;
  transition: transform 0.5s ease-in-out;
}
.card_new[active] .card__name {
  transform: rotate(0deg) translateX(0);
  overflow-y: scroll !important;
}

.card__author {
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.3s ease,
    transform 0.5s ease-in-out;
}

.card_new[active] .card__author {
  opacity: 1;
  transform: translateY(0);
  overflow-y: scroll !important;
}

/* Different background colors for each card */
.card_new:nth-child(1) {
  background-color: #ff6b6b;
  border-radius: 0px !important;
  margin-right: 20px;
}

.card_new:nth-child(2) {
  background-color: #6bc5ff;
  border-radius: 0px !important;
  margin-right: 20px;
}

.card_new:nth-child(3) {
  background-color: #6bff95;
  border-radius: 0px !important;
  margin-right: 20px;
}

.card_new:nth-child(4) {
  background-color: #f3c623;
  border-radius: 0px !important;
  margin-right: 20px;
}
.card_new:nth-child(5) {
  background-color: #ccc;
  border-radius: 0px !important;
}

.conttext1_1 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swiper-notification {
  display: none !important;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
}
.swiper-button-prev,
.swiper-button-next {
  color: #333; /* button color */
}

/* Responsive */
@media screen and (max-width: 768px) {
  .cards {
    flex-direction: column;
  }

  .card_new {
    width: 100%;
    height: 4rem;
  }

  .card_new[active] {
    height: 100vh;
  }
}

.item {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
  }
}
.owl-nav {
  position: absolute;
  top: -100px;
  right: 0;

  button {
    background: #fff !important;
    width: 45px;
    height: 45px;
    font-size: 25px !important;
    box-shadow: 0px 0px 17px #00000005;
    border-radius: 50%;

    &:nth-of-type(1) {
      margin-right: 13px;
    }
  }
}

@media screen and (min-width: 993px) and (max-width: 1399.9px) {
  .cards {
    height: 690px;
  }

  .card__name1,
  .card__name2,
  .card__name3,
  .card__name4,
  .card__name5 {
    width: 690px;
    left: -315px;
    bottom: 350px;
    font-size: 20px;
  }
}

@media screen and (max-width: 1099.9px) and (min-width: 993px) {
  .conttext1 {
    font-size: 16px;
  }

  .conttext3 {
    font-size: 19px;
    font-weight: 600;
    width: 100%;
  }

  .conttext2 {
    font-size: 14px;
  }

  .conttext4 {
    font-size: 12px;
  }
}

@media screen and (max-width: 992.9px) and (min-width: 768px) {
  .cards {
    height: 70vh;
  }

  .card__name-1 {
    position: absolute;
    bottom: 30px;
    transform: rotate(0deg);
    left: 0;
    right: 0;
    color: #fff;
  }

  .card__name1,
  .card__name2,
  .card__name3,
  .card__name4,
  .card__name5 {
    width: 100%;
    left: 10px;
    bottom: 10px;
    font-size: 20px;
  }
  .conttext {
    margin-top: 20px;
    font-size: 21px;
  }

  .conttext1 {
    font-size: 16px;
  }

  .conttext3 {
    font-size: 19px;
    font-weight: 600;
    width: 100%;
  }

  .conttext2 {
    font-size: 14px;
  }

  .conttext4 {
    font-size: 12px;
  }
}

@media screen and (max-width: 767.9px) {
  .card__name-1 {
    position: absolute;
    bottom: 30px;
    transform: rotate(0deg);
    left: 0;
    right: 0;
    color: #fff;
  }

  .card__name1,
  .card__name2,
  .card__name3,
  .card__name4,
  .card__name5 {
    width: 100%;
    left: 10px;
    bottom: 10px;
    font-size: 18px;
  }
  #col {
    margin-bottom: 50px;
  }

  #tab,
  #tab1,
  #tab2,
  #tab3,
  #tab4 {
    display: none;
  }

  #mbl1,
  #mbl2,
  #mbl3,
  #mbl4 {
    display: block;
  }

  .conttext {
    font-size: 18px;
  }

  .conttext2,
  .conttext4 {
    font-size: 14px !important;
  }

  .conttext3 {
    font-size: 18px !important;
  }
}
