body {
    direction: rtl;
    text-align: right;
}
.custom-navbar {
    background-color: #212529;   
    border-bottom: 3px solid #BFA35C;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color:#BFA35C !important; 
    transform: translateY(-2px);
}

.company-name {
    color: #BFA35C !important;
    font-size: 1.2rem;
    font-weight: bold;
    border-right: 2px solid#BFA35C;
    padding-right: 15px;
}
.offcanvas {
    width: 280px !important; 
    background-color: #1a1d20 !important; 
}

.offcanvas-body .nav-link {
    padding: 15px 10px;
    border-bottom: 1px solid #333; 
    font-size: 1.1rem;
}

.offcanvas.offcanvas-end {
    right: auto;
    left: 0; 
       transform: translateX(-100%);
}

/* nav end ////////////////////////////////////////////// */


.object-fit-cover {
    object-fit: cover;
}

.z-n1 { z-index: -1; }
.z-0 { z-index: 0; }
.z-3 { z-index: 3; }

.btn {
    transition: all 0.3s ease-in-out;
}

.btn-gold:hover {
    background-color: #D6C08D !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(191, 163, 92, 0.4);
}
/* hero secrion end ////////////////////////////////// */
#about-us {
    direction: rtl;
    background-color: #f8f9fa !important;
}

#about-us h2 {
    line-height: 1.3;
}

#about-us .btn:hover {
    background-color: #1a1a1a !important;
    transform: translateY(-3px);
    transition: 0.3s all ease;
}

#about-us img {
    border-left: 10px solid #BFA35C;
}

@media (max-width: 991px) {
    #about-us {
        text-align: center;
    }
    #about-us img {
        border-left: none;
        border-bottom: 10px solid #BFA35C;
        margin-bottom: 30px;
    }
}
/* two section end  */
#services { direction: rtl; }

.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    height: 220px;
    object-fit: cover;
}
/* three section end************************************** */
#projects { direction: rtl; }

.project-card {
    height: 350px;
    cursor: pointer;
}

.project-card .card-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.project-card:hover .card-img {
    transform: scale(1.1);
    opacity: 0.4 !important;
}

.project-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 50%);
    transition: 0.4s;
}

.project-card:hover .card-img-overlay {
    background: rgba(0,0,0,0.7);
}
/* section four end  */
footer {
    direction: rtl;
    border-top: 3px solid #BFA35C;
}

.hover-gold:hover {
    color: #BFA35C !important;
    padding-right: 5px;
    transition: 0.3s ease;
}

.border-warning {
    border-color: #BFA35C !important;
}

.btn-outline-success:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}
/* footer end  */
.contact-buttons-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.whatsapp-btn {
    background-color: #25d366;
     width: 55px;
    height: 55px;
    padding: 10px 20px;
    border-radius: 30px;
}

.call-btn {
    background-color: #BFA35C;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 22px;
}

.contact-btn:hover {
    transform: scale(1.1);
    color: white;
}

@media (max-width: 768px) {
    .btn-text { display: none; }
    .whatsapp-btn { width: 55px; height: 55px; border-radius: 50%; padding: 0; }
}
/* تنسيق الزرار العائم */
.floating-lang-btn {
    position: fixed;
    bottom: 30px; /* مسافة من تحت */
    left: 30px;   /* مسافة من الشمال */
    background-color: #BFA35C; /* اللون الذهبي بتاعك */
    color: #212529 !important; /* لون الخط غامق عشان التباين */
    padding: 12px 20px;
    border-radius: 50px; /* شكل بيضاوي */
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px; /* مسافة بين الأيقونة والكلمة */
    z-index: 9999; /* عشان يفضل فوق أي عنصر تاني */
    transition: all 0.3s ease-in-out;
    border: 2px solid #212529;
}

.floating-lang-btn i {
    font-size: 1.2rem;
}

/* تأثير عند الوقوف بالماوس */
.floating-lang-btn:hover {
    transform: scale(1.1) translateY(-5px); /* يكبر شوية ويطلع لفوق */
    background-color: #212529;
    color: #BFA35C !important;
    border-color: #BFA35C;
}

/* ميديا كويري للموبايل عشان مياخدش مساحة كبيرة */
@media (max-width: 768px) {
    .floating-lang-btn {
        bottom: 20px;
        left: 20px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    .floating-lang-btn span {
        display: none; /* في الموبايل نظهر الأيقونة بس عشان الزحمة */
    }
    .floating-lang-btn {
        width: 50px;
        height: 50px;
        justify-content: center;
        border-radius: 50%; /* نخليه دايرة في الموبايل */
    }
}