﻿/*------ font family ----------*/
@font-face {
    font-family: 'Readex Pro';
    src: url('/Content/assets/fonts/readex_pro/static/ReadexPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
    /* Colors */
    --color-default: #222222;
    --color-primary: #FFFFFF;
    --color-secondary: #f85a40;
    --color-link: #5C5C5C;
    --color-link-hover: #000;
    --gold: #A4955A;
    --gold-hover: #967424;
    --h1-color: #414141;
    --P-color: #7D7D7D;
    --title-color: #545454;
    --white: #FFF;
    --black: #000;
    /* Font */
    --font-default: 'Readex Pro';
    --p-size: 1rem;
    --h1-size: 2.2rem;
}

/* Smooth scroll behavior */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--font-default);
    color: var(--color-default);
    direction:rtl;
}
a {
    color: var(--color-link);
    text-decoration: none;
}

    a:hover {
        color: var(--color-link-hover);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

.spinner {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
    position: fixed;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@-webkit-keyframes rotator {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(270deg);
    }
}

@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(270deg);
    }
}

.path-submit {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@-webkit-keyframes colors {
    0% {
        stroke: #4285F4;
    }

    25% {
        stroke: #DE3E35;
    }

    50% {
        stroke: #F7C223;
    }

    75% {
        stroke: #1B9A59;
    }

    100% {
        stroke: #4285F4;
    }
}

@keyframes colors {
    0% {
        stroke: #4285F4;
    }

    25% {
        stroke: #DE3E35;
    }

    50% {
        stroke: #F7C223;
    }

    75% {
        stroke: #1B9A59;
    }

    100% {
        stroke: #4285F4;
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }

    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }

    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }

    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }

    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}
/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    h1 {
        line-height:36px !important; 
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    transition: all 0.5s;
    z-index: 997;
    height: 90px;
    background-color: var(--color-primary);
}

    .header.sticked {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 70px;
        box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    }

    .header .logo img {
        max-height: 40px;
        margin-right: 6px;
    }
.sticked-header-offset {
    margin-top: 70px;
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
    .navbar {
        padding: 0;
    }

        .navbar ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navbar li {
            position: relative;
        }

        .navbar > ul > li {
            white-space: nowrap;
            padding: 10px 0 10px 28px;
        }
            .navbar > ul > li .btn-contact {
                padding: 10px 20px;
                background-color: var(--gold);
                color: #fff !important;
                border-radius: 30px;
                text-decoration: none;
                font-weight: 500;
                transition: background-color .2s;
            }
            .navbar > ul > li .btn-contact:hover {
                background-color: var(--gold-hover);
            }

        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 3px;
            font-family: var(--font-default);
            font-size: 16px;
            font-weight: 600;
            color: var(--color-link);
            transition: 0.3s;
            position: relative;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

        .navbar > ul > li > a:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: -6px;
            right: 0;
            background-color: var(--color-link-hover);
            visibility: hidden;
            width: 0px;
            transition: all 0.3s ease-in-out 0s;
        }
        .navbar > ul > li:last-child > a::before {
            content: none !important;
        }

        .navbar a:hover:before,
        .navbar li:hover > a:before,
        .navbar .active:before {
            visibility: visible;
            width: 100%;
        }

        .navbar a:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > a {
            color: var(--color-link-hover);
        }
            .navbar a:hover,
            .navbar .active,
            .navbar .active:focus,
            .navbar li:hover > a:last-child {
                color: none;
            }

        .navbar .dropdown ul {
            display: block;
            position: absolute;
            left: 28px;
            top: calc(100% + 30px);
            margin: 0;
            padding: 10px 0;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            background: #fff;
            box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
            transition: 0.3s;
            border-radius: 4px;
        }

            .navbar .dropdown ul li {
                min-width: 200px;
            }

            .navbar .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                font-weight: 600;
                color: #006a5d;
            }

                .navbar .dropdown ul a i {
                    font-size: 12px;
                }

                .navbar .dropdown ul a:hover,
                .navbar .dropdown ul .active:hover,
                .navbar .dropdown ul li:hover > a {
                    color: var(--color-secondary);
                }

        .navbar .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navbar .dropdown .dropdown ul {
            top: 0;
            left: calc(100% - 30px);
            visibility: hidden;
        }

        .navbar .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: 100%;
            visibility: visible;
        }
}

@media (min-width: 1280px) and (max-width: 1600px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

@media (min-width: 1280px) {

    .mobile-nav-show,
    .mobile-nav-hide {
        display: none;
    }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        bottom: 0;
        transition: 0.3s;
        z-index: 9997;
    }

        .navbar ul {
            position: absolute;
            inset: 0;
            padding: 50px 0 10px 0;
            margin: 0;
            background: var(--color-primary);
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
        }

        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            font-family: var(--font-primary);
            font-size: 15px;
            font-weight: 600;
            color: var(--color-link);
            white-space: nowrap;
            transition: 0.3s;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

            .navbar a:hover,
            .navbar .active,
            .navbar .active:focus,
            .navbar li:hover > a {
                color: var(--color-link-hover);
            }

        .navbar .getstarted,
        .navbar .getstarted:focus {
            background: var(--color-primary);
            padding: 8px 20px;
            border-radius: 4px;
            margin: 15px;
            color: #fff;
        }

            .navbar .getstarted:hover,
            .navbar .getstarted:focus:hover {
                color: #fff;
                background: rgba(0, 131, 116, 0.8);
            }

        .navbar .dropdown ul,
        .navbar .dropdown .dropdown ul {
            position: static;
            display: none;
            padding: 10px 0;
            margin: 10px 20px;
            transition: all 0.5s ease-in-out;
            background-color: #007466;
            border: 1px solid #006459;
        }

        .navbar .dropdown > .dropdown-active,
        .navbar .dropdown .dropdown > .dropdown-active {
            display: block;
        }

    .mobile-nav-show {
        color: var(--color-link);
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        z-index: 9999;
        margin-right: 10px;
    }

    .mobile-nav-hide {
        color: red;
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        z-index: 9999;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .navbar {
            right: 0;
        }

            .mobile-nav-active .navbar:before {
                content: "";
                position: fixed;
                inset: 0;
                background: var(--color-primary);
                z-index: 9996;
            }
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/Content/assets/img/background.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    display: flex;
    flex-direction: column;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
    }

.container-fluid {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-social-wrapper {
    width: 100%;
}

.hero-social a {
    color: #fff;
    transition: color .2s;
}

    .hero-social a:hover {
        color: #b28b2c;
    }

/* Responsive tweaks */
@media (max-width: 876px) {
    .hero {
        height: auto;
        background-position: top center;
    }

    .hero-image {
        padding-top: 2rem;
        padding-left: 0 !important;
    }

        .hero-image img {
            width: 65%;
        }

    .hero-social-wrapper {
        justify-content: flex-end !important;
        padding-left: 1rem !important;
        padding-top: 1.5rem;
    }
}
/*--------------------------------------------------------------
# news slider Section
--------------------------------------------------------------*/
    .section-title h1 {
        font-size: clamp(20px, 4vw, 36px);
        font-weight: 700;
        font-family: var(--font-default);
        line-height: 48px;
        color: var(--title-color);
        padding: 7px 0;
    }

.title-underline {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}
.news-slider {
    padding: 25px 0px;
}

    .news-slider .news-inner {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        background-repeat: no-repeat;
        background-size: cover;
    }

.news-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 6%;
}

.swiper-slide .swiper-slide-inner {
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    align-items: center;
    column-gap: 50px;
    position: relative;
    overflow-x: hidden;
}
.slide-image {
    flex: 1 1 45%;
    text-align: center;
}

    .slide-image img {
        max-width: 100%;
        height: 435px;
        border-radius: 15px;
        object-fit: cover;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

.news-detail {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.swiper-button-next:after, .swiper-button-prev:after {
    color: #929292;
}
.swiper-button-next:after, .swiper-button-prev:after {
    color: #929292;
}
.swiper-slide .swiper-slide-inner .slide-iamge img {
    border-radius: 10px;
}

.swiper-slide-inner .news-detail .text-gold {
    color: var(--gold);
    font-size: var(--p-size);
    font-weight: 400;
    line-height: 24px;
    font-family: var(--font-default);
}
.swiper-slide-inner .news-detail h1 {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 700;
    line-height: 48px;
    color: var(--h1-color);
    font-family: var(--font-default);
    padding: 10px 0;
}

.swiper-slide-inner .news-detail p {
    color: var(--P-color);
    font-size: var(--p-size);
    font-weight: 400;
    font-family: var(--font-default);
    line-height: 24px;
    padding: 10px 0;
}
.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .btn-gold:hover {
        background-color: var(--gold-hover);
        color:var(--white)
    }
/* typical phone screen resolution */
@media only screen and (max-width : 991px) {
    .swiper-slide .swiper-slide-inner .slide-iamge img {
        width: 100%;
    }
    .swiper-slide .swiper-slide-inner .news-detail {
       padding-top:15px;
    }
    .swiper-slide .swiper-slide-inner {
        padding-left: 12%;
        padding-right: 12%;
        display: grid;
    }
    .slide-image img {
        height: 300px;
    }
}
/*--------------------------------------------------------------
# fatwa Section
--------------------------------------------------------------*/
.fatwa-container {
    background-image: url(/Content/assets/img/fatwabackground.jpg);
}

.fatwa-card {
    position:relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.fatwa-card:before {
    position: absolute;
    top: 0;
    left: -85%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 100%);
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, .8)));
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 100%);
    -webkit-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    transform: skewX(-25deg);
    z-index: 1;
}

.fatwa-card:hover::before {
    -webkit-animation: shine 1s;
    animation: shine 1.5s;
}
@keyframes shine {
    0% {
        left: -85%;
    }

    100% {
        left: 125%;
    }
}

.fatwa-image {
    padding: 25px;
    object-fit: cover;
    height: 300px;
    width: 100%;
    border-radius: 50px;
}

.fatwa-content {
    padding: 16px;
    flex-grow: 1;
    display: grid;
    justify-items:center;
}
    .fatwa-content .text-gold {
        color: var(--gold);
        font-size: var(--p-size);
        font-weight: 400;
        line-height: 24px;
        font-family: var(--font-default);
    }


.fatwa-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 33px;
    color: #414141;
    font-family: var(--font-default);
    text-align:center;
}

.btn-more {
    background-color: #b08c5a;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-more:hover {
        background-color: #a17845;
    }

/*--------------------------------------------------------------
# video-section
--------------------------------------------------------------*/
.video-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

    .video-container .video-item {
        position: relative;
        background-size: cover;
        background-position: center;
        border-radius: 8px;
        overflow: hidden;
        cursor:pointer;
    }

        .video-container .video-item:first-child {
            grid-area: 1 / 1 / span 2 / span 2;
        }

        .video-container .video-item:nth-child(2) {
            grid-area: 2 / 3 / span 1 / span 1;
        }

        .video-container .video-item:nth-child(3) {
            grid-area: 2 / 4/ span 1 / span 1;
        }

        .video-container .video-item:nth-child(4) {
            grid-area: 1 / 4 / span 1 / span 1;
        }

        .video-container .video-item:nth-child(5) {
            grid-area: 1 / 3 / span 1 / span 1;
        }

    .video-container .overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        .video-container .overlay p {
            margin-bottom: 10px;
            font-size: 18px;
            line-height: 1.5;
            color: var(--white);
            background-color: none;
        }

        .video-container .overlay span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border: 1px solid var(--P-color);
            color: #fff;
            font-size: 16px;
            border-radius: 50%;
            text-decoration: none;
            cursor: pointer;
        }


    .video-container .video-item:hover .overlay {
        opacity: 1;
        visibility: visible;
    }
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-popup-inner {
    position: relative;
    max-width: 90%;
    width: 800px;
    aspect-ratio: 16 / 9;
}
.video-wrapper{
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}


@media (max-width: 1024px) {

    .video-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 300px);
    }

        .video-container .video-item:first-child, .video-container .video-item:nth-child(3), .video-container .video-item:nth-child(2), .video-container .video-item:nth-child(4) {
            grid-area: auto / auto / span 1 / span 1;
        }

        .video-container .video-item:nth-child(5) {
            grid-area: span 16 / span 2;
        }
}

@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
        padding-top: 15px;
    }

        .video-container .video-item:first-child, .video-container .video-item:nth-child(2), .video-container .video-item:nth-child(3), .video-container .video-item:nth-child(4), .video-container .video-item:nth-child(5) {
            grid-area: auto / auto / span 1 / span 1;
        }

        .video-container .video-item {
            height: 300px;
        }
    .video-wrapper {
        height: 300px;
    }
    .video-container .overlay {
        visibility: visible;
        opacity:1;
    }
}

@media (max-width: 480px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

        .video-container .video-item {
            height: 300px;
        }

        .video-container .overlay p {
            font-size: 14px;
        }

        .video-container .overlay a {
            font-size: 14px;
            padding: 8px 16px;
        }
}
/*--------------------------------------------------------------
# back-to-top
--------------------------------------------------------------*/
button.back-to-top {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    height: 0px;
    width: 0px;
    overflow: hidden;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    color: transparent;
    clear: both;
    visibility: hidden;
    position: fixed;
    cursor: pointer;
    display: block;
    border: none;
    left: 50px;
    bottom: 75px;
    font-size: 0px;
    outline: 0 !important;
    z-index: 99;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    button.back-to-top:hover,
    button.back-to-top:active,
    button.back-to-top:focus {
        outline: 0 !important;
    }

    button.back-to-top::before,
    button.back-to-top::after {
        content: "";
        display: block;
        vertical-align: middle;
        border-bottom: solid 10px var(--gold);
        border-left: solid 10px transparent;
        line-height: 0;
        border-right: solid 10px transparent;
        height: 0;
        margin: 18px auto 0;
        width: 0;
        border-radius: 20px;
        visibility: hidden;
    }

    button.back-to-top.show::after,
    button.back-to-top.show::before {
        visibility: visible;
    }

    button.back-to-top::after {
        border-bottom-color: #fff;
        position: relative;
        top: -24px;
    }

    button.back-to-top.show {
        display: block;
        background: #fff;
        font-size: 25px;
        left: 25px;
        bottom: 50px;
        height: 50px;
        width: 50px;
        visibility: visible;
        box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    }

        button.back-to-top.show:active {
            box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
            -webkit-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
            -moz-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
        }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-header{
    background-image:url(/Content/assets/img/footer.jpg);
    width:100%;
    height:50px;
}
.footer-content {
    background-color: #555; 
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}
.footer-nav {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

    .footer-nav a {
        color: var(--white);
        font-family:var(--font-default);
        text-decoration: none;
        font-size: 15px;
        font-weight:500;
        padding:10px ;
        transition: color 0.3s ease;
    }

        .footer-nav a:hover {
            color: var(--gold-hover); 
        }

.footer-copy {
    font-size: 15px;
    font-family: var(--font-default);
    font-weight: 500;
    color: #ccc;
}

    .footer-copy a {
        color: var(--gold);
        font-weight: 500;
        text-decoration: none;
    }

/*--------------------------------------------------------------
# breadcrumb
--------------------------------------------------------------*/
.breadcrumb-fluid{
    background-image:url(/Content/assets/img/fatwabackground.jpg);
}
.breadcrumb-ar {
    display: flex;
    flex-wrap: wrap;
    padding: 7px 5px;
    margin:0 !important;
    list-style: none;
    font-size: 16px;
    font-family: var(--font-default);
}

    .breadcrumb-ar li {
        display: flex;
        align-items: center;
        color: var(--gold);
    }

        .breadcrumb-ar li + li::before {
            content: "›"; 
            padding: 0 8px;
            color: #999;
        }

        .breadcrumb-ar li a {
            color: var(--color-link);
            text-decoration: none;
            transition: color 0.3s;
        }

            .breadcrumb-ar li a:hover {
                color:#1652e2;
            }


[dir="rtl"] .breadcrumb-ar li + li::before {
    content: ">"; 
}
/*--------------------------------------------------------------
# article
--------------------------------------------------------------*/
.body-article {
    direction: rtl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

    .body-article  .carousel-container {
        position: relative;
        width: 100%;
        padding: 2rem 0;
    }

        .body-article .carousel-container .carousel {
            display: flex;
            gap: 2rem;
            direction:ltr;
            transition: transform 0.5s ease-out;
            padding: 1.5rem 0;
        }

            .body-article .carousel-container .carousel .card {
                flex: 0 0 350px;
                height: 500px;
                position: relative;
                border-radius: 20px;
                overflow: hidden;
                backdrop-filter: blur(10px);
                transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
                cursor: pointer;
                transform-origin: center;
            }

                .body-article .carousel-container .carousel .card:hover {
                    transform: translateY(-15px) scale(1.02);
                    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
                }

                .body-article .carousel-container .carousel .card .card-img {
                    width: 100%;
                    height: 60%;
                    overflow: hidden;
                }

                    .body-article .carousel-container .carousel .card .card-img img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: transform 0.8s ease;
                        transform-origin: center;
                    }

                .body-article .carousel-container .carousel .card:hover .card-img img {
                    transform: scale(1.1);
                }

                .body-article .carousel-container .carousel .card .card-content {
                    padding: 1.5rem;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: center;
                }

                    .body-article .carousel-container .carousel .card .card-content span {
                        font-size: 0.85rem;
                        color: var(--gold);
                        margin-bottom: 0.5rem;
                        font-weight: 600;
                        direction:rtl;
                    }

                .body-article .carousel-container .carousel .card .card-content h3 {
                    font-size: 1.5rem;
                    margin-bottom: 0.75rem;
                    font-weight: 700;
                    line-height: 1.2;
                }

                .body-article .carousel-container .carousel .card .card-content p {
                    font-size: 0.95rem;
                    color: #b3b3b3;
                    line-height: 1.4;
                    margin-bottom: 1rem;
                    text-align:center;
                }

                    .body-article .carousel-container .carousel .card .card-content .card-button {
                        padding: 0.5rem 1rem;
                        background:var(--gold) ;
                        color: white;
                        border: none;
                        border-radius: 30px;
                        font-weight: 600;
                        font-size: 0.9rem;
                        cursor: pointer;
                        transition: all 0.3s ease;
                    }

                        .body-article .carousel-container .carousel .card .card-content .card-button:hover {
                            transform: translateY(-3px);
                            background-color:var(--gold-hover);
                        }

        .body-article .carousel-container .navigation {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 1rem;
        }

            .body-article .carousel-container .navigation .nav-btn {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                border: none;
                display: flex;
                justify-content: center;
                align-items: center;
                background: var(--gold);
                color: white;
                font-size: 1.2rem;
                cursor: pointer;
                transition: all 0.3s ease;
            }

                .body-article .carousel-container .navigation .nav-btn:hover {
                    background: var(--gold-hover);
                    transform: scale(1.1);
                }

                .body-article .carousel-container .navigation .nav-btn:active {
                    transform: scale(0.95);
                }

        .body-article .carousel-container .dots {
            display: flex;
            justify-content: center;
            margin-top: 1.5rem;
            gap: 0.5rem;
        }

            .body-article .carousel-container .dots .dot {
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: gray;
                cursor: pointer;
                transition: all 0.3s ease;
            }

                .body-article .carousel-container .dots .dot.active {
                    background: var(--gold);
                    transform: scale(1.3);
                }

.body-article .carousel-container .progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

    .body-article .carousel-container .progress-bar .progress {
        height: 100%;
        background: var(--gold);
        width: 16.66%;
        transition: width 0.3s ease;
    }

@media (max-width: 768px) {
    .body-article .carousel-container .carousel .card {
        flex: 0 0 300px;
        height: 450px;
    }
}

@media (max-width: 480px) {
    .body-article .carousel-container .carousel .card {
        flex: 0 0 250px;
        height: 400px;
    }
}
.article-box{
    padding:50px 0 ;
}
/*--------------------------------------------------------------
# Details-Page 
--------------------------------------------------------------*/
.details-page .container .cv-bg {
    background-image: url(/Content/assets/img/mofti.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height:400px;
    border-radius:10px;
    position:relative;
}
    .details-page .container .cv-bg a {
        position: absolute;
        color: var(--white);
        padding: 10px 20px;
        background-color: var(--gold);
        color: #fff !important;
        border-radius: 30px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
    }
    .details-page .container .cv-bg a:hover {
        background-color: var(--gold-hover);
    }
.details-content .text-gold {
    color: var(--gold);
    font-size: var(--p-size);
    font-weight: 400;
    line-height: 24px;
    font-family: var(--font-default);
}
.details-content img {
    width:100%;
    height:100%;
}
.details-content h2 {
    text-align: right;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 10px;
    font-family: var(--font-default);
    line-height: 40px;
}
.details-content .article {
    color: var(--P-color);
    font-size: var(--p-size);
    font-weight: 400;
    font-family: var(--font-default);
    line-height: 24px;
    padding: 10px 0;
}
/*--------------------------------------------------------------
# Details-Page 
--------------------------------------------------------------*/
.details-content .text-gold {
    color: var(--gold);
    font-size: var(--p-size);
    font-weight: 400;
    line-height: 24px;
    font-family: var(--font-default);
}
.details-content .text-info {
    color: var(--black) !important;
    font-size: var(--p-size);
    font-weight: 400;
    line-height: 24px;
    font-family: var(--font-default);
}

.details-content img {
    width: 100%;
    height: 100%;
}
.details-content .title {
    text-align: right;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 0px !important;
    font-family: var(--font-default);
    line-height: 40px;
}
.details-content label {
    padding:5px 0;
    color: var(--black);
    font-size: 1.5rem;
    font-weight:bold;
    font-family: var(--font-default);
    line-height:35px;
}
.details-content p {
    color: var(--P-color);
    font-size: 1rem;
    font-family: var(--font-default);
    line-height: 25px;
}
.details-content .long-answer {
    color: var(--P-color);
    font-size: var(--p-size);
    font-weight: 400;
    font-family: var(--font-default);
    line-height: 24px;
    padding: 10px 0;
    display:none;
}

#longanswer {
    cursor: pointer;
    color: #1F8ACB;
}

    #longanswer:hover {
        color:var(--black) ;
    }
/*--------------------------------------------------------------
# Video-Page 
--------------------------------------------------------------*/
.video-box {
    padding: 50px 0;
}
.video-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    height:300px;
}

    .video-card:hover {
        transform: scale(1.02);
    }

    .video-card .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor:pointer;
        transition: background 0.3s ease;
    }

        .video-card .overlay a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border: 1px solid var(--P-color);
            color: #fff;
            font-size: 16px;
            border-radius: 50% ;
            border-color:#fff;
            text-decoration: none;
            cursor: pointer;
        }


.video-box  .content-video span {
    color: var(--gold);
    font-size: var(--p-size);
    font-weight: 400;
    line-height: 24px;
    font-family: var(--font-default);
}
.video-box  .content-video a {
    color: var(--P-color);
    font-size: var(--p-size);
    font-weight: 400;
    font-family: var(--font-default);
    line-height: 24px;
    padding: 10px 0;
    cursor:pointer;
}