body {
    font-family: 'Tajawal', 'Cairo', 'poppins', sans-serif;
    direction: rtl;
}

* {
    direction: rtl;
}

.rtl-text {
    text-align: right;
}

.ltr-text {
    direction: ltr;
    text-align: left;
}

.set-resp {
    padding-top: 80px;
}

.navbar-nav .nav-link {
    font-size: 20px;
}

.active {
    color: #2875A9;
    border-color: #2875A9 !important;
}

@media (max-width: 480px) {
    #reviews-div {
        display: none;
    }

    .heading-padding {
        padding-top: 0px !important;
    }

    .lead-form {
        margin-top: 0px !important;
    }

    .mbl-img {
        height: 300px;
    }
    
}

/* Fixed header styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* background-color: #0B2A55; */
    background-color: #080f38;
    backdrop-filter: blur(5px);
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* RTL adjustments */
.navbar-nav {
    direction: rtl;
}

.text-left {
    text-align: right !important;
}

.md\:text-left {
    text-align: right !important;
}

.md\:ml-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.md\:ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.ml-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

.ml-6 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

.space-x-6>*+* {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

.space-x-5>*+* {
    margin-left: 0 !important;
    margin-right: 1.25rem !important;
}

.right-3 {
    right: auto !important;
    left: 0.75rem !important;
}

.list-disc {
    padding-right: 1.5rem;
    padding-left: 0;
}

.list-disc li::marker {
    direction: rtl;
}

/* Additional RTL fixes */
.absolute.right-\[10\%\] {
    right: auto !important;
    left: 10% !important;
}

.absolute.top-7 {
    right: 0 !important;
    left: auto !important;
}

.md\:top-1\/3 {
    right: 0 !important;
    left: auto !important;
}

.px-10 {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
}

/* CTA Section improvements */
section.relative img {
    display: block;
}

/* Better text contrast for CTA sections */
.absolute h2,
.absolute p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for CTA sections */
@media (max-width: 768px) {
    .absolute.right-\[5\%\] {
        right: 5% !important;
        left: auto !important;
    }

    .absolute.right-\[10\%\] {
        right: 10% !important;
        left: auto !important;
    }
    .logo-set
    {
        margin-top: 20px;
    }
}

/* Improve Arabic typography */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li {
    font-family: 'Tajawal', 'Cairo', 'Poppins', sans-serif;
}

/* Better spacing for Arabic text */
.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-5>*+* {
    margin-top: 1.25rem;
}

/* Fix flex direction for RTL */
.flex {
    direction: rtl;
}

/* Grid adjustments for RTL */
.grid {
    direction: rtl;
}

/* Text alignment improvements */
.text-center {
    text-align: center !important;
}

/* Improve button and link styling for Arabic */
a,
button {
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

/* Better line height for Arabic text */
body {
    line-height: 1.8;
}

h1,
h2,
h3 {
    line-height: 1.5;
}

/* Ensure phone numbers and emails display correctly in RTL */
[dir="ltr"] {
    direction: ltr;
    text-align: left;
    display: inline-block;
}

.footer-mobile a,
.footer-email a {
    unicode-bidi: embed;
    direction: ltr !important;
}

/* Footer alignment - Logo and headings on same line */
.footer .grid {
    align-items: flex-start;
}

.footer .footer-logo {
    display: flex;
    flex-direction: column;
    min-height: 44px;
}

.footer .footer-logo a {
    display: inline-block;
    line-height: 1;
}

.footer .footerdata {
    display: flex;
    flex-direction: column;
}

.footer .footerdata h6.footer-heading {
    margin-bottom: 1.25rem;
    margin-top: 0;
    padding-top: 0;
    line-height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Ensure logo and headings align at the top */
.footer .footer-logo,
.footer .footerdata {
    padding-top: 0;
}

/* Footer link spacing */
.footer ul.menu li,
.footer ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer ul.menu li:last-child,
.footer ul li:last-child {
    margin-bottom: 0;
}

.footer ul.menu li a,
.footer ul li a {
    display: inline-block;
    transition: all 0.2s ease;
}

.footer ul.menu li a:hover,
.footer ul li a:hover {
    opacity: 0.8;
    transform: translateX(-3px);
}

/* Social media icons spacing */
.footer ul.flex {
    gap: 1rem;
}

.footer ul.flex li {
    margin: 0;
}

.footer ul.flex li a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer ul.flex li a:hover {
    transform: scale(1.1);
}

.footer ul.flex li a img {
    display: block;
}

.fixed-header .navbar-nav a {
    color: white !important;
}

.get-started-btn {
    background: rgb(6, 167, 89);
    color: white;
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.get-started-btn:hover {
    background: rgb(6, 167, 89);
    color: white;
}

.heading-padding {
    padding-top: 5rem;
}

/* Responsive footer alignment */
@media (max-width: 768px) {
    .footer .footer-logo {
        margin-top: 0;
    }
    
    .footer .footerdata h6 {
        margin-top: 0;
    }
    .mbl-img {
        height: 300px !important;
    }
}
