/* Steps section 1 */

/* decoration */

.step_section-section_1 .deco_container-logia .deco_element-logia {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
}
.step_section-section_1 .deco_container-logia .deco_element-logia::before,
.step_section-section_1 .deco_container-logia .deco_element-logia::after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 2px;
  background-color: var(--e-global-color-secondary);
}

/* custom carousel */

.step_section-section_1 .carousel-logia h3 {
  margin-bottom: 10px;
}
.step_section-section_1 .carousel-logia .owl-stage-outer {
  overflow: visible;
  counter-reset: step;
}
.step_section-section_1 .carousel-logia .owl-item {
  position: relative;
  counter-increment: step;
}
.step_section-section_1 .carousel-logia .owl-item::before {
  content: counter(step);
  margin: auto;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;

  margin-bottom: -24px;
  border: solid 3px white;
  border-radius: 60px;
  background: var(--e-global-color-secondary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  z-index: 1;
}
.step_section-section_1 .carousel-logia .ue-item {
  z-index: -1;
}

/* line */

.step_section-section_1 .carousel-logia .owl-stage::before {
  content: '';
  position: absolute;
  top: calc(50% + 11px);
  width: calc(100% - 20px);
  height: 2px;
  background-color: var(--e-global-color-secondary);
  z-index: -1;
}

/* Steps section 2 */

/* carousel */
.step_section-section_2 .carousel-logia .owl-stage-outer {
  overflow: visible;
  counter-reset: step;
}
.step_section-section_2 .carousel-logia .owl-item {
  position: relative;
  counter-increment: step;
}
.step_section-section_2 .carousel-logia .owl-item::before {
  content: '0' counter(step);

  position: absolute;
  transform: translate(-5px, -5px);

  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;

  border-bottom-right-radius: 10px;
  background: var(--e-global-color-button);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  z-index: 1;
}

/* Step section 3 */

.step_section-section_3 .content_grid-logia h3 {
  margin-bottom: 10px;
}
.step_section-section_3 .content_grid-logia p {
  margin-bottom: 0px;
}
.step_section-section_3 .content_grid-logia .uc-items-wrapper {
  overflow: visible;
  counter-reset: step;
}
.step_section-section_3 .content_grid-logia .ue-item {
  position: relative;
  counter-increment: step;
  overflow: visible !important;
}
.step_section-section_3 .uc_content {
  border-radius: 10px;
  border: solid 2px var(--e-global-color-border);
}
.step_section-section_3 .content_grid-logia .ue-item::before {
  content: counter(step);

  position: absolute;
  transform: translate(-50%, -50%);

  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;

  border-radius: 10px;
  background: var(--e-global-color-button);
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  z-index: 1;
}

/* Step section 4 */

.step_section-section_4 .deco_img-logia img {
  aspect-ratio: 1 / 1;
  --customSize: calc(100% - 100px);
  clip-path: polygon(0 0, 100% 0, 100% var(--customSize), var(--customSize) 100%, 0 100%);
}

.step_section-section_4 .timeline-logia p {
  margin-bottom: 0;
}

/* Step section 5 */

/* image */

.step_section-section_5 .deco_img-logia img {
  aspect-ratio: 1 / 1;
}
.step_section-section_5 .deco_img-logia {
  z-index: 1;
}
.step_section-section_5 .deco_img-logia::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 30px;
  z-index: -1;
  background-color: var(--e-global-color-text);
  transform: translate(-15px, 15px);
}
@media all and (max-width: 768px) {
  .step_section-section_5 .deco_img-logia::before {
    border-radius: 15px;
    transform: translate(-10px, 10px);
  }
}

/* content grid */

.step_section-section_5 .content_grid-logia h3 {
  margin-bottom: 5px;
}
.step_section-section_5 .content_grid-logia p {
  margin-bottom: 0px;
}
.step_section-section_5 .content_grid-logia .uc-items-wrapper {
  counter-reset: step;
}
.step_section-section_5 .content_grid-logia .ue-item {
  position: relative;
  counter-increment: step;
  overflow: visible !important;
}
.step_section-section_5 .uc_content {
  border-radius: 20px;
}
.step_section-section_5 .content_grid-logia .ue-item::before {
  content: counter(step);

  position: absolute;
  transform: translate(50%, -50%);
  right: 0;
  top: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;

  border-radius: 50px;
  background: var(--e-global-color-button);
  color: #ffffff;
  font-weight: 500;
  font-size: 1.3rem;
  z-index: 1;
}
@media all and (max-width: 1024px) {
  .step_section-section_5 .content_grid-logia .ue-item::before {
    inset: all;
    width: 36px;
    height: 36px;
    top: 25px;
    right: 25px;
    font-size: 1.1rem;
  }
}

/* Primary btn  | custom style */

.step_section-section_5 .btn-logia span.elementor-button-icon {
  background-color: white;
  aspect-ratio: 1 / 1 !important;
  width: 40px;
  border-radius: 50px;
  justify-content: center;
  align-items: center;
}
.step_section-section_5 .btn-logia i::before {
  font-size: 16px;
}
.step_section-section_5 .btn-logia .elementor-button-content-wrapper {
  align-items: center;
  gap: 0 !important;
  transition: gap 200ms ease;
}

/* Primary btn | hover style + animations*/

.step_section-section_5 .btn-logia .elementor-button-icon {
  transform: translateX(20px);
  transition: transform 200ms ease;
  margin-left: 5px;
}

.step_section-section_5 .btn-logia a:hover .elementor-button-icon {
  transform: translateX(0px);
}
.step_section-section_5 .btn-logia a:hover .elementor-button-content-wrapper {
  gap: 10px !important;
}

/* Step section 6 */

.step_section-section_6 .ue_timeline_item_content_main {
  overflow: visible !important;
}

.step_section-section_6 .ue_timeline_item_subtitle {
  width: fit-content;
  padding: 0.6rem 1rem;
  margin: auto;
  margin-top: -2.5rem !important;
  margin-bottom: 1.4rem;
  background-color: var(--e-global-color-button);
  border-radius: 10px;
}
@media all and (max-width: 767px) {
  .step_section-section_6 .ue_timeline_item_subtitle {
    margin: 0 !important;
    margin-bottom: 15px !important;
  }
}
