@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*:not(i) {
    font-family: "Cairo", sans-serif !important;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

footer a:hover {
    background-color: transparent !important;
    opacity: 0.8;
}

:root {
    --main-color: #3087bd;
    --second-color: #873a95;
}

/* Header section */
header {
    padding-top: 30px;
    width: 100%;
    max-width: 100%;
    padding-left: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    flex-direction: row-reverse;
    justify-content: space-between;
    transition-duration: 0.8s !important;
}
body{
    width: 100vw;
    overflow-x: hidden;
}

.close-nav-button {
    display: none;
}

.burger-icon {
    font-size: 50px;
    color: #fff;
    display: none;
    flex-direction: column;
    line-height: 10px;
    transform: scaleX(1.5);
    cursor: pointer;
    margin-top: -38px;
}

header nav{
    display: flex;
    align-items: center;
}
header nav a:hover {
    color: #fff !important
}
@media (max-width: 768px) {
    header nav .active {
        background-color: transparent;
    }

    header nav a {
        font-size: 16px !important;
        font-weight: 800;
    }

    header nav {
        padding-top: 30px;
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        height: 100vh;
        top: 0;
        text-align: center;
        background-color: #ffffff;
        z-index: 101;
        margin: 0;
        }

    header .logo {
        width: 90% !important;
        justify-content: right !important;
        padding-right: 52px;
    }

    header nav a {
        margin: 26px 0;
        color: #000000b9 !important;
    }
    header nav a {
        padding: 0 10px !important;
    }
    .close-nav-button {
        font-size: 50px;
        z-index: 1002;
        color: #000000bf;
    }

    .burger-icon {
        display: flex;
    }

    .list .item .content {
        width: auto !important;
    }
}

.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition-duration: 0.8s;
    padding-bottom: 40px;
    padding-top: 30px;
}

.scrolled a {
    color: #000 !important;
}

.scrolled .burger-icon {
    color: #000
}

header .logo {
    width: 30%;
    align-items: center;
    display: flex;
    justify-content: center;
}

header .logo img {
    width: 30%
}

.scrolled .logo img {
    width: 25%
}

header nav a {
    color: #fff;
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 16px;
    transition: 0.2s;
    text-decoration: none;
}

a.active {
    background: var(--main-color);
    border-radius: 2px;
}

a:hover {
    background: var(--main-color);
    border-radius: 2px;
}

/* Header section */



/* carousel */

.carousel {
    width: 100vw;
    height: 100vh;
    /* margin-top: -50px; */
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.623);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.747);
    /* Adjust opacity (0.0 - 1.0) */
    z-index: 1;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3) {
    left: 67%;
    display: none;
}

.carousel .list .item:nth-child(4) {
    left: calc(67% + 200px);
    display: none;
}

.carousel .list .item:nth-child(5) {
    left: calc(67% + 400px);
    display: none;
}

.carousel .list .item:nth-child(6) {
    left: calc(67% + 600px);
    display: none;
}

.carousel .list .item:nth-child(n+7) {
    left: calc(67% + 800px);
    opacity: 0;
}
.carousel a{
    color: #fff;
}

.carousel a:hover {
    color: #fff;
}

.list .item .content {
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%);
    width: 600px;
    text-align: left;
    color: #fff;
    display: none;
    text-align: right;
    padding: 0 40px;
    z-index: 100;
}

.list .item:nth-child(2) .content {
    display: block;
}

.content .title {
    font-size: 30px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name {
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);

    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn {
    margin-left: 5px;
    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;

}

.content .btn button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
}

.content .btn button:nth-child(1) {
    margin-right: 15px;
}

.content .btn button:nth-child(2) {
    background: transparent;
    color: var(--main-color);
    border: 2px solid #fff;
    transition: 0.3s;
}

.content .btn button:nth-child(2):hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}


@keyframes animate {

    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* next prev arrows */

.arrows {
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    width: 60px;
    /* height: 50px; */
    border-radius: 50%;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    outline: none;
    font-size: 17px;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover {
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning {
    position: absolute;
    z-index: 101;
    width: 0%;
    height: 4px;
    background-color: var(--main-color);
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {

    from {
        width: 0%;
    }

    to {
        width: 100%;
    }

}


/* Responsive Design */

@media screen and (max-width: 999px) {

    header {
        padding-left: 50px;
    }

    .list .item .content {
        right: 0;
    }

    .content .title,
    .content .name {
        /*font-size: 70px;*/
    }

    .content .des {
        font-size: 16px;
    }

}

@media screen and (max-width: 690px) {
    header nav a {
        font-size: 16px;
        margin-right: 0;
    }

    .list .item .content {
        top: 40%;
    }

    .content .title,
    .content .name {
        font-size: 25px;
    }

    .content .btn button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .content .btn{
        width: 50% !important
    }


    .search-box {
        background-color: #efeeee4e !important;
        color: #000 !important;
    }

    .search-box {
        border: solid 1px #0000004e !important;
    }

    .search-box button {
        border-right: solid 1px #0000004e !important;
    }

    .search-box i {
        color: #0000004e !important;
    }

    .search-box input::placeholder {
        color: #0000004e !important;
    }
}

.carousel.flash {
    animation: flashEffect 0.3s ease;
}

@keyframes flashEffect {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(2);
    }

    100% {
        filter: brightness(1);
    }
}

.top-features-slide {
    display: flex;

}

.section-title {
    text-align: center;
    padding: 50px 0;
    font-size: 40px;
    font-weight: 100;
    color: #fff !important;
    font-weight: 100 !important;

}

.about-us {
    text-align: right;
}

.about-us h2 {
    border-right: solid 15px var(--second-color);
    padding-right: 20px;
}


/* footer */
footer {
    background-color: var(--second-color);
    color: #ffffff;
    font-size: 16px;
}

footer * {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-align: right;
}

.row {
    padding: 2em 1em;
}

.row.primary {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    align-items: stretch;
}

.column {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 2em;
    min-height: 15em;
}

h3 {
    width: 100%;
    text-align: left;
    color: #2a8ded;
    font-size: 1.6em;
    white-space: nowrap;
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

li:not(:first-child) {
    margin-top: 0.8em;
}

ul li a {
    color: #ffffff;
    text-decoration: none;
}

ul li a:hover {
    color: #2a8ded;
}

.about p {
    text-align: justify;
    line-height: 2;
    margin: 0;
}

input,
button {
    font-size: 1em;
    padding: 1em;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 5px;
}

button {
    background-color: #2a8ded;
    color: #ffffff;
}

div.social {
    display: flex;
    justify-content: space-around;
    font-size: 2.4em;
    flex-direction: row;
    margin-top: 0.5em;
}

.social i:hover {
    color: #2a8ded;
}

.row.secondary {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.row.secondary i {
    font-size: 1.8em;
    color: #2a8ded;
}

.row.secondary div {
    padding: 1em 0;
    width: 100%;
}

.row.secondary div:hover {
    background-color: #25262e;
}

.copyright {
    padding: 0.3em 1em;
    background-color: #25262e;
}

.copyright p {
    font-size: 0.9em;
    text-align: center;
}

@media screen and (max-width: 850px) {
    .row.primary {
        grid-template-columns: 1fr;
    }

    .row.secondary {
        flex-direction: column;
    }
}

/* footer */
.main-footer {
    text-align: right;
    padding: 70px 0;
    display: flex;
    justify-content: space-evenly;
    background-color: #011222;
}

.main-footer ul {
    list-style: none;
}

.main-footer h1 {
    font-size: 22px;
    line-height: 117%;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 500;
}

.main-footer h2 {
    color: #ffffff;
    font-weight: 500;
}

.main-footer ul li a {
    color: #ffffffcc;
    text-decoration: none;
}

footer {
    background-color: #020827;
    border-top: 1px solid var(--main-color);
    font-size: 17px;
    padding: 15px 5px;
    color: #ffffff;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: #ffffff;
}

.logoinfo p {
    color: #6EB981;
    font-size: 17px;
    margin-top: 5px;
}

.contact-details {
    margin-top: 20px;
}

.contact-details li {
    list-style: none;
    margin: 10px 0;
}

.contact-details li a {
    text-decoration: none;
    color: #f1f1f1;
}

.contact-details .fa {
    color: #f1f1f1;
    margin-right: 10px;
}

.sociallogos {
    padding: 20px 0;
}

.sociallogos .logobox a {
    padding: 0 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
}

.com ul li {
    padding: 5px 0;
}

@media only screen and (max-width: 749px) {
    .main-footer {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .info {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .main-footer {
        grid-template-columns: 1fr;
    }

    .sociallogos {
        padding: 20px 0;
    }

    .com {
        padding: 20px 0;
    }

}

/* container color */

.container-color {
    /* background-color: #020827; */
    padding: 30px 0;
}

/* programs  */
.section-title-programs {
    color: var(--main-color) !important;
    padding: 20px 0 0 0;
    font-size: 40px;
    font-weight: 900 !important;
    display: flex;
    justify-self: center;

}

.section-title-box h2 {
    border-right: var(--main-color) solid 10px;
    padding-right: 20px;
}

.goals-title {
    color: #000 !important;
    text-align: right;
    margin: 0 40px;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .top-features-slide {
        flex-direction: column;
    }
}


/* quote */
.quote {
    background-color: var(--main-color);
    color: #fff;
    padding: 20px;
    border-radius: 0px 20px 20px 20px;
    margin: 20px 0;
}

/* partners */
.partners-section {
    padding: 50px 0;
    /* background: #f8f9fa; */
    text-align: center;
}

.partners-section h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}

.partners-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    display: flex;
    width: 200%;
    animation: slide 20s linear infinite;
}

.slider-wrapper:hover {
    animation-play-state: paused;
}

.slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    flex-shrink: 0;
    padding: 20px 0;
}

.slider img {
    max-width: 150px;
    height: auto;
    margin: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.slider img:hover {
    filter: grayscale(0%);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .slider img {
        max-width: 120px;
        margin: 0 15px;
    }
}

/* paths */
.partners-section h2 {
    display: inline;
    border-right: solid 15px var(--main-color) !important;
    padding-right: 20px;
}

.service-grid {
    background: #fcfcfc;
}

.service-title h4 {
    position: relative;
    display: inline-block;
    font-size: 30px;
}

.service-icon {
    position: relative;
}

.service-title p {
    padding: 0 190px;
    margin-bottom: 10px;
}

.about-info-text h2 {
    margin-bottom: 23px;
    text-transform: capitalize;
    font-weight: 700;
    line-height: .9;
}

.about-info-text p {
    padding: 0 100px;
    font-size: 18px;
    margin-bottom: 26px;
    position: relative;
}

.about-content p {
    margin-bottom: 0;
}

.about-info-text a {
    margin-bottom: 20px;
    position: relative;
}

.service-icon i {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 20px;
    display: inline-block;
}

.service-wrap {
    border: 1px solid #0000002e;
    padding: 50px 30px;
    position: relative;
    background-color: rgba(250, 235, 215, 0.09);
}

.service-wrap:hover {
    border: 1px solid #873a95;
    padding: 50px 30px;
    position: relative;
    transition-duration: 0.8s;
}

.service-wrap p {
    position: relative;
}


.service-wrap h4 {
    font-weight: 600;
    color: #1e2331;
    margin-bottom: 17px;
    font-size: 18px;
    text-transform: capitalize;
    position: relative;
}

.service-wrap a {
    font-size: 14px;
    font-weight: 600;
    position: relative;

}

/* wallpaper */
.wallpaper {
    height: 50vh;
    border-bottom: var(--main-color) solid 5px;
    overflow: hidden;
    position: relative;
}

.wallpaper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.08);
}

.wallpaper .wallpaper-title {
    position: absolute;
    bottom: 0;
    color: #fff;
    text-align: center;
    z-index: 1;
    width: 100%;
    font-size: 25px;
    padding-bottom: 20px;
}

/* contact */
.contact-container {
    padding: 50px 0;
    margin: 0 50px;
}

/* result */
.result-section {
    margin: 50px 0 0 0;
    text-align: right;
}

    .result-section h3 {
        text-align: right;
        white-space: normal;
        word-wrap: break-word; 
        overflow-wrap: break-word;
    }

.result-section p {
    color: #000;
}

.result-section .pagination {
    margin: 80px 0;
}

/* acheivments */
.achievements .container {
    padding: 40px 20px;
}

.achievements .cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievements .card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    align-items: center;
}

.achievements .card:hover {
    transform: translateY(-5px);
}

.achievements .card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.achievements .number {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.achievements .title {
    color: #7f8c8d;
    font-size: 18px;
}
.achievements h3 {
    text-align: center;
}

@media (max-width: 768px) {
    .achievements .cards-container {
        grid-template-columns: 1fr;
    }
}

/* search box */
.search-box {
    border: solid 1px #ffffff39;
    margin-right: 15px;
    padding: 5px;
    color: #fff
}
.search-box button{
    width: 20%;
    background-color: transparent;
    border-right: solid 1px #ffffff39;
}

.search-box input::placeholder{
    color: #ffffff;
}
.search-box input,.search-box button{
    margin: 0;
    padding: 5px;
}
.scrolled .search-box {
    background-color:#efeeee4e;
    color: #000;
}
.scrolled .search-box {
    border: solid 1px #0000004e;
}
.scrolled .search-box button {
    border-right: solid 1px #0000004e;
}
.scrolled .search-box  i{
    color: #0000004e;
}

.scrolled .search-box input::placeholder{
    color: #0000004e;
}

/*override
*/
@media (min-width: 1200px) {
    .h3, h3 {
        font-size: 1.25rem !important;
    }
}

.rounded-full:hover {
     border-radius: calc(infinity* 1px) !important; 
}

/*logos slider*/
@keyframes slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.partners-logos {
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
}

.partners-logos:before, .partners-logos:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
}

.partners-logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
}

.partners-logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
}

.partners-logo-items {
    display: inline-flex;
    animation: 10s slides infinite linear;
}

.partners-logos:hover .partners-logo-items {
    animation-play-state: paused;
}

.partners-logo-items img {
    /*height: 100px;*/
    width: calc(100% /11)
}