.our-works-section.ptb-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* -----------------------------------------
  Works CSS
----------------------------------------- */
.our-works-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.our-works-section::after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 40%;
  height: 40%;
  /* background: var(--color-primary); */
  z-index: -1;
}

.our-works-section .works-content h2 {
  color: var(--title-text-color);
  margin-bottom: 25px;
  line-height: 1.3;
  text-align: center;
}

.our-works-section .works-content h2 span {
  color: var(--color-primary);
}

.our-works-section .works-content p {
  margin-bottom: 20px;
  text-align: center;
}

.our-works-section .works-content .works-item .works-item-single {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  padding: 35px 60px;
  margin-bottom: 15px;
  background: url("../img/item-bg-2.jpg") no-repeat center;
  background-size: cover;
  /* max-width: calc(108% - 60px); */
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.our-works-section .works-content .works-item .works-item-single:first-child {
  background: url("../img/item-bg-1.jpg") no-repeat center;
  background-size: cover;
}

.our-works-section .works-content .works-item .works-item-single:last-child {
  background: url("../img/item-bg-3.jpg") no-repeat center;
  background-size: cover;
}

.our-works-section .works-content .works-item .works-item-single::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.8);
}

.our-works-section .works-content .works-item .works-item-single::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -30px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid var(--color-primary);
  z-index: 1;
}

.our-works-section .works-content .works-item .works-item-single i {
  width: 60px;
  height: 60px;
  line-height: 57px;
  background: #ffffff;
  text-align: center;
  display: none;
  z-index: 1;
}

.our-works-section .works-content .works-item .works-item-single i img {
  width: 32px;
}

.our-works-section .works-content .works-item .works-item-single .content {
  padding-left: 16px;
  z-index: 1;
  flex: 1;
}

.our-works-section .works-content .works-item .works-item-single .content h4 {
  color: #ffffff;
  margin-bottom: 0;
}

.our-works-section .works-content .works-item .works-item-single:last-child {
  margin-bottom: 0;
}

.our-works-section
  .works-content
  .works-item
  .works-item-single:last-child::before {
  display: none;
}

.our-works-section .works-image {
  height: calc(100% - 15px);
  background-size: cover;
  position: relative;
  z-index: 1;
}

.our-works-section .works-image::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.5);
  z-index: -2;
}

.our-works-section .works-image::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  bottom: -15px;
  left: -15px;
  /* border-bottom: 170px solid var(--color-primary); */
  opacity: 0.8;
  border-right: 170px solid transparent;
  z-index: -1;
}

.our-works-section .works-image img {
  opacity: 0;
}

.our-works-section .works-image .video-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 90px;
  height: 90px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.our-works-section .works-image .video-btn i {
  color: #ffffff;
  font-size: 22px;
}

.our-works-section .works-image .video-btn::after,
.our-works-section .works-image .video-btn::before {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-animation: ripple 3s linear infinite;
  animation: ripple 3s linear infinite;
  opacity: 0;
  border-radius: 50%;
  background: var(--color-primary);
}

.our-works-section .works-image .video-btn::before {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@-webkit-keyframes ripple {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  75% {
    -webkit-transform: scale(1.75);
    transform: scale(1.75);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(2);
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes ripple {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  75% {
    -webkit-transform: scale(1.75);
    transform: scale(1.75);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(2);
    transform: scale(2);
    opacity: 0;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .our-works-section .preloader-main {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .our-works-section.ptb-100 {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  /* Works CSS*/
  .our-works-section::after {
    content: unset;
  }
  .our-works-section .works-content {
    margin-bottom: 30px;
    text-align: center;
  }
  .our-works-section .works-content h2 {
    max-width: 610px;
    margin: -8px auto 15px;
  }
  .our-works-section .works-content p {
    max-width: 545px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
  .our-works-section .works-content .works-item .works-item-single {
    max-width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }
  .our-works-section .works-content .works-item .works-item-single::before {
    bottom: -25px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid var(--color-primary);
  }
  .our-works-section .works-content .works-item .works-item-single i {
    margin-bottom: 20px;
  }
  .our-works-section .works-content .works-item .works-item-single .content {
    padding: 0;
  }
  .our-works-section .works-content .works-item .works-item-single .content h4 {
    margin-bottom: -2px;
  }
  .our-works-section
    .works-content
    .works-item
    .works-item-single
    .content
    h4
    br {
    display: none;
  }
  .our-works-section .works-image {
    height: 100%;
    overflow: hidden;
  }
  .our-works-section .works-image::before {
    /* border-bottom: 140px solid rgba(255, 188, 19, 0.8); */
    /* border-right: 140px solid transparent; */
  }
}

@media only screen and (max-width: 767px) {
  .our-works-section.ptb-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Works CSS*/
  .our-works-section::after {
    content: unset;
  }
  .our-works-section .works-content {
    margin-bottom: 30px;
    text-align: center;
  }
  .our-works-section .works-content h2 {
    margin-top: -7px;
    margin-bottom: 15px;
  }
  .our-works-section .works-content p {
    margin-bottom: 40px;
  }
  .our-works-section .works-content .works-item .works-item-single {
    max-width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }
  .our-works-section .works-content .works-item .works-item-single::before {
    bottom: -25px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid var(--color-primary);
  }
  .our-works-section .works-content .works-item .works-item-single i {
    margin-bottom: 20px;
  }
  .our-works-section .works-content .works-item .works-item-single .content {
    padding: 0;
  }
  .our-works-section .works-content .works-item .works-item-single .content h4 {
    margin-bottom: -2px;
  }
  .our-works-section
    .works-content
    .works-item
    .works-item-single
    .content
    h4
    br {
    display: none;
  }
  .our-works-section .works-image {
    height: 100%;
    overflow: hidden;
  }
  .our-works-section .works-image::before {
    /* border-bottom: 140px solid rgba(255, 188, 19, 0.8); */
    /* border-right: 140px solid transparent; */
  }
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}
@media(min-width: 576px) {
    .container {
        max-width: 100%;
    }
}

@media(min-width: 768px) {
    .container {
        max-width: 100%;
    }
}

@media(min-width: 992px) {
    .container {
        max-width: 100%;
    }
}
@media(min-width: 1200px) {
    .container {
        max-width:1140px
    }
}

@media(min-width: 1280px) {
    .container {
        max-width: 100%;
    }
}
@media(min-width: 1500px) {
    .container {
        max-width: 100%;
    }
}