@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root{
    --primary-clr: #ffdcaf;
    --secondary-clr: #efaf73;
}

a{
    text-decoration: none !important;
    color: #111 !important;
}

.fa-phone{
    color: #2590FB;
}
.fa-envelope{
    color: #F6A43B;
}
.fa-facebook-f{
    color: #164af8;
}
.fa-instagram{
    color: #F63B81;
}
.fa-twitter{
    color: #2590FB;
}
.fa-whatsapp{
    color: #42aa12;
}

.fa-facebook-f:hover,
.fa-instagram:hover,
.fa-twitter:hover,
.fa-whatsapp:hover{
    color: #111;
}

.container{
    padding: 10px 80px;
}
.lightboxOverlay {
    z-index: 999999 !important;
}
.lightbox {
    z-index: 999999 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
}

header{
    background-color: var(--primary-clr);
}
.navbar{
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 99999 !important;
}
.navbar .navbar-brand img{
    height: 85px;
    width: 180px;
}
header a:hover,
.navbar ul li a:hover,
.navbar ul li a.active,
.footer a:hover{
    color: var(--secondary-clr) !important;
}
.navbar .trial-btn{
    background-color: var(--primary-clr);
}

.banner .carousel-item{
    height: 600px;
}
.banner .carousel-inner::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(to bottom right,rgba(239,175,115),rgba(0,0,0,0.8));
    z-index: 1;
}
.banner .carousel-inner .carousel-caption,
.reviews-section .carousel-inner .carousel-caption,
.about-section .carousel-inner .carousel-caption{
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
}
.banner .carousel-inner .carousel-caption img{
    /* height: 270px;
    width: 440px; */
    height: 350px;
    width: 550px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border: 5px solid #fff;
}
.banner .carousel-inner .carousel-caption{
    width: 85%;
    left: 50%;
    transform: translate(-50%,50%);
}
.banner .carousel-control-prev,
.banner .carousel-control-next{
  width: 5% !important;
}
.banner .carousel-inner .carousel-caption .btns a{
    padding: 8px 15px;
    background-color: var(--primary-clr);
    border-radius: 20px;
    font-weight: 700;
    color: #111 !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
    opacity: 0.5 !important;
}

section h2{
    color: #666;
}
section h3:not(.about-section h3):after,
footer h3::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 3px;
    background-color: var(--secondary-clr);
}

.btns a,
.form .btn{
    padding: 8px 16px;
    background-image: linear-gradient(to bottom right, var(--secondary-clr), #fff);
    border-radius: 20px;
    font-weight: 600;
    color: #333 !important;
    /* border: 1px solid #999; */
    transition: .8s;
}

.btns a:nth-child(2){
    background-image: none;
    border: 1px solid #999;
}
.btns a:hover,
.form .btn:hover{
    background-image: none;
    border: 1px solid #999;
}
.btns a:nth-child(2):hover{
    background-image: linear-gradient(to bottom right, var(--secondary-clr), #fff);
    border: 1px solid #fff;
}

.services-section .img,
.service-section .img{
    height: calc(100% + 100px);
}

.additional-services-section,
.work-section{
    background-color: #F8F5F1;
}

.additional-services-section .card-header i{
    color: var(--secondary-clr);
}

.reviews-section .fa-quote-left{
    color: var(--secondary-clr);
}
.reviews-section .rev-img{
    height: 100px;
    width: 100px;
}
.reviews-section .carousel-inner::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}
.tns-nav{
    display: none;
}

.trial-section .back-img{
    background-image: linear-gradient(rgba(0, 0, 0, 0.9),rgba(0, 0, 0, 0.9)), url('../img/01.jpg');
    height: 100%;
    background-size: cover;
}
.trial-section .position-absolute{
    left: 50%;
    transform: translate(-50%,-50%);
}
.trial-section .back-img p{
    white-space: nowrap;
}
.trial-section .back-img .btns a:first-child:hover{
    color: #fff !important;
}
.trial-section .back-img .btns a:nth-child(2){
    color: #fff !important;
}
.trial-section .back-img .btns a:nth-child(2):hover{
    color: #111 !important;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-clr) !important;
    box-shadow: 0 0 0 0.2rem rgba(239,175,115,0.50) !important;
} 


.footer{
    background-image: linear-gradient(rgba(0, 0, 0, 0.9),rgba(0, 0, 0, 0.9)), url('../img/diamond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.footer .right-col i{
    width: 8px;
}

.scroll-top-btn{
    height: 35px;
    width: 35px;
    background: var(--secondary-clr) !important;
    bottom: 2rem;
    right: 2rem;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
    transition: .7s;
}
.scroll-top-btn.active{
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}


.after-before-img{
    /*height: 400px;*/
    /* display: grid; */
  place-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  --position: 50%;
}
  
  .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
  
  .image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
    /* filter: grayscale(100%); */
  }
  
  .ab-slider-input {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    /* for Firefox */
    width: 100%;
    height: 100%;
  }
  
  .slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
  }
  
  .slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: #fff;
    /* z-index: 10; */
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
  }
  
  .slider-button {
    position: absolute;
    background-color: #fff;
    color: black;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* z-index: 100; */
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
  }
  
  .price-section{
      background: var(--secondary-clr);
  }

  /* -----FOR PORTFOLIO PAGE----- */
  .page-banner{
    height: 150px;
    width: 100%;
    background-image: linear-gradient(to bottom right, var(--secondary-clr), #fff);
  }
  .portfolio-section .navbar{
    position: static !important;
  }
  .portfolio-section .nav-link:hover{
    background-color: var(--secondary-clr);
    color: #000 !important;
  }
  .portfolio-section .nav-link{
    background-color: var(--primary-clr);
  }
  .portfolio-section .nav-link.active{
    background-color: var(--secondary-clr);
    color: #000 !important;
  }
  /* .portfolio-section .nav-link::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 6px;
    width: 90px;
    height: 3px;
    background-color: var(--secondary-clr);
  } */
  .tab-content .content{
    height: 100%;
    /*width: 350px;*/
    overflow: hidden;
    transition: all .4s;
  }
   .tab-content .content img{
    height: 300px !important;
    /* width: 100%;
    transition: .4s; */
  }
  /*.tab-content .content:hover{
    background: var(--primary-clr);
  }
  .tab-content .content:hover img{
    transform: scale(1.2);
  } */
  .tab-content{
    display: none;
  }
  .tab-content.active{
    display: initial;
  }

  /* -----FOR CONTACT PAGE----- */
  .contact-section h3::after{
    left: 12px !important;
  }
  .contact-section .social-links i{
    color: var(--secondary-clr) !important;
  }
  .contact-section .social-links i:hover{
    color: #111 !important;
  }

  /* -----FOR SERVICE PAGE-----  */
  .service-banner{
    background-image: linear-gradient(to bottom right, var(--secondary-clr), #fff); 
  }
  .service-banner .img img{
    height: 300px;
    width: 90%;
  }
  .work-section .box i{
    color: var(--secondary-clr);
  }


  /* ------FOR BLOG PAGE------ */
  .blog-section .card-header{
    color: var(--secondary-clr);
  }
  .blog-section .list-group a:hover{
    color: var(--secondary-clr) !important;
  }
  .blog-section .fa-clock,
  .blog-section .fa-user,
  .blog-details-section .fa-clock,
  .blog-details-section .fa-user{
    color: var(--secondary-clr);
  }
  .blog-section .title,
  .blog-details-section .title{
    color: var(--secondary-clr);
  }
  .blog-section label,
  .blog-details-section label{
    font-size: 11px;
    background: var(--primary-clr);
    padding: 5px;
    width: max-content;
  }
  .blog-section .btn:hover{
    color: var(--secondary-clr) !important;
  }

  /* FOR BLOG DETAILS PAGE */
  .blog-details-section h3::after{
    left: 50% !important;
    transform: translateX(-50%);
  }


/* ==========RESPONSIVE========= */
@media only screen and (max-width: 768px) {
    .banner .carousel-item{
        height: auto;
    }
    .about-section .btns,
    .services-section .btns{
        width: 75% !important;
        margin-bottom: 16px;
        margin-top: 10px !important;
    }
    .banner .carousel-inner .carousel-caption img{
        height: 160px;
        width: 260px;
    }
    .banner .carousel-control-prev,
    .banner .carousel-control-next{
      width: 15% !important;
    }
    .about-section .carousel-caption img,
    .reviews-section .carousel-caption img{
        height: 210px;
        width: 100%;
    }
    .after-before-img{
        height: 270px;
    }
    .trial-section .back-img{
        height: 200px;
    }
    .trial-section .back-img p{
        white-space: normal;
    }
    .trial-section .btns{
        width: 100% !important;
    }

    /* -----FOR PORTFOLIO PAGE----- */
    /*.page-banner{*/
    /*    height: 180px;*/
    /*}*/

    /* FOR BLOG DETAILS PAGE */
    .blog-details-section .w-75{
      width: 100% !important;
  }
    
}

