* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-family: "Ubuntu", sans-serif;
}

body.ar {
    font-family: "Tajawal", sans-serif;
}

body.ar .contact-you form input,
body.ar .contact-you form textarea {
    font-family: "Tajawal", sans-serif;
}

.cont {
    width: 80%;
    height: 100%;
    margin: auto;
}

header {
    height: 100vh;
}

header nav.general {
    height: 100px;
    width: 100%;
    background-color: white;
    border-bottom:2px solid #E51E31;
    position: fixed;
    z-index: 100;
}

header nav.general .cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav.general .cont img {
    height: 80px;
}

header nav.general .cont ul {
    display: flex;
    align-items: center;
    list-style-type: none;
}

header nav.general .cont ul li {
    margin-left: 50px;
    font-size: 1.1rem;
    padding: 9px;
}

header nav.general .cont ul li a {
    color: #293984;
    text-decoration: none;
}

header nav.general .cont ul li a:hover {
    color: #E51E31;
}

header nav.general .cont ul li.language {
    display: flex;
    position: relative;
    padding: 0;
    height: 41px;
}

header nav.general .cont ul li.language .lang-selector {
    position: absolute;
    right: 4px;
    top: 11px;
    font-size: 1rem;
    pointer-events: none;
    cursor: pointer;
    color: #293984;
}

header nav.general .cont ul li.language:hover .lang-selector {
    color: #E51E31;
}

header nav.general .cont ul li.language ul {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
    overflow: hidden;
    height: 41px;
}

header nav.general .cont ul li.language ul.opened {
    overflow: unset;
}

header nav.general .cont ul li.language ul li {
    margin: 0;
    width: 100%;
    background-color: #ebe8e8;
    font-size: .9rem;
    padding: 0;
}

header nav.general .cont ul li.language ul li a {
    display: flex;
    align-items: start;
    width: 100%;
    padding: 9px;
    padding-right: 24px;
}

body.ar header nav.general .cont ul li.language ul li a {
    flex-direction: row-reverse;
}


header nav.general .cont ul li.language .flag {
    height: 24px;
    margin-right: 5px;
}

li.mobile-nav-btn {
    background-color: #ebe8e8;
    cursor: pointer;
}

header nav.mobile ul {
    text-align: center;
}

header nav.mobile ul li {
    background-color: #ebe8e8;
}

header nav.mobile ul li a {
    display: inline-block;
    padding: 20px 40px;
    text-decoration: none;
    color: #293984;
}

header nav.mobile ul li a:hover {
    color: #E51E31;
}


li.mobile-nav-btn,
header nav.mobile {
    display: none;
}

header nav.mobile.opened {
    display: block;
}

header .hero {
    background-image: url("./img/hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 100%;
    width: 100%;
    display: flex;
}

header .shadow {
    width: 100%;
    height: 100vh;
    background-color: black;
    opacity: .3;
    position: absolute;
}

header .hero .cont {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    color: white;
    z-index: 2;
    font-size: 2.4rem;
}

header .hero .cont h1,
header .hero .cont p {
    text-align: center;
}

main section {
    padding: 40px 0;
}

main section .cont h1 {
    text-align: center;
    margin-bottom: 40px;
}

main section .cont {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about {
    background-color: #293984;
    color: white;
}

.about div {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about div article {
    width: 40%;
}

.about div article h2 {
    margin: 20px 0;
}

.about div article p {
    margin: 10px 0;
}

.contact-you {
    background: linear-gradient(90deg, rgba(3,209,197,1) 0%, rgba(3,126,119,1) 100%);
    color: white;
}

.contact-you p {
    margin-bottom: 30px;
    text-align: center;
}

.contact-you p.status-msg {
    display: none;
    color: #293984;
    text-shadow:1px 1px 10px #293984;
}


.contact-you form {
    display: flex;
    width: 80%;
    justify-content: space-around;
}

.contact-you form div.form-side {
    width: 50%;
}


.contact-you form div.form-control {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.contact-you form label {
    margin-bottom: 4px;

}

.contact-you form label span {
    color: white;
    font-size: .7rem;
    text-shadow:1px 1px 15px white;
}

.contact-you form textarea,
.contact-you form input {
    width: 80%;
    border: 2px solid #293984;
    outline: none;
    padding: 4px 2px;
    font-family: "Ubuntu", sans-serif;
    font-size: 1rem;
    border-radius: 5px;
}

.contact-you form textarea {
    width: 90%;
    height: 110px;
    resize: none;
}

.contact-you form #tel,
.contact-you form #email {
    font-family: "Ubuntu", sans-serif;
    direction: ltr;
}

.contact-you form textarea:focus,
.contact-you form input:focus {
    box-shadow: 1px 1px 5px #293984;
}


.services .cont div {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 0;
    justify-content: space-around;
}

.services .cont div article {
    width: 30%;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.services .cont div article img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

footer .footer {
    background: linear-gradient(270deg, rgb(26, 190, 182) 0%, rgba(3,126,119,1) 100%);
    padding: 40px 0;
    color: white;
}

footer .footer .cont {
    display: flex;
    justify-content: space-around;
}

footer .footer .cont section {
    padding: 10px;
}

footer .footer .cont section h1 {
    margin: 30px 0;
}

footer .footer .cont section ul {
    list-style-type: none;
}

footer .footer .cont section ul li {
    padding: 5px 0;
}

footer .footer .cont section ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

footer .footer .cont section ul li a:hover {
    color: #E51E31;
}

footer .footer .cont section ul li a img {
    width: 30px;
}

footer .rights {
    background: linear-gradient(90deg, rgb(3, 20, 99) 0%, rgb(2, 38, 44) 100%);
    text-align: center;
    padding: 10px 0;
    color: white;
}

footer .website-designer {
    padding: 50px;
    text-align: center;
    background-color: #293984;
    color: white;
}

footer .website-designer p {
    padding: 10px;
}

footer .website-designer a {
    text-decoration: none;
    color: #49BBB4;
}

footer .website-designer a {
    text-decoration: underline;
    color: #49BBB4;
    text-shadow:1px 1px 15px #49BBB4;
}



@media screen and (max-width: 1320px) {
    .cont {
        width: 90%;
    }
}

@media screen and (max-width: 1180px) {
    header nav.general .cont ul li {
        margin-left: 20px;
    }
}

@media screen and (max-width: 1005px) {
    header nav.general .cont ul li {
        margin-left: 0px;
        font-size: 1rem;
    }

    .contact-you form {
        width: 90%;
    }

    .contact-you form textarea,
    .contact-you form input {
        width: 95%;
    }

    .services .cont div article {
        width: 45%;
    }

    footer .footer .cont {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    footer .footer .cont section {
        width: 35%;
    }
}

@media screen and (max-width: 860px) {
    header nav.general .cont img {
        height: 70px;
    }

    header nav.general .cont ul li.nav-general {
        display: none;
    }

    header nav.general .cont ul {
        gap: 20px;
    }

    header nav.general .cont ul li.language ul {
        gap: 0;
    }

    .contact-you form {
        flex-direction: column;
    }

    .contact-you form div.form-side {
        width: 80%;
        margin: auto;
    }

    li.mobile-nav-btn {
        display: list-item;
    }

    .about div article {
        width: 80%;
    }
}

@media screen and (max-width: 700px) {

    header nav.general .cont img {
        height: 60px;
    }

    header .hero h1,
    header .hero p {
        text-align: center;
        width: 100%;
    }

    .contact-you form div.form-side {
        width: 100%;
    }


    .about div article {
        width: 90%;
    }

    footer .footer .cont {
        flex-direction: column;
    }

    footer .footer .cont section {
        width: 80%;
        margin: auto;
    }

    .services .cont div article {
        width: 80%;
    }

}

@media screen and (max-width: 370px) {
    header .hero .cont {
        font-size: 1.7rem;
    }
    
    .cont {
        width: 98%;
    }

    footer .footer .cont section {
        font-size: .9rem;
    }
    
    .contact-you form {
        width: 95%;
    }

    .contact-you form div.form-side,
    .contact-you form textarea,
    .contact-you form input {
        width: 100%;
    }
}


/* 
colors:
blue: #293984
blue-2: #A9DEE6
red: #E51E31
green: #49BBB4
green-2: #53B6B0
*/