html {
    scroll-behavior: smooth;
}

body {
    font-family: "Regular";
    word-break: break-word;
    overflow-x: hidden;
    color: #143264;
    /* background-color: #f2f4f7; */
    background-color: #fff;
}

body:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-image: linear-gradient(to bottom, #072959, #072959, #0729597d, #F2F4F700);
    z-index: -1;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}

a:hover {
    color: #F88923;
}

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

::-webkit-scrollbar-track {
    border-radius: 0px;
    background: #F4F8FF;
}

::-webkit-scrollbar-thumb {
    background: #8158AD;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #143264;
}

* {
    transition: all .5s ease-in-out;
}

a {
    text-decoration: none;
}


@font-face {
    font-family: 'Bold';
    src: url(../fonts/ReadexPro-Bold.ttf);
}

@font-face {
    font-family: 'Regular';
    src: url(../fonts/ReadexPro-Regular.ttf);
}

@font-face {
    font-family: 'Medium';
    src: url(../fonts/ReadexPro-Medium.ttf);
}

@font-face {
    font-family: 'SemiBold';
    src: url(../fonts/ReadexPro-SemiBold.ttf);
}

.Medium {
    font-family: 'Medium';
}

.Bold {
    font-family: 'Bold';
}

.Regular {
    font-family: 'Regular';
}

.SemiBold {
    font-family: 'SemiBold';
}

.w-max-content {
    width: max-content !important;
}

ul li {
    list-style-type: none;
}

.br-0 {
    border-radius: 0px !important;
}

.br-8 {
    border-radius: 8px !important;
}

.br-10 {
    border-radius: 10px !important;
}

.br-14 {
    border-radius: 14px !important;
}

.br-16 {
    border-radius: 16px !important;
}

.br-20 {
    border-radius: 20px !important;
}

.br-24 {
    border-radius: 24px !important;
}

.br-30 {
    border-radius: 30px !important;
}

.br-50 {
    border-radius: 50px !important;
}

.f-12 {
    font-size: 12px !important;
}

.f-14 {
    font-size: 14px !important;
}

.f-18 {
    font-size: 18px !important;
}

.f-20 {
    font-size: 20px !important;
}

.f-24 {
    font-size: 24px !important;
}

.f-55 {
    font-size: 55px;
}

.h-600 {
    height: 600px;
}

.btn:focus {
    box-shadow: none;
}

.form-control {
    border: 1px solid #E6EBF1;
    border-radius: 8px;
}

.z-2 {
    z-index: 2;
}

input.form-control {
    height: 60px;

}

.form-label {
    color: #143264;
    font-size: 18px;
}

::placeholder {
    color: #8099B6 !important;
}

.h-400 {
    height: 400px;
}

.h-250 {
    height: 250px;
}

/* ======================== colors =========================== */
.default-color {
    color: #8158AD !important;
}

.gray-bg {
    background-color: #F9FAFB;
}

.gray-color {
    color: #4B5563;
}

/* =========================================================== */
.default-btn,
.default-btn:hover,
.default-btn:focus {
    border-radius: 8px;
    background: #8158AD;
    font-size: 20px;
    color: #fff !important;
    padding: 15px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
}

.gray-btn {
    background-color: #E6EBF1;
    padding: 15px 100px;
    color: #143264;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
}

header {
    background-color: #e6e7e9;
    position: fixed;
    z-index: 999;
    width: 100%;
    backdrop-filter: blur(200px);
}

header .logo {
    width: 150px;
}

nav a.nav-link {
    color: #143264;
    border-radius: 8px;

}



.nav-link:hover {
    background-color: #E6EBF1;
    border-radius: 8px;
    color: #143264;
}

.home-hero {
    min-height: 100vh;
}

.home-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
}

.home-hero:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: linear-gradient(#ffffff00, #ffffff 67%, #ffffff);
}

.hero-caption {
    padding-top: 100vh !important;
}

footer {
    background-image: linear-gradient(to bottom, #143264, #F2F4F7);

}

footer .title {
    color: #509FE1;
}

footer a {
    color: #fff;
}

/* footer .copyRight {
    border-top: 1px solid #8099B6;
} */

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-item.active .nav-link {
    background: #8158AD;
    border-radius: 50px;
}

.nav-item.active a {
    color: #fff;
}


.Suppliers {
    background-image: url(../images/stat-bg.png);
    background-color: #143264;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.statistics .card {
    background-color: transparent;
    width: 300px;
    height: 300px !important;
}

/* .statistics .card:hover {
    background-image: linear-gradient(to top left, #8158AD, #8158AD00 40%);
} */

.partners {
    background-color: rgb(129 88 173 / 15%);
}

#PartnersSlider img {
    width: 300px;
}

.swiper-scrollbar {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width: 98%;
}

.swiper-controller {
    width: 250px;
    height: 50px;
    margin-inline-start: 67%;

}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: 0;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: -4px;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: '\f053';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #143264;
    font-size: 16px;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: '\f054';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: #143264;
}

.swiper-scrollbar-drag {
    border-radius: 0;
    background: #8099B6;
}

.swiper-scrollbar {
    border-radius: 0px;

    background: transparent;
    border-bottom: 1px solid #8099B6;
}



.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: #143264;
    opacity: .20;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #8158AD;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    width: 75% !important;
    margin: auto;
    left: 0 !important;
    right: 0;
}

.section-title {
    border-bottom: 8px solid #8158AD;
    padding-inline-end: 25px;
    border-inline-start: none;
    display: inline-block;
    position: relative;
    margin-inline-end: 30px;
}

.section-title:after {
    content: "";
    background-color: #8158AD;
    height: 8px;
    width: 500px;
    position: absolute;
    left: -500px;
}

.section-title:before {
    content: "";
    border-radius: 0 50px 50px 0;
    background-color: transparent;
    height: 100%;
    width: 50px;
    position: absolute;
    right: -25px;
    border: 8px solid #8158AD;
    border-inline-start: none !important;
    bottom: -8px;
}

.section-title h1 {
    margin-top: -20px;
    padding-bottom: 10px;
    padding-inline-end: 25px;

}

.about-logo {
    width: 350px;
}

.about-section {
    /* linear-gradient(to right, #143264, #8158AD), */
    /* background-image: url(../images/about-section.png); */
    background-blend-mode: screen;
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
}

.location-card {
    background-image: linear-gradient(to right, #ffffff 55%, #ffffff00 100%);
    overflow: hidden;
}

.location-card img {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    height: 100%;
    width: 50%;
    object-fit: cover;
}

.pageHeader {
    height: 500px;
    position: relative;
    /* border-radius: 24px; */
    overflow: hidden;
    /* position: absolute; */
    /* top: 0; */
}

.pageHeader-img {
    max-height: 150vh !important;
    object-fit: cover;
    height: 150vh !important;
}

.pageHeader p {
    width: 50%;
}

.pageHeader .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-image: linear-gradient(to bottom, #F2F4F7 70%, #F2F4F700 100%); */
    /* background-image: linear-gradient(to bottom, #F2F4F7 70%, #F2F4F700 100%); */
    padding-inline: 140px !important;
}

#about-header .second-overlay {
    height: 125px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(to top, #ffffff 16%, #ffffff00 100%);
    padding-inline: 140px !important;
}

.pageHeader img {
    object-fit: cover;
        object-position: 70%;
            height: 100%;
}

#about-header .pageHeader .overlay {
    /* position: absolute; */
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #F2F4F7 70%, #F2F4F700 100%);

}

#about-header .pageHeader {
    height: 400px;
    position: relative;
    /* border-radius: 24px; */
    overflow: hidden;
    position: absolute;
    top: 50px;
    width: 100%;
}

.lifeCard {
    border-radius: 0 8px 8px 0;
    padding: 24px 24px 24px 40px;
    border-left: 4px solid #8855A0;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.lifeCard:after {
    content: "";
    top: 30%;
    left: 15%;
    position: absolute;
    width: 150%;
    height: 150%;
    z-index: 1;
    background-image: radial-gradient(#8158ad 0, #8158add6, #ffffff, #fff);
    opacity: 0;
    transition: all .5s ease-in-out;
}

.lifeCard:hover:after {
    opacity: .7;
}

.lifeCard .user {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #8099B6;
}

.eventCard img,
.newsCard img {
    height: 200px;
    width: 100%;
    border-radius: 50px 0 50px 50px;
    object-fit: cover;
    border: 6px solid #8158ad;

}

a {
    color: #143264;
}

.eventCard p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.eventCard {
    transition: all .5s ease-in-out;
    border-radius: 24px;
    background-image: url(../../frontend/images/services-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 33px !important;
    height: 522px !important;

}

/* 
.eventCard:hover {
    background-image: linear-gradient(to top, #8158AD, #8158AD00) !important;
} */

.eventCard:hover a,
.newsCard:hover a {
    color: #143264;
}

.newsCard {
    padding: 40px 80px;
}

.newsCard:nth-child(odd) {
    background-color: #fff;
    border-radius: 16px;
}

.newsCard h3 {
    line-height: 2;
}

.hiringCard img {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

#Hiring-process {
    /* background-color: #8158AD; */
    background-image: url(../images/partners-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#Hiring-process .section-title:before {
    border: 8px solid #8158AD;
}

#Hiring-process .section-title:after {
    content: "";
    background-color: #8158AD;
}

#Hiring-process .section-title {
    border-bottom: 8px solid #8158AD;
}

.hiringCard {
    overflow: hidden;
    border-radius: 8px;
}

.hiringCard .overlay {
    position: absolute;
    bottom: 0;
    padding: 40px 20px;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, #FFFFFF, #8158AD00);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
}

.hiringCard:hover .overlay {

    background-image: linear-gradient(to top, #8158addc, #8158AD00);
    color: #fff;
    transform: scale(1.1);
}

.benefitsCard:hover {
    background-image: linear-gradient(to bottom right, #8158AD 25%, #8158AD00);
    color: #fff;
}

.nav-pills .nav-link {
    background-color: #fff;
    color: #143264;
    border-radius: 50px !important;
    padding: 12px 8px;
    font-size: 20px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #8158AD;

}

.vacancyCard {
    background-image: url(../images/career-bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.vacancyCard .job-img {
    border-radius: 50px 0 50px 50px;
    object-fit: cover;
    border: 6px solid #8158ad;
    height: 151px;
    object-fit: contain;
}

.vacancyCard .location {
    border-inline: 2px solid #143264;
    padding-inline: 20px;
}

.valueCard {
    border: 1px solid #14326433 !important;
    border-radius: 150px !important;
    padding: 50px 35px !important;
}

.valueCard img {
    width: 80px;
}

.valueCard p {
    line-height: 2;
}

.vision {
    /* background: linear-gradient(#8158AD, #143264); */
    padding: 55px;
    border-radius: 80px;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission {
    /* background: linear-gradient(#509FE1, #143264); */
    padding: 55px;
    border-radius: 80px;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Universities {
    background: linear-gradient(to bottom, rgb(129 88 173 / 60%), rgb(255 255 255 / 60%));

}

.dot-list li {
    list-style-type: disc;
    margin-bottom: 25px;
}

.member img {
    height: 300px;
}

.member .position-title {
    color: #8099B6;
}

#memberInfoModal .modal-content {
    background-color: transparent;
}

#memberInfoModal .modal-body {
    background-color: #FFFFFF33;
    border-radius: 40px;
    border: 1px solid #FFFFFF;
}

#memberInfoModal .modal-header {
    border-bottom: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


#memberInfoModal .modal-content {
    border: none;
}

#memberInfoModal .member-img {
    border-radius: 24px;
    object-fit: cover;
}

.modal {
    background: #143264E5;
}

.btn-close {
    color: #F1BC5C;
    background: none;
    opacity: 1;
    font-size: 21px;
}

.modal-data {
    overflow-y: auto;
    max-height: 400px;
}

.dropdown-menu {
    box-shadow: 0 10px 20px 0 #00000040;
    border: none;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
    min-width: fit-content;
}

.dropdown-item,
.dropdown-item:hover {
    padding: 12px 20px;
    color: #143264 !important;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #8158AD !important;
}

.Customers img {
    width: 150px;
}

.blue-border {
    border-inline-start: 4px solid #509FE1;
}

.no-gradient {
    background-color: #fff;
}

.no-gradient header {
    backdrop-filter: blur(0px);
    position: absolute;
}

.no-gradient:after {
    display: none;
}

.applyCard {
    background-color: #F2F4F7;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 0;
}

.applyCard img {
    height: 250px;
    width: 100%;
    border-radius: 10px;
}

.newsDate,
.newsDate a {
    color: #8099B6;
}

.newsDate .auther {
    border-inline: 2px solid #8099B6;
    padding-inline: 20px;
}

.timeline {
    position: relative;
    padding: 60px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #A7BED3;
    z-index: 1;
}

.timeline-event {
    position: relative;
    width: 33.33%;
    text-align: center;
    z-index: 2;
}

.timeline-event .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #143264, #8158AD);
    /* position: absolute; */
    left: 50%;
    top: 50%;
    z-index: 3;
}

.timeline-event .card {
    background: white;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 60px;
    margin-bottom: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[dir="rtl"] .pageHeader img {
    transform: scaleX(-1);
}

[dir="rtl"] .location-card img {
    position: absolute;
    left: 0;
    right: auto;
}

[dir="rtl"] .location-card {
    background-image: linear-gradient(to left, #ffffff 55%, #ffffff00 100%);
    overflow: hidden;
}

.timeline-event .year {
    color: #8158AD;
    font-weight: 600;
}

@media (max-width: 768px) {
    .timeline-event {
        width: 100%;
        margin-bottom: 120px;
    }

    .timeline::before {
        top: auto;
        bottom: 0;
    }

    .timeline-event .card {
        position: static;
        transform: none;
        margin: 20px auto;
    }

    .timeline-event .dot {
        top: auto;
        bottom: 0;
    }
}

/* ============== media =============== */
@media (max-width:990px) {
    .pageHeader-img {
        max-height: 100vh !important;
        height: 50vh !important;
    }

    .hero-caption {
        padding-top: 0 !important;
    }

    .vacancyCard {
        background-image: url(../images/career-bg.png);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .home-hero:before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        background-image: linear-gradient(#ffffff00, #ffffff 38%, #ffffff);
    }

    .home-hero video {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: 27vh;
        z-index: -1;
        object-fit: cover;
    }

    .pageHeader {
        height: 250px !important;
        margin-top: 24px;
    }

    .vision,
    .mission {
        width: 100%;
        overflow: hidden;
    }

    #about-header .pageHeader {
        position: relative;
        min-height: 200px;
        height: 200px;
    }

    .h-400 {
        height: 200px;
    }

    .h-250 {
        height: 120px;
    }

    .vision,
    .mission {
        padding: 40px;
        border-radius: 40px;
    }

    .vacancyCard h1 {
        font-size: 22px;
    }

    .vacancyCard .location,
    .newsDate .auther {
        padding-inline: 12px;
    }

    .vacancyCard h6,
    .newsDate h6 {
        font-size: 13px;
    }

    .benefitsCard img {
        width: 75px;
    }

    .career-p {
        font-size: 16px;
    }

    .hiringCard img {
        height: 200px;
        object-fit: cover;
    }

    .newsCard {
        padding: 20px;
    }

    .pageHeader .overlay {
        padding: 23px !important;
        /* background-image: linear-gradient(to bottom, #F2F4F7 37%, #F2F4F700 100%); */
    }

    .pageHeader p {
        width: 80%;
    }

    .newsCard h3 {
        line-height: 1.5;
    }

    .eventCard img,
    .newsCard img {
        height: 200px;
        width: 100%;
    }

    .nav-item.active {
        background: #8158AD;
        border-radius: 8px;
        width: fit-content;
        padding-inline: 10px;
    }

    .default-btn,
    .default-btn:hover,
    .default-btn:focus {

        font-size: 16px;

        padding: 10px 30px;
    }

    .f-20 {
        font-size: 16px !important;
    }

    .f-55 {
        font-size: 33px;
    }

    .f-24 {
        font-size: 18px !important;
    }

    .f-18 {
        font-size: 14px !important;
    }

    footer {
        background-image: linear-gradient(to bottom, #143264 50%, #F2F4F7);
    }

    .navbar-collapse {
        background: rgb(255, 255, 255);
        border-radius: 15px;
        padding: 16px;
    }

    .swiper-controller {
        margin: auto;
    }
}

@media (max-width:1286px) and (min-width:990px) {}

@media (min-width: 1200px) {}

@media (min-width: 991px) {

    #Values .container .row .col-lg-3:nth-child(2),
    #Values .container .row .col-lg-3:nth-child(4) {
        margin-top: 100px;
    }

    #about-header .pageHeader .overlay {

        padding-inline: 140px !important;

    }


    .w-lg-50 {
        width: 50%;
    }

    .w-lg-66 {
        width: 66%;
    }

    .w-lg-75 {
        width: 75%;
    }
}

@media (max-width: 768px) {}

/* Timeline Section Styling */
.timeline-section {
    background: #fff;
}

.timeline-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.timeline-section .section-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .timeline-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .timeline-section .section-title {
        color: #f9fafb;
    }

    .timeline-section .section-description {
        color: #9ca3af;
    }
}

/* RTL support for Arabic */
[dir="rtl"] .timeline-section .section-title,
[dir="rtl"] .timeline-section .section-description {
    text-align: center;
}

/* Responsive timeline section */
@media (max-width: 768px) {
    .timeline-section .section-title {
        font-size: 2rem;
    }

    .timeline-section .section-description {
        font-size: 1rem;
        padding: 0 15px;
    }
}