﻿body {
    font-family: "Poppins", sans-serif;
}

.page[dir="rtl"] {
    font-family: "Cairo", serif;
}

.d-flex {
    display: flex;
    justify-content: space-between;
}

.language-switcher {
    background: none;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 0px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .language-switcher:hover {
        background-color: #2687fa;
        color: white;
    }

@media screen and (max-width: 768px) {
    .language-switcher {
        justify-content: start;
    }
    .page[dir="rtl"] .language-switcher {
        justify-content: end;
    }
}




    .navbar {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 999;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 10px;
        padding: 10px;
        background-color: #00000085;
        width: 100%;
        /* background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
        transition: background 0.3s;
    }

    .contactnav {
        background-color: white;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

        .contactnav .nav-links a {
            text-decoration: none;
            color: rgb(0, 0, 0);
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 5px;
            transition: background 0.3s;
        }

            .contactnav .nav-links a:hover {
                background: #2687fa;
                color: white;
            }

    .active {
        background: #2687fa;
        color: white !important;
    }

    .logo img {
        width: 110px;
    }

    .nav-links {
        list-style: none;
        display: flex;
        margin-bottom: 0px;
    }

        .nav-links li {
            margin: 0 15px;
        }

        .nav-links a {
            text-decoration: none;
            font-size: 14px;
            color: white;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 5px;
            transition: background 0.3s;
        }

            /*        .nav-links a.active,
        .nav-links a:hover {
            background-color: #2687fa;
            color: white !important;
        }*/
            .nav-links a:hover {
                background: #2687fa;
            }


    /* Banner Container //////////////////////////////////////////////////////////  */
    .banner-container {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    /* Individual Slide */
    .slider-banner {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-size: cover;
        background-position: center;
        color: white;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease-in-out;
    }

        /* Active Slide */
        .slider-banner.active {
            opacity: 1;
            visibility: visible;
        }

        /* Banner Title */
        .slider-banner h1 {
            font-size: 45px;
            font-weight: bold;
            margin-bottom: 15px;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        }

    /* Banner Description */
    .p-banner {
        font-size: 18px;
        width: 50%;
        font-weight: 400;
        margin-bottom: 25px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    }

    /* Button Styles */
    .slider-banner .plasticEffect-btn {
        padding: 12px 25px;
        font-size: 18px;
        color: white;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 5px;
        border: none;
        cursor: pointer;
        transition: background 0.3s, transform 0.2s ease-in-out;
    }

    .plasticEffect-btn:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }
    /*.banner {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("/Images/1bnr.png") no-repeat center center/cover;
    color: white;
    margin-bottom: 0 !important;
}

    .banner h1 {
        font-size: 45px;
        margin-bottom: 20px;
    }

.p-banner {
    font-size: 16px;
    width: 45%;
    font-weight: 400;
    margin-bottom: 30px;
}

.banner button {
    padding: 10px 20px;
    font-size: 18px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

    .banner button:hover {
        background: rgba(255, 255, 255, 0.4);
    }*/

    .features-bar {
        position: absolute;
        top: 81%;
        /*    top:12%;*/
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 110px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 20px;
    }

    .feature {
        text-align: center;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

        .feature .i-img {
            width: 35px;
            margin-bottom: 5px;
        }

        .feature p {
            font-size: 14px;
            margin-top: 4px;
        }

    .hamburger {
        display: none;
    }

    .hamburger-black {
        color: black !important;
    }

    .close {
        display: none; /* مخفية افتراضيًا */
        font-size: 30px;
        cursor: pointer;
        color: white;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    @media screen and (max-width: 1024px) {
        .logo img {
            width: 103px;
            margin: 5px 0;
        }

        .navbar {
            padding: 15px 20px;
        }

        /*    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 5px;
        width: 200px;
        text-align: right;
        padding: 10px;
    }

        .nav-links li {
            margin: 10px 0;
        }

            .nav-links li a {
                color: black !important;
            }*/

        .contactnav .nav-links a {
            color: white;
        }

        .nav-links.active {
            display: flex;
        }

        /*    .hamburger {
        display: block;
        cursor: pointer;
        color: white;
        font-size: 30px;
    }*/

        .slider-banner h1 {
            font-size: 40px;
        }

        .p-banner {
            font-size: 16px;
            width: 80%;
            margin-bottom: 30px;
        }

        .bannerFea {
            font-size: 12px;
            width: 80%;
            white-space: wrap;
        }

        .features-bar {
            width: 90%;
            height: auto;
            flex-wrap: nowrap;
            padding: 16px;
            justify-content: space-around;
            gap: 0;
        }

        .feature {
            width: 45%;
            margin-bottom: 0;
        }
    }

    @media screen and (max-width: 768px) {
        .nav-links {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            background: black;
            text-align: left;
            padding: 80px 30px;
            height: 100vh;
            z-index: 11;
            border-radius: 0;
        }

            .nav-links li {
                margin: 10px 0;
            }

                .nav-links li a {
                    color: white !important;
                }

        .hamburger {
            display: block;
            color: white;
            cursor: pointer;
            font-size: 30px;
        }

        /* عندما تكون القائمة مفتوحة */
        .nav-links.active {
            display: flex;
        }

        .close.show {
            display: block; /* إظهار X عند فتح القائمة */
        }

        .logo img {
            width: 103px;
            margin: 5px 0;
        }

        .navbar {
            padding: 10px 15px;
        }

        .slider-banner {
            height: 600px;
            padding: 100px 20px;
        }

        .banner-container {
            height: 600px;
        }

        .slider-banner h1 {
            font-size: 32px;
        }

        .p-banner {
            font-size: 16px;
            width: 80%;
            margin-bottom: 30px;
        }

        .bannerFea {
            font-size: 12px;
            width: 80%;
            white-space: wrap;
        }

        .features-bar {
            width: 90%;
            height: auto;
            flex-wrap: nowrap;
            padding: 16px;
            justify-content: space-around;
            gap: 0;
            /*        top: 55%;*/
            top: 77%;
            z-index: 1;
        }

        .feature {
            width: 45%;
            margin-bottom: 0px;
        }
    }

    @media screen and (max-width: 480px) {
        .logo img {
            width: 103px;
            margin: 5px 0;
        }

        .slider-banner h1 {
            font-size: 26px;
        }

        /* .banner p {
    font-size: 14px;
  } */

        .slider-banner .plasticEffect-btn {
            font-size: 16px;
            padding: 8px 16px;
        }

        .features-bar {
            width: 95%;
            padding: 10px;
        }

        .feature .i-img {
            width: 25px;
        }

        .feature p {
            font-size: 12px;
        }
    }

    .content-section {
        /*    max-width: 1703px;*/
        height: 954px;
        margin: auto;
        padding: 20px;
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .contentSection2 {
        display: flex;
        align-items: start;
        justify-content: space-between;
        margin: 100px;
    }

    .text-content {
        flex: 1;
        padding: 20px;
        color: white;
        margin-top: 20px;
    }

        .text-content h1 {
            font-size: 34px;
            margin-bottom: 10px;
        }

        .text-content p {
            font-size: 20px;
        }

    .image-content {
        flex: 1;
        display: flex;
        justify-content: center;
    }

        .image-content img {
            width: 640px;
            height: 430px;
            object-fit: cover;
            border-radius: 10px;
        }

    .image-contentAbso {
        position: absolute;
        /* margin-top: 20px; */
        top: 38%;
        right: 130px;
    }

    .sectionTitle {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px !important;
        font-size: 34px;
        color: white;
    }

    .custom-features {
        display: flex;
        justify-content: center;
        gap: 15px;
        padding: 20px;
    }

    .custom-card {
        width: 255px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: white;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 35px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: transform 0.3s;
    }

        .custom-card:hover {
            transform: translateY(-5px);
        }

    @media screen and (max-width: 1024px) {
        .contentSection2 {
            flex-direction: row;
            text-align: center;
            text-align: left;
            margin: 110px 20px !important;
        }

        .text-content {
            padding: 10px;
            margin-top: 0;
        }

            .text-content h1 {
                font-size: 30px;
            }

            .text-content p {
                font-size: 20px;
            }

        .image-content img {
            width: 100%;
            max-width: 500px;
            height: auto;
        }

        .image-contentAbso {
            text-align: center;
            position: absolute;
            top: 300px;
        }

            .image-contentAbso img {
                width: 100%;
                max-width: 400px;
                height: auto;
            }

        .custom-features {
            flex-wrap: wrap;
            justify-content: center;
        }

        .custom-card {
            width: 45%;
            height: 100px;
            font-size: 16px;
        }
    }

    @media screen and (max-width: 768px) {
        .content-section {
            height: auto;
            padding: 20px;
        }

        .contentSection2 {
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .text-content {
            padding: 10px;
            margin-top: 0;
            text-align: center;
            margin-bottom: 20px;
        }

            .text-content h1 {
                font-size: 26px;
            }

            .text-content p {
                font-size: 18px;
            }

        .image-content img,
        .image-contentAbso img {
            max-width: 300px;
        }

        .custom-card {
            width: 90%;
            height: 90px;
            font-size: 16px;
        }

        .sectionTitle {
            font-size: 28px;
            margin-top: 30px;
        }
    }

    /* تحسين التوافق مع الشاشات الصغيرة جدًا (الشاشات أقل من 480px) */
    @media (max-width: 480px) {
        .text-content h1 {
            font-size: 20px;
        }

        .text-content p {
            font-size: 14px;
        }

        .sectionTitle {
            font-size: 24px;
            margin-top: 58px;
        }

        .custom-card {
            height: 90px;
            font-size: 14px;
        }
    }

    .main-banner-switch {
        position: relative;
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: start;
        justify-content: flex-end;
        padding: 20px;
        transition: background-image 0.5s ease-in-out;
    }

    .banner-content-switch {
        color: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 5%;
        margin-right: 10%;
        max-width: 600px;
    }

        .banner-content-switch h1 {
            font-size: 40px;
            margin-bottom: 15px;
            font-weight: 800;
            text-align: center;
        }

    .button-group-switch {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        /* background: rgba(255, 255, 255, 0.2); */
        padding: 10px;
        border-radius: 10px;
    }

    .switch-button {
        font-size: 18px;
        padding: 10px 20px;
        cursor: pointer;
        color: white;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 35px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: transform 0.3s;
    }

        .switch-button:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.345);
        }

        .switch-button.active {
            background: rgba(255, 255, 255, 0.615);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 35px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
        }

    .bottom-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        color: white;
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .page[dir="rtl"] .bottom-section {
        width: 96%;
        direction: rtl;
    }

    .icon-group {
        display: flex;
        gap: 15px;
        flex-direction: column;
        margin-left: 54px;
    }

        .icon-group span {
            display: flex;
            font-size: 12px;
            align-items: center;
            gap: 5px;
        }

    .show-all-button {
        font-size: 18px;
        padding: 10px 20px;
        cursor: pointer;
        color: white;
        background: rgb(255 255 255 / 52%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 35px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: transform 0.3s;
    }

        .show-all-button:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.345);
        }

    @media screen and (max-width: 1024px) {
        .main-banner-switch {
            align-items: start;
            justify-content: center;
            height: 700px;
            text-align: center;
            padding: 40px 20px;
        }

        .banner-content-switch {
            margin: 0;
            max-width: 90%;
        }

        .button-group-switch {
            gap: 8px;
        }

        .bottom-section {
            flex-direction: row;
            align-items: center;
            text-align: center;
            gap: 15px;
            padding: 40px;
        }

        .icon-group {
            flex-direction: column;
            flex-wrap: wrap;
            justify-content: center;
            margin: 0;
            align-items: flex-start !important;
            margin: 0;
        }

            .icon-group span {
                font-size: 14px;
            }
    }

    /* تحسينات التصميم للأجهزة الصغيرة مثل التابلت */
    @media screen and (max-width: 768px) {
        .button-group-switch {
            grid-template-columns: repeat(2, 1fr); /* زرّان في كل سطر للتابلت */
        }
        .bottom-section {
            flex-direction: column-reverse;
        }

        .icon-group {
            flex-direction: column; /* ترتيب الأيقونات بشكل عمودي */
            align-items: center;
        }

            .icon-group span {
                font-size: 14px; /* تقليل حجم النصوص للأيقونات */
            }

        .banner-content-switch {
            margin-right: 0;
        }
    }

    /* تحسينات التصميم للموبايل */
    @media screen and (max-width: 480px) {
        .button-group-switch {
            grid-template-columns: repeat(1, 1fr); /* زر واحد في كل سطر للموبايل */
        }

        .switch-button {
            font-size: 14px;
            padding: 8px;
        }

        .show-all-button {
            width: 70%;
            font-size: 14px;
        }

        .icon-group {
            flex-direction: column; /* ترتيب الأيقونات بشكل عمودي في الموبايل */
            align-items: center;
        }

            .icon-group span {
                font-size: 12px; /* تقليل حجم النصوص للأيقونات في الموبايل */
            }
    }
    /* -explore products section=============== */
    .products-section {
        text-align: center;
        margin-top: 100px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .products-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 25px;
        flex-wrap: wrap;
    }

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    .view-all-container {
        display: flex;
        justify-content: flex-end; /* يجعل الزر على اليمين */
        margin-right: 60px;
        margin-top: 15px;
    }

    .page[dir="rtl"] .view-all-container {
        margin-left: 60px;
    }

    .view-all-button {
        padding: 10px 20px;
        font-size: 18px;
        cursor: pointer;
        background: #2687fa;
        color: white;
        border: none;
        border-radius: 25px;
    }

    /*.product-card {*/
    /*    width: 230px;*/
    /*width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}*/

    .product-card img {
        width: 100%;
        height: 165px;
        object-fit: contain;
        border-radius: 10px;
    }

    /* الاسم والوصف */
    .product-title {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin: 15px 0px;
        max-width: 235px;
        height: 30px;
        /*    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;*/
    }

    .product-description {
        font-size: 14px;
        color: #555;
        margin-bottom: 0px;
    }

    .enquiry-btn {
        background-color: #2687fa;
        color: rgb(255 255 255);
        border: none;
        /*    padding: 10px 65px;*/
        padding: 10px 20px;
        font-weight: 600;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.3s;
        margin-top: 15px;
    }

    .detail-btn {
        background-color: white;
        color: #2687fa;
        border: 1px solid #2687fa;
        /*    padding: 10px 65px;*/
        padding: 10px 20px;
        font-weight: 600;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.3s;
        margin-top: 20px;
        margin-bottom: 10px;
    }

        .detail-btn:hover {
            background: #2687fa;
            color: white;
            transform: scale(1.05);
        }


    /* .enquiry-btn:hover {
  background-color: #a8b8cb;
} */

    @media (max-width: 768px) {
        .image-container {
            display: none;
        }

        .products-container {
            flex-direction: column;
        }

        .image-container img {
            width: 100%;
            height: auto;
        }

        .cards-container {
            grid-template-columns: repeat(1, 1fr);
        }

        .view-all-container {
            display: flex;
            justify-content: center;
            margin: 30px auto;
        }
    }

    @media screen and (max-width: 1024px) and (min-width: 768px) {

        .cards-container {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* تنسيق البوب أب */
    /*.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1111111111;
}

.popup {
    width: 596px;
    height: 514px;
    background: #fff;
    padding: 12px 41px;
    border-radius: 33px;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 46px;
}*/

    /* الهيدر */
    /*.popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

    .popup-header h2 {
        font-size: 20px;
        color: #333;
    }

.close-btn {
    position: absolute;
    font-size: 44px;
    cursor: pointer;
    color: #888;
    right: 3%;
    top: 2%;
}

    .close-btn:hover {
        color: red;
    }*/

    /* تنسيق الفورم */
    /*.popup-form {
    margin-top: 37px;
}*/

    /* تنسيق الصفوف */
    /*.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        margin-bottom: 5px;
        color: #333;
        text-align: left;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        background-color: #e4e4e4;
        padding: 10px;
        border: none;
        outline: none;
        border-radius: 16px;
    }*/

    /* تكبير الـ Textarea */
    /*.form-group textarea {
        height: 100px;
        resize: none;
    }*/
    .popup-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        z-index: 1111111111;
    }

    .popup {
        width: 596px;
        /*        height: 620px;*/
        height: 710px;
        background: #fff;
        padding: 12px 41px;
        border-radius: 33px;
        position: relative;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        margin-top: 0px;
        /*    margin-top: 46px;*/
    }


    /* الهيدر */
    .popup-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 10px;
    }

        .popup-header h2 {
            font-size: 20px;
            color: #333;
        }

    .close-btn {
        position: absolute;
        font-size: 44px;
        cursor: pointer;
        color: #888;
        right: 3%;
        top: 2%;
    }

        .close-btn:hover {
            color: red;
        }

    /* تنسيق الفورم */
    .popup-form {
        margin-top: 10px;
    }

    /* تنسيق الصفوف */
    .form-row {
        display: flex;
        gap: 15px;
    }

    .form-group {
        flex: 1;
        margin-bottom: 25px;
    }

        .form-group label {
            display: block;
            font-size: 14px;
            margin-bottom: 5px;
            color: #333;
            text-align: left;
            font-weight: 600;
        }

    .page[dir="rtl"] .form-group label {
        text-align: right;
    }

    .error-message {
        color: red;
        font-size: 14px;
        display: block;
        text-align: start;
        /*    margin-top: 5px;*/
        height: 20px;
    }

    input.error, textarea.error {
        border: 1px solid red !important;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        background-color: #F8F8F8;
        padding: 10px;
        border: none;
        outline: none;
        border-radius: 16px;
    }

    /* تكبير الـ Textarea */
    .form-group textarea {
        height: 100px;
        resize: none;
    }

    /* زر الإرسال */
    .send-btn {
        width: 100%;
        padding: 12px;
        background: #2687fa;
        color: #fff;
        border: none;
        font-size: 18px;
        cursor: pointer;
        border-radius: 25px;
        transition: 0.3s;
    }

        .send-btn:hover {
            background: #2077e1;
        }

    /* الشاشات الكبيرة (أجهزة الكمبيوتر) */
    @media (min-width: 1200px) {
        .popup {
            width: 596px;
            /*        height: 514px;*/
            height: 710px;
        }
    }

    /* الأجهزة اللوحية (تابلت) */
    @media (max-width: 1199px) and (min-width: 768px) {
        .popup {
            width: 80%;
            height: auto;
            padding: 20px;
        }

        .form-row {
            flex-direction: column;
            gap: 0;
        }

        .button-container {
            display: flex;
            justify-content: flex-end;
            width: 90%;
            margin-top: 30px;
        }
        /* .popup {
        width: 80%;
        height: auto;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }*/
    }

    /* الهواتف المحمولة */
    @media (max-width: 767px) {
        .popup {
            width: 90%;
            height: auto;
            padding: 15px;
            margin-top: 10px;
        }

        .form-group label {
            font-size: 12px !important;
            margin-bottom: 0px !important;
        }

        .error-message {
            font-size: 12px !important;
            height: 15px !important;
        }
        /* .popup-container {
        align-items: start;
    } */
        .popup-header h2 {
            font-size: 15px;
        }

        .close-btn {
            font-size: 30px;
            top: 1%;
            right: 5%;
        }

        .popup-form {
            margin-top: 20px;
        }

        .form-row {
            flex-direction: column;
            gap: 0;
        }

        .send-btn {
            font-size: 16px;
            padding: 10px;
        }

        .button-container {
            display: flex;
            justify-content: center;
            width: 90%;
            margin-top: 30px;
        }
    }

    .bannerAd {
        margin-top: 125px;
    }

        .bannerAd img {
            width: 100%;
        }

    .videoSection {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 180px 0;
    }

    .headVideo {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .videoSection img {
        width: 1100px;
    }

    @media screen and (max-width: 1024px) {
        .headVideo {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 20px;
            text-align: center;
            width: 80%;
        }
    }

    /* لمقاسات الشاشات حتى 768px */
    @media screen and (max-width: 768px) {
        .headVideo {
            font-size: 18px; /* تعديل الحجم للمقاسات الصغيرة */

            width: 80%;
        }

        .videoSection {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 60px 0;
        }
    }

    /* لمقاسات الشاشات حتى 480px */
    @media screen and (max-width: 480px) {
        .headVideo {
            font-size: 16px; /* تعديل الحجم أكثر للمقاسات الأصغر */
            width: 80%;
        }
    }

    /* ======= تصميم الفوتر المودرن بالزجاج ======= */
    .glass-footer {
        background: rgb(0 0 0 / 92%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 50px 20px;
        color: white;
        text-align: center;
        position: relative;
    }

    /* ترتيب الفوتر الرئيسي */
    .footer-main {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        gap: 40px;
        max-width: 1200px;
        margin: auto;
        text-align: left;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .footer-brand img {
            width: 120px;
            margin-bottom: 15px;
            opacity: 0.9;
            transition: transform 0.3s ease;
        }

            .footer-brand img:hover {
                transform: scale(1.1);
            }

    .social-icons {
        display: flex;
        gap: 15px;
        margin-top: 10px;
    }

        .social-icons a {
            color: white;
            font-size: 20px;
            transition: 0.3s;
        }

            .social-icons a:hover {
                color: #2687fa;
            }

    /* تصميم قسم الروابط */
    .footer-links {
        display: flex;
        justify-content: space-around;
    }

    .links-column h2 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #2687fa;
    }

    .links-column ul {
        list-style: none;
        padding: 0;
    }

        .links-column ul li {
            margin: 8px 0;
        }

            .links-column ul li a {
                color: white;
                text-decoration: none;
                transition: 0.3s;
            }

                .links-column ul li a:hover {
                    color: #2687fa !important;
                }

    /* تصميم الفورم */
    .footer-newsletter {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 12px;
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        text-align: center;
    }

        .footer-newsletter h2 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #2687fa;
        }

        .footer-newsletter form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-newsletter input {
            padding: 12px;
            border: none;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            text-align: center;
            font-size: 14px;
        }

            .footer-newsletter input::placeholder {
                color: rgba(255, 255, 255, 0.7);
            }

        .footer-newsletter button {
            padding: 12px;
            background: #2687fa;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 6px;
            font-weight: bold;
            transition: 0.3s;
        }

            .footer-newsletter button:hover {
                background: #1f6edc;
            }

    /* زر الصعود للأعلى */
    .scroll-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: #2687fa;
        color: white;
        border: none;
        padding: 10px;
        border-radius: 25%;
        cursor: pointer;
        font-size: 20px;
        display: none;
        transition: 0.3s;
    }

        .scroll-top:hover {
            background: #1f6edc;
        }

    /* تصميم الجزء السفلي */
    .footer-bottom {
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 15px;
        font-size: 14px;
        color: white;
    }

    /* ==== Responsive Design ==== */
    @media (max-width: 768px) {
        .footer-main {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .footer-links {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
    }

    /* --------------contact */

    .contact-container {
        display: flex;
        width: 90%;
        margin: 125px auto;
        background: white;
        border-radius: 10px;
        overflow: hidden;
    }

    /* الجزء الأيسر */
    .contact-info {
        width: 50%;
        padding: 40px;
        color: rgb(0, 0, 0);
        display: flex;
        flex-direction: column;
    }

        .contact-info h2 {
            font-size: 35px;
            margin-bottom: 20px;
        }

        .contact-info p {
            font-size: 20px;
            margin-bottom: 28px;
            font-weight: 500;
        }

    .contact-detail {
        font-size: 18px;
        margin: 10px 0;
        font-weight: 500;
    }

        .contact-detail i {
            margin-right: 10px;
        }

    /* الجزء الأيمن */
    .contact-form {
        width: 50%;
        padding: 40px;
    }

    .form-row {
        display: flex;
        gap: 20px;
    }

    .form-group {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }

    label {
        font-weight: bold;
        margin-bottom: 5px;
    }

    input,
    textarea {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

    textarea {
        height: 100px;
        resize: none;
    }


    /* زر الإرسال */
    .send-btn {
        width: 100%;
        padding: 12px;
        background: #2687fa;
        color: white;
        border: none;
        border-radius: 20px;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s;
    }

        .send-btn:hover {
            background: #237be7;
        }

    /* جعل التصميم متجاوب */
    @media (max-width: 768px) {
        .contact-container {
            margin: 80px auto;
            flex-direction: column;
        }

        .contact-info,
        .contact-form {
            width: 100%;
        }

        .form-row {
            flex-direction: column;
            gap: 0;
        }

        .contact-info h2 {
            font-size: 30px;
            margin-bottom: 20px;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            background-color: #F8F8F8;
            padding: 7px;
            border: none;
            outline: none;
            border-radius: 16px;
        }

        .form-group textarea {
            height: 50px;
            resize: none;
        }
    }

    .map {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 100px;
    }

        .map img {
            width: 80%;
        }



    /*    ////////////////////////////////// products Page////////////////////////////////////////*/

    .title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .tabs {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .tab {
        font-size: 18px;
        padding: 10px 20px;
        margin: 5px;
        background-color: #ffffff;
        color: #2687FA;
        border: 1.2px solid #2687fa;
        border-radius: 16px;
        cursor: pointer;
        transition: 0.3s;
        font-weight: 500;
    }

    .active-tab {
        background-color: #2687FA !important;
        color: white;
    }

    .tab:hover {
        background-color: #2077e1;
        color: white;
    }

    .page[dir="rtl"] .dropdown-container {
        margin-left: 70px;
    }

    .dropdown-container {
        margin-bottom: 20px;
        display: flex;
        justify-content: end;
        margin-right: 70px;
    }

    #productDropdown {
        padding: 10px;
        width: 200px;
        font-size: 14px;
        border-radius: 27px;
        border: 1px solid #2687FA;
        color: #2077e1;
    }

        #productDropdown option {
            padding: 8px;
            font-size: 12px;
        }


    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .product-card {
        max-width: 275px;
        height: 330px;
        background-color: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        /* width: 215px; */
        /* width: 300px; */
        text-align: center;
        overflow: hidden;
        align-items: center;
        /*background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
        /*    width: 215px;*/
        /*width: 300px;
    text-align: center;
    overflow: hidden;*/
    }

    .img-holder {
        width: 100%;
        height: auto;
    }

    /*.product-card img {
    width: 100%;
    border-radius: 5px;
    object-fit: contain;
}*/

    .product-name {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin-bottom: 15px;
    }

    .content-product {
        height: 220px;
    }

    .product-description {
        font-size: 12px;
        color: #555;
        margin-bottom: 0px;
    }


    .bodyPage {
        margin: 100px 120px;
    }







    /* Tablet (Max width 1024px) */
    @media (max-width: 1024px) {
        .title {
            font-size: 24px;
        }

        .tabs {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }

        .tab {
            font-size: 16px;
            padding: 8px 15px;
            margin: 5px;
        }

        #productDropdown {
            width: 180px;
            font-size: 12px !important;
        }

        .products-grid {
            gap: 20px;
        }

        /*    .product-card {
        width: 45%;
    }*/
    }

    /* Mobile (Max width 480px) */
    @media (max-width: 480px) {
        .title {
            font-size: 20px;
            text-align: center;
        }

        .tabs {
            flex-direction: row;
            align-items: center;
        }

        .tab {
            font-size: 14px;
            padding: 8px 15px;
            margin: 8px 0;
        }

        #productDropdown {
            width: 160px;
            font-size: 12px !important;
        }
            #productDropdown option {
                font-size: 10px;
            }

        .products-grid {
            flex-direction: column;
            gap: 20px;
            align-items: center;
        }

        .product-card {
            width: 90%;
        }


        .bodyPage {
            margin: 100px 40px;
        }

        .page[dir="rtl"] .dropdown-container {
            margin-left: 0px;
        }

        .dropdown-container {
            justify-content: center;
            margin-right: 0px;
        }
    }


    /*popup */

    .popup-product-card {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        padding: 5px;
        border-radius: 8px;
        width: 100%;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    }

    .popup-product-image {
        width: 90px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        margin-right: 15px;
    }

    .page[dir="rtl"] .popup-product-details {
        text-align: right;
        padding-right: 20px;
    }

    .popup-product-details {
        flex-grow: 1;
        text-align: left;
    }

        .popup-product-details h3 {
            font-size: 1rem;
            margin: 0;
            color: #333;
        }

        .popup-product-details p {
            font-size: 0.9rem;
            color: #777;
            margin: 5px 0;
        }

    .popup-size-select {
        /*    margin-top: 10px;*/
        display: flex;
        align-items: center;
        gap: 10px;
        color: #777;
        /*    margin-bottom: 15px;*/
    }

        .popup-size-select label {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
            color: #777;
        }


        .popup-size-select select {
            width: 40%;
            padding: 8px;
            color: #777;
            border-radius: 20px !important;
            border: 1px solid #ddd;
        }

    @media (max-width: 768px) {
        .popup-product-card {
            display: flex;
            align-items: center;
            background: #f8f9fa;
            padding: 5px;
            border-radius: 8px;
            width: 100%;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        }

        .popup-product-image {
            width: 90px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            margin-right: 15px;
        }

        .popup-product-details h3 {
            font-size: 13px !important;
            margin: 0;
            color: #333;
        }

        .popup-product-details p {
            font-size: 12px !important;
            color: #777;
            margin: 5px 0;
        }

        .popup-size-select label {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
            font-size: 12px !important;
        }

        .popup-size-select select {
            width: auto !important;
            padding: 3px;
            font-size: 12px !important;
            border-radius: 5px;
            border: 1px solid #ddd;
        }
    }


    /*=======================  login  =======================*/
    .bkLogin {
        background-image: url('/images/bk- (1).webp');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .AllLogin {
        display: flex;
        align-items: center;
        height: 100vh;
        margin: 0 100px;
        justify-content: space-between;
    }

    .leftLogin {
        width: 50%;
    }

        .leftLogin h1 {
            font-size: 55px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .leftLogin p {
            font-size: 26px;
            margin-left: 14px;
            text-align: left;
            line-height: initial;
            font-weight: 500;
        }

    .hiHand img {
        width: 50px;
        margin-bottom: 10px;
    }

    .bkword {
        background: linear-gradient(45deg, #8c90fa, #ffc4fb);
        width: 100%;
        padding: 0px 8px;
        border-radius: 10px;
        color: #fff;
        height: 5px;
    }

    .login-container {
        width: 100%;
        max-width: 600px;
        background: #fff;
        padding: 50px;
        border-radius: 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .login-container h2 {
            margin-bottom: 20px;
            font-size: 28px;
            font-weight: 600;
            text-align: center;
            color: #333;
        }

    .form-group {
        margin-bottom: 15px;
    }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            font-size: 15px;
            /*        border: 1px solid #ddd;*/
            border: none;
            border-radius: 8px;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
        }

            .form-group input:focus {
                border-color: #0b5fff;
                outline: none;
            }

    .login-button {
        width: 100%;
        margin: 20px 0 40px 0;
        padding: 12px;
        font-size: 16px;
        color: #fff;
        background-color: #0b5fff;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
    }

        .login-button:hover {
            background-color: #0947d1;
            transform: scale(1.02);
        }

        .login-button:active {
            transform: translateY(2px);
        }

    /* Media Queries for Mobile and Tablet */
    @media (max-width: 768px) {
        .AllLogin {
            flex-direction: column;
            margin: 0 20px;
            justify-content: center;
        }

        .leftLogin {
            width: 100%;
            text-align: center;
        }

            .leftLogin h1 {
                font-size: 40px;
                margin: 10px 0;
            }

            .leftLogin p {
                display: none;
            }

        .login-container {
            padding: 30px;
        }

            .login-container h2 {
                font-size: 24px;
            }

        .form-group input {
            padding: 10px;
        }

        .login-button {
            padding: 10px;
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .leftLogin h1 {
            font-size: 30px;
            margin: 10px 0;
        }

        .leftLogin p {
            display: none;
        }

        .login-container h2 {
            font-size: 20px;
        }

        .form-group input {
            padding: 8px;
        }

        .login-button {
            padding: 10px;
            font-size: 13px;
        }
    }


    @media (max-width: 1400px) and (min-width: 768px) {

        .AllLogin {
            flex-direction: column;
            margin: 0 40px;
            justify-content: center;
        }

        .leftLogin {
            width: 100%;
            text-align: center;
        }

            .leftLogin h1 {
                font-size: 45px;
                margin: 10px 0;
            }

            .leftLogin p {
                display: none;
            }

        .login-container {
            width: 70%; /* Adjust width for larger tablets and smaller desktops */
            padding: 40px;
        }

            .login-container h2 {
                font-size: 24px;
            }

        .form-group input {
            padding: 10px;
        }

        .login-button {
            padding: 10px;
            font-size: 15px;
        }
    }
    /* Home */
    h6 {
        display: flex;
        align-items: center; /* Align icon and text vertically */
        justify-content: left; /* Center horizontally */
        gap: 8px; /* Space between icon and text */
        text-align: center; /* Text alignment */
        margin: 10px 0;
        font-size: 20px;
    }

    .bkHome {
        background-image: url("/Images/tes 1.webp");
        background-size: cover;
        height: 90vh;
        margin: 0px;
        padding-top: 30px;
        padding-left: 30px;
    }

    /*pagination*/

    .pagination-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        gap: 5px;
    }

        .pagination button {
            background-color: white;
            color: black;
            border: 0.2px solid black;
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 5px;
        }

            .pagination button:disabled {
                background-color: #ccc;
                cursor: not-allowed;
            }

    @media (max-width: 768px) {
        .pagination button {
            padding: 8px 8px;
        }
    }


    .pagination .active-page {
        background-color: #2687FA;
        color: white;
        font-weight: bold;
    }

    .pagination-dots {
        padding: 8px 12px;
        color: #555;
    }

    .total-products {
        font-size: 14px;
        font-weight: 300;
        color: #333;
    }

    .category-btn.active {
        background-color: #2687FA;
        color: white;
    }


    /* فئات المنتجات  mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*/

    .categories {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }
    /*dsd
     font-size: 18px;
    padding: 10px 20px;
    margin: 5px;
    background-color: #ffffff;
    color: #2687FA;
    border: 1.2px solid #2687fa;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
*/
    .category-btn {
        font-size: 18px;
        padding: 10px 20px;
        margin: 5px;
        background-color: #ffffff;
        color: #2687FA;
        border: 1.2px solid #2687fa;
        border-radius: 16px;
        cursor: pointer;
        transition: 0.3s;
        font-weight: 500;
        /*    font-size: 18px;
    padding: 10px 20px;
    margin: 5px;
    background-color: #ffffff;
    color: #2687fa;
    border: 1.2px solid #2687fa;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;*/
    }

        .category-btn:hover {
            background-color: #2687FA;
            color: white;
        }

    .size-btn {
        font-size: 12px;
        padding: 5px 8px;
        margin: 5px;
        background-color: #ffffff;
        color: #2687fa;
        border: 1.2px solid #2687fa;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.3s;
        font-weight: 500;
    }

        .size-btn:hover {
            background-color: #2687fa;
            color: white;
        }

        .size-btn.active {
            background-color: #2687fa; /* اللون الأحمر */
            color: white;
        }

    @media (max-width: 768px) {
        .category-btn {
            font-size: 10px;
            padding: 5px 10px;
            margin: 5px;
            background-color: #ffffff;
            color: #2687FA;
            border: 1.2px solid #2687fa;
            border-radius: 16px;
            cursor: pointer;
            transition: 0.3s;
            font-weight: 500;
            white-space: nowrap;
            /*        font-size: 10px;
        padding: 5px 10px;
        margin: 5px;
        background-color: #ffffff;
        color: #2687fa;
        border: 1.2px solid #2687fa;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.3s;
        font-weight: 500;
        white-space: nowrap;*/
        }



        .products-section {
            padding: 60px 55px;
        }
    }

    @media (max-width: 480px) {
        .products-section {
            padding: 30px 15px;
        }

        .categories {
            flex-direction: column;
            align-items: center;
        }

        .category-btn {
            font-size: 12px;
            padding: 6px 12px;
            margin: 3px 0;
        }

        .products-container {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .product-card {
            width: 90%;
            padding: 10px;
        }

            .product-card img {
                height: 140px;
            }

        .product-title {
            font-size: 14px;
        }

        .product-description {
            font-size: 12px;
        }

/*        .enquiry-btn {
            padding: 6px 12px;
        }*/
    }

    @media (max-width: 1199px) and (min-width: 768px) {
        .products-section {
            /*        padding: 50px 60px;*/
            padding: 0px 60px;
            margin-top: 165px;
            min-height: 61vh;
        }

        .categories {
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

        .category-btn {
            font-size: 16px;
            padding: 10px 15px;
        }

        .products-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .products {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
            gap: 25px;
        }

        .product-card {
            width: 100%;
            max-width: 320px;
            padding: 0px;
        }

            .product-card img {
                height: 160px;
            }

        .product-title {
            font-size: 18px;
        }

        .product-description {
            font-size: 14px;
        }

/*        .enquiry-btn {
            padding: 8px 15px;
        }*/
    }



    /*  selected product                    ----------------------------------- product   ---*/
    .image-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
    }

    .product-image {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        border-radius: 10px;
    }

    .thumbnail-container-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }

    .thumbnail-container {
        display: flex;
        overflow-x: hidden;
        gap: 10px;
        padding: 5px;
        width: 65%;
        margin: auto;
        justify-content: start;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: transform 0.2s, border 0.2s;
    }

        .thumbnail:hover {
            transform: scale(1.1);
        }

        .thumbnail.active {
            border: 2px solid #2687fa;
        }

    .arrow-btnn {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        font-size: 20px;
        width: 40px;
        height: 40px;
        color: #2687fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .arrow-btnn:hover {
            background: rgba(0, 0, 0, 0.2);
        }
    /*.arrow-btnn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #2687fa;
    cursor: pointer;
    transition: color 0.3s;
}

    .arrow-btnn:hover {
        color: #2687fa;
    }*/

    .left-arrow {
        position: absolute;
        left: 0;
    }

    .right-arrow {
        position: absolute;
        right: 0;
    }


    /*    ////////////////////////////////////////////////////////////////////////////////*/
    .product-container {
        display: flex;
        width: 90%;
        height: 20%;
        background: #fff;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin: 160px auto 50px auto;
        gap: 20px;
    }

    .product-image {
        width: 50%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

    .product-info {
        width: 40%;
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 5px;
    }

        .product-info h1 {
            font-size: 20px;
            color: #333;
            margin-bottom: 10px;
        }

    .product-code, .category {
        font-size: 14px;
        color: #777;
        margin-bottom: 10px;
    }

    .stars {
        font-size: 20px;
        color: #ff9800;
        margin-bottom: 15px;
    }

    .size-div {
        display: flex;
        align-items: center;
    }

    .size-select {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
    }

    select {
        padding: 8px;
        font-size: 16px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .enquiry-btnProduct {
        padding: 14px 195px;
        background: #2687fa;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background 0.3s;
    }

        .enquiry-btnProduct:hover {
            background: #2687fa;
            transform: scale(1.05);
        }

    .share {
        position: relative;
        display: inline-block;
    }

    .share-btn {
        padding: 17px 20px;
        background: none;
        color: #2687fa;
        border: 1px solid #2687fa;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background 0.3s;
    }

        .share-btn:hover {
            background: #2687fa;
            transform: scale(1.05);
            color: white !important;
        }

    .share-dropdown {
        display: none; /* مخفي بشكل افتراضي */
        position: absolute;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        margin-top: 5px;
        z-index: 10;
        display: flex; /* ترتيب الأيقونات بجانب بعض */
        flex-direction: row;
        gap: 10px;
        transition: opacity 0.3s ease, visibility 0s 0.3s; /* انتقال أكثر سلاسة */
        opacity: 0; /* بداية بإخفاء الـ dropdown */
        visibility: hidden;
    }

        .share-dropdown a {
            padding: 10px;
            text-decoration: none;
            color: #333 !important;
            font-size: 14px;
        }

            .share-dropdown a:hover {
                background: #f1f1f1 !important;
                color: white !important;
            }

    /* عند التمرير فوق الزر أو الـ dropdown نفسه، يتم إظهار الـ dropdown */
    .share:hover .share-dropdown {
        opacity: 1; /* إظهار الـ dropdown */
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s 0s; /* إظهار سلاسة مع إلغاء التأخير */
    }

    .share-dropdown:hover {
        opacity: 1; /* إبقاء الـ dropdown مرئيًا عندما تمر الفأرة عليه */
        visibility: visible;
    }


    .tabs-tabs {
        margin-bottom: 100px;
    }

    .tabs {
        width: 90%;
        margin: auto;
        display: flex;
        gap: 2px;
    }

        .tabs button {
            flex: 1;
            padding: 12px;
            border: none;
            cursor: pointer;
            background: #eee;
            border-radius: 5px 5px 0 0;
            font-size: 16px;
            transition: background 0.3s;
        }

            .tabs button.active {
                background: #2687fa;
                color: white;
                font-weight: bold;
            }

    .tab-content {
        display: none;
        width: 90%;
        margin: auto;
        line-height: 1.7;
        padding: 20px 65px;
        background: white;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin-top: -5px;
        font-weight: 400;
    }

    .related-products {
        padding: 20px;
        border-radius: 10px;
        width: 90%;
        margin: auto
    }

        .related-products h2 {
            text-align: left;
            margin-bottom: 20px;
        }

    .related-list {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .related-item {
        width: 30%;
        text-align: center;
        padding: 15px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

        .related-item img {
            /*        width: 100%;*/
            width: 70%;
            height: auto;
            border-radius: 5px;
        }

        .related-item h3 {
            font-size: 18px;
            margin-top: 10px;
            margin-bottom: 15px;
        }

        .related-item p {
            font-size: 16px;
            color: green;
            margin: 10px 0;
        }

    .related-btn {
        padding: 10px 20px;
        background: #2687fa;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .related-btn:hover {
            background: #2687fa;
            transform: scale(1.05);
        }




    #reviews p {
        font-size: 16px;
        color: #333;
    }

    .review {
        margin-top: 15px;
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .review-header {
        display: flex;
        align-items: center;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 10px;
        object-fit: cover;
    }

    .review strong {
        font-size: 18px;
        color: #2687fa;
    }

    .review em {
        font-size: 14px;
        color: #666;
    }

    .review p {
        font-size: 14px;
        color: #333;
        margin-top: 10px;
    }


    /*  ---------------  responsive form Mobile*/

    @media (max-width: 768px) {
        .image-section {
            width: 100%;
        }

        .product-container {
            flex-direction: column;
            width: 95%;
            margin: 50px auto;
            padding: 15px;
            height: auto;
        }

        .product-image {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .product-info {
            width: 100%;
            text-align: center;
            padding: 10px;
        }

            .product-info h1 {
                font-size: 18px;
            }

        .product-code, .category {
            font-size: 14px;
        }

        .stars {
            font-size: 18px;
        }

        .size-select {
            flex-direction: column;
            align-items: center;
        }

        .enquiry-btnProduct {
            padding: 12px 50px;
            width: 100%;
        }

        .share-btn {
            width: 100%;
        }

        .share-dropdown {
            flex-direction: column;
            gap: 0px;
            width: 100%;
        }

        .tabs {
            flex-direction: column;
        }

            .tabs button {
                font-size: 14px;
                padding: 10px;
                width: 100%;
            }

        .tab-content {
            padding: 15px;
        }

        .related-products {
            width: 95%;
        }

        .related-list {
            flex-direction: column;
            gap: 15px;
        }

        .related-item {
            width: 100%;
        }

        .review-avatar {
            width: 30px;
            height: 30px;
        }

        .review strong {
            font-size: 16px;
        }

        .review p {
            font-size: 14px;
        }
    }

    /*  ---------------  responsive form Ipad Or tablet*/

    @media (max-width: 1199px) and (min-width: 768px) {

        .product-container {
            flex-direction: row;
            width: 95%;
            margin: 100px auto;
            padding: 20px;
            height: auto;
        }

        .product-image {
            width: 50%;
            height: auto;
            border-radius: 10px;
        }

        .thumbnail-container {
            min-width: 300px;
            max-width: 400px;
        }

        .product-info {
            width: 50%;
            padding: 20px;
        }

            .product-info h1 {
                font-size: 22px;
            }

        .product-code, .category {
            font-size: 14px;
        }

        .stars {
            font-size: 20px;
        }

        .size-select {
            flex-direction: row;
        }

        .enquiry-btnProduct {
            width: auto;
            padding: 12px 80px;
        }

        .share-btn {
            width: auto;
        }

        .tabs {
            flex-direction: row;
        }

            .tabs button {
                font-size: 16px;
                padding: 12px;
            }

        .tab-content {
            padding: 20px;
        }

        .related-products {
            width: 95%;
        }

        .related-list {
            flex-wrap: wrap;
            gap: 20px;
        }

        .related-item {
            width: 45%;
        }

        .review-avatar {
            width: 35px;
            height: 35px;
        }

        .review strong {
            font-size: 18px;
        }

        .review p {
            font-size: 16px;
        }
    }


    /*button back*/
    .back-button-container {
        padding: 10px 20px;
        text-align: left;
        margin-top: 70px;
        position: fixed;
        z-index: 10000;
    }

    @media (max-width: 768px) {
        .back-button-container {
            margin-top: 66px;
        }

        .btn-back {
            color: #3e3a3a !important;
            background-color: #4444440d !important;
        }
    }

    .page[dir="rtl"] .btn-back {
        transform: rotate(180deg);
    }

    .btn-back {
        background-color: #444;
        color: #fff;
        padding: 8px 16px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

        .btn-back:hover {
            background-color: #222;
        }

/*        our work section      */

/*.our-work {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-inline: auto;
}

    .our-work h2 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .our-work p {
        font-size: 18px;
        line-height: 1.7;
        color: #555;
    }

.gallery-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

    .gallery::-webkit-scrollbar {
        display: none;
    }

.our-work-card {
    min-width: 300px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .our-work-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.our-work-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;*/ /* العرض */
    /*height: 50px;*/ /* الطول */
    /*background: #ffffffcc;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .our-work-arrow.left {
        left: 0;
    }

    .our-work-arrow.right {
        right: 0;
    }*/

/* Popup */
/*.our-work-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.our-work-popup-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    text-align: center;
}

    .our-work-popup-content img {
        max-width: 100%;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .our-work-popup-content h3 {
        margin: 0 0 10px;
    }

    .our-work-popup-content p {
        margin: 0;
    }

.our-work-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}*/


/*dddddddddddddddddddddddddddddd*/
.our-work {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-inline: auto;
    padding: 0 15px;
}

    .our-work h2 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .our-work p {
        font-size: 18px;
        line-height: 1.7;
        color: #555;
    }

.gallery-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 10px;
}

.gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

    .gallery::-webkit-scrollbar {
        display: none;
    }

.our-work-card {
    min-width: 300px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .our-work-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.our-work-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffffcc;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .our-work-arrow.left {
        left: 0;
    }

    .our-work-arrow.right {
        right: 0;
    }

/* Popup */
.our-work-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.our-work-popup-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    text-align: center;
}

    .our-work-popup-content img {
        max-width: 100%;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .our-work-popup-content h3 {
        margin: 0 0 10px;
        font-size: 24px;
    }

    .our-work-popup-content p {
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
    }

.our-work-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

/* ✅ Responsive styles */
@media (max-width: 1024px) {
    .our-work-card {
        min-width: 260px;
        height: 320px;
    }

    .our-work h2 {
        font-size: 28px;
    }

    .our-work p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .our-work-card {
        min-width: 220px;
        height: 300px;
    }

    .our-work-popup-content {
        padding: 20px;
    }

        .our-work-popup-content h3 {
            font-size: 20px;
        }

        .our-work-popup-content p {
            font-size: 14px;
        }

    .our-work-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .our-work-card {
        min-width: 180px;
        height: 250px;
    }

    .our-work h2 {
        font-size: 24px;
    }

    .our-work p {
        font-size: 14px;
    }

    .our-work-popup-content h3 {
        font-size: 18px;
    }

    .our-work-popup-content p {
        font-size: 13px;
    }
}
