/* start landing  */
.overlay{
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    height: calc(100vh - 10px);
    position: relative;
  
    }
    
    @media (max-width:767px)
    {
        .overlay{
            height: calc(100vh - 166.39px);
        }
    }
    
    @media (min-width:767px) and (max-width:991px)
    {
        .overlay{
            height: calc(100vh - 186.39px);
        }
    }
.overlay::after {
    position: absolute;
    content: "";
    left: 0;
    top: -10px;
    width: 100%;
    height: 100%;
    background-image: url('https://lh3.googleusercontent.com/d/16G6D0WNzPqCYerTwq5IfFJZV_uGIjJI7=s0');
    background-size: 100% 100%;
    transform: scale(1) !important;
    transform-origin: center !important;
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: left top;
}
.overlay::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000000bd;
}
    @media (max-width:850px) {
        .overlay::after{
            top: 8px;
        }
    
    }
    .overlay .container{
        display: grid;
        grid-template-columns: repeat(2 , minmax(350px , 1fr));
        gap: 20px;
        justify-content: center;
        align-content: center;
        height: 100%;
    }
    @media (max-width:850px) {
    
        .overlay .container{
            grid-template-columns: repeat(auto-fill , minmax(300px , 1fr));
        }
    }
    
    .overlay .container div:first-child{
    display: grid;
    align-content: center;
    justify-content: right;
    }
    .overlay .container div:last-child{
        display: grid;
        align-content: center;
        justify-content: left;
        }
        @media (max-width:992px) {
    
            .overlay .container div:first-child{
                justify-content: center;
            }
            .overlay .container div:last-child{
                justify-content: center;
            }
    
        }
    .overlay .container div h2{
    text-transform: capitalize;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    }
    .overlay .container div p{
        line-height: 1.6;
        font-size: 16px;
        color: #444;
        max-width: 400px;
    }
    .overlay .container img{
        
        width: 400px;
        max-width: 100%;
        transition: var(--main-transition);
        animation-name:up-and-down ;
        animation-duration: .6s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-direction: alternate;
    }
    @media (max-width:850px) {
      .overlay .container{
        text-align: center;
      }
        .overlay .container img{
            width: 200px;
            
        }
        .overlay .container div p{
            max-width: 300px;
            line-height: 1.4;
            font-size: 13px;
        }
        .overlay .container div h2{
            font-size: 20px;
        }
    }
    @keyframes up-and-down{
    
        to{
    transform: translateY(-35px);
        }
    }
    
    .overlay .container .icon{
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        animation-name: bouncing;
        animation-duration: 1s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-direction: alternate;
    }
    .overlay .container .icon i{
        color: var(--main-color);
    }
    .overlay .container .icon i:hover{
        color: var(--main-color-alt);
    }
    @keyframes bouncing{
        0% , 
        10% ,
        20% ,
        50% ,
        80% ,
        100% {
            transform: translateY(0);
        } 
        40% , 
        60%{
            transform: translateY(-20px);
        }
    }
     /* end landing  */
  


     
  /* start testimonials */
.testimonials{
    padding: var(--section-padding) 0;
    background-color: var(--section-background);
}
.testimonials .content{
    padding-top:50px ;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(300px , 1fr));
    gap: 40px;
    position: relative;
}
.testimonials .box{
    background-color: white;
    position: relative;
    padding: 10px;
}
.testimonials .content img{
position: absolute;
border-radius: 50%;
width: 80px;
top: -30px;
right: -5px;
border: 10px solid var(--section-background);
}
.testimonials .content .box h2{
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 5px;
}
.testimonials .content .box p:first-of-type{
    color: #777;
    margin-bottom: 5px;
    font-size: 15px;
    
}
.testimonials .content .box p:last-of-type{
    color: #777;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.8;
    
}
.testimonials .content .box span{
    display: block;
    margin: 10px 0;
}
.testimonials .content .box span svg{
    color: gold;
}
.testimonials .content .box span .fa-regular {
    color: initial;
}
  /* end testimonials */  
