.roof_banner .slider-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 770px;
  position: relative;
}
.owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h4,.owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h1 {
 color:#fff
}
.owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h4,.owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h2 {
 color:#fff
}
.roof_banner .slider-content h4 {
  width: 55%;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.1;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 20px;
}

.roof_banner .slider-content h1,.roof_banner .slider-content h2 {
  width: 50%;
  font-size: clamp(24px, 3.02vw, 58px);
  line-height: 1.1;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 30px;
}

.roof_banner .slider-content p {
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 400;
  width: 60%;
  margin: 20px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  display: none;
}

/* slider btn */

.roofing-btn.slider1 {
  margin: 0;
}

.roofing-btn.slider2 {
  margin-left: 14px;
}

.roofing-btn.slider2 a {
  background: #fff;
  color: #0f0f0f;
}

.roofing-btn.slider2 a:hover{
  color: #ffffff;
}

/* owl nav css */

.roof_banner .slider-section .owl-carousel .owl-dots.disabled,
.roof_banner .owl-carousel .owl-nav.disabled {
  display: block;
}

.roof_banner .owl-nav {
  position: absolute;
  bottom: 41%;
  right: 60px;
  display: none;
}
.owl-carousel .owl-stage .owl-item:nth-child(3) .align-items-center,.owl-carousel .owl-stage .owl-item:nth-child(6) .align-items-center,.owl-carousel .owl-stage .owl-item:nth-child(5) .align-items-center{text-align: center;align-items: center!important;}
.owl-carousel .owl-stage .owl-item:nth-child(3) .align-items-center .slider-content,.owl-carousel .owl-stage .owl-item:nth-child(6) .align-items-center .slider-content,.owl-carousel .owl-stage .owl-item:nth-child(5) .align-items-center .slider-content{background: rgba(255,255,255,0.6);border-radius: 18px;padding: 45px 40px;border: 1px solid rgba(255,255,255,0.85);box-shadow: 0 6px 28px rgba(0,0,0,0.07);display: inline-block;text-align: center;}
.owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content h4,.owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h4,.owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content h4 {
  width: 100%;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.1;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}

.owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content h2,.owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h2,.owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content h2 {
  width: 100%!important;
  font-size: clamp(24px, 3.02vw, 58px);
  line-height: 1.1;
  color: var(--color-primary);
  font-weight: 600;
  text-align: c;
}
.owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content p {margin-bottom: 0px;margin-top: 15px;}
.roof_banner .owl-prev i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: var(--color-primary);
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  transition: .5s;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content h1,.owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content h2 {
  width: 100%;
  font-size: clamp(24px, 3.02vw, 58px);
  line-height: 1.1;
  color: var(--color-primary);
  font-weight: 600;
}
.owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content p {margin-bottom: 0px;margin-top: 15px;}
.roof_banner .owl-prev i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: var(--color-primary);
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  transition: .5s;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.roof_banner .owl-prev i:hover {
  color: var(--color-primary);
}

.roof_banner .owl-prev i::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  right: 0;
  bottom: 0;
  background: #ffffff;
  transform: scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: .5s;
}

.roof_banner .owl-prev i:hover::after {
  transform: scale(1);
}

.roof_banner .owl-next i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: #ffffff;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 24px;
  transition: .5s;
  position: relative;
  z-index: 1;
}

.roof_banner .owl-next i:hover {
  color: #ffffff;
}

.roof_banner .owl-next i::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  transform: scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: .5s;
}

.roof_banner .owl-next i:hover::after {
  transform: scale(1);
}

@media(max-width:1500px){
.roof_banner .slider-section {height: 600px;}
}

@media(max-width:1280px){
  .roof_banner .slider-section {height: 513px;}
}


@media (min-width: 992px) and (max-width: 1199px) {
  .roof_banner .slider-content h2 {
    width: 70%;
  }

  .roof_banner .slider-content h4,
  .roof_banner .slider-content p {
    width: 70%;
  }

  .roofing-btn {
    margin-left: 10px;
  }

  .roofing-btn a {
    padding: 12px 12px;
  }
}

@media(max-width:992px){
  .roof_banner .slider-section{height: 329px;}
  .owl-carousel .owl-stage .owl-item:nth-child(3) .align-items-center .slider-content, .owl-carousel .owl-stage .owl-item:nth-child(6) .align-items-center .slider-content, .owl-carousel .owl-stage .owl-item:nth-child(5) .align-items-center .slider-content {padding: 25px 20px;margin-top: 35px;}
}


@media (min-width: 768px) and (max-width: 991px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  /*.roof_banner .slider-section {
    display: block !important;
  }*/


  .roof_banner .slider-content h2 {
    width: 80%;
  }

  .roof_banner .slider-content h4 {
    width: 80%;
  }

  .roof_banner .slider-content p {
    width: 80%;
  }
}

@media(max-width:767px){
  .owl-carousel .owl-stage .owl-item:nth-child(3) .align-items-center .slider-content, .owl-carousel .owl-stage .owl-item:nth-child(6) .align-items-center .slider-content, .owl-carousel .owl-stage .owl-item:nth-child(5) .align-items-center .slider-content {
    padding: 25px 15px;
    margin-top: 0;
  }

}


@media only screen and (min-width: 600px) and (max-width: 767px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  /* {
    display: block !important;
  }*/

  .roof_banner .slider-content h2 {
    width: 85%;
  }

  .roof_banner .slider-content h4 {
    width: 85%;
  }

  .roof_banner .slider-content p {
    width: 85%;
  }

  /* owl nav css */

  .roof_banner .owl-nav {
    right: 8px;
  }

  .roof_banner .owl-prev i {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }

  .roof_banner .owl-next i {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 599px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  /*.roof_banner .slider-section {
    display: block !important;
  }*/

  .roof_banner .slider-section {
    height: 231px;
  }

  .roof_banner .slider-content h2 {
    width: 89%;
  }

  .roof_banner .slider-content h4 {
    width: 89%;
  }

  .roof_banner .slider-content p {
    width: 89%;
  }

  /* owl nav css */

  .roof_banner .owl-nav {
    right: 8px;
  }

  .roof_banner .owl-prev i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .roof_banner .owl-next i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}

@media only screen and (max-width: 480px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  /*.roof_banner .slider-section {
    display: block !important;
  }*/


  .roof_banner .slider-content h2 {
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .roof_banner .slider-content h4 {
    width: 100%;
    margin-bottom: 5px;
    font-size: 12px;
  }

  
  .roof_banner .slider-content p {
    width: 100%;
    line-height: 20px;
  }

  .roofing-btn.slider1 a,
  .roofing-btn.slider2 a {
    padding: 7px 10px;
    font-size: 10px;
  }

  .owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content h4, .owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h4, .owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content h4{
    font-size: 12px;
    margin-bottom: 5px;
  }

  .owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content h1, .owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content h2{
    font-size:16px
  }

  .owl-carousel .owl-stage .owl-item:nth-child(3) .slider-content h2, .owl-carousel .owl-stage .owl-item:nth-child(5) .slider-content h2, .owl-carousel .owl-stage .owl-item:nth-child(6) .slider-content h2{
    font-size: 16px;
  }

  .owl-carousel .owl-stage .owl-item:nth-child(3) .align-items-center .slider-content, .owl-carousel .owl-stage .owl-item:nth-child(6) .align-items-center .slider-content, .owl-carousel .owl-stage .owl-item:nth-child(5) .align-items-center .slider-content {
    padding: 10px;
  }

  .roofing-btn.slider1 a i,
  .roofing-btn.slider2 a i{
    font-size: 10px;
  }

  /*.roof_banner .slider-content{display: none !important;}*/

  .roof_banner .slider-section {
    height: 171px;
  }

  /* owl nav css */

  .roof_banner .owl-nav {
    right: 0;
    display: inline-flex;
    bottom: 5px;
    left: auto;
    margin: auto;
  }

  .roof_banner .owl-prev i {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
  }

  .roof_banner .owl-next i {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
    margin-left: 5px;
  }

}


@media(max-width:400px){
  .roof_banner .slider-section {
    height: 144px;
  }
}