body{
    background: #e6e7ee;
    margin: 0;
    height: fit-content;
    color: #2e3b6f;
    font-family: 'Tajawal';

}

img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/*navigation bar*/
header {
    position: fixed;
    width: 100%;
    height: 115px;
    margin: auto;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in-out;
    z-index: 99;
    top: 0;
}

header nav a {
    color: white;
    position:relative;
    text-align: center;
    padding: 0px 20px;
    text-decoration: none;
    font-family: 'Tajawal';
    transition: all 0.3s ease-in-out;
    display: inline-block;
    font-weight:normal;
    font-size: 18px;
}
header nav a:hover{
    transform: scale(1.07);
    font-weight: bold;
}

.navLinks{
    width: auto;
    position: fixed;
    left: 250px;
}

nav {
    position: relative;
    width: 100%;
    height:60px;
    margin: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px 30px 30px 30px;
    box-shadow:none;
    transition: all 1s ease-in-out ;
}

header.scrolled nav {
    margin-bottom: 60px ;
    border-radius: 0 0 30px 30px;
    box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.267);
    backdrop-filter: blur(2px);
}


.circle1 {
    position:fixed;
    left: 100px;
    width: 140px;
    height: 140px;
    background-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in-out ;
}

.circle2 {
    position: relative;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in-out ;
}

.circle3LOGO {                /*LOGO*/
    position: relative;
    width: 80px;
    height: 80px;
    background-color: transparent;
    /*border-radius: 50%;*/
    background-size: cover;
    overflow: hidden;
    box-sizing: border-box;
    margin:auto ;
    border: none;
    cursor: pointer;
    transition: all 1s ease-in-out ;
}

header.scrolled .circle1{
    background-color: transparent;
    width: 50px;
}

header.scrolled .circle2{
    box-shadow: none;
    width: 50px;
    height: 50px;
}

header.scrolled .circle3LOGO{
    width: 50px;
    height: 50px;
}

.loginButton{
    padding: 5px 15px;
    background-color: transparent;
    box-shadow: 0 0 8px #fff;
    border-radius: 40px;
    font-size: 1em;
    cursor: pointer;
    font-family: 'Tajawal';
    color: white;
    border: 1px solid white;
    position: absolute;
    right: 15px;
}
.loginButton:active{
    box-shadow: none;
}
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

/* Back to top button*/
#myBtn{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border: none;
    border-radius: 100px;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
}

#myBtn:hover {
    background-color: #2e3b6f;
    box-shadow: 0 5px 10px #00000069;
}

.topIcon{
    width: 40px;
    margin-bottom: -3px;
    border-radius: 100px;
}
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #2E3B6F;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #39879b;
}



/*courses & fellowships boxes container*/
.scroll-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    scroll-behavior: smooth;
    align-items: center;
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.box {
    width: 240px;
    min-width: 240px;
    min-height: 300px;
    margin: 15px;
    box-shadow: 2px 2px 5px #00000040, -2px -2px 5px #fff;
    background-color: #e6e7ee;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    flex-direction: column;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease-in-out;
}

.box:hover{
    transform: scale(1.03);
}

.box img{
    width: 224px;
    height: 224px;
    border-radius: 10px;
}

/*scroll right & left buttons*/
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff63;
    box-shadow: 2px 2px 5px #00000040;
    color: #2e3b6f;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    opacity: 1;
    transition: opacity 0.5s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
}

.scroll-button:hover {
    background-color: #2e3b6f;
    color: white;
}

.scroll-button.left {
    left: 10px;
}

.scroll-button.right {
    right: 10px;
}

.scroll-button.hidden {
    opacity: 0;
    pointer-events: none;
}


.cover{
    width: 100%;
    height: 600px;
    background-color: #2e3b6f;
    background-image: url(c.jpg);
    background-attachment: fixed;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.name{
    width: 80%;
    margin: 140px 0 10px 0;
    font-size: 55px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
}
.about{
    width: 80%;
    height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    white-space: pre-line;
    font-size: 20px;
    z-index: 1;
}


.HomeBody{
    width: 100%;
    height: auto;
    min-height: 500px;
    background: linear-gradient(0deg, #e6e7ee, #e6e7ee 94%, #e6e7eec4 98%, #e6e7ee2e 100%);
    padding: 150px 15px 0;
    box-sizing: border-box;
    transform: translateY(-95px);
    border-radius: 105px 10px 0 0;
    backdrop-filter: blur(1px);
    overflow: hidden;
}

.footer{
    width: 100%;
    height: fit-content;
    background: linear-gradient(0.25turn, #2E3B6F, #39879b);
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    /*align-items: center;*/
}

.showAllButton{
    width: fit-content;
    height: auto;
    border: none;
    border-radius: 7px;
    background: #e6e7ee;
    box-shadow: 2px 2px 5px #00000040, -2px -2px 5px #fff;
    cursor: pointer;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E3B6F;
    font-family: 'Tajawal';
    font-size: 16px;
    font-weight: bold;
}
.showAllButton:active{
    box-shadow: inset 2px 2px 5px #00000040, inset -2px -2px 5px #fff;
}



/*Blog card*/
.postCard {
    width: 80%;
    border-radius: 10px;
    background-color: #e6e7ee;
    box-shadow: -3px -3px 8px 4px rgba(255, 255, 255, 0.9),
    3px 3px 8px 4px rgba(0, 0, 0, 0.25);
    margin: 20px 0 40px 50%;
    min-height: 420px;
    overflow: hidden;
    position: relative;
    transform: translateX(-50%);
}

.captionCont {
    width: 100%;
    max-height: 300px;
    min-height: 20px;
    color: #2E3B6F;
    font-family: 'Tajawal';
    overflow-y: auto;
    text-align:center;
    margin: 0 0 20px;
    padding: 10px;
    box-sizing: border-box;
    white-space: pre-line;
}
.captionCont p{
    margin:10px 10px 0 10px;
}

.imageCont {
    width: 100%;
    max-height: fit-content;
    overflow: hidden;
    background: linear-gradient(0.25turn, #2E3B6F, #39879b);
    border-radius: 10px 10px 0 0;
    position: relative;
    display: inline-block;
}

.postCard img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.nextImageBtn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color:transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 80px;
    height: 100%;
    left: 0px;
    font-size: 30px;
}

.previousImageBtn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color:transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 80px;
    height: 100%;
    right: 0px;
    font-size: 30px;
}

.nextImageBtn:hover{
    background:linear-gradient(0.25turn,#0000007e,#00000000);
}
.previousImageBtn:hover{
    background:linear-gradient(0.75turn,#0000007e,#00000000);
}


/*products box*/
.productHome{
    width: 40vmin;
    height: 40vmin;
    max-width: 150px;
    max-height: 150px;
    background: transparent;
    box-shadow: 2px 2px 5px #00000040, -2px -2px 5px #fff;
    border-radius: 10px;
    overflow: hidden;
}
.productHome img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productHomeCont{
    overflow-y: hidden;
    overflow-x: auto;
    margin: 10px 10px;
}
.productHomeCont::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.productHomeCont {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


.sectionTitle{
    /*width: 100%;*/
    margin: 100px 20px 0;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(90deg, rgba(230, 231, 238, 1) 0%, rgb(204 207 226 / 50%) 50%, rgba(230, 231, 238, 1) 100%);
}



.socialMediaBotton{
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 5px #00000040;
    background:linear-gradient(130deg, rgba(230, 231, 238, 1) 20%, rgb(196 197 203) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}
.socialMediaBotton:hover{
    transform: scale(1.05);
}
.socialMediaBotton:active{
    box-shadow:inset 2px 2px 5px #00000040,inset -2px -2px 5px #fff;
}
.socialMediaBotton img{
    width: 30px;
    height: 30px;
}
.map {
    min-width: 200px;
    min-height: 200px;
    height: 100%;
    border: 1px solid #a4a5aa;
    border-radius: 10px;
}

header nav a:hover {
    transform: scale(1.3) !important;
    font-weight: bold !important;
    color: #fff !important;
    text-decoration: none !important;
}


/*======= Preloader =======*/
div#preloader {
    margin: auto;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

div#preloader .loader-cubes {
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    width: 50px;
    height: 50px;
    position: absolute;
    -webkit-transform: rotateZ(45deg);
    -ms-transform: rotate(45deg);
    transform: rotateZ(45deg);
}

div#preloader .loader-cubes .loader-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

div#preloader .loader-cubes .loader-cube::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
    animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    background: #2e3d70;
}

div#preloader .loader-cubes .loader-cube.loader-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
    -ms-transform: scale(1.1) rotate(90deg);
    transform: scale(1.1) rotateZ(90deg);
}

div#preloader .loader-cubes .loader-cube.loader-cube2::before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

div#preloader .loader-cubes .loader-cube .loader-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
    -ms-transform: scale(1.1) rotate(270deg);
    transform: scale(1.1) rotateZ(270deg);
}

div#preloader .loader-cubes .loader-cube .loader-cube4::before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

div#preloader .loader-cubes .loader-cube .loader-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
    -ms-transform: scale(1.1) rotate(180deg);
    transform: scale(1.1) rotateZ(180deg);
}

div#preloader .loader-cubes .loader-cube .loader-cube3::before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}


@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0);
        transform: perspective(140px) rotateX(0);
        opacity: 1;
    }

    100%, 90% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0);
        transform: perspective(140px) rotateX(0);
        opacity: 1;
    }

    100%, 90% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }

}


/*======= Preloader =======*/


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #e6e7ee;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2e3b6f;
}

.input-container {
    margin-bottom: 15px;
    text-align: left;
}

.inputFieldCon {
    display: flex;
    align-items: center;
    background: #e6e7ee;
    box-shadow: inset 2px 2px 5px #00000040, inset -2px -2px 5px #fff;
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
}

.inputField {
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    padding: 10px;
    font-size: 16px;
    color: #2e3b6f;
}

.button {
    display: inline-block;
    background-color: #2e3b6f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-weight: bold;
}

.button:hover {
    background-color: #39879b;
}



/*################ New Classes ################*/

.courseBody{
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    margin: 160px 2.5%;
    gap: 40px;
}
.courseImg{
    width: 20vmax;
    height: 20vmax;
    border-radius: 10px;
}

@media (max-width: 720px){
    .courseBody{
        display: flex;
        flex-wrap: wrap;
        width: 95%;
        margin: 160px 2.5%;
        gap: 40px;
        flex-direction: column;
    }
    .courseTabs{
        display: flex;
        width: 100%;
        border-bottom: 2px solid #d2d4e3;
        margin: 30px 0 0;
        flex-wrap: wrap;
        padding: 5px 0;
        justify-content: center;
    }
    .courseImg{
        width: 100%;
        height: 300px;
        border-radius: 10px;
    }
}

.courseTabs{
    display: flex;
    width: 100%;
    border-bottom: 2px solid #d2d4e3;
    margin: 30px 0 0;
    flex-wrap: wrap;
    padding: 5px 0;
}

.leftSides{
    flex: 0.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.rightSides{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items:start;
    width: 100%;

}

.courseCard{
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content{
    width: 100%;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stageSelect{
    width: 80px;
    height: 32px;
    border-radius: 7px;
    border: 1px solid #314aab1f;
    color: #2e3b6f;
    box-shadow: 2px 2px 5px #00000040, -2px -2px 5px #fff;
    background-color: #e6e7ee;
}

.contentBox{
    width: 100%;
    min-height: 60px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px #00000040, -2px -2px 5px #fff;
    display: flex;
    align-items: center;
    padding: 5px;
    box-sizing: border-box;
    cursor: pointer;
    background: transparent;
}
.contentBox:hover{
    background: rgba(255, 255, 255, 0.425);
}




/*################ All duplicated down below ################*/



.search-container {
    display: flex;
    border-radius: 10px;
    padding: 7px 10px;
    max-width: 300px;
    width: 90%;
    box-shadow: inset 2px 2px 5px #00000040, inset -2px -2px 5px #fff;
    background-color: #e6e7ee;
    margin: 10px 0;
}

.searchField {
    border: none;
    outline: none;
    width: 280px;
    color: #2e3b6f;
    background-color: transparent;
    flex: 1;
}
.Icons{
    width: 20px;
    height: 20px;
    background-size: cover;
}



/*navigation bar*/
header {
    position: fixed;
    width: 100%;
    height: 115px;
    margin: auto;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in-out;
    z-index: 99;
    top: 0;
}

header nav a {
    color: white;
    position:relative;
    text-align: center;
    padding: 0px 20px;
    text-decoration: none;
    font-family: 'Tajawal';
    transition: all 0.3s ease-in-out;
    display: inline-block;
    font-weight:normal;
}
header nav a:hover{
    transform: scale(1.07);
    font-weight: bold;
}

.navLinks{
    width: auto;
    position: fixed;
    left: 250px;
}

nav {
    position: relative;
    width: 100%;
    height:60px;
    margin: 0;
    background: linear-gradient(0.25turn, #2E3B6F, #39879b);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px 30px 30px 30px;
    box-shadow:none;
    transition: all 1s ease-in-out ;
}

header.scrolled nav {
    margin-bottom: 60px ;
    border-radius: 0 0 30px 30px;
    box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.267);
    backdrop-filter: blur(2px);
}


/*.circle1 {*/
/*    position:fixed;*/
/*    left: 100px;*/
/*    width: 140px;*/
/*    height: 140px;*/
/*    background-color: #e6e7ee;*/
/*    border-radius: 50%;*/
/*    box-sizing: border-box;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    transition: all 1s ease-in-out ;*/
/*}*/

.circle2 {
    position: relative;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in-out ;
}

.circle3LOGO {                /*LOGO*/
    position: relative;
    width: 80px;
    height: 80px;
    background-color: transparent;
    background-size: cover;
    overflow: hidden;
    box-sizing: border-box;
    margin:auto ;
    border: none;
    cursor: pointer;
    transition: all 1s ease-in-out ;
}

header.scrolled .circle1 {
    background-color: transparent;
    width: 50px;
}

header.scrolled .circle2 {
    box-shadow: none;
    width: 50px;
    height: 50px;
}

header.scrolled .circle3LOGO{
    width: 50px;
    height: 50px;
}

.loginButton{
    padding: 5px 15px;
    background-color: transparent;
    box-shadow: 0 0 8px #fff;
    border-radius: 40px;
    font-size: 1em;
    cursor: pointer;
    font-family: 'Tajawal';
    color: white;
    border: 1px solid white;
    position: absolute;
    right: 15px;
}
.loginButton:active{
    box-shadow: none;
}


body{
    background: #e6e7ee;
    margin: 0;
    height: fit-content;
    color: #2e3b6f;
    font-family: 'Tajawal';
}

/* Back to top button*/
#myBtn{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border: none;
    border-radius: 100px;
    padding: 0;
    cursor: pointer;
    background-color: transparent
}

#myBtn:hover {
    background-color: #2e3b6f;
    box-shadow: 0 5px 10px #00000069
}

.topIcon{
    width: 40px;
    margin-bottom: -3px;
    border-radius: 100px
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #2E3B6F;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #39879b;
}



.showAllButton{
    width: fit-content;
    height: 35px;
    border: none;
    border-radius: 7px;
    background: #e6e7ee;
    box-shadow: 2px 2px 5px #00000040, -2px -2px 5px #fff;
    cursor: pointer;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E3B6F;
    font-family: 'Tajawal';
    font-size: 16px;
    font-weight: bold;
}
.showAllButton:active{
    box-shadow: inset 2px 2px 5px #00000040, inset -2px -2px 5px #fff;
}






