/* Start Global Rules */

.page-title {
    min-height: 200px;
    background: var(--bs-warning-bg-subtle);
    z-index: 0;
}

    .heading-shape {
        font-size: 32px;
        position: relative;
        z-index: 999;
    }

    .heading-shape::before {
        content: '';
        width: 0;
        height: 40%;
        border-radius: 10px;
        background-color: var(--bs-primary);
        opacity: 0.4;
        position: absolute;
        top: 50%;
        z-index: 1;
        animation: fill 2s  alternate infinite ;
    }

    .jump {
        animation: jump 0.8s  alternate-reverse infinite ;
    }


    @media screen and (max-width: 600px) {
        .heading-shape {
            font-size: 20px;
        }
    }




@keyframes fill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes jump {
    from {
        top: -20%;
    }

    to {
        top: -5%;
    }
}



/* End Global Rules */



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

body {
    font-family: 'DINNextLTArabic', sans-serif !important;
}


/* Start Header */

nav ul li {
    position: relative;
}

nav ul li::before, nav ul li.active::before {
    content: '';
    width: 80%;
    height: 4px;
    background: var(--bs-warning);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.7s;
    opacity: 0;
}

nav ul li a {
    transition: 0.4s;
}


nav ul li:hover::before , nav ul li.active::before{
    opacity: 1;
}

.active {
    font-weight: 500;
}


@media (max-width: 991px) {
    nav ul li::before {
        display: none !important;
    }
}

/* End NavBar */


.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width) var(--bs-primary);
}

li.active a {
    color: var(--bs-primary) !important;
}




.trending-news {
    padding-bottom: 1.5rem;
}
.trending-news .trending-news-inner {
    position: relative;
}

.trending-news .trending-news-inner .title {
    float: right;
    padding: 10px 15px;
    background: -ms-linear-gradient(285deg, var(--bs-success) 27%, #da1752 100%, #fff 100%);
    background: linear-gradient(285deg, var(--bs-success)  27%, var(--bs-success)  100%, #fff 100%);
    color: #fff;
    text-transform: uppercase;
    border-radius: 5px;
}
@media screen and (min-width: 320px) and (max-width: 575px) {
    .trending-news .trending-news-inner .title strong {
        display: none;
    }
}
.trending-news .trending-news-inner .trending-news-slider .item-single {
    height: auto;
    vertical-align: middle;
    display: table-cell;
    overflow: hidden;
    line-height: 20px;
    text-align: right;
}
.trending-news .trending-news-inner .trending-news-slider .item-single a {
    color: #000;
    font-weight: 600;
    line-height: 34px;
    padding: 2px 20px;
    display: inline-block;
    text-decoration: none;
    vertical-align: top;
}
@media screen and (min-width: 320px) and (max-width: 575px) {
    .trending-news .trending-news-inner .trending-news-slider .item-single a {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
        padding: 4px 7px;
    }
}


.news-bar {
    font-size: 0.95rem;
}

.bg-gradient-primary {
    background: linear-gradient(90deg, #ff5722, #e91e63);
}

marquee span {
    white-space: nowrap;
}

.badge {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .news-bar {
        font-size: 0.8rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}


.ad {
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.statistics {
    min-height: 500px;
    background-image: url("../imgs/landing-4.jpg");
    background-size: cover;
    background-position: bottom center;
    position: relative;
    display: flex;
    background-attachment: fixed;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.statistics::before,
.ad::before{
    content: '';
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to right, var(--bs-primary) 55%, var(--bs-warning));
    opacity: 0.85;
    z-index: -1;
}



.card {
    transition: .3s;
}

.card:hover {
    cursor: pointer;
    transform: rotate(-1deg);
}
.news-bar {
    font-size: 1rem;
}

.badge {
    font-size: 0.9rem;
    white-space: nowrap;
}

marquee span {
    white-space: nowrap;
    display: inline-block;
}


.gallery-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-card:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
