@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
@font-face {
    font-family: 'RB-Font';
    src: url('RB-Regular.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.sidebar .nav-item.active > .nav-link {
    background: #fc424a;
    color: #fff;
    border-left: 3px solid #fc424a;
}



/********** Template CSS **********/
:root {
    --primary: #2b4f91;
    --secondary: #00aea9;
    --light: #F6F7FC;
    --dark: #15233C;

    --primary-dark: #1c345f;
    --thrd: #F59E0B;
    --secondary-dark: #D97706;

    --neutral-light: #F3F4F6;
    --neutral-medium: #D1D5DB;
    --neutral-dark: #4B5563;

    --text-primary: #111827;
    --text-secondary: #374151;
    --success: #10B981;

    --error: #EF4444;
    --accent: #8B5CF6;
    --font-title: 'RB-Font';
    --font-pra: "Tajawal", sans-serif;
    --gra-linear: linear-gradient(45deg, #18079a 0%, #3B82F6 100%);

}

.text-justify-nw{
      text-align: justify !important;
}

.border-brand {
    border-radius: 14px 4px !important;
    -webkit-border-radius: 14px 4px !important;
    -moz-border-radius: 14px 4px !important;
    -ms-border-radius: 14px 4px !important;
    -o-border-radius: 14px 4px !important;
}


body {
    font-family: var(--font-pra);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
 #spinner {
            transition: opacity 0.8s ease, visibility 0.8s ease;
            z-index: 9999;
        }
        #spinner.hide {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* ── Logo fade pulse ── */
        .preloader-logo {
            width: 180px;
            /* adjust to your logo size */
            max-width: 80vw;
            animation: logoPulse 2.2s ease-in-out infinite;
            display: block;
        }

        @keyframes logoPulse {
            0% {
                opacity: 0.4;
                transform: scale(0.96);
            }
            50% {
                opacity: 1;
                transform: scale(1.04);
            }
            100% {
                opacity: 0.4;
                transform: scale(0.96);
            }
        }

        /* ── (Optional) subtle glow behind logo ── */
        .preloader-glow {
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            animation: glowPulse 2.2s ease-in-out infinite;
        }
        @keyframes glowPulse {
            0% {
                opacity: 0.3;
                transform: scale(0.9);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.1);
            }
            100% {
                opacity: 0.3;
                transform: scale(0.9);
            }
        }

        /* ── Small loading text (optional) ── */
        .preloader-text {
            margin-top: 24px;
            font-size: 0.85rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #888;
            animation: textFade 2.2s ease-in-out infinite;
        }
        @keyframes textFade {
            0%,
            100% {
                opacity: 0.3;
            }
            50% {
                opacity: 0.9;
            }
        }
/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
    border-radius: 14px 4px;
    -webkit-border-radius: 14px 4px;
    -moz-border-radius: 14px 4px;
    -ms-border-radius: 14px 4px;
    -o-border-radius: 14px 4px;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    border-radius: 4px 14px;
    -webkit-border-radius: 4px 14px;
    -moz-border-radius: 4px 14px;
    -ms-border-radius: 4px 14px;
    -o-border-radius: 4px 14px;
    transition: 0.3s all ease-in;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -ms-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 4px 14px;
    -webkit-border-radius: 4px 14px;
    -moz-border-radius: 4px 14px;
    -ms-border-radius: 4px 14px;
    -o-border-radius: 4px 14px;
    transition: 0.3s all ease-in;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -ms-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* الظل عند التمرير */
.navbar.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.navbar .navbar-brand img {
    max-height: 45px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;
    font-family: var(--font-title);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
#header-carousel {
    max-height: 90vh;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 14px 4px;
    -webkit-border-radius: 14px 4px;
    -moz-border-radius: 14px 4px;
    -ms-border-radius: 14px 4px;
    -o-border-radius: 14px 4px;
}

#header-carousel .carousel-item {
    max-height: 90vh;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(../img/page-header.webp) center center no-repeat;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.page-header:after {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 70, 120, 0.25);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }


}

@media (min-width: 1200px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(45deg, #18079ade 0%, #3b83f68b 100%), url(../img/carousel-3.webp) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .5)), url(../img/carousel-4.webp) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Feature img {
    border-radius: 114px 24px;
    -webkit-border-radius: 114px 24px;
    -moz-border-radius: 114px 24px;
    -ms-border-radius: 114px 24px;
    -o-border-radius: 114px 24px;
}

.Feature .icon-card {
    background-color: #DBE3F4;
    border-radius: 14px 4px;
    -webkit-border-radius: 14px 4px;
    -moz-border-radius: 14px 4px;
    -ms-border-radius: 14px 4px;
    -o-border-radius: 14px 4px;
}

.Feature .icon-card:hover {
    background-color: var(--text-primary);
    border-radius: 34px 14px;
    transition: 0.3s all ease-in;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -ms-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
    -webkit-border-radius: 34px 14px;
    -moz-border-radius: 34px 14px;
    -ms-border-radius: 34px 14px;
    -o-border-radius: 34px 14px;

  
}

.Feature .icon-card:hover  h5 {
        color: white
    }

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid var(--primary-dark);
    padding: 1rem 1rem !important;
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
    background: var(--gra-linear);
    border-radius: 44px 7px;

   
}


.service-item  p {
        font-family: var(--font-pra);
        font-weight: 500;
        color: whitesmoke
    }

  .service-item   .service-icon {
        width: 73px;
        height: 73px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--secondary);
        background: #ffffff;
        border-radius: 24px 8px;

        
    }
    
  .service-item   .service-icon  img {
            max-width: 46px;
            max-height: 46px;
        }

.service-item     a.btn {
        color: white;
        background-color: var(--primary);
        border-radius: 34px 4px;
        -webkit-border-radius: 34px 4px;
        -moz-border-radius: 34px 4px;
        -ms-border-radius: 34px 4px;
        -o-border-radius: 34px 4px;
        padding: 12px;
        font-weight: bolder;
    }
 

.service-item:hover {
    background-color: var(--dark);
    transition: 0.45s all ease-in;
    -webkit-transition: 0.45s all ease-in;
    -moz-transition: 0.45s all ease-in;
    -ms-transition: 0.45s all ease-in;
    -o-transition: 0.45s all ease-in;

   
}
 .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-item .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px 15px 15px;
            font-size: 14px;
            text-align: center;
            font-weight: 600;
        }

        .filter-btn {
            transition: all 0.3s;
            padding: 8px 25px;
        }

        .filter-btn.active {
            background-color: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }

        .gallery-item-wrapper {
            transition: all 0.4s ease;
        }

        .gallery-item-wrapper.hidden {
            display: none;
        }

        .gallery-item-wrapper.fade-in {
            animation: fadeIn 0.4s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }


.service-item:hover h4 {
        color: white;
    }

 .service-item:hover   p {
        color: whitesmoke
    }

 .service-item:hover   a {
        background-color: var(--secondary-dark);
        border-radius: 4px 34px;
        -webkit-border-radius: 4px 34px;
        -moz-border-radius: 4px 34px;
        -ms-border-radius: 4px 34px;
        -o-border-radius: 4px 34px;
    }

.service-item a.btn:hover {
    color: white;
    background-color: var(--thrd);
    border-radius: 4px 14px;
    -webkit-border-radius: 4px 14px;
    -moz-border-radius: 4px 14px;
    -ms-border-radius: 4px 14px;
    -o-border-radius: 4px 14px;
    transition: 0.2 all ease-out;
    -webkit-transition: 0.2 all ease-out;
    -moz-transition: 0.2 all ease-out;
    -ms-transition: 0.2 all ease-out;
    -o-transition: 0.2 all ease-out;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--gra-linear);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    transition: 0.2s background ease-in;
    -webkit-transition: 0.2s background ease-in;
    -moz-transition: 0.2s background ease-in;
    -ms-transition: 0.2s background ease-in;
    -o-transition: 0.2s background ease-in;
}


/*** Footer ***/
.footer {
    color: #A7A8B4;
    background: var(--bs-primary);

   
}



.footer i {
        font-size: 16px;
    }

.footer    .btn.btn-link {
        display: block;
        margin-bottom: 5px;
        padding: 0;
        text-align: start;
        color: #A7A8B4;
        font-weight: normal;
        text-transform: capitalize;
        transition: .3s;
    }




.footer .btn .btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
    font-weight: 750;
    transition: color 0.2s ease-out;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}


.values .product { 
    padding: 1.3rem;
    border: 2px solid var(--secondary);
    border-radius: 24px 4px;
    background: rgba(255, 255, 255, 0.345);
    box-shadow: 0 11px 6px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, border 0.25s ease;
    min-height: 240px;

   
}

.values .product h3 {
        margin: 0 0 0.5rem;
        font-size: 1.2rem;
        color: var(--success);
    }

   .values .product img {
        width: 120px;
        margin: auto;
    }

.values .product:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
    background: var(--gra-linear);

    
}

.values .product:hover h3 {
        color: white;
    }

.values .silhouette {
    height: 120px;
    margin-bottom: 1.2rem;
    animation: floaty 4s ease-in-out infinite;
    display: flex;
}


.values .product:hover .silhouette {
    animation: vanish 0.9s ease forwards;
}


.values .product .values .price {
    position: absolute;
    bottom: 1.2rem;
    left: 1.3rem;
    font-weight: 800;
    color: #fff0a8;
}

.values .tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #d8d1ff;
}


.values .product:hover::after {
    opacity: 1;
}

.imp-link {
    display: flex;
    gap: 5px;
}

.Registration-form .form-label,
.Registration-form label {
    font-family: var(--font-pra);
    font-weight: 500;
    color: black;
}

.video-hero {
    height: 90vh;
    min-height: 500px;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gra-linear);
    z-index: 2;
    opacity: 0.35;
}

.previewCard {
    --gutter: 1.5rem;
    --brightness: 0.85;
    --saturation: 1.5;
    --frostRadius: 1.5rem;

    padding: var(--gutter);
    border-radius: var(--gutter);
    aspect-ratio: 4 / 3;
    width: 100%;
    display: grid;
    justify-content: start;
    align-content: end;
    position: relative;
    background: #333;
    overflow: hidden;
    cursor: pointer;
    transition: transform 250ms ease-in-out;
    text-decoration: none;
    color: white;
}

.previewCard:hover {
    transform: scale(1.03);
}

.previewCard img.backdrop {
    transition: transform 500ms ease-in-out;
}

.previewCard:hover img.backdrop {
    transform: scale(1.1);
}

.previewCard .arrow-icon {
    transition: transform 250ms ease-in-out;
}

.previewCard:hover .arrow-icon {
    transform: scale(1.5);
}

.previewCard::after {
    content: "";
    position: absolute;
    inset: -0.5rem;
    z-index: 1;
    pointer-events: none;
    -webkit-backdrop-filter: blur(var(--frostRadius)) saturate(var(--saturation)) brightness(var(--brightness));
    backdrop-filter: blur(var(--frostRadius)) saturate(var(--saturation)) brightness(var(--brightness));
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.5) 55%,
            black 75%);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.5) 55%,
            black 75%);
}

.backdrop {
    position: absolute;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    width: 100%;
    height: 100%;
}

.content {
    position: relative;
    z-index: 2;
    display: grid;
    bottom: 0;
    justify-content: start;
    align-content: end;
    gap: 0.5rem;
}

.title {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.category {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

.description {
    font-size: 1rem;
    line-height: 1.4;
    display: flex;
    grid-template-columns: 1fr auto;
    place-content: start;
    gap: 0.5rem;
}

.description p {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.arrow-icon {
    transform: translateY(-0.1rem);
    font-size: 2.5rem;
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    fill: #fff;
}

/* Large featured image at 75% width */
.featured-image-wrapper {
    max-width: 60%;
    margin: 2rem auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

article h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item .caption {
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #333;
}

.filter-btn.active {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
}

/* Video card */
.video-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card .ratio {
    border-bottom: 1px solid #eee;
}

.video-card .video-info {
    padding: 1rem;
}

.featured-stage-image {
    width: 75%;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .featured-stage-image {
        width: 95%;
    }
}

.blog-content p, .blog-content ul, .blog-content h2 {
    margin-bottom: 1.5rem;
}

.blog-content h2 {
    margin-top: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.blog-content ul {
    list-style-type: disc;
    padding-right: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 h1 {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 18px;
    margin-bottom: 30px;
}

.error-404 .btn-group {
    gap: 15px;
}

@media (max-width: 768px) {

    .error-404 h1 {
        font-size: 80px;
    }

    .error-404 h2 {
        font-size: 24px;
    }
}

.featured-stage-image {
    width: 75%;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .featured-stage-image {
        width: 95%;
    }
}

/* تنسيق محتوى المدونة */
.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.blog-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.blog-content p {
    margin-bottom: 1.2rem;
}

.blog-content ul {
    list-style-type: disc;
    padding-right: 1.5rem;
    margin-bottom: 1.2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Target screens smaller than the Bootstrap 'sm' breakpoint (576px) */
@media (max-width: 575.98px) {
    img.position-absolute.w-100.h-100 {
        height: auto !important;
        /* or height: unset !important; */
    }
}