#main{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 100vh;
}

#main-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 20px;
}

#main-text h1{
    font-size: 56px;
    font-weight: 800;
    max-width: 800px;
}

#main-text h1 b{
    color: #C435E8;
    font-weight: 800;
}

#main-text p{
    max-width: 550px;
}

#main-links{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#main-testimonials{
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-testimonials-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 700px;
    max-height: 600px;
    min-height: 500px;
    height: 100%;
}

.main-testimonials-item{
    background-color: #ffffff20;
    backdrop-filter: blur(20px);
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 1s ease;
}
.main-testimonials-item:nth-child(1){ translate: 0 -50px; }
.main-testimonials-item:nth-child(){ translate: 0 50px; }


.main-testimonials-item video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(1);
    z-index: -1;
    transform: scale(1.1);
    transition: 0.5s ease;
}

.main-testimonials-item:hover video{
    filter: brightness(0.5);
    transform: scale(1);
}

.main-testimonials-item i{
    font-size: 40px;
    opacity: 0;
    transform: scale(0.8);
    transition: 0.5s ease;
}

.main-testimonials-item:hover i{
    opacity: 1;
    transform: scale(1);
}

.main-testimonials-item .loader{
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    z-index: -2;
}

#main-decor-1{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -100;
    width: 50%;
    max-width: 500px;
}






#services{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

#services-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 20px;
}

#services-text span{
    font-size: 28px;
}

#services-text p{
    max-width: 550px;
    margin-top: 15px;
}

#services-list{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    position: relative;
}

#services-list-container{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
}

.services-list-circle{
    position: absolute;
    width: 550px;
    height: 550px;
    z-index: -1;
    background: linear-gradient(135deg, #C435E880, #C435E810);
    border-radius: 20000px;
}

.services-item{
    display: grid;
    grid-template-columns: 50px 1fr 80px;
    gap: 20px;
    background-color: #ffffff;
    color: #000000;
    max-width: 450px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 10px 10px 30px #00000020;
}

.services-item img{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000010;
    width: 50px;
    height: 50px;
    border-radius: 200px;
    padding: 10px;
}

.services-item i{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000010;
    width: 50px;
    height: 50px;
    border-radius: 200px;
    font-size: 30px;
    color: #C435E8;
}

.services-item-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
}


.services-item-text em{
    font-style: normal;
    opacity: 0.7;
}

.services-item span{
    color: #000000;
    background-color: #00000010;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    height: min-content;
    margin: auto 0;
    padding: 5px 0;
    font-size: 20px;
    font-weight: 700;
}

#services-decor-1{
    position: absolute;
    bottom: -50%;
    left: 0;
    z-index: -100;
    width: 50%;
    max-width: 300px;
    transform: scaleX(-1);
}








#reviews{
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

#reviews-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 20px;
}

#reviews-text p{
    max-width: 550px;
}

#reviews-links{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#reviews-list{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-flow: column;
    gap: 40px;
}

#reviews-list-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

#reviews-list-container img{
    width: 160px;
    position: absolute;
    animation: phoneAnim 16s cubic-bezier(0.7,0,0,0.7) infinite;
    filter: brightness(0.8) drop-shadow(0 0 20px #ffffff00);
    cursor: pointer;
    transition: 0.5s ease;
}

@keyframes phoneAnim{
    0%{
        transform: translateX(300px) scale(0.8);
        filter: brightness(0) blur(3px);
        opacity: 0;
        z-index: -10;
    }
    25%{
        transform: translateX(200px) scale(1);
        filter: brightness(0.5) blur(1px);
        opacity: 1;
        z-index: -5;
    }
    50%{
        transform: translateX(0px) scale(1.2);
        filter: brightness(1);
        opacity: 1;
        z-index: 0;
    }
    75%{
        transform: translateX(-200px) scale(1);
        filter: brightness(0.5) blur(1px);
        opacity: 1;
        z-index: -5;
    }
    100%{
        transform: translateX(-300px) scale(0.8);
        filter: brightness(0) blur(3px);
        opacity: 0;
        z-index: -10;
    }
}

#reviews-list-container img:nth-of-type(1){ animation-delay: -16s; }
#reviews-list-container img:nth-of-type(2){ animation-delay: -12s; }
#reviews-list-container img:nth-of-type(3){ animation-delay: -8s;  }
#reviews-list-container img:nth-of-type(4){ animation-delay: -4s;  }
#reviews-list-container img:nth-of-type(5){ animation-delay: -0s;  }









#statistics{
    text-align: center;
    padding-bottom: 200px;
}

#statistics-text{
    margin-bottom: 50px;
}

#statistics-text h2{
    color: #fff;
    font-weight: 800;
    font-size: 50px;
}

#statistics-text span{
    font-size: 80px;
    font-weight: 800;
}

#statistics-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5%;
    max-width: 1150px;
    width: 100%;
    margin: auto;
}

.statistics-item{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 10px;
    background-color: #ffffff;
    box-shadow: -20px -20px 80px #ffffff40;
    padding: 40px 50px;
    border-radius: 55px;
}

.statistics-item b{
    font-size: 80px;
    font-weight: 800;
    color: #000000;
}

.statistics-item hr{
    width: 100%;
    border-color: #C435E800;
    display: none;
}

.statistics-item h3{
    font-size: 25px;
    font-weight: 800;
    color: #000000;
}

#statistics-decor-1{
    position: absolute;
    top: -50%;
    right: 0;
    z-index: -100;
    width: 50%;
    max-width: 300px;
    transform: scaleY(-1);
}

#statistics-decor-2{
    position: absolute;
    bottom: -50%;
    left: 0;
    z-index: -100;
    width: 50%;
    max-width: 300px;
    transform: scaleX(-1);
}






#team{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

#team-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 20px;
}

#team-text p{
    max-width: 550px;
    margin-top: -20px;
}

#team-image{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#team-image img{
    width: 100%;
    border-radius: 25px;
}












#book-a-call{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 100vh;
}

#book-a-call-form{
    display: flex;
    justify-content: center;
    align-items: center;
}

#book-a-call-form .calendly-inline-widget{
    width: clamp(250px, 100%, 500px);
    display: flex;
    justify-content: center;
    background-color: white;
}

#book-a-call-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
}

#book-a-call-text img{
    width: 100%;
    max-width: 200px;
    border-radius: 1000%;
    border: 5px solid #ffffff;
    margin-bottom: 20px;;
}

#book-a-call-text span{
    color: #ffffff80;
}

#book-a-call-text h3{
    color: #C435E8;
    font-size: 35px;
}

#book-a-call-text p{
    max-width: 500px;
}

#book-a-call-text h4{
    font-size: 23px;
    margin-bottom: 10px;
}

#book-a-call-text li{
    max-width: 500px;
    margin-left: 10px;
    list-style: none;
    padding-left: 25px;
    background-image: url("../images/checkmark-circle.svg");
	background-repeat: no-repeat;
	background-position: 0px 3px;
	background-size: 15px;
    margin-bottom: 10px;
}

#book-decor-1{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -100;
    width: 50%;
    max-width: 300px;
    transform: scaleY(-1);
}

#book-decor-2{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -100;
    width: 50%;
    max-width: 300px;
    transform: scaleX(-1);
}







@media screen and (max-width: 1000px) {
    #main-text h1{
        font-size: 40px;
    }

    .statistics-item{
        gap: 0;
    }
    .statistics-item b{
        font-size: 100px;
    }
    .statistics-item h3{
        font-size: 20px;
    }
}


@media screen and (max-width: 800px) {
    #main{
        padding-top: 125px;
        grid-template-columns: 1fr;
        gap: 100px;
    }

    #services{
        grid-template-columns: 1fr;
        gap: 100px;
    }
    .services-list-circle{
        width: 500px;
        height: 500px;
    }

    #reviews{
        grid-template-columns: 1fr ;
    }
    #reviews-list{
        order: 2;
    }
    #reviews-list-container{
        height: 600px;
        overflow: unset;
    }
    #reviews-list-container::before, #reviews-list-container::after{
        display: none;
    }

    #statistics-list{
        grid-template-columns: 1fr;
    }

    #team{
        grid-template-columns: 1fr;
    }
    #team-list{
        order: 2;
    }

    #book-a-call{
        grid-template-columns: 1fr;
    }
    #book-a-call-form{
        order: 2;
    }
}


@media screen and (max-width: 500px) {
    #main-testimonials-container{
        gap: 10px;
        min-height: 300px;
    }
    #main-text h1{
        font-size: 35px;
    }

    #services-text{
        gap: 0px;
    }

    #statistics-text span{
        font-size: 60px;
    }
    #statistics-text h2{
        font-size: 40px;
        margin-bottom: 20px;
    }
    #statistics-text span{
        font-size: 50px;
    }
    .statistics-item{
        padding: 20px;
    }
    .statistics-item b{
        font-size: 50px;
    }
    
    #reviews-list-container{
        transform: scale(0.8);
        height: 350px;
    }
    
    #team-list{
        gap: 50px 20px;
    }
    .team-item img{
        width: 120px;
    }
    .team-item b{
        font-size: 20px;
        width: min-content;
    }
}











#main-text .arrow-el{
    transform: translateX(-50px);
    opacity: 0;
    animation-delay: -0.6s;
}
#main-text h1{
    transform: translateX(-50px);
    opacity: 0;
    animation-delay: -0.6s;
}
#main-text p{
    transform: translateX(-50px);
    opacity: 0;
    animation-delay: -0.4s;
}
#main-links{
    transform: translateX(-50px);
    opacity: 0;
    animation-delay: -0.2s;
}
.main-testimonials-item:nth-child(1){
    transform: translateY(-50px);
    opacity: 0;
    animation-delay: -0.1s;
}
.main-testimonials-item:nth-child(2){
    transform: translateY(50px);
    opacity: 0;
    animation-delay: -0.1s;
}
@keyframes mainAnim{
    from{

    }
    to{
        transform: unset;
        opacity: 1;
    }
}

#services-text.animate{
    transform: translateX(-50px);
    opacity: 0;
}
#services-list.animate{
    transform: scale(0.5);
    opacity: 0;
}
#services-list.animate #services-list-container .services-item{
    transform: scale(0.6);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.375);
}
.services-item:nth-child(1){ transition: 0.3s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.services-item:nth-child(2){ transition: 0.3s 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.services-item:nth-child(3){ transition: 0.3s 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.services-item:nth-child(4){ transition: 0.3s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

#reviews-list.animate{
    transform: translateX(-50px);
    opacity: 0;
}
#reviews-text.animate{
    transform: translateX(50px);
    opacity: 0;
}

#statistics-text.animate{
    transform: translateY(-50px);
    opacity: 0;
}
.statistics-item.animate{
    transform: translateX(50px);
    opacity: 0;
}
.statistics-item:nth-child(1){ transition-delay: 0.1s; }
.statistics-item:nth-child(2){ transition-delay: 0.15s; }
.statistics-item:nth-child(3){ transition-delay: 0.2s; }

#team-image.animate{
    transform: translateX(-50px);
    opacity: 0;
}
#team-text.animate{
    transform: translateX(50px);
    opacity: 0;
}

#book-a-call-form.animate{
    transform: translateX(-50px);
    opacity: 0;
}
#book-a-call-text.animate{
    transform: translateX(50px);
    opacity: 0;
}