.dnd-section:has(.roadmap) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: transparent !important;
}

.dnd-section:has(.roadmap) > .row-fluid {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: transparent !important;
}

.dnd-section:has(.roadmap) .dnd-column {
  max-width: 100% !important;
  width: 100% !important;
}

.dnd-section:has(.roadmap) .dnd-row {
  max-width: 100% !important;
  width: 100% !important;
}

.roadmap {
  background-color: var(--background-color, #3B5998);
  width: 100%;
  margin: 0 auto;
}

.roadmap__container {
  max-width: 120rem;
  margin: 0 auto;
}

.roadmap__heading {
  color: var(--White, #FFF);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Montserrat;
  font-size: 39px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  margin: 0 auto 6.25rem; 
}

.roadmap__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.roadmap__step {
  flex: 0 0 auto;
  text-align: center;
  max-width: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.roadmap__step-icon {
  width: 6.25rem; 
  height: 6.25rem; 
  border-radius: 50%;
  background-color: var(--icon-background-color, #D22630);
  border: 0.375rem solid var(--icon_border_color, #FFFFFF);
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.roadmap__step-icon img {
  width: 3rem; 
  height: 3rem;
  object-fit: contain;
  display: block;
}

.roadmap__step-icon > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.roadmap__step-icon svg {
  width: 3rem;
  height: 3rem;
  fill: currentColor;
}

.roadmap__step-icon svg path {
  fill: currentColor;
}

.roadmap__step-number {
  color: var(--White, #FFF);
  text-align: center;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 0.5rem;
}

.roadmap__step-title {
  color: var(--White, #FFF);
  text-align: center;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  min-width: 220px;
  font-weight: 700;
  line-height: 30px;
  margin-top: 20px;
}

.roadmap__connector {
  flex: 0 0 auto;
  width: 7.5rem;
  height: 0.375rem;
  align-self: flex-start;
  background: transparent;
  position: relative;
  overflow: visible;
  margin-top: 3.5rem;
  margin-bottom: auto;
}

.roadmap__connector::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: 0.375rem; 
  background-image: 
    radial-gradient(circle, var(--connector-color, #FFFFFF) 0.1875rem, transparent 0.1875rem);
  background-size: 1.25rem 0.375rem; 
  background-position: 0 center; 
  background-repeat: repeat-x;
}

.roadmap__cta {
  text-align: center;
  margin-top: 28px;
}

.roadmap__cta-btn {
  display: inline-flex;
  padding: 1.375rem 1.625rem;
  justify-content: flex-end;
  align-items: center;
  align-content: center;
  gap: 0.5rem; 
  flex-wrap: wrap;
  border-radius: 5.6875rem; 
  background: var(--cta_button_background, #D22630);
  color: var(--cta_button, #FFFFFF);
  text-decoration: none;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Montserrat, sans-serif;
  font-size: 1.4375rem; 
  font-style: normal;
  font-weight: 700;
  line-height: 2.1875rem; 
  transition: all 0.7s ease-in-out;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15); 
}

.roadmap__cta-btn:hover {
  background-color: var(--cta-hover-bg, #407ec9) !important;
  color: var(--cta-hover-text, #FFFFFF) !important;
  font-weight: 700;
  text-decoration: none;
  padding-left: 2rem;
  padding-right: 2rem;
}

.roadmap__cta-btn svg {
  width: 0.6875rem; 
  height: 0.8125rem; 
  transition: all 0.7s ease-in-out;
}

.roadmap__cta-btn svg path {
  fill: var(--arrow-color, #FFFFFF) !important;
  transition: all 0.7s ease-in-out;
}
}

.roadmap__cta-btn:hover svg {
  transform: translateX(5px);
}

.roadmap__cta-btn:hover svg path {
  fill: var(--arrow-color-hover, var(--arrow-color, #FFFFFF)) !important;
}

@media screen and (min-width: 120rem) {
  .roadmap__container {
    width: 120rem; 
  }

  .roadmap__heading {
    width: 120rem; 
    height: 2.875rem; 
    letter-spacing: 0px;
  }
}

/* Tablet and smaller desktop */
@media screen and (max-width: 119.9375rem) and (min-width: 64.0625rem) {
  .roadmap__heading {
    width: 100%;
    max-width: 120rem;
    height: auto;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 4rem;
  }

  .roadmap__steps {
    gap: 1rem;
    padding: 0 1rem;
  }

  .roadmap__connector {
    width: 4.5rem;
    margin-top: 3.5rem; 
  }

  .roadmap__connector::before {
    width: 100%;
    background-size: 0.75rem 0.375rem;
  }

  .roadmap__step {
    max-width: 10rem;
  }

  .roadmap__step-icon {
    width: 5rem; 
    height: 5rem;
    margin-bottom: 1.5rem;
  }

  .roadmap__step-icon img {
    width: 2.5rem; 
    height: 2.5rem; 
  }

  .roadmap__step-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
  }

  .roadmap__step-icon svg path {
    fill: currentColor;
  }

  .roadmap__step-number {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  .roadmap__step-title {
    font-size: 1.125rem;
    line-height: 1.5rem;
    min-width: auto;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .roadmap {
    padding: 2.5rem 1rem;
  }

  .roadmap__heading {
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.75rem;
    height: auto;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .roadmap__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
  }

  .roadmap__step {
    max-width: 100%;
    width: 100%;
    margin-bottom: 0;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .roadmap__step:last-child {
    margin-bottom: 0;
  }

  .roadmap__step-icon {
    width: 5rem; 
    height: 5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .roadmap__step-icon img {
    width: 2.5rem; 
    height: 2.5rem; 
  }

  .roadmap__step-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
  }

  .roadmap__step-icon svg path {
    fill: currentColor;
  }

  .roadmap__step-number {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .roadmap__step-title {
    font-size: 1rem;
    line-height: 1.25rem;
    min-width: auto;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .roadmap__connector {
    width: 0.375rem;
    height: 2rem;
    margin: 1rem auto;
    align-self: center;
    flex-shrink: 0;
  }

  .roadmap__connector::before {
    width: 0.375rem;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: 
      radial-gradient(circle, var(--connector-color, #FFFFFF) 0.15rem, transparent 0.15rem);
    background-size: 0.375rem 1rem;
    background-position: center 0;
    background-repeat: repeat-y;
  }

  .roadmap__cta {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .roadmap__cta-btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    line-height: 1.5rem;
  }
}

/* ============================================
   TABLET AND DESKTOP PADDING (min-width: 768px)
   ============================================ */
@media screen and (min-width: 768px) and (max-width: 1198px) {
  .roadmap {
    padding: 40px 0 40px 0 !important;
  }
}

/* ============================================
   LARGE DESKTOP PADDING (min-width: 1199px)
   ============================================ */
@media screen and (min-width: 1199px) {
  .roadmap {
    padding: 60px 0 60px 0 !important;
  }
}
