@font-face {
    font-family: 'Frutiger';
    src: local('Frutiger'), url('assets/font/Frutiger.woff') format('woff');
}


@font-face {
    font-family: 'Frutiger Bold';
    src: local('Frutiger Bold'), url('assets/font/Frutiger_bold.woff') format('woff');
}

:root {
    --primary-color: #004d40;
    --secondary-color: #949300;
    --hover-color: #00352f;
    --text-color: #333;
    --background-color: #f8f9fa;
    --card-background: #f4f4f4;
    --footer-background: #004d40;
    --footer-text-color: #fff;
    --mainSpace: 40px;
}

body {
    font-family: 'Frutiger';
    font-style: normal;
    font-weight: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: .027em;
}

.container {
    max-width: 1000px !important;
}

.container-fluid {
    max-width: 1300px;
}

.navbar {
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.navbar-nav {
    gap: 25px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: bold;
    transition: color 0.3s ease;
}

.active {
    border-bottom: 1px solid var(--primary-color);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-toggle::after {
    margin-left: 5px;
}

.btn-sign-in {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-sign-in:hover {
    background: var(--hover-color);

}

.lang .nav-link {
    border-left: 1px solid var(--primary-color);
    padding-bottom: 0;
    padding-top: 0px;
    margin-top: .5rem;

}

.BackGeoundIMageWithText {
    position: relative;
}

.BackGeoundIMageWithText .image img {
    width: 100%;
    height: calc(100vh - 176.11px);
}

.BackGeoundIMageWithText .textContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.BackGeoundIMageWithText .textContent h1 {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 30px;
}

.BackGeoundIMageWithText .textContent p {
    color: #fff;
}

.objective {
    margin-top: var(--mainSpace);
}

.objective .content {
    color: #000;
    width: 80%;
    text-align: justify;
}

.secondTitle {
    font-family: 'Frutiger Bold';
    font-size: 60px;
    color: var(--primary-color);
    line-height: 70px;
}

.objective .images img {
    background-color: #ededed;
    padding: 10px;
}

.objective .images img:nth-child(2) {
    position: relative;
    bottom: 90px;
    left: 100px;
    margin-bottom: -45px;

}

.Participate .textContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-image: url(assets/images/Participate.png);
    width: 100%;
    color: #fff;
    padding: 50px 0;
    background-size: cover;

}

.Participate .textContent .ReadyTo {
    font-size: 80px;
}

.Participate .textContent .Participate {
    font-size: 100px;
    font-weight: 600;
}

.Participate .textContent .btn {
    background-color: #fff;
    color: #000;
    border-radius: 50px;
    padding: 10px 40px;

}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.custom-card:hover {
    transform: scale(1.05);
}

.card-image {
    position: relative;
    cursor: pointer;

}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 77, 64, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image:hover .overlay {
    opacity: 1;
}

.overlay i {
    color: white;
    font-size: 2em;
}

.card-content {
    padding: 15px;
    background: #ECEFEC;
    height: 150px;


}

.card-date {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.card-title {
    font-weight: bold;
    color: #004d40;
    font-size: 1.1em;
}

/* Swiper Container Styling */
.swiper {
    padding: 80px;
    margin: 40px 0;
    background-image: url(assets/images/PastSpeakers.png);
}

.swiper .secondTitle {
    padding-bottom: 80px;
}

/* Swiper Slide Card Styling */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    max-width: 400px;
    width: 300px;
    height: 300px;
}

.card h5 {
    color: #004d40;
    /* لون العنوان مطابق للون الأساسي المستخدم في الموقع */
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

.card p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
    border-top: 1px solid var(--primary-color);
    margin-top: 10px;
    padding-top: 15px;
}

/* 
.navigationEvent::after {
    background-color: var(--primary-color);
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
} */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    font-size: 18px;

    padding: 25px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;

}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 18px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

/* .swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #87CEEB;
    transform: scale(1.1);
} */

.swiper-button-prev,
.swiper-button-next {
    position: unset;
    top: 0;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .card {
        max-width: 200px;
        /* عرض البطاقة في الشاشات الصغيرة */
    }
}

/* Swiper Container Styling */
.swiperEvent {

    margin: 40px 0;
    position: relative;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
    padding-bottom: 35px;


}

/* Event Slide Card Styling */
.swiperEvent .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;

}

.swiperEvent .event-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    width: 100%;
    height: 500px;
    /* يمكن تخصيص الارتفاع حسب الحاجة */
}

.swiperEvent .event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* لضبط الصورة بحيث تملأ البطاقة بشكل جيد */
}

.swiperEvent .event-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 77, 64, 0.8);
    color: #fff;
    padding: 15px;
    text-align: left;
}

.swiperEvent .event-details p {
    font-size: 0.9em;
    margin: 0;
}

.swiperEvent .event-details h5 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 1.2em;
}

/* Swiper Navigation Buttons */
.swiper-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    /* لون أزرار التنقل */
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.saveTheData {
    position: relative;
    margin-top: var(--mainSpace);
}

.footer {
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    padding: 20px;
    text-align: center;
    /* margin-top: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.footer .social-icons {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 1.5em;
    transition: color 0.3s ease;
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
}

.footer .social-icons a:hover {
    color: var(--hover-color);
}

.footer p {
    color: var(--text-color);
    margin: 0;
}


@media (max-width: 1260px) {
    .navbar-nav {
        gap: 0px;
    }

    .nav-link {
        font-size: 14px;
    }

    .navbar-brand img {
        max-height: 25px;
    }

    .btn-sign-in {
        padding: 10px 15px;
        font-size: 14px;

    }
}

@media (max-width: 990px) {
    .lang .nav-link {
        border-left: none;
    }

    .BackGeoundIMageWithText .textContent {
        text-align: left;
    }

    .BackGeoundIMageWithText .textContent h1 {
        font-size: 40px;
    }

    .active {
        border-bottom: none;
    }

    .btn-sign-in {

        border-radius: 0;
    }

    .objective .text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .objective .images {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .objective .images img {
        width: 50%;
    }

    .Participate .textContent {

        text-align: center;

    }

    .Participate .textContent .ReadyTo {
        font-size: 60px;
    }

    .Participate .textContent .Participate {
        font-size: 80px;
        font-weight: 600;
    }

    .secondTitle {
        font-size: 30px;
    }

    .footer {
        gap: 0;
        flex-direction: column;
    }

    .card-container {

        padding: 0 30px;
    }

    .objective .images img:nth-child(2) {
        bottom: 50px;
        left: 50px;
        margin-bottom: -20px;
    }

}

.swiperEvent .swiper-button-next,
.swiperEvent .swiper-button-prev {
    background-color: var(--primary-color);
}

.videoGallery .row {
    flex-wrap: wrap;
    justify-content: center;
}

.videoGallery .row .col-md-4 {
    min-width: 300px;
    min-height: 288px;
}

.videoGallery .row .col-md-4 .card-container {
    padding: 0;
}
.w_btn,.g_btn {
    width: 20%;
    min-width: 200px;
    border-radius: 1000px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #111;
    font-size: 18px;
    font-family: 'Frutiger Bold';
}
.g_btn{
    background: #00352f;
    position: relative;
    color: #fff;
    width: max(70%, 280px);
    font-family: 'Frutiger';
    padding: 1.5vh;
}
.flex_filter {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
}

.past_events_filter {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    position: absolute;
    right: min(15vw,100px);
    top: 0;
}

@media (max-width: 1199px) {

    .past_events_filter {
        right: 10px;
    }
}
@media (max-width: 800px) {
    .flex_filter {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .past_events_filter {
        position: unset;
        right: unset;
        top: unset;
    }
}


.past_events_filter .title,.past_events_filter .filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-transform: capitalize;
}

.past_events_filter .title span {
    color: #004d40;
    text-transform: capitalize;
    font-family: 'Frutiger bold';
    font-size: 22px;
}

.past_events_filter .filter select {
    outline: none;
    border: none;
    background: #eee;
    padding: 5px 30px;
    color: #004d40;
    border-radius: 0 !important;
    text-transform: capitalize;
}

.past_events_filter .filter select option {
    color: #111;
    border-radius: 0 !important;
    text-transform: capitalize;
}