/*** إعدادات عامة للـ RTL وخط Cairo ***/
* {
    font-family: 'Cairo', sans-serif;
}

body {
    font-family: 'Cairo', sans-serif;
    text-align: right;
    direction: rtl;
    font-weight: 400;
}

:root {
    /* Gold Color Palette */
    --bs-gold: #d4af37;
    --bs-gold-dark: #b8941f;
    --bs-gold-light: #e6c870;
    --bs-gold-rgb: 212, 175, 55;
    
    /* Override Bootstrap Primary Color */
    --bs-primary: var(--bs-gold);
    --bs-primary-rgb: var(--bs-gold-rgb);
}

/*** Gold Theme Classes ***/
.gold-bg {
    background-color: var(--bs-gold) !important;
}
.gold-text {
    color: var(--bs-gold) !important;
}
.gold-border {
    border-color: var(--bs-gold) !important;
}
.gold-btn {
    background-color: var(--bs-gold);
    border-color: var(--bs-gold);
    color: #ffffff;
}
.gold-btn:hover {
    background-color: var(--bs-gold-dark);
    border-color: var(--bs-gold-dark);
    color: #ffffff;
}
.gold-card {
    border: 2px solid var(--bs-gold-light);
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}
.gold-header {
    background: linear-gradient(135deg, var(--bs-gold) 0%, var(--bs-gold-dark) 100%);
    color: white;
}
.text-gold { color: var(--bs-gold) !important; }
.bg-gold { background-color: var(--bs-gold) !important; }
.border-gold { border-color: var(--bs-gold) !important; }
.hover-gold:hover { color: var(--bs-gold) !important; }
.hover-bg-gold:hover { background-color: var(--bs-gold) !important; }
.gold-shadow {
    box-shadow: 0 0.5rem 1rem rgba(212, 175, 55, 0.15);
}
.gold-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

p, span, a, li, div, input, textarea, select, button {
    font-family: 'Cairo', sans-serif;
}

a {
    text-decoration: none;
}

/*** تعديلات الـ RTL ***/
/* تعديل الهوامش والمسافات */
.ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
.ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
.ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
.ms-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
.ms-5 { margin-right: 3rem !important; margin-left: 0 !important; }

.me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
.me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
.me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
.me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
.me-5 { margin-left: 3rem !important; margin-right: 0 !important; }

.ps-1 { padding-right: 0.25rem !important; padding-left: 0 !important; }
.ps-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }
.ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
.ps-4 { padding-right: 1.5rem !important; padding-left: 0 !important; }
.ps-5 { padding-right: 3rem !important; padding-left: 0 !important; }

.pe-1 { padding-left: 0.25rem !important; padding-right: 0 !important; }
.pe-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
.pe-3 { padding-left: 1rem !important; padding-right: 0 !important; }
.pe-4 { padding-left: 1.5rem !important; padding-right: 0 !important; }
.pe-5 { padding-left: 3rem !important; padding-right: 0 !important; }

.text-start { text-align: right !important; }
.text-end { text-align: left !important; }

.float-start { float: right !important; }
.float-end { float: left !important; }

/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    left: 30px; /* تغيير من right إلى left */
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

.text-black {
color: #000000ff !important
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    font-family: 'Cairo', sans-serif;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-right: 8px; /* تغيير من left إلى right */
    margin-left: 0;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
    text-align: right;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-right: 8px; /* تغيير من left إلى right */
    margin-left: 0;
}

.dropdown .dropdown-menu {
    text-align: right;
    left: auto;
    right: 0;
}

.dropdown .dropdown-menu .dropdown-item {
    text-align: right;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
        text-align: right;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: start; /* تغيير من end إلى start */
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-right: auto; /* تغيير من left إلى right */
        margin-left: 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
        right: 0;
        left: auto;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    right: 50%; /* تغيير من left إلى right */
    transform: translateX(50%); /* تعديل التحويل */
    margin-right: 30px; /* تغيير من left إلى right */
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 50%; /* تغيير من right إلى left */
    transform: translateX(-50%); /* تعديل التحويل */
    margin-left: 30px; /* تغيير من right إلى left */
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0; /* تغيير من left إلى right */
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        right: 50%; /* تعديل للـ RTL */
        transform: translateX(50%);
        margin-right: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%; /* تعديل للـ RTL */
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

.bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: right; /* تغيير من left إلى right */
    padding-right: 0;
    padding-left: 0.5rem;
}
/*** Single Page Hero Header End ***/

/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
    text-align: right;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    right: 0; /* تغيير من left إلى right */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/

/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
    text-align: right;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    right: 0; /* تغيير من left إلى right */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    left: 25px; /* تغيير من right إلى left */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    right: 0; /* تغيير من left إلى right */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/

/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(212, 175, 55);
    font-size: 18px;
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}

.faq-section .accordion .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}
/*** FAQs End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
    text-align: right;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    right: 0; /* تغيير من left إلى right */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    left: 0; /* تغيير من right إلى left */
    border-top-right-radius: 10px; /* تعديل الزاوية */
    border-top-left-radius: 0;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    text-align: right;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    right: 0; /* تغيير من left إلى right */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    left: 20px; /* تغيير من right إلى left */
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-left: -1px; /* تغيير من right إلى left */
    margin-right: 0;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0; /* تغيير من left إلى right */
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    left: 0; /* تغيير من right إلى left */
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0; /* تغيير من left إلى right */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}
    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}
    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}
    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/

/*** Footer Start ***/


/*** Footer Styles ***/
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    direction: rtl;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/*** Contact Info Styles ***/
.contact-item {
    padding: 8px 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: #d4af37;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #d4af37;
    color: white;
    transform: scale(1.1);
}

.contact-text {
    flex: 1;
}

/*** Footer Links ***/
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
    font-family: 'Cairo', sans-serif;
}

.footer-links a:hover {
    color: #d4af37;
    transform: translateX(-5px);
}

.footer-links a i {
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(-3px);
}

/*** Social Media Buttons ***/
.footer-btn .btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ccc;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-btn .btn:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/*** Working Hours ***/
.working-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-right: 3px solid #d4af37;
}

.day-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.day-item:last-child {
    border-bottom: none;
}

/*** Footer Button ***/
.btn-footer {
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Cairo', sans-serif;
}

.btn-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 150, 190, 0.3);
}

/*** Copyright ***/
.copyright {
    border-color:#000000ff !important;
    font-size: 2px;
}

.copyright a {
    color: #000000ff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #000000ff !important;
}

/*** Copyright Start ***/
.copyright2 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.copyright2 a {
    color: #d4af37 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright2 a:hover {
    color: #2596be !important;
}
/*** Copyright End ***/

/*** Responsive Design ***/
@media (max-width: 768px) {
    .footer-logo {
        max-width: 150px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-left: 10px;
    }
    
    .footer-btn .btn {
        width: 40px;
        height: 40px;
    }
    
    .working-hours {
        padding: 15px;
    }
    
    .btn-footer {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .footer {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .footer-btn {
        justify-content: center;
    }
    
    .day-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}
/*** copyright end ***/

/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev,
.carousel-header .carousel-control-next {
    background: transparent;
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    top: 50%;
    right: 0; /* تغيير من left إلى right */
    transform: translateY(-50%);
    padding: 25px 30px;
    border-top-left-radius: 50px; /* تعديل الزوايا */
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
    background-size: 60% 60%;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    left: 0; /* تغيير من right إلى left */
    transform: translateY(-50%);
    padding: 25px 30px;
    border-top-left-radius: 0; /* تعديل الزوايا */
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;
    background-size: 60% 60%;
}

.carousel-header .carousel .carousel-indicators li {
    opacity: 0;
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
    text-align: right;
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0; /* تغيير من left إلى right */
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
}

@media (max-width: 768px) {
    .carousel-header .carousel-inner .carousel-item img,
    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        height: 700px;
        margin-top: -100px;
    }

    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        opacity: 0;
    }
    
    .search-bar {
        margin-top: -100px;
        transition: 0.5s;
    }
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb2 {
    background: linear-gradient(rgba(19, 53, 123, 0.5), rgba(19, 53, 123, 0.5)), url(../img/breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0 50px 0;
}

.bg-breadcrumb2 .breadcrumb-item2 a {
    color: var(--bs-secondary) !important;
}

.bg-breadcrumb2 .breadcrumb-item + .breadcrumb-item::before {
    float: right; /* تغيير من left إلى right */
    padding-right: 0;
    padding-left: 0.5rem;
}
/*** Single Page Hero Header End ***/

/*** تعديلات إضافية للاستجابة ***/
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .navbar-brand img {
        max-height: 40px !important;
    }
}

/* تحسين الخطوط للعربية */
.arabic-text {
    line-height: 1.8;
    letter-spacing: 0;
}

/* تحسين العناوين العربية */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    letter-spacing: 0;
}


/*** Portfolio Category Badges ***/
.portfolio-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.category-badge {
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/*** Enhanced Portfolio Filter ***/
.portfolio-filter {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-filter {
    background: transparent;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-filter:hover,
.btn-filter.active {
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 150, 190, 0.3);
}

/*** Video Thumbnail Enhancements ***/
.video-thumbnail .video-play-btn i.fa-broadcast-tower {
    font-size: 1.2rem;
}

/*** Portfolio Grid Layout ***/
.portfolio-grid {
    direction: rtl;
}

/*** Responsive Filter ***/
@media (max-width: 768px) {
    .portfolio-filter {
        gap: 8px;
    }
    
    .btn-filter {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .category-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
}

@media (max-width: 576px) {
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-filter {
        width: 200px;
        margin: 2px 0;
    }
}

/*** Hover Effects ***/
.portfolio-card {
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(37, 150, 190, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.portfolio-card:hover::before {
    opacity: 1;
}


/*** Video Modal Styles ***/
.video-modal .modal-content {
    background: #1a1a1a;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.video-modal .modal-header {
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    border-bottom: none;
    padding: 15px 20px;
}

.video-modal .modal-title {
    color: white;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin: 0;
}

.video-modal .btn-close {
    background: transparent;
    opacity: 0.8;
    filter: invert(1);
}

.video-modal .btn-close:hover {
    opacity: 1;
}

.video-modal .modal-body {
    padding: 0;
}

#videoPlayer {
    border-radius: 0 0 15px 15px;
}

/*** Video Thumbnail Enhancements ***/
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.video-play-btn i {
    margin-left: 3px; /* لتوسيط أيقونة التشغيل */
}


/*** WhatsApp Floating Button - Right Side ***/
.whatsapp-float-right {
    position: fixed;
    bottom: 25px;
    right: 25px; /* تغيير من left إلى right */
    z-index: 1000;
    direction: rtl;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.whatsapp-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 1.5rem;
    color: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-text {
    font-size: 1rem;
    white-space: nowrap;
}

/*** WhatsApp Pulse Animation ***/
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-link {
    animation: whatsapp-pulse 2s infinite;
}

/*** Responsive Design ***/
@media (max-width: 768px) {
    .whatsapp-float-right {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        padding: 10px 15px;
    }
    
    .whatsapp-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        margin-left: 8px;
    }
    
    .whatsapp-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-float-right {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-text {
        display: none; /* إخفاء النص في الشاشات الصغيرة */
    }
    
    .whatsapp-link {
        padding: 15px;
        border-radius: 50%;
    }
    
    .whatsapp-icon {
        margin-left: 0;
    }
}

/*** WhatsApp Hover Effects ***/
.whatsapp-link:hover .whatsapp-icon {
    transform: scale(1.1);
    background: #25D366;
    color: white;
}
/*** Animated Phone Button ***/
#animatedPhoneBtn {
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    border: none;
    width: 50px;
    height: 50px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(37, 150, 190, 0.3);
    position: relative;
    overflow: visible;
}

#animatedPhoneBtn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 30px rgba(37, 150, 190, 0.5);
    background: linear-gradient(135deg, #2596be 0%, #d4af37 100%);
}

#animatedPhoneBtn:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/*** Phone Icon Animation ***/
.phone-icon {
    color: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

#animatedPhoneBtn:hover .phone-icon {
    transform: scale(1.2);
    animation: phoneShake 0.5s ease-in-out;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg) scale(1.2); }
    25% { transform: rotate(-10deg) scale(1.2); }
    50% { transform: rotate(10deg) scale(1.2); }
    75% { transform: rotate(-5deg) scale(1.2); }
}

/*** Comment Icon Animation ***/
.comment-icon {
    transition: all 0.3s ease;
    font-size: 1rem;
}

#animatedPhoneBtn:hover .comment-icon {
    transform: scale(1.3);
    color: #d4af37 !important;
    animation: commentBounce 0.6s ease-in-out;
}

@keyframes commentBounce {
    0%, 100% { transform: translateY(0) scale(1.3); }
    50% { transform: translateY(-3px) scale(1.3); }
}

/*** Pulse Ring Animation ***/
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/*** Continuous Hover Animation ***/
#animatedPhoneBtn {
    animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/*** Click Ripple Effect ***/
#animatedPhoneBtn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

#animatedPhoneBtn:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
    transition: 0s;
}

/*** Glow Effect on Hover ***/
#animatedPhoneBtn:hover {
    filter: brightness(1.1);
}

/*** Responsive Design ***/
@media (max-width: 768px) {
    #animatedPhoneBtn {
        width: 60px;
        height: 60px;
    }
    
    .phone-icon {
        font-size: 1.5rem;
    }
    
    .comment-icon {
        font-size: 0.8rem;
    }
    
    .pulse-ring {
        width: 70px;
        height: 70px;
    }
}


/*** Video Container with Custom Height ***/
/*** Video Container with Custom Height ***/
.video-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #000;
    cursor: pointer;
}

.video-container.custom-height {
    height: 500px;
}

.manual-play-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.manual-play-video:hover {
    transform: scale(1.02);
}

/*** Video Overlay - Active by Default ***/
.video-overlay.active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-overlay:not(.active) {
    opacity: 0;
    pointer-events: none;
}

/*** Play Controls ***/
.play-controls {
    text-align: center;
    pointer-events: auto;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37 0%, #2596be 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto 15px auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 150, 190, 0.4);
}

.play-btn.playing i::before {
    content: "\f04c"; /* أيقونة الإيقاف */
}

/*** Play Indicator ***/
.play-indicator {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.play-indicator i {
    font-size: 1.2rem;
    color: #d4af37;
}

/*** Video Controls Customization ***/
.manual-play-video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .manual-play-video::-webkit-media-controls {
    opacity: 1;
}

/*** Responsive Design ***/
@media (max-width: 768px) {
    .video-container.custom-height {
        height: 350px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .play-indicator {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
    .video-container.custom-height {
        height: 250px;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .play-indicator span {
        display: none; /* إخفاء النص في الشاشات الصغيرة */
    }
}