#serving .content,
#cost-and-time .content,
#consultants .content,
#logistic-services .content,
#saving-cost .content,
#facilities .content,
#professionals .content,
#subspecialties .content,
#no-waiting .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;

  .info {
    .description {
      font-weight: 400;
      line-height: 24px;
    }
  }
  .image {
    min-width: 600px;
    img {
      width: 100%;
    }
  }
}

/* styling serving section */
#serving {
  margin-top: -50px;
  background: var(--main-gradient-revers);
  padding-block: 100px;

  .content {
    .info {
      color: white;

      .title {
        font-size: 40px;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: underline;
        width: fit-content;
        margin-bottom: 30px;
      }

      .sub-title {
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 600;
      }

    }
  }
}

/* styling cost and time section */
#cost-and-time {
  position: relative;
  z-index: 10;
  margin-top: -100px;
  padding-top: 20px;
  padding-bottom: 100px;

  .content {
    flex-direction: row-reverse;

    .info {
      .title {
        margin-bottom: 5px;
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
      }
    }
  }
}

/* styling consultants section */
#consultants {
  background: var(--main-gradient-revers);
  position: relative;
  z-index: 10;
  padding-bottom: 100px;

  .content {
    .info {
      color: white;

      .title {
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 5px;
      }
    }

    .image {
      margin-top: -100px;
    }
  }
}

/* styling logistic services section */
#logistic-services {
  position: relative;
  z-index: 10;
  margin-top: -100px;
  padding-top: 20px;
  padding-bottom: 100px;

  .content {
    flex-direction: row-reverse;

    .info {
      .title {
        margin-bottom: 5px;
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
      }
    }
  }
}

/* styling saving cost section */
#saving-cost {
  margin-top: -50px;
  background: var(--main-gradient-revers);
  padding-block: 100px;

  .content {
    .info {
      color: white;

      .title {
        font-size: 40px;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: underline;
        width: fit-content;
        margin-bottom: 30px;
      }

      .sub-title {
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 600;
      }

      .description {
        max-width: 550px;
      }
    }
  }
}

/* styling facilities section */
#facilities {
  position: relative;
  z-index: 10;
  margin-top: -100px;
  padding-top: 20px;
  padding-bottom: 100px;

  .content {
    flex-direction: row-reverse;

    .info {
      .title {
        margin-bottom: 5px;
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
      }
    }
  }
}

/* styling professionals section */
#professionals {
  margin-bottom: 100px;

  .content {
    .info {
      .title {
        margin-bottom: 5px;
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
      }
    }

    .image {
      position: relative;

      &::after {
        content: '';
        position: absolute;
        border-top-left-radius: var(--main-radius);
        border-bottom-left-radius: var(--main-radius);
        background: var(--main-gradient-revers);
        right: -50px;
        top: -40px;
        width: 60%;
        height: calc(100% + 60px);
        z-index: -1;
      }
    }
  }
}

/* styling subspecialties section */
#subspecialties {
  margin-bottom: 100px;

  .content {
    flex-direction: row-reverse;

    .info {
      .title {
        margin-bottom: 5px;
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
      }

      .description {
        max-width: 550px;
      }
    }

    .image {
      position: relative;

      &::after {
        content: '';
        position: absolute;
        border-top-right-radius: var(--main-radius);
        border-bottom-right-radius: var(--main-radius);
        background: var(--main-gradient-revers);
        left: -50px;
        top: -20px;
        width: 60%;
        height: 80%;
        z-index: -1;
      }
    }
  }
}

/* styling no waiting section */
#no-waiting {
  margin-bottom: 100px;

  .content {
    .info {
      .title {
        margin-bottom: 5px;
        font-weight: 600;
        font-size: 24px;
        line-height: 36px;
      }
    }

    .image {
      position: relative;

      &::after {
        content: '';
        position: absolute;
        border-top-left-radius: var(--main-radius);
        border-bottom-left-radius: var(--main-radius);
        background: var(--main-gradient-revers);
        right: -50px;
        top: -40px;
        width: 60%;
        height: calc(100% + 60px);
        z-index: -1;
      }
    }
  }
}

/* styling info section */
#info {
  text-align: center;
  margin-bottom: 100px;

  .title {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
  }

  .para {
    font-weight: 400;
    line-height: 24px;
    max-width: 1100px;
    margin: auto;
    margin-bottom: 5px;
  }
}