@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
/* start var */
:root{
    --main-color : #2C829B;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
} 

article.info_contact{
    width: 100%;
    position: sticky;
    z-index: 100;
    background: var(--main-color);
}
article.info_contact .container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items:center;
    width: 100%;
    padding: 5px;
}
article.info_contact .container .icons_social{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 30%;
}
.icons_social a i{
    color: #fff;
}
article.info_contact .container .word_contact{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 30px;
    align-items: center;
    width: 70%;
}
.word_contact p a{
    color: #fff;
}
.envelop{
    margin-right: 5px;
}
@media screen and (max-width: 476px) {
    article.info_contact .container{
        background: var(--main-color);
        display: flex;
        flex-direction: column;
        align-items:center;
        gap: 5px;
        padding: 5px;
    }
    article.info_contact .container .icons_social{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 60%;
    }
    article.info_contact .container .word_contact{
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
        width: 100%;
    }
}
@media screen and (max-width: 444px){
    article.info_contact .container .icons_social{
        justify-content: space-around;
        width: 100%;
    }
    article.info_contact .container .word_contact{
        justify-content: space-between;
    }
}
header{
    padding: 15px 0;
    width: 100%;
    background: #eee;
    background-attachment: fixed;
    /* position: sticky; */
    top: 0;
    background: #fff;
    z-index: 100;
    box-shadow: #9c9cbb 0 0 10px;
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    height: 60px;
}
.header .container .info_header{
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo a img{
    width: 65px;
    margin-top: 5px;
    border-radius: 50%;
}
article.login_search {
    width: 150px;
    /* background: #2C829B; */
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
article.login_search a{
    background: var(--main-color);
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
article.login_search i{
    color: #fff;
    font-size: 15px;
}
nav{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

nav ul{
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    font-size: 22px;
    font-family: "amiri", serif;
    font-weight: 500;
    gap: 25px;
    padding: 0 10px 0 0;

    
}
a, li{
    list-style: none;
    text-decoration: none;
    color: var(--main-color);
}
i.fa-solid.fa-bars {
    color: #2C829B;
    font-size: 43px;
    cursor: pointer;
}
nav span{
    display: none;
}

@media screen and (max-width: 772px){
     nav ul {
        flex-direction: column !important;
        position: absolute;
        top: 60px;
        width: 250px;
        right: 0;
        align-items: center;
        background: #eee;
        border: 1px solid #2c829b;
        border-radius: 15px 0;
        display: none;
        animation: show_list 1s;
        z-index: 100;        
    }
    nav ul{
        display: none;
    }
    nav span{
        display: inline-block;
    }
    li {
        border-bottom: 1px #9c9cbb solid;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        
    }
}


@keyframes show_list {
    0% {
        transform: translateX(350px);
    }
    100% {
        transform: translateX(0);
    }
}

.slider{
    background-image: url(../img/header.webp);
    background-size: cover;
    background-position:center;
    height: 80vh;
    position: relative;
    text-align: center;
}
.slider .overlay
{
    background-color: rgba(0, 0, 0,.6);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.slider .content
{
    position: absolute;
    top:25% ;
    text-align: center;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider .content h1
{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 15px;
    animation: typing 3s infinite  alternate ;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}
.slider .content p
{
    font-size: 20px;
    overflow: hidden;
    white-space: nowrap;
    animation: typing_p 5s infinite 3s alternate ;
}

 .slider .btn
{
    position: absolute;
    top: 55%;
    left: calc(50% - 90px);
    display: flex;
    flex-direction: column;
    align-items: space-between;
    align-items: center;
    gap: 80px;
    animation: btn_scale 2s  infinite alternate;
  

}
@keyframes typing {
    0% { width: 0%; }
    100% { width: 20%; }
}
@keyframes typing_p {
    0% { width: 0%; }
    100% { width: 30%; }
}
@keyframes blink {
    50% { border-color: transparent; }
}
@keyframes btn_scale {
    0%{ transform:scale(1.1)  ; -webkit-transform:scale(1.1)  ; -moz-transform:scale(1.1)  ; -ms-transform:scale(1.1)  ; -o-transform:scale(1.1)  ; } 
    100%{ transform:scale(1) ; -webkit-transform:scale(1) ; -moz-transform:scale(1) ; -ms-transform:scale(1) ; -o-transform:scale(1) ; } 
}

.slider button
{
    padding: 15px 60px;
    border-radius: 50px;
    border: 1px solid #fff;
    background-color: var(--main-color);
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    transition: all .6s;
    cursor: pointer;
}
.slider button:hover  ,.slider .btn a.btn2:hover
{
    color: #fff;
    border: 2px solid var(--main-color) ;
    background-color: transparent;
}

.slider .btn a.btn2
{
    border: 2px solid #888484;
    padding: 10px 5px;
    border-radius: 15px;
}
.phone-screen
{
    display: none;
}

@media screen and (max-width:420px){
    .main-screen{display: none;}
    .phone-screen{display: block;}

    @keyframes typing {
        0% { width: 0%; }
        100% { width: 80%; }
    }
    @keyframes typing_p {
        0% { width: 0%; }
        100% { width: 100%; }
    }

    

}



@media screen and(max-width: 591px) {
    .slide img {
        width: 100%;
        height: 250px;
        background: center;
    }
    .slider {
        width: 100%;
        height: 250px;
        overflow: hidden;
        margin: auto;
    }
} 
/*~ start who us */
.who_us{
    width: 100%;
    background: #eee;
    display: flex;
    justify-content: center;
}
.who_us article.cnotainer{
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 25px 0;
    align-items: center;
    text-align: center;
}
.who_us article.cnotainer .header_exiption{
    font-size: 30px;
    border-bottom: var(--main-color) 2px solid;
    width: 150px;
    padding: 5px;
    font-family: "amiri", serif;
    font-weight: 400;
}
.who_us article.cnotainer h2 {
    font-size: 16px;
    font-family: 'Amiri';
    line-height: 1.7;
    font-weight: 200;
    color: #0C134F;
}

.who_us article.cnotainer button{
    display: flex;
    padding: 9px;
    background: var(--main-color);
    outline: none;
    border-radius: 6px;
    border: 2px var(--main-color);
}
.who_us article.cnotainer button a{
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

/* ~====> SERVICES <==== */

section.attach-benefit
{
    background-image: url(../img/benefit2.jpg);
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position:center;
    
}

section.benefit
{
    text-align: center;
    width: 90%;
    margin:0 auto;
    padding: 30px 0 50px;

}
section .title h2 
{
    font-size: 30px;
    font-weight: bold;
    margin:0 auto 40px;
    border-bottom: 2px solid var(--main-color);
    width: fit-content;
    padding: 0 30px 15px;
}
section.benefit .items
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 20px;

}
section.benefit .items .card
{
    width: 300px;
    /* background-color: blue; */
    /* border: 1px solid #ccc; */
    box-shadow: 0 0 10px #ccc;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}
section.benefit .items .card image
{
    /* height: 200px; */
}

section.benefit .items .card img
{
    height: 200px;
    width: 100%;
    object-fit: cover;

}
section.benefit .items .card .content
{
    padding: 20px;
    text-align: end;
}
section.benefit .items .card .content h3
{
    font-size: 25px;
    font-weight: bold;
}
section.benefit .items .card .content p
{
    font-size: 18px;
    padding-top: 10px;
}

/* ~====> CONTACT US <==== */
section.attach-contact
{
    background-image: url(../img/contact.jpg);
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
}
section.contact
{
    width: 90%;
    margin:0 auto;
    padding-block:30px 50px ;
    
}

section.contact .content
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

section.contact .content .map
{
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px 2px #ccc;
}

section.contact .content .contact-form
{
    width: 40%;
}
section.contact .content form
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    /* border: 1px solid var(--main-color); */
    border-radius: 10px;
    padding:40px 20px;
    margin: auto;
    box-shadow: 0 0 5px 2px #ccc;

}
section.contact .content form input , textarea
{
    width: 100%;
    padding: 15px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    direction: rtl;
}
section.contact .content form button
{
    width: 30%;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    background-color: var(--main-color);
    font-size: 18px;
    font-weight: bold;
}

/* ~====> FOOTER <==== */
footer
{
    background-color: var(--main-color);
    color: #fff;
    padding: 10px;
}
footer .content
{
   
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}
footer .content .logo img
{
    width: 50px;
    border-radius: 50%;
    margin-bottom: 5px;
}
footer  .develop
{
    text-align: center;
    width: 100%;
    color: #fff;
    padding-top:5px ;
    border-top:1px solid #aea187;
}
footer  .develop a
{
    color: #aea187;
    font-weight: bold;
    font-size: 20px;
}

footer .content ul 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:10px;
}
footer .media a 
{
    padding: 10px;
    background-color: #fff;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ~====> Media quiry SERVICES <==== */
@media screen and (max-width:1100px) {
    section.service .items
    {gap:20px;}
}

/* ~====> Media quiry CONTACT US <==== */
@media screen and (max-width: 1130px) {
    section.contact .content .map
    { width: 50%;}

    section.contact .content .contact-form
    { width: 40%;} 
    }

@media screen and (max-width: 700px) {
        section.contact .content
    {
        flex-direction: column;
        gap: 30px;
    }
    section.contact .content .map
    {
        width: 80%;
    }
    section.contact .content .contact-form
    {
        width: 80%;
    }
}


