:root {
    --primaryColor: #2E3D62;

    --lightPrimaryColor: #686b6e;
    --secondaryColor: #5D50C5;
    --lightSecondaryColor: #F0EEFD;
    --activeLinkColor: #1B7F8B;
    --lightGrayBg: #E3E6EB;
    --transparentDropDown: #2e3d62da;
    --transparentColor: rgba(0, 0, 0, 0.548);
    --shadow: rgba(189, 188, 188, 0.514);
    --svgColor: #f8fafd;
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: #ffff;
    --blue: #1877F2;
    --gray: #f8f8f8;
}

#temp3-header {
    height: 65px;
    width: 100%;

    position: sticky;
    top: 0px;
    z-index: 999;

    background-color: var(--svgColor);
    direction: ltr;
}

.temp3-header-container {
    width: 95%;
    height: 65px;
    margin: auto;
    padding: 10px 0px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* ===================2======================== */

.temp3-logo-container {
    height: 65px;
    width: fit-content;
}

/* ------------------------------ */

.temp3-logo-container a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

/* ------------------------------ */

.temp3-logo-container a img {
    height: 60px;
}

/* ------------------------------ */

.temp3-logo-container a span {
    color: var(--primaryColor);
    font-size: 2rem;
    font-weight: bolder;
}

/* ===================3========================== */
#temp3-over-lay {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;

    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

#temp3-over-lay.open-aside-header {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

#temp3-over-lay.open-aside-header #temp3-close-btn-container {
    display: block;
}

#temp3-over-lay.open-aside-header #temp3-close-btn {
    display: block;
}

/* -------------------------------------- */
#temp3-close-btn-container {
    display: none;
    background-color: transparent;
    width: 35%;
    height: 100%;
}

#temp3-close-btn {
    display: none;

    position: absolute;
    left: 10px;
    top: 10px;

    background-color: transparent;
    color: var(--white);

    font-size: x-large;
    font-weight: bolder;

    /* padding: 10px 15px; */
    width: 45px;
    height: 45px;

    align-content: center;
    text-align: center;

    border: 2px solid var(--white);
    border-radius: 50%;

    /* transition: transform 0.6s ease, color 0.3s ease; */
}

/* -------------------------- */
.temp3-pages {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

    width: 100%;
    color: var(--primaryColor);
    direction: rtl;

}

/* ------------------------------ */

.temp3-pages a {
    width: fit-content;
    text-decoration: none;
    color: var(--primaryColor);
    font-size: 1.2rem;
    font-weight: bold;
    padding-block: 10px;
    position: relative;
}

.temp3-pages a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--secondaryColor);
    border-radius: 20px;
    transition: width 0.4s ease;
}

.temp3-pages a:hover::after {
    width: 100%;
}

.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 1px;
    background-color: var(--activeLinkColor);
    border-radius: 20px;
}

/* ================4===================== */
.contact-section-in-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* width: 10%; */
}

/* =================5=================== */
#temp3-menuBtn {
    background-color: var(--secondaryColor);
    color: var(--white);
    border: none;
    border-radius: 25px;
    display: none;
}

/* =================================== */
#temp3-dropdown {
    position: relative;

}

/* ------------------------------ */


#temp3-dropdown-menu {
    background-color: var(--transparentDropDown);
    color: var(--white);
    min-width: 250px;
    max-width: 250px;
    border-radius: 10px;

    position: absolute;
    left: 0%;
    right: 0%;
    top: 70%;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
    gap: 10px;

    list-style: none;
    text-align: start;
    padding: 10px;

    max-height: 0px;
    opacity: 0;

    transition: all 0.6s ease-in-out
}

#temp3-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 80%;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent var(--transparentDropDown) transparent;
}

#temp3-dropdown-menu.active-temp3-dropdown-menu {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;

}

#temp3-dropdown-menu li {
    width: fit-content;
    cursor: pointer;
}

#temp3-dropdown-menu li a {
    display: inline-block;
    width: fit-content;
    color: var(--white);
}

#temp3-dropdown-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--white);
    border-radius: 20px;
    transition: width 0.4s ease;
}

#temp3-dropdown-menu li a:hover::after {
    width: 100%;
}

/* ------------------------------ */

#temp3-toggle-menu {
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    font-weight: 550;
    color: var(--primaryColor);
    cursor: pointer;
}

#temp3-toggle-menu.rotate {
    animation: spin360 0.4s ease;
}

@keyframes spin360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

/* ================== 6 =================== */
#temp3-pages-btn {
    display: none;
    color: var(--white);
    background-color: var(--secondaryColor);

    border-radius: 25px;
    border: none;

    /* width: 10%; */
    padding: 10px;
    font-size: large;
    font-weight: 600;
    cursor: pointer;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width:768px) {
    .contact-section-in-header {
        display: none;
    }

    #temp3-pages-btn {
        display: block;
    }
}

@media (max-width:335px) {

    .temp3-logo-container {
        height: 58px;
        width: fit-content;
    }

    /* ------------------------------ */

    .temp3-logo-container a {
        justify-content: space-between;
        gap: 3px;
    }

    /* ------------------------------ */

    .temp3-logo-container a img {
        aspect-ratio: 1 / 1;
    }

    /* ------------------------------ */

    .temp3-logo-container a span {
        width: 75%;
        font-size: 1.3rem;
    }

    /* ======================================= */
    #temp3-over-lay {

        position: fixed;
        top: 0%;
        right: 0px;
        z-index: 10000;

        height: 100vh;
        width: 100%;

        background-color: transparent;
        box-sizing: border-box;


        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 1S ease-in-out, opacity 1S ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    /* -------------------------------- */
    .temp3-pages {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        padding-inline-start: 10px;
        position: relative;
        width: 65%;
        height: 100vh;
        padding: 20px;


        color: var(--white);
        direction: rtl;

        position: absolute;
        top: 0%;
        right: 0px;
        background-color: var(--primaryColor);

        overflow-y: auto;
        scrollbar-width: none;
        box-sizing: border-box;

    }


    .temp3-pages::-webkit-scrollbar {
        scrollbar-width: none;
    }

    .temp3-pages a {
        width: fit-content;
        margin: 0px;
        color: var(--white);
        font-size: 1rem;
    }

    /* ================================= */
    #temp3-dropdown {
        width: 100%;
        position: relative;
    }

    /* --------------------------------- */

    #temp3-dropdown-menu {
        position: static;
        left: 0%;
        right: 0%;
        top: 0%;
        /* box-shadow: 0px 3px 8px var(--shadow); */
        margin: 0%;
        padding: 0% 10px;
        pointer-events: none;
        background-color: var(--white);
        border-radius: 0%;
        gap: 0px;
        min-width: 170px;
        max-width: 170px;
    }

    #temp3-dropdown-menu::before {
        display: none;
    }

    #temp3-dropdown-menu li {
        width: 100%;
        border-bottom: 1px dashed var(--primaryColor);
    }

    #temp3-dropdown-menu li:last-child {
        margin-bottom: 20px;
    }

    #temp3-dropdown-menu li a {
        font-size: 0.9rem;
        font-weight: 450;
        color: var(--primaryColor);
    }


    #temp3-dropdown-menu li a::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    #temp3-dropdown-menu li a:hover::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    /* -------------------------------------- */
    #temp3-toggle-menu {
        color: var(--white);
    }

    /* -------------------------------- */

    #temp3-pages-btn {
        display: block;
    }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@ */
@media (min-width:336px) and (max-width:465px) {

    .temp3-logo-container {
        height: 58px;
        width: fit-content;
    }

    /* ------------------------------ */

    .temp3-logo-container a {
        justify-content: space-between;
        gap: 3px;
    }

    /* ------------------------------ */

    .temp3-logo-container a img {
        aspect-ratio: 1 / 1;
    }

    /* ------------------------------ */

    .temp3-logo-container a span {
        width: 75%;
        font-size: 1.3rem;
    }

    /* ======================================= */
    #temp3-over-lay {

        position: fixed;
        top: 0%;
        right: 0px;
        z-index: 10000;

        height: 100vh;
        width: 100%;

        background-color: transparent;
        box-sizing: border-box;


        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 1S ease-in-out, opacity 1S ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    /* -------------------------------- */
    .temp3-pages {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        padding-inline-start: 10px;
        position: relative;
        width: 65%;
        height: 100vh;
        padding: 20px;


        color: var(--white);
        direction: rtl;

        position: absolute;
        top: 0%;
        right: 0px;
        background-color: var(--primaryColor);

        overflow-y: auto;
        scrollbar-width: none;
        box-sizing: border-box;

    }


    .temp3-pages::-webkit-scrollbar {
        scrollbar-width: none;
    }

    .temp3-pages a {
        width: fit-content;
        margin: 0px;
        color: var(--white);
        font-size: 1rem;
    }

    /* ================================= */
    #temp3-dropdown {
        width: 100%;
        position: relative;
    }

    /* --------------------------------- */

    #temp3-dropdown-menu {
        position: static;
        left: 0%;
        right: 0%;
        top: 0%;
        /* box-shadow: 0px 3px 8px var(--shadow); */
        margin: 0%;
        padding: 0% 10px;
        pointer-events: none;
        background-color: var(--white);
        border-radius: 0%;
        gap: 0px;
        min-width: 200px;
        max-width: 200px;
    }

    #temp3-dropdown-menu::before {
        display: none;
    }

    #temp3-dropdown-menu li {
        width: 100%;
        border-bottom: 1px dashed var(--primaryColor);
    }

    #temp3-dropdown-menu li:last-child {
        margin-bottom: 20px;
    }

    #temp3-dropdown-menu li a {
        font-size: 0.9rem;
        font-weight: 450;
        color: var(--primaryColor);
    }


    #temp3-dropdown-menu li a::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    #temp3-dropdown-menu li a:hover::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    /* -------------------------------------- */
    #temp3-toggle-menu {
        color: var(--white);
    }

    /* -------------------------------- */

    #temp3-pages-btn {
        display: block;
    }
}

@media (min-width:466px) and (max-width:992px) {

    .temp3-logo-container {
        height: 58px;
        width: fit-content;
    }

    /* ------------------------------ */

    .temp3-logo-container a {
        justify-content: space-between;
        gap: 10px;
        width: fit-content;

    }

    /* ------------------------------ */

    .temp3-logo-container a img {
        aspect-ratio: 1 / 1;
        width: fit-content;

    }

    /* ------------------------------ */

    .temp3-logo-container a span {
        width: fit-content;
    }

    /* ======================================= */

    #temp3-over-lay {

        position: fixed;
        top: 0%;
        right: 0px;
        z-index: 10000;

        height: 100vh;
        width: 100%;

        background-color: transparent;
        box-sizing: border-box;


        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 1S ease-in-out, opacity 1S ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    /* -------------------------------- */
    .temp3-pages {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;

        position: relative;
        width: 50%;
        height: 100vh;
        padding: 20px;


        color: var(--white);
        direction: rtl;

        position: absolute;
        top: 0%;
        right: 0px;
        background-color: var(--primaryColor);

        overflow-y: auto;
        scrollbar-width: none;
        box-sizing: border-box;

    }


    .temp3-pages::-webkit-scrollbar {
        scrollbar-width: none;
    }

    #temp3-close-btn-container {
        display: none;
        background-color: transparent;
        width: 50%;
        height: 100%;
    }

    .temp3-pages a {
        width: fit-content;
        margin: 0px;
        color: var(--white);
        font-size: 1rem;
    }

    /* ================================= */
    #temp3-dropdown {
        width: 80%;
        position: relative;
    }

    #temp3-dropdown:hover #temp3-dropdown-menu {
        display: none;
    }

    /* --------------------------------- */
    #temp3-dropdown-menu {
        position: relative;
        left: 0%;
        right: 0%;
        top: 0%;
        /* box-shadow: 0px 3px 8px var(--shadow); */
        margin: 0%;
        padding: 0% 10px;
        pointer-events: none;
        background-color: var(--white);
        border-radius: 0%;
        gap: 0px;
    }

    #temp3-dropdown-menu::before {
        display: none;
    }

    #temp3-dropdown-menu li {
        width: 100%;
        border-bottom: 1px dashed var(--primaryColor);
    }

    #temp3-dropdown-menu li:last-child {
        margin-bottom: 20px;
    }

    #temp3-dropdown-menu li a {
        font-size: 0.9rem;
        font-weight: 450;
        color: var(--primaryColor);
    }


    #temp3-dropdown-menu li a::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    #temp3-dropdown-menu li a:hover::after {
        content: "";
        height: 0px;
        width: 0px;
    }


    /* -------------------------------------- */
    #temp3-toggle-menu {
        color: var(--white);
    }

    #temp3-pages-btn {
        display: block;
    }
}

@media (min-width:993px) and (max-width:1289px) {


    #temp3-over-lay {

        position: fixed;
        top: 0%;
        right: 0px;
        z-index: 10000;

        height: 100vh;
        width: 100%;

        background-color: transparent;
        box-sizing: border-box;


        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 1S ease-in-out, opacity 1S ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    /* -------------------------------- */
    .temp3-pages {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;

        position: relative;
        width: 40%;
        height: 100vh;
        padding: 20px;


        color: var(--white);
        direction: rtl;

        position: absolute;
        top: 0%;
        right: 0px;
        background-color: var(--primaryColor);

        overflow-y: auto;
        scrollbar-width: none;
        box-sizing: border-box;

    }


    .temp3-pages::-webkit-scrollbar {
        scrollbar-width: none;
    }

    .temp3-pages a {
        width: fit-content;
        margin: 0px;
        color: var(--white);
        font-size: 1rem;
    }


    /* ================================= */
    #temp3-dropdown {
        width: 60%;
        position: relative;
    }

    #temp3-dropdown:hover #temp3-dropdown-menu {
        display: none;
    }

    /* --------------------------------- */
    #temp3-dropdown-menu {
        position: relative;
        left: 0%;
        right: 0%;
        top: 0%;
        /* box-shadow: 0px 3px 8px var(--shadow); */
        margin: 0%;
        padding: 0% 10px;
        pointer-events: none;
        background-color: var(--white);
        border-radius: 0%;
        gap: 0px;
    }

    #temp3-dropdown-menu::before {
        display: none;
    }

    #temp3-dropdown-menu li {
        width: 100%;
        border-bottom: 1px dashed var(--primaryColor);
    }

    #temp3-dropdown-menu li:last-child {
        margin-bottom: 20px;
    }

    #temp3-dropdown-menu li a {
        font-size: 0.9rem;
        font-weight: 450;
        color: var(--primaryColor);
    }


    #temp3-dropdown-menu li a::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    #temp3-dropdown-menu li a:hover::after {
        content: "";
        height: 0px;
        width: 0px;
    }

    /* -------------------------------------- */
    #temp3-toggle-menu {
        color: var(--white);
    }


    #temp3-pages-btn {
        display: block;
    }
}