/* Payment Method Logos - Proper Alignment Fix */
.brand-section .home-brand-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px !important;
}

.brand-section .home-brand-wrapper svg {
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure consistent text positioning in SVGs */
.brand-section .marquee text {
    dominant-baseline: middle !important;
}

/* Fix specific logos for better icon-text separation */
.brand-section .home-brand-wrapper svg[viewBox="0 0 90 90"] {
    height: auto !important;
    max-height: 120px !important;
}


/* Enhanced RTL Styling for FAQ Section - Complete Arabic Support */
#faq.faq-section * {
    direction: rtl !important;
    text-align: right !important;
}

/* FAQ Header and Title */
#faq .faq-header {
    text-align: right !important;
    direction: rtl !important;
}

#faq .faq-header h2,
#faq .faq-header.faq {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    width: 100% !important;
}

#faq .body-16px.faq {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    width: 100% !important;
}

/* FAQ Questions - Full RTL Support */
#faq .faq-question-text,
#faq .faq-answer-heading {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    padding-right: 20px !important;
    padding-left: 0 !important;
}

/* FAQ Answers - Full RTL Support */
#faq .faq-answer {
    text-align: right !important;
    direction: rtl !important;
}

#faq .faq-answer .text-16px,
#faq .max-width-large-3 .text-16px {
    text-align: right !important;
    direction: rtl !important;
    display: block !important;
    line-height: 1.8 !important;
    padding: 0 20px !important;
}

/* FAQ Icon Positioning for RTL */
#faq .faq-icon-wrap {
    margin-left: auto !important;
    margin-right: 0 !important;
    order: 2 !important;
}

#faq .faq-answer-heading {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 15px !important;
}

/* FAQ Accordion Icons */
#faq .faq-icon-wrapper {
    margin-right: auto !important;
    margin-left: 0 !important;
    order: 1 !important;
}

/* FAQ Card Layout */
#faq .faq-card {
    direction: rtl !important;
    text-align: right !important;
}

#faq .faq-accordion {
    direction: rtl !important;
}

#faq .faq-question {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    direction: rtl !important;
}

/* Sidebar Categories RTL */
#faq .faq-list-grid {
    direction: rtl !important;
}

/* Proper spacing for readability */
#faq .faq-question-text {
    flex: 1 !important;
    text-align: right !important;
    /* margin-right: 15px !important; */
    margin-left: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
li,
button,
input,
textarea {
    font-family: "Noto Sans Arabic", sans-serif !important;
}

/* Force Override for Arabic Hero Background Title - Loaded Last to Override External CSS */
html[dir="rtl"] .hero-big-heading .big-heading,
html[dir="rtl"] .big-heading,
html[dir="rtl"] .first-heading .big-heading,
html[dir="rtl"] .second-heading .big-heading {
    font-size: 100px !important;
}

@media (max-width: 991px) {

    html[dir="rtl"] .hero-big-heading .big-heading,
    html[dir="rtl"] .big-heading,
    html[dir="rtl"] .first-heading .big-heading,
    html[dir="rtl"] .second-heading .big-heading {
        font-size: 75px !important;
    }
}

@media (max-width: 767px) {

    html[dir="rtl"] .hero-big-heading .big-heading,
    html[dir="rtl"] .big-heading,
    html[dir="rtl"] .first-heading .big-heading,
    html[dir="rtl"] .second-heading .big-heading {
        font-size: 50px !important;
    }
}

@media (max-width: 479px) {

    html[dir="rtl"] .hero-big-heading .big-heading,
    html[dir="rtl"] .big-heading,
    html[dir="rtl"] .first-heading .big-heading,
    html[dir="rtl"] .second-heading .big-heading {
        font-size: 35px !important;
    }
}



/* Hero Main Title */
.hero-big-heading .big-heading.ar {
    font-size: 35px !important;
    height: 38px !important;
}

@media (min-width: 480px) {
    .hero-big-heading .big-heading.ar {
        font-size: 50px !important;
        height: 55px !important;
    }
}

@media (min-width: 768px) {
    .hero-big-heading .big-heading.ar {
        font-size: 70px !important;
        height: 75px !important;
    }
}

@media (min-width: 992px) {
    .hero-big-heading .big-heading.ar {
        font-size: 90px !important;
        height: 100px !important;
    }
}
@media (min-width: 1200px) {
    .hero-big-heading .big-heading.ar {
        font-size: 120px !important;
        height: 130px !important;
    }
}
footer.second-footer p,
.testimonial-wrapper {
    direction: ltr !important;
}
html[dir="rtl"] .footer-header {
    flex-direction: row !important;
}
html[dir="rtl"] .sticky-content .body-16px {
    text-align: right !important;
}
.how-it-work-card-holder p,
.w-tab-link,
.body-16px.tab,
.tab-link-assistant-01.w--current,
.body-16px.assistant {
    text-align: right !important;
}
html[dir="rtl"] .testimonial-card p.testimonial{
    text-align: right !important;
}
html[dir="rtl"] .testimonial-card p.testimonial,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .contact-wrapper a{
    direction: rtl !important;
}
html[dir="rtl"] #qr-popup-modal h2,
html[dir="rtl"] #qr-popup-modal p,
#referral-popup p,
html[dir="rtl"] .casting-bars-wrapper p,
html[dir="rtl"] #product-image-popup h3,
html[dir="rtl"] .casting-bar-card h3,
html[dir="rtl"] .casting-bar-card p,
footer.second-footer p,
html[dir="rtl"] .contact-wrapper h3,
html[dir="rtl"] .contact-wrapper p,
html[dir="rtl"] .cta-center p,
html[dir="rtl"] .testimonial-header h2,
html[dir="rtl"] .testimonial-header p,
html[dir="rtl"] .minting-bars-features h4,
html[dir="rtl"] .minting-bars-features h3,
html[dir="rtl"] .minting-bars-features p,
html[dir="rtl"] .minting-bar-card p,
html[dir="rtl"] .minting-bar-card h3,
html[dir="rtl"] .casting-bars-cta h3,
html[dir="rtl"] .casting-bars-cta p,
html[dir="rtl"] .casting-bars-features p,
html[dir="rtl"] .casting-bars-features h3,
html[dir="rtl"] .casting-bars-features h4,
html[dir="rtl"] .benefits-wrapper h3,
html[dir="rtl"] .benefits-wrapper p,
html[dir="rtl"] .benefits-header p,
html[dir="rtl"] .benefits-header h2{
    text-align: center !important;
}

html[dir="rtl"] .footer-wrapper{
    flex-direction: column !important;
}
.footer-logo-img,
footer footer-logo{
    max-width: 180px !important;
    align-self: flex-end !important;
}
.second-footer a{
    margin-right: 0px !important;
    margin-left: 16px !important;
}
@media (max-width: 768px) {
    html[dir="rtl"] .footer-header {
        flex-direction: column  !important;
    }
}

@media screen and (min-width: 0px) and (max-width: 1200px) {
    .footer-header {
        flex-direction: column !important;
        gap: 16px;
    }
}


.payment-marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 65px 0;
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  direction: ltr !important;
}
.payment-marquee-section .payment-cont{
  width: 100%;
  max-width: 1290px;
  padding: 0px 16px;
  overflow-x: hidden;
  position: relative;
}
.payment-marquee-section .payment-heading{
  text-align: center !important;
  font-size: 24px;
  padding: 0px 16px 32px;
  color: #BDBDBD;
}
.payment-marquee-section .payment-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee-pay 25s linear infinite;
}

.payment-marquee-section .payment-group {
  display: flex;
  gap: 60px;
  margin-right: 60px;
}

.payment-marquee-section .payment-group img {
  height: 150px;
  width: auto;
  object-fit: contain;
}


@keyframes scroll-marquee-pay {
  0% {
    transform: translateX(-33.333%);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 600px) {
  .payment-marquee-section .payment-group img {
    height: 80px;
  }
  .payment-marquee-section .payment-track {
    animation-duration: 15s;
  }
}
.payment-marquee-section.ar .payment-track {
  animation: scroll-marquee-pay-ar 25s linear infinite !important;
}
   
@keyframes scroll-marquee-pay-ar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}


.contact-card {
    direction: ltr !important;
}

html[dir="rtl"] nav .nav-menu.w-list-unstyled{
    direction: ltr !important;
}



.body.ar .qr-popup-modal{
    direction: rtl !important;
}
.body.ar .pop-custom-qr{
    padding: 60px 40px 24px 160px;
}
.body.ar .pop-custom-qr .title,
.body.ar .pop-custom-qr .desc {
    text-align: right !important;
}

@media (max-width: 950px){
    .body.ar .pop-custom-qr{
        padding: 60px 16px !important;
    }
    .body.ar .pop-custom-qr .title,
    .body.ar .pop-custom-qr .desc {
        text-align: center !important;
    }
}


#faq .faq_new.ar .faq-question {
    flex-flow: column nowrap !important;
    padding-left: 20px !important;
    padding-right: 76px !important;
}
#faq .faq_new.ar .faq-question-text {
    padding-right: 0px !important
}

.faq_new.ar .faq-question.new .faq-icon-wrap{
    position: absolute;
    top: 28px;
    right: 16px;
    left: unset;
}

@media (max-width: 950px) {
#faq .faq_new.ar .faq-question {
    padding-right: 38px !important;
  }
.faq_new.ar .faq-question.new .faq-icon-wrap{
    top: 22px;
    right: 0px;
    left: unset ;
  }
  .faq_new .faq-question-text {
    font-size: 20px !important;
    text-align: left !important;
  }
}