/********** Template CSS **********/
:root {
    --primary: #e6243d;
    --secondary: #3c3c3b;
    --light: #ffffff;
    --dark: #3c3c3b;

}

html,
body {
    overflow-x: hidden;
    text-align: right;
    margin: 0;
    padding: 0;
}
.toast-top-right {
    margin-top: 70px; 
}
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--dark) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

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

.back-to-top {
    position: fixed !important;
    display: none;
    left: 45px;
    bottom: 45px;
    z-index: 150;
}

.contact-btn {
    position: fixed !important;
    left: 45px; /* Adjust this to position the button from the left side */
    bottom: 20%;
    transform: translateX(0%) !important;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary) !important;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease !important;
    border-color: var(--primary) !important;
    -webkit-transition: transform 0.3s ease !important;
    -moz-transition: transform 0.3s ease !important;
    -ms-transition: transform 0.3s ease !important;
    -o-transition: transform 0.3s ease !important;
    -webkit-transform: translateX(0%) !important;
    -moz-transform: translateX(0%) !important;
    -ms-transform: translateX(0%) !important;
    -o-transform: translateX(0%) !important;
}

/* For smaller screens */
@media (max-width: 768px) {
    .contact-btn {
        left: 8%; /* Adjust the left position for smaller screens */
        bottom: 18%; /* Adjust the position for smaller screens */
        transform: translateX(0%) !important;
    }
}

.contact-btn:hover {
    background-color: var(--dark);
    color: var(--light);
    transform: translateX(50%) scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: var(--dark) !important;
}

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

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

/*** Button ***/
.btn {
    font-weight: 600;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    justify-content: center;
    font-weight: normal;
}
/** Navbar Styles **/
.navbar .navbar-brand img {
    min-width: 100px; 
    min-height: 50px;  
    width: auto;      
    height: auto;     
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent wrapping of text in links */
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

html[dir="rtl"] .navbar-light .navbar-nav .nav-link {
    margin-left: 30px;
    text-align: right;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #eeeeee;
    }
}

/* Navbar Brand */
.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

html[dir="rtl"] .navbar-light .navbar-brand,
html[dir="rtl"] .navbar-light a.btn {
    margin-left: auto;
    margin-right: 0;
}

/* Sticky Navbar */
.navbar-light.sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    transition: top 0.5s;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
}

.navbar-light.sticky-top.visible {
    top: 0;
}

.navbar .dropdown-item img {
    width: 20px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

html[dir="rtl"] .navbar .dropdown-item img {
    margin-left: 10px;
    margin-right: 0;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #ffffff;
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

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

/* Fix RTL layout for navbar */
html[dir="rtl"] .navbar-nav .nav-link {
    margin-left: 30px;
    text-align: right;
}

/* Adjust WhatsApp section */
.navbar h4 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: ltr;
    padding-left: 50px;
    white-space: nowrap; /* Prevent wrapping */
}

html[dir="rtl"] .navbar h4 {
    justify-content: flex-end;
    direction: rtl;
}

/* Fix WhatsApp icon and phone number on the same line */
.navbar h4 i {
    margin: 0 10px;
}

/* Remove unnecessary padding for the active links */
.navbar .navbar-nav .nav-link {
    padding: 10px 0;
}

/* Adjust the dropdown items flex direction for RTL */
html[lang="ar"] .dropdown-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[lang="ar"] .dropdown-item img {
    margin: 0 0 0 10px;
}

/* Common dropdown styles for both language and services dropdowns */
.navbar-nav .nav-item.dropdown .dropdown-menu {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Adding shadow similar to language dropdown */
    border: 0; /* Remove default border */
    border-radius: 0.375rem; /* Rounded corners */
    padding: 0;
}

.nav-item.dropdown .dropdown-item {
    font-size: large;
    font-weight: 800;
    padding: 10px 15px;
    font-size: 1rem; /* Font size similar to language dropdown */
    color: #333; /* Text color */
    transition: background-color 0.2s ease; /* Smooth transition for hover effect */
}

.nav-item.dropdown .dropdown-item:hover {
    background-color: var(--primary); /* Background on hover */
}

.nav-item.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
}

.nav-item.dropdown .dropdown-item img {
    width: 20px;
    margin-right: 10px;
}

.navbar-nav .nav-item .nav-link.active {
    font-weight: bold; /* Make active item bold */
}

/* Adjust language dropdown for RTL */
html[dir="rtl"] .navbar-light .navbar-nav .nav-link {
    margin-left: 30px;
    text-align: right;
}
/*** Header & Carousel Styles ***/
.header-carousel .owl-carousel-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.header-carousel .owl-carousel-item .carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 30px;
}

.header-carousel .owl-carousel-item h1 {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 20px;
}

/* Button Styles */
.btn {
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    position: relative;
    z-index: 3;
}

.btn-header {
    margin-top: 20px;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .header-carousel .owl-carousel-item h1 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .header-carousel .owl-carousel-item h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        margin-top: 85px;
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: flex-start; 
    }

    .header-carousel .owl-carousel-item img {
        height: 100%; /* جعل الصورة تأخذ الارتفاع الكامل */
        object-fit: cover; /* الحفاظ على نسبة العرض إلى الارتفاع */
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 24px;
        margin-bottom: 0; /* إزالة المسافة السفلية للعنوان */
    }

    .header-carousel .owl-carousel-item .carousel-content {
        padding: 0; /* إزالة أي حواف داخلية */
        margin-top: auto; /* نقل المحتوى إلى الأسفل */
    }
    .carousel-overlay .btn-header {
        display: none;
    }
    .carousel-button-container {
        display: block; /* إظهار الزر الموجود أسفل الصورة */
    }

}

@media (max-width: 576px) {
   

    .header-carousel .owl-carousel-item h1 {
        font-size: 20px;
    }

    .btn-header {
        padding: 0.4rem 1.2rem;
        font-size: 14px;
    }
}

/* Navigation Styles */
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

/* Image Container and Image Styles */
.carousel-image-container {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 3, 21, .1);
    display: flex;
    align-items: center;
    justify-content: center;
        text-align: left; /* اتجاه النص */
    direction: ltr; 
}
.carousel-overlay .btn-header {
    position: absolute;
    bottom: 15px; /* المسافة من الأسفل */
    left: 50%; /* توسيط الزر أفقيًا */
    transform: translateX(-50%); /* تعديل المحاذاة */
    z-index: 10;
    text-align: center !important;
    direction: ltr !important;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/*** Header & Carousel Styles ***/
.header-carousel .owl-carousel-item {
    position: relative;
}

/* Add overlay to first header style */
.header-carousel .owl-carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.header-carousel .owl-carousel-item .carousel-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    padding: 0 30px;
}


/* Animation Classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInDown {
    animation-name: slideInDown;
}

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInRight {
    animation-name: slideInRight;
}

/* LTR Support */
html[dir="ltr"] .header-carousel {
    direction: ltr;
}

html[dir="ltr"] .header-carousel .owl-carousel-item {
    text-align: left;
}

html[dir="ltr"] .header-carousel .owl-nav {
    left: 8%;
    right: unset;
}

html[dir="ltr"] .header-carousel .owl-carousel-item h1 {
    direction: ltr;
    font-family: inherit;
}

html[dir="ltr"] .header-carousel .owl-nav .owl-prev {
    order: 1;
}

html[dir="ltr"] .header-carousel .owl-nav .owl-next {
    order: 2;
}
/* Page Headers */
.page-header-about,
.page-header-review,
.page-header-service,
.page-header-quote,
.page-header-contact,
.page-header-join {
    background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)),
        url(../img/header/head_ar_1.jpg) center center no-repeat;
    background-size: contain;
    position: relative;
    width: 100%;
    margin-top: 45px;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

/* تغيير الصور لكل صفحة */
.page-header-review {
    background-image: url(../img/header/head_ar_2.jpg);
}

.page-header-service {
    background-image: url(../img/header/head_ar_3.jpg);
}

.page-header-quote {
    background-image: url(../img/header/head_ar_2.jpg);
}

.page-header-contact {
    background-image: url(../img/header/head_ar_3.jpg);
}

.page-header-join {
    background-image: url(../img/header/head_ar_1.jpg);
}
@media (max-width: 768px) {
    /* Common styles */
    .page-header-about,
    .page-header-review,
    .page-header-service,
    .page-header-quote,
    .page-header-contact,
    .page-header-join {
        position: relative;
        height: auto;
        width: 100vw;          
        margin-top: 80px;
        overflow: hidden;   
    }

    /* Individual backgrounds */
    .page-header-about {
        background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)) center center/cover,
                    url(../img/header/head_ar_1.jpg) center center/cover;
    }
    .page-header-review {
        background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)) center center/cover,
                    url(../img/header/head_ar_2.jpg) center center/cover;
    }
    .page-header-service {
        background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)) center center/cover,
                    url(../img/header/head_ar_3.jpg) center center/cover;
    }
    .page-header-quote {
        background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)) center center/cover,
                    url(../img/header/head_ar_2.jpg) center center/cover;
    }
    .page-header-contact {
        background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)) center center/cover,
                    url(../img/header/head_ar_3.jpg) center center/cover;
    }
    .page-header-join {
        background: linear-gradient(rgba(6, 3, 21, 0.1), rgba(6, 3, 21, 0.1)) center center/cover,
                    url(../img/header/head_ar_1.jpg) center center/cover;
    }
}
/* تعديلات للاتجاه RTL */
html[dir="rtl"] .page-header-about,
html[dir="rtl"] .page-header-review,
html[dir="rtl"] .page-header-service,
html[dir="rtl"] .page-header-quote,
html[dir="rtl"] .page-header-contact,
html[dir="rtl"] .page-header-join {
    background-position: right center;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .about-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
    padding-left: unset;
    text-align: right;
}
@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .about-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    padding-right: unset;
    text-align: right;
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}

html[dir="rtl"] .about-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    padding-right: unset;
    text-align: right;
}
.about-text {
    padding-right: 2rem;
    padding-left: 2rem;
    text-align: left;
}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }
    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .feature-text {
    padding-left: unset;
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .feature-text {
    padding-left: unset;
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .feature-text {
    padding-left: unset;
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
}

/*** Service, Price & Team ***/

.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.service-item img,
.team-item img {
    transition: 0.5s;
}
.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}
.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}
.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 35px 0 0 35px;
    transition: 0.5s;
    z-index: 2;
    align-self: flex-end;
    margin-top: auto;
}
.team-item div.btn-slide span a i {
    padding: 0 10px;
    z-index: 2;
}
.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}
.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 15px;
    left: 100%;
    z-index: 1;
}
html[lang="ar"] .service-item:hover a.btn-slide span,
html[lang="ar"] .price-item:hover a.btn-slide span,
html[lang="ar"] .team-item:hover div.btn-slide span {
    left: 0;
    right: auto;
}
.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;

}
.service-item a.btn-slide i,
.price-item a.btn-slide i,
.team-item div.btn-slide i {
    left: 0;
}
.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}
.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}
/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: 0.5s;
}
.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    animation: pulse 1s ease-out 0.5s;
}
.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: 0.5s;
}

html[dir="rtl"] .testimonial-carousel .owl-dot {
    margin: 0 5px 0 0;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }
}

html[dir="rtl"] .contact-page .contact-form {
    padding-left: unset;
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}

/* RTL adjustments for Contact Form */
html[dir="rtl"] .contact-page .contact-form {
    padding-left: unset;
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .contact-page .contact-form {
    padding-left: unset;
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, 0.5), rgba(6, 3, 21, 0.5)),
        url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #ffffff;
    border-radius: 35px;
    transition: 0.3s;
}

/* RTL Adjustments */
html[dir="rtl"] .footer .btn.btn-social {
    margin-right: unset;
    margin-left: 5px;
    /* Reverse margin for RTL */
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-right: 5px;
    margin-bottom: 5px;
    
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .d-flex a {
    margin-left: 10px; /* إضافة المسافة بين الأيقونات والروابط */
    margin-bottom: 10px; /* إضافة مسافة بين الروابط */
}

.footer .d-flex i {
    margin-right: 0; /* إزالة المسافة بين الأيقونة والنص */
}

.footer .d-flex a:last-child {
    margin-bottom: 0; /* إزالة المسافة في الرابط الأخير */
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

/* RTL Adjustments */
html[dir="rtl"] .footer .btn.btn-link {
    text-align: right;
    /* Align text for RTL */
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.inote_rights {
    letter-spacing: 3px;
    text-decoration: none;
}

/*** Partner Slider ***/
section {
    display: grid;
    place-items: center;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: scrolling 30s linear infinite;
    -webkit-animation: scrolling 30s linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.slider-items img {
    width: 12%;
    margin: 20px;
}

/*** Join Us ***/
.join-heading {
    padding-top: 10% !important;
}

@media (min-width: 992px) {
    .container.join-us-page {
        max-width: 100% !important;
    }

    .join-us-page .join-us-form {
        padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }
}

html[dir="rtl"] .join-us-page .join-us-form {
    padding-left: unset;
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
}

@media (min-width: 1200px) {
    .join-us-page .join-us-form {
        padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .join-us-page .join-us-form {
    padding-left: unset;
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
}

@media (min-width: 1400px) {
    .join-us-page .join-us-form {
        padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}
html[dir="rtl"] .join-us-page .join-us-form {
    padding-left: unset;
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
}

/* General Styles for Join Us Form */
.join-us-page {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Title Styles */
.join-us-page h6 {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.join-us-page h1 {
    font-size: 2.5rem;
    color: var(--primary);
}

.join-us-form {
    padding: 2rem;
}

.join-us-form .form-floating {
    margin-bottom: 1.5rem;
}

.join-us-form .form-control,
.join-us-form .form-select {
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
    height: max-content;
}

html[dir="rtl"] .join-us-form .form-floating {
    direction: rtl;
}

.join-us-form .form-control:focus,
.join-us-form .form-select:focus {
    border-color: #0d3b2d;
    box-shadow: 0 0 5px rgba(13, 59, 45, 0.5);
}

.join-us-form p {
    margin-right: 0;
}

.form-select {
    height: 70px;
    font-size: 16px;
}
