@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: #a0a0a069;
    --duration: 30s;
    --duration2: 40s;
    --total: 4;
    --total2: 8;
}

body {
    color: var(--black);
    background-color: white;
}

header {
    height: 100vh;
    width: 100%;
}

header .bg {
    height: 100vh;
    width: 100%;
    position: absolute;
    background-image: url(../image/bg-hero.png);
    filter: blur(5px);
    opacity: 0.8;
}



/*Banner*/
.banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 100px;
}

.hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.text h1 {
    font-size: 70px;
    line-height: 84px;
    margin-bottom: 20px;
}

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

.buttons {
    margin-top: 40px;
}

.intern-btn {
    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-left: 10px;
}

.intern-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 5px 10px;
    background-color: var(--black);
    width: 350px;
    height: 45px;
    border-radius: 30px;
    color: white;
}

.images {
    display: flex;
    align-items: center;
}

.user .pic img {
    height: 35px;
    width: 35px;
    border-radius: 30px;
    border: 3px solid white;
}

.ico {
    height: 37px;
    width: 37px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    font-size: 18px;
    border-radius: 30px;
    border: 3px solid white;
}

.user p {
    font-size: 14px;
    font-weight: 600;
}

span {
    color: var(--primary-color);
    font-size: 17px;
}

.pic:nth-child(1) {
    transform: translateY(3px);
}

.pic:nth-child(2) {
    transform: translateY(3px);
}

.pic:nth-child(3) {
    transform: translateY(3px);
}

.showcase {
    position: absolute;
    height: 600px;
    width: 80%;
    background-position: center;
    background-size: cover;
    background-clip: content-box;
    border-radius: 20px;
    bottom: -70%;
    left: 50%;
    overflow: hidden;
    transform: translateX(-50%);
    box-shadow: 10px 10px 15px #2c2c2c29;

}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desc-text {
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, #000000, #000000e0 30%, transparent 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;

}

.text-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    transition: opacity 1s ease-in-out;

}

.text-field h1 {
    font-size: 50px;
    text-align: center;
}

.text-field p {
    font-size: 14px;
    text-align: center;
}

.showcase-icon {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    height: 80px;
    width: 80px;
    font-size: 30px;

}

.prev,
.next {
    position: absolute;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 30px;
    transition: background-color 0.5s ease, scale 0.5s ease;
    cursor: pointer;
}

.prev {
    left: 10%;
}

.next {
    right: 10%;
}

.prev:hover,
.next:hover {
    color: white;
    background-color: var(--primary-color);
}

.prev:active,
.next:active {
    scale: 0.8;
}

section {
    height: 100vh;
    width: 100%;
    padding: 0 100px;
}

.space {
    height: 80vh;
    width: 100%;
}

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

.vend {
    position: absolute;
    height: 50px;
    right: 100%;
    width: auto;
    display: flex;
    padding: 10px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    animation: scrollminusX var(--duration2) linear infinite;
    animation-delay: calc(var(--duration2)/var(--total2)*(var(--total2) - var(--i)) * -1) !important;
    transition: filter 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    z-index: 100;
}

@keyframes scrollminusX {
    from {
        right: -120px;
    }
}

.vendors:hover .vend {
    animation-play-state: paused;
    filter: grayscale(1);
}

.vendors .vend:hover {
    filter: grayscale(0);
}

.sec2 {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    margin-top: 200px;
}

.title-desc {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 100px;
    justify-content: space-between;
}

.title-desc .title {
    font-size: 30px;
    color: var(--primary-color);
}

.title-desc .desc {
    width: 400px;
    font-weight: 400;
}

.services {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service {
    height: 250px;
    background-color: white;
    border: 1px solid var(--black);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: background-color 0.5s ease, transform 0.3s ease;
}

.service:hover {
    background-color: var(--soft-primary);
    transform: translateY(-10px);
    cursor: default;
}

.icon {
    height: 50px;
    width: 50px;
    background-color: var(--black);
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-desc {
    font-weight: 400;
    font-size: 14px;
    padding: 10px;
    color: var(--text-primary);
}

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

/*SECTION 2 ENDS*/
.sec3 {
    background-color: var(--black);
    color: white;
    padding-top: 50px;
    padding: 10px 200px;
    height: auto;
}

.sec3 h1 {
    font-size: 45px;
    color: var(--primary-color);
}

.sec3 p {
    font-weight: 400;
    font-size: 13px;

}


.row1,
.row2 {
    position: relative;
    display: flex;
    align-items: center;
    height: 280px;
    width: 100%;
    margin: 50px 0;
    overflow: hidden;
    gap: 5px;
    mask-image: linear-gradient(to left, transparent, black 10% 90%, transparent);
}

.row1 .imgs {
    position: absolute;
    background-color: white;
    height: inherit;
    left: 100%;
    width: 380px;
    display: flex;
    padding: 10px;
    overflow: hidden;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    animation: scrollX var(--duration) linear infinite;
    animation-delay: calc(var(--duration)/var(--total)*(var(--total) - var(--i)) * -1) !important;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.row2 .imgs {
    position: absolute;
    background-color: white;
    height: inherit;
    right: 100%;
    width: 380px;
    display: flex;
    padding: 10px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    animation: scrollminusX var(--duration) linear infinite;
    animation-delay: calc(var(--duration)/var(--total)*(var(--total) - var(--i)) * -1) !important;
    transition: filter 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}

.row1:hover .imgs,
.row2:hover .imgs {
    animation-play-state: paused !important;
    cursor: default;
    filter: grayscale(1);
    opacity: 0.5;
}

.row1 .imgs:hover,
.row2 .imgs:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scrollX {
    from {
        left: -380px;
    }
}

@keyframes scrollminusX {
    from {
        right: -380px;
    }
}

.asides {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 200px;
    padding: 0 50px;
}

.asides .info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 3px solid var(--primary-color);
    padding-right: 50px;
}

.asides .info h1 {
    color: var(--primary-color);
    font-size: 50px;
}

.asides .info p {
    font-weight: 400;
    font-size: 13px;
}

.sec4 {
    padding-top: 50px;
}

.sec4 h1 {
    color: var(--primary-color);
    font-size: 45px;
    margin-bottom: 40px;
}

.testimonials {
    width: 100%;
    display: grid;
    background-color: #eeeeee;
    padding: 20px;
    border-radius: 10px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi {
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    transition: box-shadow 0.5s ease;
}

.testi:hover {
    box-shadow: 5px 5px 7px #2c2c2c29;
}

.stars {
    color: #ff9900;
}

.description {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 14px;
    margin-top: 10px;
}

.customer {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.customer .pic {
    height: 50px;
    width: 50px;
    background-color: var(--black);
    border-radius: 30px;
    margin-right: 15px;
}

.profile h4 {
    font-size: 14px;
}

.profile p {
    font-size: 11px;
    color: var(--text-primary);
}

.contact-sec {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    height: 500px;
}

.cont-box {
    height: 80%;
    width: 70%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

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

.call a {
    padding: 10px 20px;
    background-color: white;
    color: var(--black);
    border-radius: 30px;
    text-decoration: none;
    border: 1px solid white;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.5s ease;
}

.call a:hover {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.call a .iconix {
    font-size: 15px;
    padding-right: 10px;
    padding-top: 5px;
}

.call {
    margin-top: 20px;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec5 {
    background-color: var(--black);
    color: white;
    padding-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.faq,
.faqs {
    height: 80%;
    width: 40%;
}

.faq h1 {
    font-size: 45px;
    color: var(--primary-color);
}


.faqs {
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.accordeon {
    height: auto;
    overflow: hidden;
    color: white;
}

.accordeon-title {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.5s ease;
    border: 1px solid #032338;
}

.accordeon-title:hover {
    background-color: var(--soft-primary);
}

.caret {
    height: 7px;
    width: 7px;
    border: 1px solid transperent;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    transition: rotate 0.3s;
    border-right: 2px solid white;

}

.content {
    padding: 0 10px;
    height: 0px;
    transition: 0.5s ease;
}

.content p {
    font-size: 13px;
    color: #c6c6c6;
}

.show {
    display: block;
    height: 75px;
}

.rotate-caret {
    rotate: 180deg;
}

.sec6 {
    padding-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.details .img img {
    border-radius: 20px;
    margin-bottom: 10px;
}

.contact-infos {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.contact-infos p {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.tel,
.email {
    display: flex;
}

.icon-tel {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin-right: 15px;
}

form {
    border-radius: 20px;
    box-shadow: 5px 5px 7px var(--shadow);
    padding: 20px;
    width: 40%;
    height: auto;
}

form p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

form label {
    font-size: 12px;
    font-weight: 600;
}

form input,
select,
textarea {
    padding: 15px;
    border-radius: 5px;
    background-color: #ebebeb;
    border: none;
    width: 100%;
    outline-color: var(--primary-color);
    outline-width: 1px;
    margin-bottom: 15px;
}

textarea {
    resize: none;
}

.short-int {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
}

form button {
    margin-top: 20px;
    width: 100%;
    border: none;
}

h1,
h2,
h4 {
    font-weight: 400 !important;
}

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

    .text p {
        font-size: 13px;
    }

    .showcase {
        width: 90%;
    }

    .text-field {
        scale: 0.9;
    }

    .vendors .vend:nth-last-child(even) {
        display: none;
    }

    .sec2 {
        padding: 0 20px;
        height: auto;
        padding-bottom: 100px;
    }

    .services {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .sec3,
    .sec5,
    .sec6 {
        padding: 20px 10px;
    }

    .row1 .imgs,
    .row2 .imgs {
        scale: 0.8;
        margin: 20px 0;
    }

    .asides .info h1 {
        font-size: 35px;
    }

    .sec4 h1,
    .sec3 h1,
    .sec2 h1,
    .sec5 h1 {
        font-size: 40px;
    }

    .sec4 {
        padding: 0 20px;
        height: auto;
    }

    .testimonials {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-sec {
        padding: 0 20px;
    }

    .cont-box {
        width: 100%;
    }

    .call {
        width: 40%;
    }

    .details .img {
        display: none;
    }

    .details {
        width: 100%;
        justify-content: space-around;
    }

    .sec6 {
        flex-direction: column;
    }

    form {
        width: 100%;
    }

}


@media (max-width: 720px) {
    .text h1 {
        font-size: 45px;
        line-height: 50px;
    }

    .user {
        scale: 0.9;
    }

    .text p {
        font-size: 12px;
    }

    .showcase {
        width: 95%;
    }

    .prev,
    .next {
        bottom: 50px;
    }

    .text-field {
        scale: 0.9;
    }

    .text-field h1 {
        font-size: 35px;
    }

    .vendors .vend:nth-last-child(even) {
        display: none;
    }
    .vendors{
        scale: 0.8;
        padding: 0 10px;
    }
    .sec2 {
        padding: 0 20px;
        height: auto;
        padding-bottom: 100px;

    }

    .title-desc {
        flex-direction: column;
        align-items: flex-start;
        width: 100% !important;
        margin-bottom: 10px;
    }
    .title-desc .desc{
        font-size: 14px;
        height: auto;
        width: 320px !important;
        
    }

    .services {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding: 0 5px;
        margin-top: 10px;
    }

    .sec3,
    .sec5,
    .sec6 {
        padding: 20px 10px;
    }

    .row1 .imgs,
    .row2 .imgs {
        scale: 0.9;
        margin: 20px 0;
    }

    .row1 .imgs:nth-of-type(even),
    .row2 .imgs:nth-of-type(even) {
        display: none;
    }

    .asides .info h1 {
        font-size: 35px;
        text-align: center;
    }
    .asides .info p {
        text-align: center;
    }

    .asides {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 10px 0;
        margin-bottom: 50px;
        width: 100% !important;
        gap: 10px;
        padding: 20px !important;
    }
    .asides .info{
        padding-left: 10px !important;
    }

    .sec4 h1,
    .sec3 h1,
    .sec2 h1,
    .sec5 h1 {
        font-size: 35px;
    }

    .sec4 {
        padding: 0 20px;
        height: auto;
    }

    .testimonials {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .testi {
        font-size: 10px;
    }

    .contact-sec {
        padding: 0 10px;
    }

    .cont-box {
        width: 100%;
    }

    .cont-box p {
        text-align: center;
        font-size: 13px;
    }
    .cont-box h1 {
        text-align: center;
        text-size: 20px;
    }

    .call {
        width: 90%;
    }

    .sec5 {
        flex-direction: column;
        justify-content: start;
        padding: 10px 10px;
    }

    .faq,
    .faqs {
        height: fit-content;
        width: 100%;
    }

    .faqs .accordeon {
        width: 100%;
    }

    .faq h1 {
        font-size: 30px;
    }

    .details .img {
        display: none;
    }

    .details {
        width: 100%;
        height: auto;
        justify-content: space-around;
    }
    .contact-infos{
        flex-direction: column;
        align-items: flex-start;
    }

    .sec6 {
        flex-direction: column;
    }

    form {
        width: 100%;
    }

}