* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --mainColor: #2D36B7;
    --secondColor: #FF4E00;
    --thirdColor: #ffff;
    --cardsColor: #757AC7;
    --buttonsColor: #1E247B;
    --sectionMarginTop: 100px;
    --sectionPadding: 100px;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}



body {
    background-color: var(--mainColor);
    position: relative;
}

.transition-page {
    width: 0vw;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0%;
    left: 0%;
    z-index: 200;
}

.slide {
    animation: slide 2s ease-in-out forwards;

}

.cont {
    width: 60%;
    margin: auto;
    position: relative;
}

.cont i {
    color: var(--thirdColor);
    font-size: 2rem;
    position: absolute;
    top: 30%;
    left: -10%;
    transition: 0.3s ease-in-out;
}

.cont i:hover {
    color: var(--secondColor);
}

@media(max-width:768px) {
    .cont i {
        left: -60px;
        top: 50px;
    }
}

header {
    width: 40vw;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    margin: auto;
}

header a {
    color: var(--thirdColor);
    text-decoration: none;
    position: relative;
    margin: 0 50px;
    font-size: 1.1rem;
    font-weight: bold;

}

@media(max-width:768px) {
    header a {
        margin: 0px 20px;
    }
}

header a::before {
    content: "";
    height: 2px;
    width: 0%;
    background-color: var(--thirdColor);
    position: absolute;
    bottom: -5px;
    left: 0%;
    border-radius: 50px;
    transition: 0.3s ease-in-out;

}

header a:hover::before {
    width: 100%;
}


header .links {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* -------------------------------------------------- */


.one {
    width: 100vw;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.one .img-holder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.one .img-holder img {
    max-width: 50%;
}

.one h1 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    margin: 50px auto;
}

@media(max-width:991px) {
    .one {
        margin: 100px auto;
    }

    .one .img-holder img {
        width: 45%;
    }

    .one h1 {
        font-size: 1.5rem;
    }

    .one i {
        font-size: 3rem;
    }
}

.one i {
    font-size: 4rem;
    color: var(--secondColor);
}

.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    margin: 50px auto;
}

@media(max-width:991px) {
    .process {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 40px;
        margin: 10px;
    }
}

.step {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.step h1 {
    font-size: 1rem;
    font-weight: 400;
    width: 50%;
    margin: auto;
}

.step i {
    font-size: 2.5rem;
    color: var(--thirdColor);
}

@media(max-width:991px) {
    .step i {
        font-size: 1.8rem;
    }
}

/* ------------------------------------------------------ */


.two {
    width: 100vw;
    margin-top: 100px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    color: var(--thirdColor);
    transition: 0.5s ease-in-out;
}

@media(max-width:768px) {}

.two h1 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    margin: 50px auto;

}

.two .img-holder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.two .img-holder img {
    max-width: 25%;
}

@media(max-width:991px) {
    .two .img-holder img {
        max-width: 70%;
    }

    .two h1 {
        font-size: 1.5rem;
    }
}


.web-process {
    margin: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

@media(max-width:768px) {
    .web-process {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        margin: 0% auto;

    }

    .topLeft {
        border: 5px solid var(--thirdColor);
    }

    .topRight {
        border: 5px solid var(--thirdColor);


    }

    .bottomLeft {
        border: 5px solid var(--thirdColor);


    }

    .bottomRight {
        border: 5px solid var(--thirdColor);

    }


}

.web-process .web {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

@media(max-width:768px) {
    .web-process .web {
        padding: 20px;
        padding: 20px;
        margin-top: 20px;
    }
}

.web-process .web h1 {
    font-size: 1.2rem;
    width: 60%;
    font-weight: 500;
}

.topLeft {
    border-right: 5px solid var(--thirdColor);
    border-bottom: 5px solid var(--thirdColor);
}

.topRight {
    border-left: 5px solid var(--thirdColor);
    border-bottom: 5px solid var(--thirdColor);
}

.bottomLeft {
    border-top: 5px solid var(--thirdColor);
    border-right: 5px solid var(--thirdColor);
}

.bottomRight {
    border-left: 5px solid var(--thirdColor);
    border-top: 5px solid var(--thirdColor);
}


/* ----------------------------------------------------------------- */
.three {
    width: 100vw;
    padding: 10px;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

}


.head {
    font-size: 3rem;
    font-weight: 400;
    -webkit-text-stroke: 2px var(--thirdColor);
    color: transparent;
    text-align: center;
}

.portfolio-cont {
    margin: 50px auto;
    width: 60%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
}

@media(max-width:991px) {
    .portfolio-cont {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        margin: 50px auto;
        padding: 10px;
        gap: 10px;
    }
}

.portfolio {
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0%;
    top: 0%;
    background-color: rgba(43, 0, 255, 0);
    transition: 0.5s ease-in-out;
}

.portfolio:hover::before {
    background-color: rgba(12, 3, 42, 0.3);
}

.portfolio img {
    max-width: 100%;
}

.portfolio .i {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--thirdColor);
    font-size: 2rem;
    position: absolute;
    left: 10%;
    top: -30%;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

#icon {
    position: absolute;
    right: 10%;
    top: -30%;
    color: var(--thirdColor);
    font-size: 2rem;
    transition: 0.5s ease-in-out;
    cursor: default;

}

.portfolio:hover #icon {
    top: 10%;
}

.tools {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: -100%;
    bottom: 10%;
    transition: 0.5s ease-in-out;

}

.portfolio:hover .tools {
    right: 10%;
    bottom: 10%;
}

.tools i {
    font-size: 2rem;
    color: var(--thirdColor);
}


.portfolio h2 {
    color: var(--thirdColor);
    font-weight: bold;
    letter-spacing: 1.2px;
    position: absolute;
    left: -100%;
    bottom: 10%;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    font-size: 1.2rem;

}

.portfolio h2:hover {
    color: var(--secondColor);

}

.portfolio:hover h2 {
    left: 10%;
    bottom: 10%;
}

.i h1 {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 10px;
}

.portfolio .i:hover {
    color: var(--secondColor);
}

.portfolio:hover .i {
    left: 10%;
    top: 10%;
}

@media(max-width:768px) {
    .portfolio h1 {
        font-size: 1rem;
    }

    .portfolio h2 {
        font-size: 1rem;
    }

    .tools i {
        font-size: 1rem;
    }

    .portfolio .i {
        font-size: 1rem;
    }

    #icon {
        display: none;
    }
}


/* footer start  */
footer {
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, var(--mainColor), #ff4e003b);
    display: flex;
    justify-content: center;
    align-content: center;
    color: var(--thirdColor);
    text-align: center;
    padding: 100px;
}

@media(max-width:991px) {
    footer {
        flex-wrap: wrap;
        padding: 0%;
    }
}

footer .end h4 {
    margin: 10px 0;
    font-weight: 500;
}

footer .end a {
    text-decoration: none;
    color: #fff;
}

/* footer end   */