/* Styles for devices larger than 1200px */
@media (max-width: 1200px) {
    .container-fluid {
        padding-inline: 36px;
    }
}

/* Styles for devices smaller than 991px */
@media (max-width: 991px) {
    .topbar,
    .mynavbar,
    .header-nav,
    .hero-soch-icon {
        display: none;
    }

    .slider-home .owl-item .slider-img {
        height: 380px;
    }

    .slider-home .owl-item .slider-img img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }

    .mynav .logo {
        margin-bottom: 20px;
        text-align: center;
    }

    .logo img {
        max-width: 120px !important;
    }

    .section-title h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .product-box .product-info h6 {
        height: auto;
        min-height: unset;
    }

    .footer-links ul li {
        width: 100%;
    }

    .carousel-info {
        bottom: 20px;
        padding: 20px;
    }

    section {
      /*  padding: 30px 0;*/
    }

    .form-contact {
        margin-top: 20px;
    }

    .footer-sochial,
    .copy-right {
        text-align: center;
    }
}

/* Styles for devices smaller than 768px */
@media (max-width: 768px) {
    .slider-home .owl-item .slider-img img {
        object-fit: revert-layer ;
        object-position: center;
    }

    .maintenance-request .request-details h3 {
        font-size: 18px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .form-contact h5 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    footer h5 {
        font-size: 18px;
    }

    .about-img {
        height: 300px;
    }

    .menu-left a, .menu-left i {
        font-size: 20px;
    }

    .contact-section {
        padding-top: 50px;
    }
}

/* Styles for devices smaller than 420px */
@media (max-width: 420px) {
    .sidebar {
        width: 320px;
    }

    .logo img {
        max-width: 100px !important;
    }

    .maintenance-request .request-details {
        width: 70%;
    }

    .copy-right p {
        margin-top: 10px;
    }
}

/* Styles for devices smaller than 375px */
@media (max-width: 375px) {
    .maintenance-request .request-details h6 {
        font-size: 14px;
    }

    .about-img {
        height: 250px;
    }

    .logo img {
        max-width: 90px !important;
    }

    .menu-left button, .menu-left a {
        width: 30px;
        height: 30px;
    }
}
/* الخلفية تظهر فقط على الديسك توب */
@media (min-width: 992px) {
    .respons-menu {
        background: url('your-desktop-background-image.png') no-repeat center center;
        background-size: cover;
    }
}

/* إزالة الخلفية في الموبايل */
@media (max-width: 991px) {
    .respons-menu {
        background: none; /* إزالة الخلفية */
    }
}
/* القائمة في الموبايل */
.respons-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px; /* تصغير البادينج */
    background-color: #73BDBA;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px; /* تحديد ارتفاع مناسب */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* لو فيه لوجو داخلها مثلاً */
.respons-menu .logo img {
  /*  height: 30px;*/ /* نضمن اللوجو مش كبير */
    max-height: 100%;
}

/* لو فيه زر القائمة (hamburger) */
.respons-menu .menu-toggle {
    font-size: 24px; /* مناسب للمس */
    color: #fff;
    cursor: pointer;
}


/* تنسيق الأيقونات داخل القائمة */
.respons-menu .menu-right ul,
.respons-menu .menu-left ul {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.respons-menu .menu-left ul li,
.respons-menu .menu-right ul li {
    display: flex;
    align-items: center;
}

.respons-menu .menu-left ul li a,
.respons-menu .menu-right ul li button {
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

/* تكبير حجم الأيقونات */
.respons-menu i {
    font-size: 22px;
}

/* تحسين الأزرار */
.respons-menu .cart,
.respons-menu .btnSearch {
    background: none;
    border: none;
    cursor: pointer;
}
/* إزالة المسافة الزائدة */
body {
    margin: 0;
    padding: 0;
}

.banner-h {
    margin-top: 0;
    padding: 0;
    position: relative;
    top: 0;
}
/* ✅ تصميم القائمة الجانبية */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #73BDBA;
    z-index: 10000;
    overflow-y: auto;
    transform: translateX(100%); /* إخفاء القائمة */
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2); /* إضافة ظل لجمالية */
}

/* ✅ عند فتح القائمة */
.sidebar.open {
    transform: translateX(0); /* إظهار القائمة */
}

/* ✅ زر الإغلاق */
.close-side {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* ✅ تحسين تصميم القائمة المنسدلة */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    cursor: pointer;
}

/* ✅ تعديل الأيقونة التي تفتح القائمة الفرعية */
.sidebar ul li .toggle-submenu {
    position: absolute;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}

/* ✅ عند فتح القائمة الفرعية، تدوير الأيقونة */
.sidebar ul li.active .toggle-submenu {
    transform: rotate(180deg);
}

/* ✅ تصميم القائمة الفرعية */
.sidebar ul .submenu {
    display: none;
    padding-left: 15px;
    background: #f9f9f9;
    border-left: 3px solid #73BDBA; /* لون جانبي لتمييز القائمة الفرعية */
}

/* ✅ إظهار القائمة الفرعية عند فتحها */
.sidebar ul li.active .submenu {
    display: block;
}

/* تصميم افتراضي */
.company_adv .comp_adv_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company_adv .comp_adv_item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company_adv .comp_adv_item .img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #f9f9f9;
    padding: 10px;
}

.company_adv .comp-adv-details h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.company_adv .comp-adv-details h6 {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* تصميم خاص بالموبايل */
@media (max-width: 768px) {
    .company_adv .row {
        flex-direction: column;
        gap: 20px;
    }

    .company_adv .comp_adv_item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .company_adv .comp_adv_item .img img {
        width: 80px; /* تكبير الصورة في الموبايل */
        height: 80px;
    }

    .company_adv .comp-adv-details h5 {
        font-size: 18px; /* تكبير النص الرئيسي */
        margin-bottom: 8px;
    }

    .company_adv .comp-adv-details h6 {
        font-size: 16px; /* تكبير النص الثانوي */
        color: #666;
    }
}



