.consultant {
  position: relative;
  height: 671px;
  background: #ffffff;

  .consultant-container {
    position: absolute;
    top: 0px;
    left: calc(50% - 1050px / 2);
    /* Auto layout */
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
    width: 1050px;
    height: 671px;
    padding: 80px 0px;

    .consultant-content {
      /* Auto layout */

      display: flex;

      /* Inside auto layout */

      flex: none;
      flex-direction: column;
      flex-grow: 0;
      gap: 10px;
      align-items: center;
      order: 0;

      width: 864px;
      height: 87px;
      padding: 0px;

      .content1 {
        /* Inside auto layout */

        flex: none;
        flex-grow: 0;
        order: 0;
        width: 180px;
        height: 57px;

        /* text-color */

        color: #252b42;
        font-weight: 700;
        font-size: 40px;

        /* h2 */

        font-family: 'Montserrat';
        font-style: normal;
        line-height: 57px;
        /* identical to box height, or 142% */

        letter-spacing: 0.2px;
        text-align: center;
      }

      .content2 {
        /* Inside auto layout */

        flex: none;
        flex-grow: 0;
        order: 1;
        width: 400px;
        height: 20px;

        /* second-text-color */

        color: #737373;
        font-weight: 500;
        font-size: 14px;

        /* paragraph */

        font-family: 'Montserrat';
        font-style: normal;
        line-height: 20px;
        letter-spacing: 0.2px;
        /* identical to box height, or 143% */

        text-align: center;
      }
    }

    .consultant-details {
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 1120px;
      height: 340px;
      padding: 0px;

      .content-nav {
        width: 28px;
        height: 28px;
        margin-right: 16px;
        margin-left: 16px;
        color: grey;
        font-size: 28px;
      }

      .swiper-wrapper {
        width: 1080px;
        height: 316px;

        .col-md-4 {
          display: flex;
          flex: none;
          flex-direction: column;
          flex-grow: 0;
          align-items: center;
          order: 0;
          box-sizing: border-box;

          width: 250px;
          height: 316px;
          padding: 0px;

          background: #ffffff;
          border: 1px solid #eeeeee;
          transition: transform 0.3s ease;

          &:hover {
            transform: scale(1.1);
          }

          .media {
            /* Inside auto layout */

            flex: none;
            flex-grow: 0;
            align-self: stretch;
            order: 0;
            width: 250px;
            height: 194px;

            img {
              width: 250px;
              height: 194px;
            }
          }

          .card-content {
            display: flex;

            /* Inside auto layout */

            flex: none;
            flex-direction: column;
            flex-grow: 0;
            gap: 5px;
            align-items: center;
            order: 1;

            height: 113px;
            padding: 30px;

            .content3 {
              /* Inside auto layout */

              flex: none;
              flex-grow: 0;
              order: 0;
              width: 96px;
              height: 24px;

              /* text-color */

              color: #252b42;
              font-weight: 700;
              font-size: 16px;

              /* h5 */

              font-family: 'Montserrat';
              font-style: normal;
              line-height: 24px;
              letter-spacing: 0.1px;
              /* identical to box height, or 150% */

              text-align: center;
            }

            .content4 {
              /* Inside auto layout */

              flex: none;
              flex-grow: 0;
              order: 1;
              height: 24px;

              /* second-text-color */

              color: #737373;
              font-weight: 600;
              font-size: 14px;

              /* h6 */

              font-family: 'Montserrat';
              font-style: normal;
              line-height: 24px;
              letter-spacing: 0.2px;
              /* identical to box height, or 171% */

              text-align: center;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .consultant {
    position: relative;
    width: 100%;
    height: 671px;
    background: #ffffff;

    .consultant-container {
      left: 0;
      /* Auto layout */
      display: flex;
      flex-direction: column;
      gap: 40px;
      align-items: center;
      width: 100%;
      height: 671px;

      .consultant-content {
        /* Auto layout */

        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        height: 87px;

        .content2 {
          width: 100%;
          height: 20px;
          padding-right: 50px;
          padding-left: 50px;

          /* second-text-color */

          color: #737373;
          font-weight: 500;
          font-size: 16px;
          /* paragraph */

          font-family: 'Montserrat';
          font-style: normal;
          line-height: 20px;
          letter-spacing: 0.2px;
          /* identical to box height, or 143% */

          text-align: center;
        }
      }

      .consultant-details {
        /* Auto layout */

        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 360px;

        .content-nav {
          width: 0;
          height: 0;
          margin-right: 0;
          margin-left: 0;
          font-size: 0;
        }

        .swiper-wrapper {
          width: 100%;
          height: 360px;
          margin-right: 50px;
          margin-left: 50px;
          text-align: center;

          .col-md-4 {
            display: flex;

            /* Inside auto layout */

            flex: none;
            flex-direction: column;
            flex-grow: 0;
            align-items: center;
            order: 0;
            box-sizing: border-box;
            width: calc(100vw - 100px);
            height: 360px;
            margin-right: 0;
            margin-left: 0;

            background: #ffffff;
            border: 1px solid #eeeeee;

            .media {
              flex: none;
              flex-grow: 0;
              align-self: stretch;
              order: 0;
              width: 100%;
              height: 250px;

              img {
                width: 100%;
                height: 250px;
                object-fit: cover;
              }
            }

            .card-content {
              display: flex;
              flex-direction: column;
              gap: 5px;
              align-items: center;
              height: 100px;

              .content3 {
                /* Inside auto layout */

                flex: none;
                flex-grow: 0;
                order: 0;
                width: 96px;
                height: 24px;

                /* text-color */

                color: #252b42;
                font-weight: 700;
                font-size: 16px;

                font-family: 'Montserrat';
                font-style: normal;
                line-height: 24px;
                letter-spacing: 0.1px;
                /* identical to box height, or 150% */

                text-align: center;
              }

              .content4 {
                /* Inside auto layout */

                flex: none;
                flex-grow: 0;
                order: 1;
                height: 24px;

                /* second-text-color */

                color: #737373;
                font-weight: 600;
                font-size: 14px;

                /* h6 */

                font-family: 'Montserrat';
                font-style: normal;
                line-height: 24px;
                letter-spacing: 0.2px;
                /* identical to box height, or 171% */

                text-align: center;
              }
            }
          }
        }
      }
    }
  }
}
