/*---------------------------------------------------------------

        Template Name: The Super Cleaners - Professional cleaning services
        Description: Professional cleaning services for residential and commercial properties.
        Author: Lucid Solutions
        Author URL: https://www.templatemonster.com/store/lucid_solutions/
        Version: 1.0.0

    -----------------------------------------------------------------

        CSS INDEX
        ==================

        1.  Basic Styles
        2.  Navbar Styles
        3.  Banner Styles
        4.  About Us Styles 
        5.  Services Styles
        6.  Project Styles
        7.  Counter Styles
        8.  Social Media Styles
        9.  Testimonials Styles
        10. Footer Styles
        11. Back to top Styles
        12. Preloader Styles
        

----------------------------------------------------------------*/


@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


/* ==================
    1. Basic Styles 
================== */
:root{

    /* colors */

    --PrimaryColor : #14567b;
    --SecondaryColor : rgba(206, 233, 249, 1);
    --SuccessColor : rgba(1, 208, 171, 1);
    --LightColor : rgba(90, 90, 90, 1);
    --BlackColor : rgba(3, 14, 31, 1);
    --whiteColor: #ffff;
    --GoldColor: #FFD782;
    /* font family */
    --PrimaryFont :  "Roboto", sans-serif;
}

*{
    box-sizing: border-box;
    font-family: var(--PrimaryFont);
    word-break: break-word;
}
a{
  color: inherit;
  text-decoration: none;
}
a:hover{
  color: inherit;
  text-decoration: none;
}
body{
    overflow-x: hidden;
}
.primary-btn{
    background-color: var(--PrimaryColor) !important;
    border-color: var(--PrimaryColor) !important ;
    color: white;
    min-width: 140px !important;
    border-radius: 5px !important;
    padding: 14px;
}
.primary-btn:hover{
    background-color: rgb(8, 41, 60) !important;
    border-color: rgb(8, 41, 60) !important;
    color: white !important;
}
.success-btn{
    background-color: var(--SuccessColor) !important;
    border-color: var(--SuccessColor) !important ;
    color: white;
    min-width: 140px !important;
    border-radius: 5px !important;
    padding: 14px;
}
.success-btn:hover{
    background-color: #329d89 !important;
    border-color: #329d89 !important;
    color: white !important;
}
.primary-outline-btn{
    /* background-color: var(--PrimaryColor) !important; */
    background-color: transparent !important;
    border-color: var(--PrimaryColor) !important ;
    color: var(--PrimaryColor) !important;
    min-width: 140px !important;
    border-radius: 5px !important;
    padding: 14px;
}
.primary-outline-btn:hover{
    background-color: #D14D5E !important;
    border-color: #D14D5E !important;
    color: white !important;
}
.secondary-btn{
    background-color: var(--SecondaryColor) !important;
    border-color: var(--SecondaryColor) !important;
    color: var(--PrimaryColor) !important;
    min-width: 140px !important;
    border-radius: 5px !important;
    padding: 14px;
}
.secondary-btn:hover{
    background-color: var(--BlackColor) !important;
    border-color: var(--BlackColor) !important;
    color: white !important;
}
.text-dark{
    color: var(--BlackColor) !important;
}
.text-light{
    color: var(--LightColor) !important;
}
.text-gold{
  color: var(--GoldColor) !important;
}
.text-gray{
    color: var(--LightColor) !important;
}
.text-primary{
    color: var(--PrimaryColor) !important;
}
.text-success{
    color: var(--SuccessColor) !important;
}
.fs-7{
    font-size: 14px;
}
.bg-primary{
    background-color: var(--PrimaryColor) !important;
}
.bg-secondary{
    background-color: var(--SecondaryColor) !important;
}
.bg-success{
  background-color: var(--SuccessColor) !important;
}
.content{
    font-size: 14px;
    color: var(--LightColor);
    line-height: 30px;
    letter-spacing: 0.5px;
}
.mw-75{
    width: 75%;   
    max-width: 768px;
}
.w-unset{
    width: unset !important;
    min-width: unset !important;
}
@media(max-width:575px){
    .b-sm-none{
        border: none !important;
    }
}

.sub_heading{
    font-size: 18px;
    color: var(--PrimaryColor);
    font-weight: 500;
    text-transform: uppercase;
}
.heading{
    font-size: 36px;
    color: var(--PrimaryColor);
    font-weight: 900;
    text-transform: capitalize;
}
.description{
    font-size: 14px;
    color: var(--LightColor);
    font-weight: 400;
    text-transform: capitalize;
}
.error:not(.form-control):not(.form-select){
  color: red;
  background-color: white;
  padding: 2px 5px; 
  border-radius: 5px;
  margin-top: 5px;
  font-size: 14px;
}
/* ==================
    2. Navbar Styles
================== */

.nav-link{
    color: var(--whiteColor);
}
.nav-link:hover{
    color:var(--SuccessColor) !important;
}
.navbar{
    top: -35px;
    border-radius: 3px;
    z-index: 9;
}
.custom_header_btn{
    position: absolute;
    right: 0;
    height: 100%;
    border-radius: 0 3px 3px 0 !important;
    background-color: #fef22e;
    clip-path: polygon(25% 0, 105% 0, 100% 100%, 0% 125%);
    width: 175px;
}
.logo{
    width: 150px;
}

@media(max-width:992px){
    .logo{
        width: 95px;
    }
}
/* ==================
    3. Banner Styles
================== */
  .banner-main{
      height: 800px;
  }
  .splide:not(.is-active) {
    visibility: visible;
  }
  .splide__wrapper {
    position: relative;
  }
  .splide__slide {
    width: 100%;
    height: auto;
    /* margin-bottom: 4rem; */
    position: relative;
  }
  .splide__slide[class*=-active] .splide__text {
    opacity: 1;
  }
  .splide__slide[class*=-active] .splide__text.text1 {
    transition-delay: 0.1s;
  }
  .splide__slide[class*=-active] .splide__text.text2 {
    transition-delay: 0.5s;
  }
  .splide__img {
    width: 100%;
    height: 800px;
  }
  .splide__img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: top;
  }
  .splide__content_box {
    position: absolute;
    top: 0;
    left: 0;
    height: 800px;
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(224,243,253,1) 0%, rgba(224,243,253,1) 50%, rgba(0,212,255,0) 100%);
  }
  .splide__text {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 1s;
    transition-timing-function: linear;
    max-width: 500px;
  }
  .banner_bottom{
    position: absolute;
    bottom:-3px;
    z-index: 50;
    width: 100%;
    min-height: 160px;
    object-fit: cover;
  }
  .splide__arrow{
    background-color: var(--PrimaryColor);
    opacity: 1 !important;
    width: 50px;
    height: 50px;
  }
  .splide__arrow:hover{
    background-color: rgb(14, 57, 81);
  }
  .splide__arrow svg{
    fill: white;
  }
  @media(max-width:992px){
    .splide__content_box {
      background: rgb(224 243 253 / 82%);
    }
    .banner-main{
      height: 550px;
    }
    .splide__img {
      width: 100%;
      height: 550px;
    }
    .splide__content_box {
      height: 550px;
    }
  }
  @media(max-width:767px){
    .splide__arrow--prev{
      display: none;
    }
    .splide__arrow--next{
      display: none;
    }
    .splide__content_box {
        background: rgb(224 243 253 / 82%);
      }
      .banner-main{
        height: 500px;
      }
      .splide__img {
        width: 100%;
        height: 500px;
      }
      .splide__content_box {
        height: 500px;
      }
  }
  @media(max-width:575px){
    .banner-main{
      height: 400px;
    }
    .splide__img {
      width: 100%;
      height: 400px;
    }
    .splide__content_box {
      height: 400px;
    }
  }
  /* ==================
    4. About Us Styles 
================== */

.grid-wrapper {
	display: grid;
	grid-gap: 25px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-rows: 150px;
	grid-auto-flow: dense;
    position: relative;
    z-index: 1;
}
.grid-wrapper .tall {
	grid-row: span 2;
}
.grid-wrapper img{
    height: 100%;
    object-fit: cover;
}
@media(max-width:1199px){
    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }
}
@media(max-width:991px){
    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-rows: 150px;
    }
}
@media(max-width:767px){
    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        grid-auto-rows: 150px;
        grid-gap:15px;
    }
}
@media(max-width:400px){
    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 120px;
        grid-gap:15px;
    }
}

/* grid extra options*/
.grid-wrapper .wide {
	grid-column: span 2;
}
.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}
.about-net-1{
    right: -5px;
    top: -50px;
}
.about-net-2{
    left: -5px;
    bottom: -50px;
}

@media(max-width:767px){
  .about-net-1{
    right: 0;
}
.about-net-2{
    left: 0;
}
}

  /* ==================
    5. Services Styles
================== */

.cust_card_img{
    width: 75px;
    height: 75px;
    border-radius:50%;
    border: 1px solid var(--PrimaryColor);
    background-color: var(--whiteColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    z-index: 99;
}
.cust_card_body{
    margin-top: -40px;
    min-height: 200px;
}
.cust_card_body:hover{
    background-color: var(--PrimaryColor) !important;
}

  /* ==================
    6. Project Styles
================== */
  .filter{
    justify-content: center;
    border: 0;
    gap: 10px;
  }
  .filter .nav-link{
    color: var(--PrimaryColor);
    border: 0px;
    border-radius: 5px;
  }
  .filter .nav-link:hover{
    color: var(--whiteColor) !important;
    background-color: var(--PrimaryColor);
  }
  .filter .nav-link.active{
    color: var(--whiteColor);
    border: 0px;
    background-color: var(--PrimaryColor);
  }
  .gallery .tab-pane img{
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .gallery-image{
    position:relative;
    width: 33%;
    overflow: hidden;
  }
  @media(max-width:662px){
    .gallery-image{
      width: 50%;
    }
    .filter{
      gap: 5px;
    }
  }
  @media(max-width:440px){
    .gallery-image{
      width: 100%;
      height: 250px;
    }
  }
  .gallery-img-overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    right:0;
    background-color: rgba(20, 86, 123, 0.6);
    color: white;
    font-size: 18px;
    padding: 15px;
    display: flex;
    align-items: end;
    opacity: 0;
    transition: 0.5s ease-in-out;
  }
  .gallery-image:hover .gallery-img-overlay{
    opacity: 1;
  }
  /* ==================
    7. Counter Styles
================== */

  .side-border{
    background-color: white;
    color: white;
    width: 2px;
    padding: 40px 0;
  }
  @media(max-width:991px){
    .side-border{
        display: none;
    }
  }

   /* ==================
    8. Social Media Styles
================== */
  .icon-box{
    top: -25px;
    right: 15px;
    background-color: var(--PrimaryColor);
    width: 40px;
    height: 40px;
    border-radius: 5px;
  }
  .card-title img{
    width: 25px;
  }
  .overlay-color {
    background: #14567bc7;
    position: absolute;
    mix-blend-mode: multiply;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* transition: all .4s ease-out; */
  }
  .overlay-text{
    position: absolute;
    opacity: 0;
    top: 0;
    bottom: 0;
    left:0;
    right: 0;
    border: 1px solid white;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--whiteColor);
    font-size: 24px;
    font-weight: 600;
  }
  .card:hover .overlay-color, .card:hover .overlay-text{
    opacity: 1;
  }
  .card:hover{
    transform: scale(1.02);
    transition: 0.2s ease-in-out;
  }

     /* ==================
    9. Testimonials Styles
================== */

  .emoji-main{
    width: 40px;
    height: 40px;
  }
  .testimonials .card{
    border: 1px solid var(--PrimaryColor);
  }
  .testimonial_main{
    background:url("../../assets/images/testimonial_slider.png")no-repeat;
    background-size: cover;
    background-color: var(--PrimaryColor);
    min-height: 600px;
  }
  .testimonials .splide__pagination{
    bottom: -40px;
    gap: 5px;
  }
  .splide__pagination__page{
    width: 14px;
    height: 14px;
    opacity: 1;
  }
  .splide__pagination__page.is-active{
    background-color: var(--SuccessColor);
    border: 2px solid white;
  }
  .cust_card_body2:hover{
    background-color: var(--SuccessColor) !important;
    border-color: var(--SuccessColor) !important;
  }
  .cust_card_body:hover h5, .cust_card_body:hover p {
      color: var(--whiteColor) !important;
  }
  .cust_card_img img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
  }
  
     /* ==================
    10. Footer Styles 
================== */
.footer_main{
  margin-top: 90px !important;
}
  .footer_main input::placeholder{
    color: white;
  }
  .newsletter_main{
    top: -70px;
    left: 0;
  }
  @media(max-width:767px){
    .newsletter_main{
      position: unset !important;
      margin-bottom: 30px;
    }
    .footer-body{
      padding: 0px !important;
    }
    .footer_main{
      margin-top: 0px !important;
    }
    .footer_main .container-lg{
      padding:15px;
    }
  }
  .footer-body{
    padding: 130px 0 15px 0;
  }
  .footer-hr{
    width: 45px;
    opacity: 1;
    border: 0.5px solid var(--SuccessColor);
  }
  .footer-copy{
    background-color: rgb(12, 54, 79);;
  }
  #newsletter .error:not(.form-control){
    position: absolute;
    top: 100%;
    background-color: unset;
    color: rgb(173, 78, 78);
    font-weight: 600;
  }
  /* ==================
    11. Back to top Styles
================== */

#backtotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  width: 50px !important;
  height: 50px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
#backtotop:hover {
  cursor: pointer;
}
#backtotop.show {
  opacity: 1;
  visibility: visible;
}

/* animation */

.animate {
  transform: translate(-50%, -50%); 
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
 /* ==================
   12. Preloader Styles
================== */

.preloader {
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 9999;
  background-color: var(--PrimaryColor);
}

.preloader-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

