@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary-color: #0a74bd;
    --secondary-color: #032338;
    --black: #01121d;
    --text-primary: #5f5f5f;
    --soft-primary: #0a75bd42;
    --shadow: #63636369;
    --duration: 20s;
    --total: 4;
}

section {
    width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 75px;
    font-weight: 400;
    text-align: center;
}

.hero p {
    font-size: 14px;
    color: var(--text-primary);
    text-align: center;
}

section p {
    font-size: 14px;
    color: var(--text-primary);
}

.hero {
    color: var(--black);
    display: flex;
    align-items: center;
    height: 100vh;
    justify-content: center;
    flex-direction: column;
}

.hero .contact-us {
    text-decoration: none;
    color: var(--primary-color);
    background-color: transparent;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    transition: background-color 0.5s ease;
    margin-top: 10px;
}

.hero .contact-us:hover {
    background-color: var(--primary-color);
    color: white;
}

.services {
    padding: 0 100px;
    margin-bottom: 200px;
}

.service-box {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 150px;
}

.image {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image,
.details {
    height: auto;
    width: 40%;
}

.services h1 {
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 10px;
}

.services h3 {
    font-weight: 500;
    margin-bottom: 10px;
}

.services .heading,
.details p {
    margin-bottom: 20px;
}

.more {
    width: 100%;
    height: auto;
    background: var(--black);
    border-radius: 20px;
    color: white;
    padding: 20px;
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.ser {
    display: flex;
    align-items: center;
    margin-top: 20px;
    justify-content: space-evenly;
}

.m-service ul {
    list-style-type: circle;
    font-size: 14px;
    font-weight: 300;
}

.m-service h3 {
    color: var(--primary-color);
}

.work {
    height: 500px;
    color: white;
    background: linear-gradient(90deg, var(--primary-color), var(--black));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    margin-bottom: 100px;
}

.work h2 {
    font-size: 55px;
    font-weight: 400;
    margin-right: 100px;
}

.work a {
    text-decoration: none;
    color: white;
    background-color: transparent;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid white;
    border-radius: 30px;
    transition: background-color 0.5s ease;
    margin-top: 10px;
}

.work a .icon {
    margin-left: 10px;
    display: inline-block;
}

.work a:hover {
    background-color: white;
    color: var(--black);
}

.customers h1 {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 40px;
    text-align: center;
}

.customers {
    margin-bottom: 150px;
    padding: 0 200px;
}

.testimo {
    position: relative;
    display: flex;
    align-items: center;
    height: 250px;
    width: 100%;
    margin-top: 50px;
    padding: 20px;
    overflow: hidden;
    gap: 10px;
    mask-image: linear-gradient(to left, transparent, black 10% 90%, transparent);
}



.testimo .test {
    border: 1px solid var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    position: absolute;
    background-color: white;
    height: inherit;
    width: 380px;
    right: 100%;
    animation: scrollX var(--duration) linear infinite;
    animation-delay: calc(var(--duration)/var(--total)*(var(--total) - var(--i)) * -1) !important;
    overflow: hidden;
}

.testimo:hover .test {
    animation-play-state: paused;
}

@keyframes scrollX {
    from {
        right: -400px;
    }
}

.test .person {
    display: flex;
    margin-bottom: 20px;
}

.test .person .pic {
    height: 50px;
    width: 50px;
    border: 3px solid var(--primary-color);
    border-radius: 50px;
    margin-right: 20px;
}

.test p {
    font-size: 14px;
    font-weight: 400;
}

.test .person .details h4 {
    font-weight: 500;
}


.test .person .details p {
    color: var(--text-primary);
    font-size: 12px;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 55px;
    }

    .hero p {
        font-size: 14px;
        line-height: 23px;
    }

    .services {
        padding: 0 20px;
    }

    .work h2 {
        font-size: 45px;
    }

    .customers {
        padding: 0 20px;
    }

    .testimo .test {
        scale: 0.8;
    }

}

@media (max-width: 720px) {
    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 13px !important;
        line-height: 23px;
    }

    p {
        font-size: 13px !important;
        line-height: 23px;
    }

    .services {
        padding: 0 20px;
        text-align: justify;
    }

    .service-box {
        display: flex;
        flex-direction: column;
    }

    .service-box .image {
        margin: 20px 0;
    }

    .service-box .details,
    .service-box .image {
        width: 100% !important;
    }

    .work h2 {
        font-size: 45px;
    }

    .customers {
        padding: 0 20px;
    }

    .testimo .test {
        scale: 0.8;
    }


    .ser {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .m-service ul {
        font-size: 13px;
        margin-bottom: 20px;
        margin-left: 20px;
    }

    .work {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .work h2 {
        font-size: 30px;
        text-align: center;
        margin-right: 0px;
    }

    .customers {
        padding: 8px;
    }

    .customers h1 {
        font-size: 35px;
    }

    .testimo {
        gap: 10px;
    }

    .testimo .test {
        scale: 0.95;
    }

    .testimo .test:nth-of-type(even) {
        display: none;
    }
}