/* global rules */
:root {
    --fifth-color: #7254b4;
    --fourth-color: #bda6ee;
    --second-color: #e954ee;
    --first-color: #5563bc;
    --back-color: #e1f3ff;
    --text-color: #333;
    --padding-bottom: 50px;
    --padding-top: 30px;
    --btn-text: 1.1em;
}

Html {
    font-family: poppins, sans-serif;
    scroll-behavior: smooth;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all .5s linear;
}

body {
    position: relative;
    z-index: -2;
}

.container {
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width:768px) {
    .container {
        width: 98%;
    }
}

@media (min-width:992px) {
    .container {
        width: 970px;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
}

/* end global rules */
/* start header */
header {
    width: 100%;
    height: 60px;
    background-color: var(--back-color);
    position: fixed;
    z-index: 1111;
}

.whatsapp {
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 200px;
    right: 200px;
    z-index: 1000;
}

.whatsapp img {
    width: 100%;

}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    text-decoration: none;
    color: var(--fifth-color);
    font-weight: 800;
    font-size: 20px;
}

header nav {
    padding: 0;
    display: relative;
}

header nav .toggle-menu {
    color: black;
    font-size: 20px;
}

header .container nav ul {
    display: flex;
    list-style: none;
}

@media (max-width: 768px) {
    header .container nav .toggle-menu:hover+ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0px;
        padding: 10px;
        width: 100%;
        background: rgba(255, 255, 255);
        z-index: 100;
        text-align: center;
        text-transform: capitalize;
    }

    header .container nav ul li:not(:last-of-type) {
        border-bottom: 1px solid var(--fourth-color);
    }

    .landing .intro-text {
        text-align: center;
        padding: 5% 0%;
        width: 100vw;
    }
}

@media (min-width: 768px) {
    header .container nav .toggle-menu {
        display: none;
    }
}

header .container nav ul li a {
    padding: 10px 15px;
    color: var(--first-color);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
    display: block;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    header .container nav ul {
        display: none;
    }
}

header .container nav ul li a:hover {
    color: var(--second-color);
}

/* end header */
/* start landing section */
.landing {
    background-image: url(https://res.cloudinary.com/dc0dlzs6k/image/upload/v1676208093/portfolioWebDesginLinguist/main-image_knr9j3.webp);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    min-height: calc(100vh - 60px);
    position: relative;
    z-index: -1;
}

@media (max-width: 992px) {
    .landing::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: rgb(0 0 0 / 50%);
        width: 100%;
        height: 100%;
    }

    .landing::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: rgb(256 256 256 / 80%);
        width: 100%;
        height: 100%;
    }
}


.landing .intro-text {
    padding: 200px 100px;
    z-index: 111;
    position: relative;

}

.landing .intro-text h3 {
    color: var(--first-color);
    font-size: 25px;
    font-weight: 800;
}

.landing .intro-text h3 span {
    font-size: 40px;
    font-weight: 800;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--second-color);
}

.landing .intro-text p {
    margin-top: 15px;
    color: black;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    max-width: 400px;
}

.landing .intro-text .main-button {
    background-color: var(--second-color);
    border-radius: 6px;
    padding: 0.9375em 2.1875em;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    font-size: var(--btn-text);
    font-weight: 600;
    color: #fff;
    min-width: 15%;
    margin-bottom: 50px;
    margin-top: 50px;
}

.landing .intro-text .main-button:hover {
    color: black;
}

.landing .intro-text .icons {
    margin-top: 70px;
}

.landing .intro-text .icons i {
    font-size: 25px;
    color: var(--fifth-color);
    padding-left: 15px;
    transition: 0.4s;
    cursor: pointer;
}

.landing .intro-text .icons i:hover {
    color: var(--first-color);
}

/* end landing section */
/* start repeated header */
.repeated-header {
    text-align: center;
    font-size: 45px;
    font-weight: 700;
    color: var(--third-color);
    margin: 0;
    padding-bottom: 60px;
    padding-top: 40px;
    /* padding: 40px; */
}

/*  end repeated header */
/* start services section */
.services {
    width: 100%;
    background-color: var(--back-color);
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
}

.services .container .service {
    padding: 10px;
    text-align: center;
}

.services .container .service i {
    font-size: 50px;
    color: var(--second-color)
}

.services .container .service h3 {
    font-size: 20px;
    padding: 20px;
    text-transform: capitalize;
}

.services .container .service p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.5;
}

/* end services section */
/* start projects section */
.projects {
    width: 100%;
    background-color: #fff;
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    cursor: pointer;
}

.projects .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 25px;
}

.projects .container .project-card {
    background-color: var(--back-color);
    border: 1px solid var(--text-color);
    border-radius: 5px;
    transition: 0.5s ease;
    width: 23em;
    min-height: 14em;
}

.projects .container .project-card:hover {
    transform: scale(1.05)
}

.projects .container .project-card:hover .image-card {
    opacity: 0.95;
}

.projects .container .project-card .image-card img {
    width: 100%;
}

.projects .container .project-card .card-info p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.5;
    padding-bottom: 10px;
}

.projects .container .project-card .card-info {
    padding: 10px;
}

.projects .container .project-card .card-info strong {
    font-size: 17px;
    font-weight: 600;
    color: var(--fifth-color);
    letter-spacing: 0.4px;
}

.projects .container .project-card .card-info a {
    font-size: 17px;
    font-weight: 600;
    color: var(--second-color);
    padding-left: 95px;
    cursor: pointer;
    text-transform: capitalize;
    text-decoration: none;
}

.projects .container .project-card .card-info a:hover {
    color: var(--fifth-color)
}

/* end projects section */

/* start footer */
.footer {
    padding-top: var(--padding-bottom);
    padding-bottom: var(--padding-bottom);
}

.footer .container {
    text-align: center;
}

.footer .container .icons {
    padding-top: calc(var(--padding-bottom) / 2);
    padding-bottom: calc(var(--padding-bottom) / 2);
}

.footer .container a {
    margin-left: 15px;
    font-size: 22px;
}

.footer .container p {
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.5;
}

.footer .container p span {
    color: var(--second-color);
    font-weight: 600;
}

/* end footer */
/* start footer 2*/
footer {
    background-color: var(--fifth-color);
    width: 100%;
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer form {
    display: flex;
    width: 100%;
    justify-content: center;
}

footer .foot form input {
    width: 200px;
    height: 30px;
    border-radius: 25px;
    outline: 3px solid #fff;
    outline-offset: -2px;
    padding: 10px;
}

footer .foot form input:hover {
    background-color: var(--fifth-color);
    transition: .2s linear;

}

footer h3 {
    text-align: center;
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    margin: 0 auto 20px;
}

footer h4 {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin: 10px auto 40px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

footer .foot form input::placeholder {
    color: #777;
    text-transform: capitalize;
}

footer .foot form input::placeholder:hover {
    color: #fff;
}

/* end footer 2*/

/* From section */
.form-sec {
    padding: 5% 19%;
    width: 100%;
    background-color: var(--back-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.form-heading {
    text-align: left;
    color: black;
    margin-bottom: 3rem;

}

.form-heading h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-heading p {
    font-size: var(--txt-size);
    font-weight: var(--txt-weight);
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


form .container {
    display: flex;
    justify-content: space-between;
    gap: 8rem;
    padding: 0;
}


form input:not(input[type="checkbox"]) {
    background: #f1f1f1;
    display: block;
    width: 31rem;
    height: 4rem;
    margin-bottom: .8rem;
    outline: hidden;
    border: none;
}

form input:not(input[type="submit"]) {
    padding-left: 3%;

}

form input::placeholder,
form textarea {
    font-size: var(--txt-size);
    color: var(--txt-color)
}

form input[type="checkbox"] {
    display: inline;
    margin-top: 2.5rem;
}

form textarea {
    background: #f1f1f1;
    display: block;
    width: 31rem;
    height: 18.4rem;
    cursor: text;
    resize: none;
    padding: 3%;
    outline: hidden;
    border: none;
}


form textarea:focus {
    outline: hidden;
    border: none;
}

form input:not(input[type="checkbox"]):focus {
    outline: hidden;
    border: none;

}

input[type="submit"] {
    margin: 2.5rem auto 0;
    color: var(--txt-color);
    font-weight: var(--txt-weight);
    font-size: var(--txt-size);
    align-items: center;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: var(--our-radius);

    padding-left: 0;
}

input[type="submit"]:hover {
    background: var(--second-color);
    color: white;
    transform: var(--scale-value);
}

label {
    font-size: calc(var(--txt-size) - 0.2rem);
    color: var(--txt-color);
    letter-spacing: .02rem;
}

form .btn {
    width: 200px;
    height: 100px;
    background: red;
    color: black;
    padding: 10px 50px;
}

/* From section */
/* From mobil*/
@media (max-width: 1400px) {

    form input:not(input[type="checkbox"]),
    form textarea {
        width: 26rem;
    }

    form .container {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        padding: 0;
        max-width: 900px;
    }
}

@media (max-width: 1220px) {

    form input:not(input[type="checkbox"]),
    form textarea {
        width: 20rem;
    }
}

@media (max-width: 768px) {

    /*form style*/
    form {
        width: fit-content;
        background-color: white;
        border-radius: var(--our-radius);
        padding: 3%;
        text-align: left;
    }

    form .container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 5% 1%;
    }

    .form-heading {
        text-align: center;
        color: var(--text-color);
        max-width: 72rem;
        padding: 0 2%;
    }

    .form-sec {
        padding: 8% 5%;
    }


}

/* From mobil */