/* Cards con carrousel mobile component */


.cards-con-carrousel-mobile {
  text-align: left;
  background: #0078AE;
}

.cards-con-carrousel-mobile--bg-white {
  background: #F9FAFB;
}

.cards-con-carrousel-mobile--bg-light_gray {
  background: #f5f5f5;
}

.cards-con-carrousel-mobile--bg-dark_gray {
  background: #333333;
}

.cards-con-carrousel-mobile .block-title, .cards-con-carrousel-mobile .block-title div {
  font-size: 20px !important;
  font-weight: normal;
  font-style: normal;
  line-height: 40px;
  color: #fff;
  text-align: left;
  margin-top: 0;
  margin-bottom: 32px;
  padding: 40px 0 0 0;

    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.45px;
}

.cards-con-carrousel-mobile--bg-white .block-title {
  color: #3C3C3B;
}

.cards-con-carrousel-mobile--bg-light_gray .block-title {
  color: #3C3C3B;
}

.cards-con-carrousel-mobile--bg-dark_gray .block-title {
  color: #fff;
}

.cards-con-carrousel-mobile .cards-con-carrousel-mobile__item {
  margin-bottom: 32px;
  flex: 0 0 auto !important;
  padding: 0;
  flex : 1 !important;
  height: 254px;
  background: #fff;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
}

.cards-con-carrousel-mobile .card-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0px 1px 2px 0px #0000004D,
              0px 2px 6px 2px #00000026;
  padding: 24px 16px;
  align-items: center;
}

/* Card icon area */
.cards-con-carrousel-mobile .card-icon {
  position: relative;
  height: 100px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
      width: 88px;
    height: 88px;
    background-color: #E5F1F7;
    border-radius: 8px;
}

.cards-con-carrousel-mobile .card-icon-image {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Card title */
.cards-con-carrousel-mobile .card-title {
  color: #0078AE;
  margin: 0 0 10px 0;
font-weight: 700;
font-style: Bold;
font-size: 16px;
leading-trim: NONE;
line-height: 24px;
letter-spacing: 0px;
text-align: center;

}

/* Card description */
.cards-con-carrousel-mobile .card-description {
  flex: 1;
  margin: 0;
  font-family: Inter;
font-weight: 400;
font-style: Regular;
font-size: 16px;
leading-trim: NONE;
line-height: 22px;
letter-spacing: 0px;
text-align: center;
color: #3C3C3B;

}

/* Carousel styles */
.cards-con-carrousel-mobile-carousel {
  position: relative;
}

.cards-con-carrousel-mobile-carousel .carousel-inner {
  padding: 0;
  height: auto;
}

.cards-con-carrousel-mobile-carousel .carousel-item {
padding: 0 20px;
transition: transform 0.3s ease-in-out !important;
}

.cards-con-carrousel-mobile-carousel .carousel-item.active {
  display: block;
}

.cards-con-carrousel-mobile-indicators {
  position: static;
  margin-top: 24px;
  padding: 0;
  background: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 20px;
}

.cards-con-carrousel-mobile-indicators button {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: #ccc !important;
  cursor: pointer;
  display: inline-block !important;
}

.cards-con-carrousel-mobile-indicators button:focus{
  outline: unset !important;
}

.cards-con-carrousel-mobile--bg-white .cards-con-carrousel-mobile-indicators button,
.cards-con-carrousel-mobile--bg-light_gray .cards-con-carrousel-mobile-indicators button {
  background-color: #ccc !important;
}

.cards-con-carrousel-mobile--bg-blue .cards-con-carrousel-mobile-indicators button,
.cards-con-carrousel-mobile--bg-dark_gray .cards-con-carrousel-mobile-indicators button {
      background-color: #0078AE !important;
    border: 2px solid #F9FAFB;
}

.cards-con-carrousel-mobile-indicators button.active {
  background-color: #F9FAFB !important;
}

.cards-con-carrousel-mobile--bg-white .cards-con-carrousel-mobile-indicators button.active,
.cards-con-carrousel-mobile--bg-light_gray .cards-con-carrousel-mobile-indicators button.active {
  background-color: #0078AE !important;
}

.cards-con-carrousel-mobile--bg-dark_gray .cards-con-carrousel-mobile-indicators button.active {
  background-color: #fff !important;
}

/* Grid for col-lg-2-4 (5 columns) */
@media (min-width: 1200px) {
  .col-lg-2-4 {
    flex: 0 0 calc(20% - 0.6rem);
    max-width: calc(20% - 0.6rem);
  }

  .col-lg-2-4:not(:last-child) {
    margin-right: 39px;
  }

  .cards-con-carrousel-mobile .cards-con-carrousel-mobile__item {
    margin-bottom: 64px;
  }
}

/* Desktop adjustments */
@media only screen and (min-width: 768px) {
  .cards-con-carrousel-mobile .cards-con-carrousel-mobile__item {
    margin-bottom: 64px;
  }
}


@media (max-width: 1200px) {


.carousel-inner .row {
    gap: 20px;
    justify-content: center !important;
}

.cards-con-carrousel-mobile__items--desktop .row {
    gap: 20px;
}

  

}




/* Mobile adjustments */
@media (max-width: 767px) {
  .cards-con-carrousel-mobile .card-container {

  }

  .cards-con-carrousel-mobile .card-icon {

  }

  .cards-con-carrousel-mobile .card-icon-image {

  }

  .cards-con-carrousel-mobile .card-title {

  }

  .cards-con-carrousel-mobile .card-description {

  }

  .cards-con-carrousel-mobile .cards-con-carrousel-mobile__item {

    max-width: 100%;
            margin-left: auto;
        margin-right: auto;
  }

  .cards-con-carrousel-mobile .block-title {

  }

  .cards-con-carrousel-mobile-indicators {
    margin-top: 16px;
    gap: 6px;
  }
}
