* {
    margin: 0;
    box-sizing: border-box;
}

:root {
    --background: #FFF2EE;
    --font-color: #808080;
}

body {
    font-family: "Readex Pro";
}

/* cover */
.cover {
    background: url(../img/header.webp);
    background-position: center;
    background-size: cover;
    height: 40vw;
    min-height: 350px;
    max-height: 600px;
    z-index: -1;
    position: relative;
}

.cover-text {
    position: absolute;
    top: 55%;
    width: 45%;
    left: 0;
    transform: translateY(-50px);
    margin-left: 20px;
    direction: rtl;
}

.cover-text h1 {
    font-size: 29px;
    margin-bottom: 35px;
}

.cover-text a,
.btn-primary {
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    background: #323232;
    border-radius: 3px;
    transition: 0.5s ease;
    cursor: pointer;
}

.cover-text a:hover,
.btn-primary:hover {
    background: #000000;
}

@media (min-width:1200px) {
    .cover-text {
        top: 43%;
    }
}
@media (max-width:930px) {
    .cover-text h1 {
        font-size: 24px;
    }
}

@media (min-width:620px) and (max-width:767px) {
    .cover-text h1 {
        font-size: 20px;
    }
}

@media (max-width:619px) {
    .cover {
        background: url(../img/header2.webp);
        background-position: center;
        background-size: cover;
        min-height: 500px;
        max-height: 500px;
    }

    .cover-text {
        top: 65%;
        width: 55%;
        left: 0;
        margin-left: 5px;
    }

    .cover-text h1 {
        font-size: 20px;
    }

    .cover-text a {
        font-size: 15px;
    }
}

/* services */
#services {
    margin-top: 50px;
    margin-bottom: 50px;
}

#services .container {
    place-items: center;
}

#services .container h2 {
    color: var(--font-color);
}

#services .cards {
    margin-top: 40px;
    display: flex;
    width: 100%;
    justify-content: space-around;
}

#services .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 10px;
    background: var(--background);
    border-radius: 10px;
    text-align: center;
    width: 22vw;
    max-width: 400px;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.162);
}

#services .card i {
    color: var(--font-color);
    font-size: 25px;
    padding-bottom: 10px;
}

#services .card p {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 767px) {
    #services .cards {
        flex-direction: column;
        align-items: center;
    }

    #services .card {
        min-width: 270px;
        margin-bottom: 20px;
    }

    #services .container h2 {
        font-size: 15px;
        text-align: center;
        direction: rtl;
    }
}

/* msg */
#message {
    margin: 50px 0;
    padding: 30px;
    background-position: center;
    direction: rtl;
    height: 25vw;
    min-height: 380px;
    background: url(../img/msg.webp);
    background-size: cover;
}

#message p,
#message h2 {
    color: white;
    margin-bottom: 10px;
}

.msg {
    margin-top: 20px;
}

@media (min-width:768px) {
    #message .container {
        margin-top: 35px;
    }

    #message p {
        width: 80%;
    }

}

@media (max-width:767px) {
    #message p {
        font-size: 14px;
    }

    #message {
        align-content: center;
    }
}

/* investment */

#investment {
    margin-top: 50px;
    margin-bottom: 50px;
}

#investment .container {
    place-items: center;
    display: flex;
    justify-content: space-evenly;
}

.invest {
    width: 25vw;
    min-width: 250px;
    max-width: 400px;
    height: 230px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0px 2px 5px 2px #00000045;
    position: relative;
}

#investment h2 {
    color: var(--font-color);
    text-align: center;
    margin-bottom: 30px;
}

.invest-cont p {
    font-size: 18px;
    font-weight: 600;
    justify-self: center;
}

.i1 {
    background-image: url(../img/i1.webp);
}

.i2 {
    background-image: url(../img/i2.webp);
}

.i3 {
    background-image: url(../img/i3.webp);
}

.btn-container {
    text-align: center;
    margin-top: 50px;
}

.btn-container a {
    width: 150px;
    display: block;
    place-self: center;

}

.btn-container {
    text-align: center;
    margin-top: 50px;
}

.invest-cont {
    padding: 20px 10px;
    background: #d9d9d9de;
    position: absolute;
    bottom: 35px;
    left: 7%;
    border-radius: 10px;
    width: 85%;
}

@media (max-width: 800px) {
    #investment .container {
        flex-direction: column;
        align-items: center;
    }

    .invest {
        margin-bottom: 20px;
    }
}

/* features */
.features {
    direction: rtl;
    margin-top: 80px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

.features img {
    width: 350px;
}

.feat-container h2 {
    color: var(--font-color);
    margin-bottom: 20px;
    margin-right: 20px;
    margin-top: 60px;
}

.feat li {
    margin-bottom: 15px;
    font-size: 18px;
}

@media (max-width:700px) {
    .features img {
        display: none;
    }
    .features {
        margin-top: 50px;
    }

    .feat ul {
        margin: 0 5px;
    }
    .feat-container h2 {
        font-size: 18px;
    }

    .feat li {
        font-size: 14px;
    }
}

/* contact us */
.contact {
    display: flex;
    direction: rtl;
    justify-content: space-between;
    background-color: var(--background);
}

.contact img {
    width: 350px;
    height: 100%;
}

.form-container {
    margin: 20px;
}

.form-container h2 {
    margin-bottom: 20px;
    margin-top: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    width: 30vw;
    min-width: 250px;
    max-width: 400px;
}

.contact form input,
.contact form textarea {
    margin-bottom: 15px;
    border: none;
    width: 100%;
    outline: 0;
    background: #2c2a2a2b;
    height: 45px;
    border-radius: 5px;
    padding: 7px;
}

.contact form textarea {
    height: 80px;
}

.contact form input::placeholder {
    font-family: "Readex pro";
}

.contact form button {
    border: none;
    border-radius: 5px;
    font-family: "Readex pro";
}

@media (min-width:850px) {
    .contact img {
        width: 100%;
    }

    .contact-img {
        width: 37%;
    }

    .contact {
        max-height: 500px;
    }

    .form-container {
        margin-right: 60px;
    }
}

@media (max-width:670px) {
    .contact img {
        display: none;
    }

    .contact {
        justify-content: center;
    }
}

