        /* Language Specific Body Classes */
        body.rtl-layout {
            /* font-family: 'Cairo', sans-serif; */
            /* Uncomment and ensure Cairo is loaded if you want a different font for Arabic */
            text-align: right;
        }

        body.ltr-layout {
            /* font-family: 'Open Sans', sans-serif; */
            /* Default font */
            text-align: left;
        }

        /* Gallery Filters */
        #portfolio-flters {
            padding: 0;
            margin: 0 auto 25px auto;
            list-style: none;
            text-align: center;
        }

        #portfolio-flters li {
            cursor: pointer;
            display: inline-block;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 500;
            line-height: 1;
            margin: 0 4px 8px 4px;
            transition: all 0.3s ease-in-out;
            border-radius: 4px;
        }

        #portfolio-flters li.active,
        #portfolio-flters li:hover {
            color: #fff;
            background-color: #B78D65;
            /* primary color from your theme */
            border-color: #B78D65;
        }

        body.rtl-layout #portfolio-flters li {
            /* Adjust margins for RTL */
            margin: 0 4px 8px 4px;
        }


        /* Gallery Item Styling */
        .portfolio-item {
            margin-bottom: 30px;
        }

        .portfolio-wrap {
            transition: 0.3s;
            position: relative;
            overflow: hidden;
            z-index: 1;
            height: 100%;
            /* For consistent card height */
            display: flex;
            flex-direction: column;
        }

        .portfolio-wrap img {
            transition: all .4s ease-in-out;
        }

        .portfolio-wrap:hover img {
            transform: scale(1.1);
        }

        .portfolio-wrap .portfolio-info {
            opacity: 0;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 3;
            transition: all 0.3s ease-in-out;
            padding: 10px 15px;
            color: #fff;
            text-align: center;
        }

        body.rtl-layout .portfolio-wrap .portfolio-info {
            text-align: center;
            /* Or right if preferred */
        }


        .portfolio-wrap:hover .portfolio-info {
            opacity: 1;
        }

        .portfolio-wrap .portfolio-info h4 {
            font-size: 1rem;
            margin-bottom: 0.25rem;
            font-weight: 600;
        }

        .portfolio-wrap .portfolio-info p {
            font-size: 0.8rem;
            margin-bottom: 0;
        }

        /* 
        h1,
        .h1,
        h2,
        .h2,
        h3,
        .h3,
        h4,
        .h4,
        h5,
        .h5,
        h6,
        .h6 {

            color: #fff !important;

        } */

        .title-im {
            color: #000;
        }

        .portfolio-wrap .card-body {
            /* If using card structure */
            flex-grow: 1;
        }

        /* Ensure GLightbox is above other content */
        .glightbox-container {
            z-index: 1056;
            /* Higher than Bootstrap modals if any */
        }

        .glightbox-clean .gdesc-inner {
            background-color: black !important;
        }

        .gslide-title {
            color: white !important;
        }