@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');
:root{
    --primaryColor:black;
    --middleColor:#826C5F;
    --helperColor:#BD8256;
    --lightHelper:#EFE6DD;
    --hrColor:rgba(255, 235, 205, 0.671);
    --transparentColor:rgba(255, 235, 205, 0.548);
    --shadow:rgba(189, 188, 188, 0.514);
   /* --------------------------------- */
    --whatsappColor:#25D366;
    --white:#ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray:  #f8f8f8;
}


*::selection{
      color: var(--primaryColor);  
      background-color: var(--shadow);
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    /* background-color: #FDFAF8; */
}
  
main{
    margin:10px auto 0px auto;
    width: 99%;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

header{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--gray);
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-bottom:30px;
}

header h3, p{
    margin: 0px;
}

.header-container{
    width: 98%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-text, .header-image{
    width: 40%;
    margin: auto;
    color: var(--primaryColor);
    text-align: center;
}

.header-text h1{
    font-size: 3.5rem;
    width: 80%;
    margin:0px auto 30px auto;
    line-height: 4.4rem;
}
.header-text h3{
    width: 70%;
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin:0px auto 30px auto;
}

.header-text h3 li{
    text-align: start;
}
.header-text{
    padding-top: 40px;
}

.header-text h4{
    width: 50%;
    font-size: 1.3rem;
    line-height: 2.3rem;
     margin:0px auto 30px auto;
}

header a{
    display: inline-block;
    margin: 30px auto 0px auto;
    padding:  10px;
    /* background: linear-gradient(190deg,#FFFFFF0D 0%,#04154C 73%); */
    background-color: var(--helperColor);
    color: var(--white);
    font-weight: bold;
    font-size: large;
    text-decoration: none;
    border-radius: 20px;
    border: none;
    transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

header a:hover{
    background-color: #ca9063;
     transform: translateY(-10px);
 }

/* ------------------------------------------------- */

.header-image{
    width: 40%;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    box-shadow: 10px 20px 30px var(--shadow);
    background-color: rgba(255, 255, 255, 0);
}

.header-image img{
    width: 50%;
   
}

.upper-in-headerImage{
    width: 50%;
    position: relative;
    background-color: var(--helperColor);
    border-radius: 20px 0px;
    top: 0px;
    height: auto;
}

.details-div{
    width: 90%;
    background-color:var(--lightHelper) ;
    padding: 10px 10px;
    position: relative;
    bottom: -5px;
    right: -10px;
    border-radius: 20px 0px;
    height: auto;

}

.mark-div{
    position: absolute;
    top: -10px; 
    right: -30px;
    width: 100px;
    background-color: transparent;
    padding: 10px;
   
   
}




/* ----------------------- */

.later-in-headerImage{
    width: 50%;
    position: relative;
    background-color: var(--helperColor);
    border-radius: 20px 0px;
    bottom: -5px;
    right:55%;
    height: fit-content;
}

.later-in-headerImage h3, p{
margin: 0px;
padding: 0px;
}

/*  @@@@@@@@@@@@@@@@@@@@@@@@@@@*/

@media (max-width: 603px) {
    main{
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }


    header{
        display: flex;
        flex-direction: column;
        gap: 20px;
       padding: 30px 5px 10px 5px;
    }
    header a{
        margin: 0px auto 10px auto;
        font-weight: 300;
    font-size: medium;
    }
    .header-container{
        display: flex;
        flex-direction: column;
        gap: 25px;

    }

    .header-text{
        padding-top: 0px;
        width: 99%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1{
        font-size: 1.6rem;
        width: 100%;
        margin:0px auto 10px auto;
        line-height: 2.4rem;
    }
    .header-text h3{
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin:0px auto 10px auto;
    }
    
    .header-text h3 li{
        font-size: 0.9rem;
    }
    .header-image{
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }
    
    .later-in-headerImage{
      display: none;
    }
    
    .mark-div{
        position: absolute;
        top: -30px; 
        right: -10px;
        width: 60px;
        background-color: transparent;

        padding: 10px;    
    }

    .upper-in-headerImage{
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -10px;
        height: auto;
    }

    .details-div{
        width: 90%;
        background-color:var(--lightHelper) ;
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: auto;
    
    }

}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
@media screen and (min-width: 604px) and (max-width: 799px){

    /* غيرت بس ال main والباقى زى ما هو */
    main{
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header{
        display: flex;
        flex-direction: column;
        gap: 20px;
    padding: 30px 5px 10px 5px;
   
    }
    header a{
        margin: 0px auto 10px auto;
        font-weight: 400;
    font-size: medium;
    }
    .header-container{
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .header-text{
        padding-top: 0px;

        width: 99%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1{
        font-size: 1.6rem;
        width: 100%;
        margin:0px auto 10px auto;
        line-height: 2.4rem;
    }
    .header-text h3{
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin:0px auto 10px auto;
    }
    

    .header-image{
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }
    
    .later-in-headerImage{
      display: none;
    }
    
    .mark-div{
        position: absolute;
        top: -10px; 
        right: -10px;
        width: 50px;
        background-color: transparent;
        padding: 10px;    
    }

    .upper-in-headerImage{
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -20px;
        height: auto;
    }

    .details-div{
        width: 90%;
        background-color:var(--lightHelper) ;
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: auto;
    
    }

}

@media screen and (min-width: 800px) and (max-width: 992px){

    /* غيرت بس ال main + header-text(margin top) + later-in-headerImage (display block , margins of h3 , p) والباقى زى ما هو */
    main{
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header{
        display: flex;
        flex-direction: column;
        gap: 20px;
    padding: 30px 5px 10px 5px;
   
    }
    header a{
        margin: 0px auto 10px auto;
        font-weight: 400;
    font-size: larger;
    }
    .header-container{
        display: flex;
        flex-direction: column;
        gap: 25px;

    }

    .header-text{
        padding-top: 0px;
        width: 99%;
        margin:50px auto 0px auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1{
        font-size: 1.6rem;
        width: 100%;
        margin:0px auto 10px auto;
        line-height: 2.4rem;
    }
    .header-text h3{
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin:0px auto 10px auto;
    }
    

    .header-image{
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }
    
    .later-in-headerImage{
      display: block;
    }
    
    .later-in-headerImage h3,p{
        margin: 0;
        padding: 0;
    }
    .mark-div{
        position: absolute;
        top: -10px; 
        right: -10px;
        width: 50px;
        background-color: transparent;

        padding: 10px;    
    }

    .upper-in-headerImage{
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -20px;
        height: auto;
    }

    .details-div{
        width: 90%;
        background-color:var(--lightHelper) ;
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: auto;
    
    }

}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media screen and (min-width: 993px) and (max-width: 1200px){

    /* غيرت بس ال main + header-text(margin top) + later-in-headerImage (display block , margins of h3 , p) + .header-container(row)والباقى زى ما هو */
    main{
        margin:auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header{
        display: flex;
        flex-direction: column;
        /* ---------- */
        gap: 50px;
    padding: 30px 5px 10px 5px;
   
    }
    header a{
        margin: 0px auto 10px auto;
        font-weight: bold;
        font-size: x-large;
    }
    .header-container{
        display: flex;
        /* ------- */
        flex-direction: row;
        /* ------- */
        gap: 30px;

    }

    .header-text{
      /* ---------------- */
        width: 50%;
        margin:0px auto 0px auto;
        color: var(--primaryColor);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .header-text h1{
      /* -------------------- */
        font-size: 2rem;
        width: 100%;
        margin:auto;
        line-height: 3.5rem;
    }
    .header-text h3{
        width: 88%;
        /* ------------------ */
        font-size: 1.8rem;
        line-height: 2.5rem;
        margin:auto;
    }
    

    .header-image{
        width: 50%;
        height: 400px;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
    }
    
    .later-in-headerImage{
      display: block;
    }
    
    .later-in-headerImage h3,p{
        margin: 0;
        padding: 0;
    }
    .mark-div{
        position: absolute;
        top: -10px; 
        right: -10px;
        width: 50px;
        background-color: transparent;

        padding: 10px;    
    }

    .upper-in-headerImage{
        width: 50%;
        position: relative;
        background-color: var(--helperColor);
        border-radius: 20px 0px;
        top: -20px;
        height: auto;
    }

    .details-div{
        width: 90%;
        background-color:var(--lightHelper) ;
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: auto;
    
    }

}

/* @@@@@@@@@@@@@@@@@@@@@ */

@media screen and (min-width: 1201px) and (max-width: 1600px){
    main{
        margin:auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }

    header{
        display: flex;
        flex-direction: column;
        /* ---------- */
        gap: 5px;
        padding: 30px 5px 10px 5px;
   
    }

    .header-text{
        /* ---------------- */
          width: 60%;
          margin:0px auto 0px auto;
          color: var(--primaryColor);
          text-align: center;
          display: flex;
          flex-direction: column;
          gap: 4px;
      }

      .later-in-headerImage h3,p{
        margin: 0;
        padding: 0;
    }
}