@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');
:root{
    --primaryColor:#082A99;
    --middleColor:#325c9b;
    --helperColor:#66D2CE;
    --lightHelper:#EBF4F6;
    --transparentColor:#66d2cf88;
    --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;
}

main {
    margin: auto;
    width: 99%;
    display: flex;
    flex-direction: column;
    gap: 70px;

}

header {
    display: flex;
    flex-direction: column;
    gap: 50px;
    background-color: var(--gray);
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    margin-top: 20px;
}

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 .page-title {
    color: var(--primaryColor);
    font-size: 2rem;
    line-height: 3rem;
}

.header-text h2 {
    color: var(--primaryColor);
}

.header-text h1 {
    font-size: 3.5rem;
    width: 90%;
    margin: auto;
    line-height: 4.4rem;
}

.header-text h3 {
    width: 70%;
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin: 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: auto;
}

header a {

    display: inline-block;
    margin: auto;
    padding: 10px;
    background: var(--primaryColor);
    color: var(--white);
    font-weight: bold;
    font-size: large;
    text-decoration: none;
    border-radius: 20px;

}

/* ------------------------------------------------- */

.header-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
    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: 95%;
    height: 100%;
}

.upper-in-headerImage {
    width: 50%;
    position: relative;
    background-color: var(--helperColor);
    border-radius: 20px 0px;
    top: 0px;
    height: 100px;
}

.details-div {
    width: 90%;
    background-color: var(--lightHelper);
    padding: 10px 10px;
    position: relative;
    bottom: -15px;
    right: -10px;
    border-radius: 20px 0px;
    height: 100px;

}

.mark-div {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 90px;
    background-color: transparent;
    padding: 10px;
}




/* ----------------------- */

.later-in-headerImage {
    width: 50%;
    position: relative;
    background-color: var(--helperColor);
    border-radius: 20px 0px;
    bottom: -15px;
    right: 50%;
    height: fit-content;
}

/*  @@@@@@@@@@@@@@@@@@@@@@@@@@@*/

@media (max-width: 603px) {
    main {
        margin: auto;
        width: 99%;
        display: flex;
        flex-direction: column;
    }


    header a {
        font-weight: 300;
        font-size: medium;
    }

    .header-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .header-text {
        padding-top: 0px;
        width: 97%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
    }

    .header-text h1 {
        font-size: 1.5rem;
        width: 100%;
        margin: auto;
        line-height: 2rem;
    }

    .header-text h3 {
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;

    }

    .header-text h3 li {
        font-size: 0.9rem;
    }

    .header-image {
        width: 80%;
        margin: auto;
        color: var(--primaryColor);
        text-align: center;
        position: relative;
        /* max-height: 50px; */
    }

    .later-in-headerImage {
        display: none;
    }

    .mark-div {
        position: absolute;
        top: -10px;
        right: -30px;
        width: 60px;
        background-color: transparent;

        padding: 10px;
    }

    .upper-in-headerImage {
        display: none;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 90px;

    }

}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
@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;

    }

    header a {
        margin: 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: auto;
        line-height: 2.4rem;
    }

    .header-text h3 {
        width: 88%;
        font-size: 1.2rem;
        line-height: 2rem;
        margin: 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: 100px;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 100px;

    }

}

@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;

    }

    header a {
        margin: auto;
        font-weight: 400;
        font-size: larger;
    }

    .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: 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: 100px;
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 100px;

    }

}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@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: fit-content;
        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: 100px; */
    }

    .details-div {
        width: 90%;
        background-color: var(--lightHelper);
        padding: 10px 10px;
        position: relative;
        bottom: -5px;
        right: -10px;
        border-radius: 20px 0px;
        height: 100px;

    }

}

/* @@@@@@@@@@@@@@@@@@@@@ */

@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;
    }
}