@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');
*,h1,h2,h3,h4,h5,h6,p,a,span,div,input,button,label,select,textarea {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

/* EXCEPT .fa-brands and .fab */
.fa-brands, .fab {
    font-family: "Font Awesome 6 Free" !important;
}
/* EXCEPT Font Awesome icons */
/* Keep Font Awesome icons except .fa-brands and .fab */
.fa, .fas, .far, .fa-solid, .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
}
/* RTL (Right-to-Left) Support for Arabic */
h1{
    font-weight: 900 !important;
 
}
body.rtl {
    direction: rtl;
    text-align: right;
}
#bundle-container{
    direction: ltr !important;
    text-align: left;
}
/* Header RTL adjustments
body.rtl header {
    flex-direction: row-reverse;
} */

body.rtl nav ul {
    flex-direction: row-reverse;
}

body.rtl .nav-links {
    text-align: right;
}

body.rtl .logo {
    margin-right: 0;
    margin-left: auto;
}

/* Hero section RTL */
body.rtl .hero {
    flex-direction: row-reverse;
}

body.rtl .hero-text {
    text-align: right;
}

body.rtl .search-bar {
    direction: rtl;
}

body.rtl .search-bar input {
    text-align: right;
    padding-right: 20px;
    padding-left: 50px;
}

body.rtl .search-bar button {
    right: auto;
    left: 0;
}

/* Popular section RTL */
body.rtl .popular-tabs {
    flex-direction: row-reverse;
}

body.rtl .popular-grid {
    direction: rtl;
}

body.rtl .destination-card {
    text-align: center; /* Keep centered */
}

/* Carousel RTL */
body.rtl .carousel-track {
    direction: rtl;
}

body.rtl .offer-card {
    text-align: right;
}

/* How it works RTL */
body.rtl .how-it-works-grid {
    direction: rtl;
}

body.rtl .how-it-works-card {
    text-align: center; /* Keep centered */
}

/* Devices section RTL */
body.rtl .devices-grid {
    direction: rtl;
}

body.rtl .device-card {
    text-align: center; /* Keep centered */
}

/* Footer RTL */
body.rtl footer {
    direction: rtl;
}

body.rtl .footer-container {
    flex-direction: row-reverse;
}

body.rtl .footer-links {
    flex-direction: row-reverse;
}

body.rtl .footer-column {
    text-align: right;
}

body.rtl .footer-left {
    text-align: right;
}

body.rtl .social-icons {
    justify-content: flex-start;
}

/* Forms RTL */
body.rtl form {
    direction: rtl;
}

body.rtl input,
body.rtl select,
body.rtl textarea {
    text-align: right;
}

body.rtl label {
    text-align: right;
}

/* Dropdowns RTL */
body.rtl .dropdown {
    text-align: right;
}

body.rtl .dropdown-item {
    text-align: right;
}

/* Modal RTL */
body.rtl .modal-content {
    direction: rtl;
    text-align: right;
}

body.rtl .close-button {
    right: auto;
    left: 15px;
}

/* Top bar RTL */
body.rtl .top-bar {
    flex-direction: row-reverse;
}

body.rtl .currency-selector,
body.rtl .language-selector {
    margin-left: 0;
    margin-right: 20px;
}

/* Mobile menu RTL */
@media (max-width: 768px) {
    body.rtl .nav-links {
        text-align: right;
    }
    
    body.rtl .burger-icon {
        left: 20px;
        right: auto;
    }
}
