#bordered-awareness {
    a, a:hover {
        color: black !important;
    }

    .light-box:hover {
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18);
    }
}

#bordered-video-gallery {
    .card-body {
        padding: 20px;
    }

    .card {
        border-top-right-radius: 8px !important;
        border-top-left-radius: 8px !important;
        border: none;
        height: 100%;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    }
}

.modal-content {
    background: unset;
    border: none;
}

.modal-dialog .btn-close {
    filter: invert(1);
    opacity: 100;
}

.modal-header {
    border-bottom: none;

}

#videoContent iframe {
    width: 100% !important;
    height: 600px !important;
    border-radius: 8px;
}

.dark_overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: black;
    opacity: 0;
}

.play_icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: auto;
    right: auto;
    opacity: 0.8;
}

body.rtl .play_icon {
    transform: translate(50%, -50%);
}

.tiny-text {
    font-size: 12px;
}

a {
    text-decoration: none;
}

.cardContainer .card-head {
    text-align: center;
    height: 180px;
    width: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    background-size: 110%;
    background-position: center;
    position: relative;
}

.cardContainer > div {
    margin-bottom: 23px;
}

.card:hover .dark_overlay {
    opacity: 0.4;
}

.card {
    border-top-right-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border: none;
    height: 100%;
}

#bordered-news .card-body {
    padding: 0;
}

.card-head {
    position: relative;
    overflow: hidden;
}

.banner {
    position: relative;
    width: 100%;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 30vh;
    object-fit: cover;
    object-position: center;
}

.text-overlay {
    position: absolute;
    top: 60%;
    left: 5%;
    color: white;
    font-size: calc(36px - 0.2vw);
    font-weight: bold;
    white-space: nowrap;
    transition: transform 0.5s ease, color 0.5s ease;
    z-index: 2;
}

body.rtl .text-overlay {
    right: 5%;
}

.changing-word {
    color: #EF9700;
    transition: opacity 0.1s ease;
    opacity: 1;
    display: inline-block;
}

/* Media query for small screens */
@media (max-width: 576px) {
    .text-overlay {
        font-size: calc(20px + 1vw);
        left: 5%;
        white-space: normal;
    }

    .changing-word {
        display: block;
    }
}

.custom-tabs {
    border-bottom: 2px solid #DBDBDB;
    padding: 20px 0 8px 0;
    white-space: nowrap;
}

.custom-tabs .nav-item {
    display: inline-block;
}

.tabContainer {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;
}

.tabContainer::-webkit-scrollbar {
    display: none;
}

.custom-tabs .nav-link {
    color: black;
    font-size: 14px;
    border: none;
    padding: 8px 2vw;
    text-align: start;
    text-wrap: nowrap;
}

@media (max-width: 576px) {
    .custom-tabs .nav-link {
        padding: 8px 4vw;
    }
}

.custom-tabs .nav-link.active {
    font-weight: 500;
    color: black;
    position: relative;
}

/* Underline effect for the active tab, aligned with the bottom border of the tabs */
.custom-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    left: 5%;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background-color: black;
    transform: translateX(-5%);
}

.all-news-card {
    border: none;
    height: 200px;
    margin-bottom: 40px;
}

.card-row {
    height: 100%;
    width: 100%;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-body p {
    font-size: 12px;
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px !important;
    font-weight: 200;
}

.one .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 13;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 200;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 0;
    font-size: 12px;
    background: transparent;
    border: none;
}

.card-footer .read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.card-footer .read-more:hover {
    text-decoration: underline;
}

body.rtl .card-footer .read-more img {
    transform: scaleX(-1);
}

.load-more-btn {
    border: 1px solid var(--primary);
    border-radius: 30px;
    padding: 14px 50px !important;
    color: var(--primary);
    font-weight: 400;
    font-size: 12px !important;
    line-height: 12px;
}

.load-more-btn:hover {
    border-color: var(--primary);
    color: white;
    background-color: var(--primary);
}

.section-title {
    font-weight: 500;
    font-size: 28px;
    text-transform: uppercase;
    margin: 4rem 0 3rem 0;
}

.image-col {
    height: 100%;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 18px;
    }

    .tab-content {
        padding: 0 25px;
    }

    .image-col {
        height: 50%;
    }

    .all-news-card {
        height: 277px;
        margin-bottom: 25px;
    }

    .card-text {
        -webkit-line-clamp: 3;
    }

    .one .card-text {
        -webkit-line-clamp: 3;
    }
}

.img-fluid {
    height: 100%;
    width: 100%;
    background-size: cover;
}

.gallery-menu {
    margin-bottom: 70px;
    margin-top: 20px;
}

.filter {
    font-size: 18px;
    font-weight: 500;
}

.clear {
    font-size: 14px;
    text-decoration: none;
    color: black;
}

.filter-container {
    display: flex;
    background-color: #f8f8f8;
    padding: 15px 15px;
    border-radius: 10px;
}

.filter-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter-title {
    font-size: 12px;
    color: #9D9D9D;
    margin-bottom: 5px;
    margin-right: auto;
}

body.rtl .mb {
    text-align: right;
    direction: ltr !important;
}

body.rtl .filter-title,
body.rtl .filter-list {
    margin-left: auto;
    margin-right: 0;

}

.filter-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    margin-right: auto;
}

.filter-list.row {
    padding: 0 12px;
}

.filter-item {
    padding: 8px 15px;
    background-color: #ffffff;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    font-size: 14px;
    font-weight: 300;
    width: auto;
}

.filter-item.active {
    background-color: #e3f2e0;
    color: #1f5d3f;
    border: none;
}

.filter-item:hover {
    background-color: #e3f2e0;
}

.divider {
    border: 1px solid #DBDBDB;
    border-top: none;
    border-bottom: none
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
    }

    .divider {
        border: none;
    }

    .filter-item {
        font-size: 12px;
    }
}


.gallery-photo .photo {
    position: relative;
    float: left;
    margin-bottom: 10px;
    padding: 0 0 0 10px;
}

.gallery-photo .photo img {
    border-radius: 8px;
}

.category-text {
    position: absolute;
    bottom: 10px;
    left: 23px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}

@media (max-width: 576px) {
    .category-text {
        left: 40px;
    }

    .gallery-photo .photo {
        padding-left: 0;
    }
}

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

.coming-soon {
    height: 70vh;
    align-items: center;
    align-content: center
}

.coming-soon h5 {
    color: #9D9D9D;
    text-align: center;
}

.video-card-padding
{
    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
}