/*================================================
MS Main Banner Area CSS
=================================================*/
.ms-main-banner-area {
  z-index: 1;
  position: relative;
  padding-top: 170px;
  background-color: var(--whiteColor);
}

.ms-main-banner-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 0, 100% 0, 100% 60%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%);
}

.ms-main-banner-content {
  padding-right: 15px;
  position: relative;
  top: -60px;
}

.ms-main-banner-content .sub-title {
  background-color: rgba(255, 255, 255, 0.11);
  color: var(--whiteColor);
  display: inline-block;
  margin-bottom: 15px;
  border-radius: 30px;
  padding: 4px 20px;
  font-weight: 500;
}

.ms-main-banner-content h1 {
  margin-bottom: 18px;
  color: #FFE3C2;
  font-size: 55px;
}

.ms-main-banner-content p {
  color: var(--whiteColor);
  max-width: 640px;
  font-size: 16px;
  opacity: .9;
}

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

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

.ms-main-banner-image {
  z-index: 1;
  margin-left: 15px;
  position: relative;
  text-align: center;
  border-radius: 20px;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  padding-bottom: 25px;
  padding-right: 25px;
}

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

.ms-main-banner-image::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  z-index: -1;
  position: absolute;
  border-radius: 20px;
  background-color: #6B2837;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  margin-left: 25px;
  margin-top: 25px;
}

.ms-main-banner-image:hover {
  padding-right: 0;
  padding-left: 25px;
}

.ms-main-banner-image:hover::before {
  margin-left: 0;
  margin-right: 25px;
}

/* Max width 767px */
@media only screen and (max-width: 767px) {
    .ms-main-banner-area {
        padding-top: 140px;
    }
    .ms-main-banner-area::before {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 75%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0% 100%);
    }
    .ms-main-banner-content {
        top: 0;
        padding-right: 0;
        text-align: center;
    }
    .ms-main-banner-content .sub-title {
        margin-bottom: 12px;
        padding: 3px 15px;
        font-size: 13px;
    }
    .ms-main-banner-content h1 {
        margin-bottom: 12px;
        line-height: 1.4;
        font-size: 28px;
    }
    .ms-main-banner-content h1 br {
        display: none;
    }
    .ms-main-banner-content p {
        font-size: 14px;
    }
    .ms-main-banner-content .ms-default-btn {
        margin-top: 5px;
    }
    .ms-main-banner-image {
        border-radius: 10px;
        padding-bottom: 0;
        padding-right: 0;
        margin-left: 0;
        margin-top: 30px;
    }
    .ms-main-banner-image img {
        border-radius: 10px;
    }
    .ms-main-banner-image::before {
        display: none;
    }
    .ms-main-banner-image:hover {
        padding-left: 0;
    }
}

/* Min width 768px to Max width 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ms-main-banner-area {
        padding-top: 150px;
    }
    .ms-main-banner-content {
        top: 0;
        padding-right: 0;
        text-align: center;
    }
    .ms-main-banner-content .sub-title {
        font-size: 14px;
        margin-bottom: 18px;
    }
    .ms-main-banner-content h1 {
        margin-bottom: 15px;
        font-size: 37px;
    }
    .ms-main-banner-content h1 br {
        display: none;
    }
    .ms-main-banner-content p {
        font-size: 15px;
    }
    .ms-main-banner-image {
        margin-left: 0;
        margin-top: 30px;
    }
}

/* Min width 992px to Max width 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .ms-main-banner-area::before {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
    }
    .ms-main-banner-content {
        padding-right: 0;
        top: -50px;
    }
    .ms-main-banner-content .sub-title {
        font-size: 15px;
    }
    .ms-main-banner-content h1 {
        font-size: 42px;
    }
    .ms-main-banner-content p {
        font-size: 15px;
    }
    .ms-main-banner-image {
        margin-left: 0;
    }
}