/********** Template CSS **********/
body, h1, h2, h3, h4, h5, h6, .btn, .nav-link {
    font-family: 'Cairo', sans-serif;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

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

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

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

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    box-shadow: 0 4px 30px #ffc107;
}

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

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-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-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;



    

    }
}

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

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


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
    
    
}


.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: row;
    margin: 0;
    
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
        
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
    
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to left, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
   
}

.feature-icon {
    position: relative;
    transition: .5s;

}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
       
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
        box-shadow: 0 4px 30px #ffc107;
}

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

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}
/* === إضافة تأثير الحركة للهيدر === */
.carousel-item img {
  transition: transform 3s ease-in-out;
}
.carousel-item.active img {
  transform: scale(1.1);
}/* === تغيير الألوان الأساسية === */
:root {
    --bs-primary: #FF7A00; /* مثال: برتقالي جريء */
    --bs-secondary: #343a40; /* رمادي غامق */
}/* === تعديلات قسم آراء العملاء === */
.testimonial-item {
    background: #f8f9fa; /* خلفية رمادية فاتحة */
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--bs-primary); /* خط ملون على الشمال */
}

.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 15px;
    font-size: 35px; /* حجم أكبر للأيقونات */
    color: var(--bs-primary);
}/* === تعديل تأثير الروابط في الفوتر === */
.footer .btn.btn-link:hover {
    color: var(--bs-primary); /* تغيير اللون للون الأساسي الجديد */
    letter-spacing: 1px; /* زيادة المسافة بين الحروف */
    padding-left: 10px; /* تحريك النص لليمين قليلًا */
    transition: all .3s ease; /* لجعل الحركة ناعمة */
}/* === تعديلات خاصة بالاتجاه من اليمين لليسار (RTL) === */

/* تعديل المسافة قبل الأيقونات في الـ Navbar */
html[dir="rtl"] .navbar .navbar-nav .nav-link {
    margin-right: 0;
    margin-left: 35px;
}

/* تعديل أيقونة السهم في القائمة المنسدلة */
html[dir="rtl"] .navbar .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 8px;
}

/* تعديل أيقونات الأسهم في الفوتر */
html[dir="rtl"] .footer .btn.btn-link::before {
    content: "\f104"; /* تغيير شكل السهم */
    margin-right: 0;
    margin-left: 10px;
}

/* تعديل أيقونات الأسهم في قسم الخدمات */
html[dir="rtl"] .service .service-item:hover a {
    padding-left: 1rem !important; /* القيمة الافتراضية */
    padding-right: 45px !important;
}

html[dir="rtl"] .feature-item:hover .feature-icon {
    margin-left: 0;
    margin-right: 3rem;
}
/* =================================================================== */
/* ===       كود "الفجر البصري" - الإصدار النهائي والمعدل          === */
/* =================================================================== */

/* 1. تحديد هوية الألوان الجديدة للمشروع بالكامل */
:root {
    --bs-primary: #CE9233;       /* اللون الذهبي الملكي */
    --background-dark: #121212;  /* الخلفية الأساسية (أسود بركاني) */
    --background-boxes: #1E1E1E; /* لون الصناديق (أغمق من الخلفية) */
    --text-light: #EAEAEA;       /* لون النصوص الأساسية (أبيض هادئ) */
    --text-white: #FFFFFF;       /* لون العناوين (أبيض ناصع) */
    --border-color: #444;        /* لون الخطوط الفاصلة والحواف */
}

/* 2. تطبيق الخلفية الغامقة ولون الخط الفاتح على جسم الموقع */
body {
    background-color: var(--background-dark);
    color: var(--text-light);
}

/* 3. التأكد من أن كل العناوين باللون الأبيض الواضح */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.text-white {
    color: var(--text-white) !important;
}

/* ★ تعديل جديد ★: جعل نص الهيدر باللون الذهبي وإضافة ظل للوضوح */
.carousel-caption h1 {
    color: var(--bs-primary) !important;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8); /* ظل أسود قوي عشان الكلام يظهر فوق أي صورة */
    

}

/* 4. ★ تعديل جديد ★: حل مشكلة كل الصناديق البيضاء (الخدمات وفريق العمل وغيرهم) */
.bg-white,
.dropdown-menu,
.service-inner, /* صندوق الخدمة بالكامل */
.team-item /* صندوق فريق العمل بالكامل */
{
    background-color: var(--background-boxes) !important;
    
   
}
/* تعديل لون نصوص القائمة المنسدلة */
.dropdown-item { color: var(--text-light) !important; }
.dropdown-item:hover, .dropdown-item.active {
    background-color: var(--bs-primary) !important;
    color: #000 !important;
}

/* 5. تعديل لون شريط الـ Navbar اللاصق */
.sticky-top.shadow-sm {
    background-color: var(--background-boxes) !important;
    transition: background-color 0.5s ease;
}

/* 6. تعديل شكل فورم حجز المواعيد والـ Newsletter */
.form-control, .form-select {
    background-color: var(--background-dark) !important;
    color: var(--text-light) !important;
    border-color: var(--border-color) !important;
}
.form-control::placeholder { color: var(--bs-secondary); }
.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(206, 146, 51, 0.25);
}
label { color: #999 !important; }

/* 7. تعزيز اللمسة الذهبية الاحترافية */
.btn-primary {
    color: #000 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 30px #ffc107;
    transition: all 0.3s ease;

}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(206, 146, 51, 0.6);
    transform: translateY(-2px);
}
.text-primary, .page-header .breadcrumb-item a, .footer .btn.btn-link::before,
.team-item .team-social .btn, .feature-icon, .about-img::before, .testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    color: var(--bs-primary) !important;
}
.border-primary { border-color: var(--bs-primary) !important; 
box-shadow: 0 4px 30px #ffc107;}
.progress-bar { background-color: var(--bs-primary) !important; }

/* 8. ★ تعديل جديد ★: تغيير شكل زر "Read More" في قسم الخدمات */
.service-item .btn-light {
    background-color: transparent;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}
.service-item .btn-light:hover {
    background-color: var(--bs-primary);
    color: #000 !important; /* لون الخط أسود لما الزر يبقى ذهبي */
    transform: scale(1.05);
}
.service-item:hover a {
    color: #000 !important;
}

/* 9. تعديلات نهائية للفوتر والعناصر المتفرقة */
.footer, .bg-dark {
    background-color: #000000 !important;
}
.footer .btn.btn-link { color: var(--text-light); }
.copyright, .copyright a { color: #6c757d; }
.footer .btn.btn-link:hover, .copyright a:hover { color: var(--bs-primary); }
/* =================================================================== */
/* ===           تعديلات الـ Navbar ليصبح احترافيًا           === */
/* =================================================================== */

/* تغيير لون خلفية الـ Navbar اللاصق ليتناسب مع التصميم */
.sticky-top {
    background-color: var(--background-boxes) !important;
    box-shadow: 0 4px 30px #ffc107;
}

/* تغيير لون خط الـ Navbar الأساسي */
.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light); /* أبيض هادئ */
    font-weight: 600; /* خط أعرض قليلًا */
    transition: color 0.3s ease;
}

/* ★ اللمسة الذهبية ★: تغيير لون اللينك النشط وعند الوقوف عليه بالماوس */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important; /* اللون الذهبي */
}

/* تعديل لون خلفية القائمة المنسدلة ليتناسب مع التصميم */
.dropdown-menu {
    background-color: var(--background-boxes) !important;
    border: 1px solid var(--border-color);
}
.dropdown-item {
    color: var(--text-light) !important;
}
.dropdown-item:hover, .dropdown-item.active {
    background-color: var(--bs-primary) !important;
    color: #000 !important;
}/* =================================================================== */
/* ===      ★ تعديل: إظهار كلمة "Read More" بشكل احترافي         ★ === */
/* =================================================================== */

/* 1. إظهار النص بلون فاتح في الحالة العادية */
.feature-item a.text-body {
    color: var(--text-light) !important;
     /* تغيير لون الخط للأبيض الهادئ */
}

/* 2. جعل خلفية الكلمة متماشية مع خلفية الصندوق لعمل تأثير القطع في الخط */
.feature-item .bg-white {
    background-color: var(--bs-primary) !important; /* نفس لون الصندوق */
}

/* 3. التأكيد على أن اللون يتغير للذهبي عند الوقوف بالماوس (موجودة بالفعل للتأكيد) */
.feature-item a.text-body:hover {
    color: var(--bs-primary) !important; /* اللون الذهبي */
}
/* =================================================================== */
/* ===           تعديل حجم اللوجو في الـ Navbar                 === */
/* =================================================================== */

.navbar-brand img {
    box-shadow: 0 4px 30px #ffc107;

    max-height: 60px; /* تقدر تغير الرقم ده عشان تكبر أو تصغر اللوجو */
    width: auto;      /* العرض هيتظبط تلقائي */

}

.text-dark {color: #ffbf00 !important;}

.mb-5 
.img-fluid {box-shadow: 0 4px 30px #ffc107}
/* =================================================================== */
/* ============== ★★★ تحديث تصميم الفوتر (النهائي) ★★★ ============== */
/* =================================================================== */

.footer {
    background-color: var(--background-dark) !important;
    border-top: 4px solid var(--bs-primary);
}

.footer h5 {
    font-weight: 700 !important;
    letter-spacing: 1px;
}

/* تنسيق بيانات التواصل بشكل أفضل */
.footer .contact-link {
    color: #adb5bd !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer .contact-link:hover {
    color: var(--bs-primary) !important;
    text-decoration: underline !important;
}
.footer .contact-link small {
    color: #6c757d; /* لون أهدى للكلام التوضيحي */
    font-size: 0.8em;
}

/* ★★★ تعديل هنا: حل مشكلة عدم تساوي الروابط ★★★ */
.footer .btn-link {
    padding: 5px 0 !important;
    margin-bottom: 5px !important; /* إضافة مسافة ثابتة تحت كل رابط */
    color: #adb5bd !important;
    text-align: right; /* محاذاة لليمين */
    transition: all 0.3s ease;
}
.footer .btn-link:hover {
    color: var(--bs-primary) !important;
    letter-spacing: 1px;
    transform: translateX(5px);
}
.footer .btn.btn-link::before {
    display: none;
}

/* باقي التنسيقات (زي ما هي) */
.footer .btn-square.btn-outline-light {
    border-color: #495057;
    transition: all 0.3s ease;
}
.footer .btn-square.btn-outline-light:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #000 !important;
}
.footer .row.g-2 img {
    border-radius: 4px;
    filter: grayscale(50%);
    transition: all 0.3s ease;
}
.footer .row.g-2 img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.d-flex 
{display: inline-flex !important;}
/* === تعديل لتوحيد ارتفاع صور المشاريع (أرض الواقع) === */

/* 1. القاعدة الأساسية للشاشات الكبيرة (Desktop) */
.team-item .position-relative.overflow-hidden {
    height: 280px; /* الارتفاع المستطيل للشاشات الكبيرة */
    overflow: hidden;
}

.team-item .position-relative.overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* 2. القاعدة الخاصة بشاشات الموبايل والتابلت (أصغر من 992px) */
@media (max-width: 991.98px) {
    
    .team-item .position-relative.overflow-hidden {
        aspect-ratio: 1 / 1; /* ★★★ هذا هو السطر الجديد المهم لجعلها مربعة ★★★ */
        height: auto;       /* نلغي الارتفاع الثابت ونترك المتصفح يحسبه */
    }
}

/* 3. تأثير التحويم (Hover Effect) يعمل على كل الشاشات */
.team-item:hover .position-relative.overflow-hidden img {
    transform: scale(1.1);
}
/* === تعديل قسم المنتجات ليصبح متناسقًا (صورتان على الموبايل) === */

/* 1. التحكم في حاوية الصورة */
.service-item .service-img-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: -45px; /* للحفاظ على التأثير البارز */
    padding-right: 45px; /* للغة العربية */
    padding-left: 0;
    height: 250px; /* ارتفاع ثابت وموحد على الشاشات الكبيرة */
}

.service-item .service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* يجعل الصورة تملأ المساحة بدون تشويه */
    transition: transform 0.4s ease;
}

/* 2. تطبيق الشكل المربع على شاشات الموبايل والتابلت */
@media (max-width: 991.98px) {
    .service-item .service-img-wrapper {
        aspect-ratio: 1 / 1; /* يجعل الحاوية مربعة */
        height: auto;       /* يلغي الارتفاع الثابت ويترك المتصفح يحسبه */
        padding-right: 20px; /* يقلل الهامش الجانبي على الموبايل */
    }
    .service-text {
        padding-left: 20px !important; /* تعديل الهوامش الداخلية للنص على الموبايل */
        padding-right: 20px !important;
    }

    
    
}

/* 3. تأثير بسيط عند مرور الماوس */
.service-item:hover .service-img-wrapper img {
    transform: scale(1.1);
}

/* 4. إلغاء التنسيقات القديمة للصورة لضمان عدم التعارض */
.service .service-item img {
    margin-top: 0;
    padding-left: 0;
}


/* Media query for mobile view */


/* ---- START: Mobile view for service boxes ---- */

/* ==============================================
   الكود النهائي لوضع بوكسين بجانب بعض في الموبايل
============================================== */
@media (max-width: 767.98px) {

  /* الخطوة 1: نضبط الصف الذي يحتوي على البوكسات */
  .service .row {
    /* نستخدم flex لعرض العناصر بجانب بعضها مع التحكم الكامل */
   
    flex-wrap: wrap;
    
    /* نضع هوامش بسيطة على يمين ويسار الصف بالكامل */
    margin-left: -20px;
    margin-right: -20px;
  }

  /* الخطوة 2: نضبط كل بوكس (عمود) ليأخذ نصف الشاشة */
  .service .col-md-6 {
    /* ★★★ هذا هو السطر الأهم ★★★ */
    /* نجبر كل عمود على أن يأخذ 50% من عرض الشاشة */
    flex: 0 0 50%;
    max-width: 50%;
    
    margin-bottom: 0 !important;

    /* نضع هوامش داخلية لإنشاء "فجوة" بسيطة بين البوكسين */
    padding: 4px;
  }
  
  /* الخطوة 3 (إضافية): كود الارتفاع المتساوي لضمان شكل احترافي */
  .service .service-item {
    height: 80%;
  
    flex-direction: column;
  }
  .service .service-item .service-inner {
      flex-grow: 1;
  }


}
/* === شريط التنقل السفلي للموبايل (Mobile Bottom Nav) === */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
     background-color: #ffffff !important; /* لون خلفية أبيض */
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 9999; /* لضمان ظهوره فوق كل العناصر */
    height: 65px;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d; /* لون رمادي للعناصر غير النشطة */
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-bottom-nav .nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

/* اللون الذهبي عند الضغط أو التفعيل */
.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--bs-primary); 
}

/* فقاعة عدد المنتجات في السلة */
.mobile-bottom-nav .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
}

/* إزاحة المحتوى للأعلى قليلاً في الموبايل حتى لا يغطي الشريط الفوتر */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px; 
    }
}
/* === إلغاء حركات السكرول (WOW.js Disable) === */
.wow {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}
/* === إصلاح تداخل زر الصعود مع الشريط السفلي في الموبايل === */

/* === إخفاء زر الصعود في الموبايل فقط === */
/* === إصلاح تداخل زر الصعود مع الشريط السفلي في الموبايل === */
@media (max-width: 991.98px) {
    .back-to-top {
        bottom: 80px !important; /* رفعناه 80 بكسل عشان يكون فوق الشريط */
        z-index: 99999; /* عشان نتأكد إنه يظهر فوق أي حاجة */
    }
}