

@font-face {
    font-family: "adobeArabic";
    src: url("./assets/fonts/AdobeArabic-Regular.otf");
}
@font-face {
    font-family: "futuraPT";
    src: url("./assets/fonts/FuturaPTLight.otf");
}

*, *::before, *::after {
    box-sizing: border-box;
}


* {
    margin: 0;
}


html, body {
    height: 100%;
}


body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

.purpose-title, .textarea-title, .textarea-text span, .purpose-text span, .contact-title, .title, .buttons .btn{
    font-family: "adobeArabic", serif;
    color: #2f4c8e;
}
.purpose-text, .textarea-text, .contact-text, .form-group label, .form-control::placeholder, .form-group .text, .info{
    font-family: "futuraPT", serif;
    color: #474747;
}
.hero{
    padding: 2rem 3rem;
    height:80vh;
}
#background-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}
.navbar{
    display: flex;
    gap: 0.8rem;
}
.navbar .menu{
    margin-left:auto;
    background-image: url("./assets/icons/menu.svg");
    background-repeat: no-repeat;
    height: 28px;
    background-size: 28px;
    border-radius: 0;
    align-self: flex-end;
}
.navbar .logo{
    height: 2.5rem;
    margin-bottom: -2.5px;
}
.hero-text{
    text-align: center;
    font-family: "adobeArabic", serif;
    color: #2f4c8e;
    border-bottom: 2px solid #7c8eb7;
    display: inline-block;
    letter-spacing: 2px;
    margin-top:-1.5rem;
}
.hero-text > h2, .hero-text > h1{
    margin: 0;
    line-height: 0.7;
}
.hero-text > h2{
    font-size:3rem;
}
.hero-text > h1{
    font-size:4.5rem;
}
.open-menu{
    background-color: rgba(17,71,127,0.6);
    width:100%;
    height:80vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index:2;
    padding:2rem 3rem;
}
.open-menu .close-button{
    background-image: url("./assets/icons/close-button.svg");
    margin-left:auto;
    align-self: end;
}
.open-menu .buttons{
    margin:auto;
}
.buttons .btn{
    color: #fff;
    font-size: 2rem;
    border-radius:0;
    border: none;
}
.buttons .btn:hover, .buttons .btn:focus{
    color: #fff;
}
.buttons .btn:not(:last-child){
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.content-section{
    background-color: #fdfdfc;
}
.content{
    padding-block: 2rem;
    background-color: #fdfdfc;
}
.purpose-section{
    text-align: center;
}
.purpose-title{
    font-size: 2.3rem;
    letter-spacing: 1.5px;
}
.purpose-text{
    font-size:1.2rem;
    max-width:34rem;
    margin-inline: auto;
    line-height:1.3
}
.text-image-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap:4rem;
    max-width:48rem;
    margin: auto;
    margin-block: 1rem;
}
.textarea-title{
    font-size: 1.4rem;
    line-height:1;
}
.slogan{
    font-size: 2rem;
    line-height:0.85;
    letter-spacing: 1.2px;
}
.textarea-text{
    text-align: justify;
    font-size: 1rem;
    line-height:1.2;
}
.textarea-text span, .purpose-text span{
    font-size: 1.4rem;
    line-height:0.9;
    letter-spacing: 0.5px;
}
.link{
    color: #2f4c8e
}
.contact-section{
    text-align: center;
}
.contact-section .purpose-text{
    font-size: 0.9rem;
}
.btn.contact-button{
    color: #fff;
    background-color: #2f4c8e;
    border-radius: 0;
    font-size: 0.7rem;
    font-family: "futuraPT", serif;
    padding-inline: 2.5rem
}
.btn.contact-button:hover, .btn.contact-button:focus{
    background-color: #fff;
    color: #2f4c8e;
    border-color: #fff;
}
.subtitle{
    font-size: 0.7rem;
}
.full-logo{
    width:13rem;
    margin:1rem auto;
}
.contact-modal{
    opacity:0.5;
    background-color: #fff;
    position: fixed;
    width: 100%;
    height:100%;
    overflow:auto;
    top: 100vh;
    left: 0;
    padding: 5rem;
    z-index: 2;
    transition: all 0.4s ease-in-out;

}
.contact-modal.open{
    top:0;
    opacity:1;

}
.close-button{
    background-image: url("./assets/icons/close-button-dark.svg");
    height: 1.5rem;
    width:  1.5rem;
    background-repeat: no-repeat;
    background-size:  1.5rem  1.5rem;
    float: right;
}
.close-button:focus,.close-button:hover{
    border-color: #fff;
    outline: 0;
}
.contact-modal-content{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-around;
    gap:10rem;
    max-width:55rem;
    margin: auto;
    margin-block: 1rem;
}
.logo-info{
}
.logo-info .full-logo{
    margin-inline: 0;
    width: 16rem;
}
.info{
    line-height:1.2;
}
.warning-text{
    color: #dc3545
}
.success-text{
    color: #4caf50
}
.form-group .text{
    margin:0;
}
.form-group{
    margin-block: 1rem;
}
.form-group label{
    font-size: 1rem;
}
input.form-control::placeholder,textarea.form-control::placeholder,.form-group .text{
    font-size: 1.3rem;
    color: #a2a2a1;
}
input.form-control, textarea.form-control{
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #d6d6d5;
    padding: 0 0 0.25rem;
}
input.form-control:focus,  textarea.form-control:focus {
    box-shadow: none;
    border-color: #2f4c8e;
}
textarea.form-control{
    resize: none;
    padding-bottom: 1rem;
}
div.form-check{
    display:inline-block;
    margin-right: 1rem;

}
input.form-check-input:checked  {
    background-color: #fff;
    box-shadow: none;
    border: 1px solid #2f4c8e;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='%232f4c8e'/></svg>")!important
}
input.form-check-input:checked +label {
    color: #2f4c8e;
}
.form-control.red-border{
    border-color: red;
}
/**
.fader{
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.8s ease-in-out;
}
**/
@media screen and (max-width:767px) {
    .contact-modal{
        padding: 2rem;
    }
    .contact-modal-content{
        flex-direction: column-reverse;
        gap:0;
    }
    .text-image-section{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap:1rem;
    }
}
