/*================================================
MS About Area CSS
=================================================*/
.ms-about-area {
  z-index: 1;
  position: relative;
  background-color: var(--whiteColor);
}

.ms-about-area::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  content: '';
  position: absolute;
  background-color: var(--blackColor);
  -webkit-clip-path: polygon(0 33%, 100% 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 33%, 100% 0, 100% 100%, 0% 100%);
}

.ms-about-image {
  z-index: 1;
  margin-right: 15px;
  position: relative;
  text-align: center;
  border-radius: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
}

.ms-about-image img {
  border-radius: 20px;
}

.ms-about-image::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  z-index: -1;
  position: absolute;
  border-radius: 20px;
  background-color: #6B2837;
  margin-left: 20px;
  margin-top: 20px;
}

.ms-about-content {
  padding-left: 15px;
  color: var(--whiteColor);
}

.ms-about-content .sub-title {
  display: block;
  margin-bottom: 10px;
  color: var(--mainColor);
  font-size: 14px;
  font-weight: 600;
}

.ms-about-content h2 {
  font-size: 38px;
  margin-bottom: 15px;
  color: var(--whiteColor);
}

.ms-about-content p {
  color: var(--whiteColor);
  max-width: 600px;
  opacity: .9;
}

.ms-about-content .features-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-left: 0;
  list-style-type: none;
  margin-top: 25px;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 25px;
}

.ms-about-content .features-list li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 33.33333%;
          flex: 0 0 33.33333%;
  max-width: 33.33333%;
  padding-left: 10px;
  padding-right: 10px;
}

.ms-about-content .features-list li .div {
  background-color: rgba(255, 255, 255, 0.11);
  padding: 10px 15px 15px;
  border-radius: 10px;
  text-align: center;
}

.ms-about-content .features-list li h3 {
  line-height: 1;
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--mainColor);
}

.ms-about-content .features-list li p {
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
}

.ms-about-content .ms-default-btn {
  margin-top: 10px;
}

.ms-about-content .ms-default-btn:hover {
  color: var(--blackColor);
  background-color: var(--whiteColor);
}

/* Max width 767px */
@media only screen and (max-width: 767px) {
   .ms-about-area::before {
        -webkit-clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    }
    .ms-about-image {
        border-radius: 10px;
        margin-bottom: 30px;
        margin-right: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .ms-about-image img {
        border-radius: 10px;
    }
    .ms-about-image::before {
        display: none;
    }
    .ms-about-content {
        padding-left: 0;
        text-align: center;
    }
    .ms-about-content .sub-title {
        font-size: 13px;
    }
    .ms-about-content h2 {
        font-size: 23px;
        margin-bottom: 12px;
    }
    .ms-about-content .features-list {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        margin-top: -10px;
    }
    .ms-about-content .features-list li {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 50%;
                flex: 0 0 50%;
        max-width: 50%;
        margin-top: 25px;
    }
    .ms-about-content .features-list li .div {
        padding: 0;
        background-color: transparent;
    }
    .ms-about-content .features-list li h3 {
        font-size: 30px;
        margin-bottom: 9px;
    }
    .ms-about-content .features-list li p {
        font-size: 12.5px;
    }
    .ms-about-content p {
        max-width: 100%;
    }
    .ms-about-content .ms-default-btn {
        margin-top: 5px;
    }
}

/* Min width 768px to Max width 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ms-about-image {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .ms-about-content {
        padding-left: 0;
        text-align: center;
    }
    .ms-about-content .sub-title {
        font-size: 13px;
    }
    .ms-about-content h2 {
        font-size: 30px;
    }
    .ms-about-content p {
        max-width: 100%;
    }
    .ms-about-content .features-list li h3 {
        font-size: 30px;
    }
    .ms-about-content .features-list li p {
        font-size: 13px;
    }
}

/* Min width 992px to Max width 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .ms-about-area {
        padding-top: 100px;
    }
    .ms-about-area::before {
        -webkit-clip-path: unset;
        clip-path: unset;
    }
    .ms-about-area .align-self-end {
        -ms-flex-item-align: unset !important;
            -ms-grid-row-align: unset !important;
            align-self: unset !important;
    }
    .ms-about-image {
        margin-right: 0;
    }
    .ms-about-content {
        padding-left: 0;
    }
    .ms-about-content h2 {
        font-size: 35px;
    }
    .ms-about-content .features-list {
        margin-top: 25px;
    }
    .ms-about-content .features-list li h3 {
        font-size: 35px;
    }
    .ms-about-content .features-list li .div {
        padding-left: 10px;
        padding-right: 10px;
    }
}