:root {
    --particle-color: #B41401;
    --main-color: #B41401;
}

a {
    color: var(--main-color);
}

.header-sec {
    background: url(../img/bg-innovation.png) center;
    background-size: cover;

}

.header-sec img {
    width: calc(100vh - 450px);
    max-width: 80%;
    height: auto;
}

.header-sec.sidepage-h {
    background: none;
}

.work-imgs>a>img {
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    background-color: #636363;
}

.works-container {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    margin: 5rem 0;
}

.work-item {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.work-item:nth-child(even) {
    flex-direction: row-reverse;
}

.work-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 2.5rem;
    column-gap: 2rem;
    width: 100%;
    max-width: 556px;
}

.work-imgs>a>img {
    width: 100%;
    max-width: 260px;
    height: 260px;
    border: none;
}

/* .work-imgs > a:first-of-type {
    width: 100%;
    max-width: 556px;
    height: 304px;
} */

.work-imgs>a:first-of-type>img {
    width: 100%;
    max-width: 556px;
    height: 304px;
}

.work-txt {
    max-width: 653px;
    text-align: start;
}

.work-txt>a {
    color: white;
}

.work-txt>a>h3 {
    margin: 0 0 2rem 0;
}

.work-txt>a>h3::after {
    content: "";
    margin: 1.5rem 0 0 0;
    display: block;
    width: 40%;
    border-bottom: 4px solid #B41401;
}

.work-txt>p {
    margin: 0 0 2rem 0;
    width: unset;
}

.solu-items {
    width: 210px;
}

.solu-items>lottie-player {
    width: 100%;
    max-width: 127px;
}

.nav-btns {
    width: 100%;
    justify-content: space-between;
    max-width: 1288px;
}

#resultImages img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.partner-sec {
    background: url(../img/Rectangle176.png) center;
    background-color: #0A0A0A;
}

@media (max-width: 576px) {
    .work-imgs {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 2.5rem;
        column-gap: 0rem;
        width: 100%;
        max-width: 556px;
    }

    .solution-sec-2 {
        max-height: 1220px;
    }

    .header-sec img{
        margin-top: 2rem;
    }

    .header-des{
        margin-bottom: 4rem;
    }
    section h1 {
        font-weight: 600;
        margin: 0.5rem 0;
    }
    .contact-us-form>div>h2 {
        color: var(--main-color);
        font-weight: 700;
        font-size: 26px;
    }
    .footer-logos{
        column-gap: 3rem;
    }
    .contact-us>h1{
        margin: 2rem 0 0 0;
    }


}

@media (min-width: 570px) {
    .solution-sec-2 {
        max-height: 1220px;
    }
    .solu-icons{
        column-gap: 4rem;
        row-gap: 0rem;
    }
    .header-sec img {
        width: calc(100vh - 600px);
        max-width: 80%;
        height: auto;
    }
    .header-sec img{
        margin-top: 2rem;
    }

    .header-des{
        margin-bottom: 4rem;
    }
    section h1 {
        font-weight: 600;
    }
    .contact-us-form>div>h2 {
        color: var(--main-color);
        font-weight: 700;
        font-size: calc(1rem + 1vw);
    }
    .footer-logos{
        column-gap: 3rem;
    }
    .contact-us>h1{
        margin: 2rem 0 0 0;
    }

}

@media (min-width: 768px) {
    .solution-sec-2 {
        max-height: 1220px;
    }

}

@media (min-width: 992px) {

    .solution-sec-2 {
        max-height: 220px;
    }
    .header-sec img{
        margin-top: 5rem;
    }

    .header-des{
        margin-bottom: 5rem;
    }
}

@media (min-width: 1200px) {

    .solution-sec-2 {
        max-height: 220px;
    }
    .header-sec img {
        width: calc(100vh - 450px);
        max-width: 80%;
        height: auto;
    }
    .header-sec img{
        margin-top: 5rem;
    }

    .header-des{
        margin-bottom: 7rem;
    }
    section h1 {
        font-weight: 600;
    }
    .contact-us-form>div>h2 {
        color: var(--main-color);
        font-weight: 700;
        font-size: calc(3rem + 1vw);
    }
}

@media (min-width: 1400px) {
    .work-txt>a>h3 {
        font-size: 30px;
        font-weight: 700;
    }

    .work-txt>p {
        font-size: 18px;
        font-weight: 400;
    }

    .solution-sec-2 {
        max-height: 220px;
    }
    .header-sec img {
        width: calc(100vh - 450px);
        max-width: 80%;
        height: auto;
    }
    .header-sec img{
        margin-top: 8rem;
    }

    .header-des{
        margin-bottom: 10rem;
    }

}
@media screen and (min-width: 300px) and (max-width: 1023px) {
    .typing-demo {
        width: 12ch;
    }

    main {
        text-align: center;
        height: 80vh;
    }

    .overlay:hover {
        opacity: 0;
    }

    .div-type {
        max-height: 90px;
        height: 20px;
    }

    .overlay {
        width: 0px;
    }

    /* .links-sec {
        padding: 11rem 1rem 5rem 1rem;
    } */
}

@media screen and (min-width: 429px) and (max-width: 590px) {
    .footer-logos{
        column-gap: 7rem;
    }
}
@media (min-width: 1600px) {}
