/* ========== RESPONSIVE BREAKPOINTS ========== */

/* ========== RTL GLOBAL OVERRIDES ========== */
body.rtl {
    direction: rtl;
    unicode-bidi: embed;
}

/* Footer Alignments */
body.rtl .footer-brand,
body.rtl .footer-col,
body.rtl .footer-brand-desc,
body.rtl .fcl-text,
body.rtl .ftb-left {
    text-align: right !important;
}

body.rtl .footer-col-title::after {
    left: auto !important;
    right: 0 !important;
    background: linear-gradient(-90deg, var(--gold), transparent) !important;
}

/* Reversing Flex Containers */
body.rtl .footer-nav-list li a {
    justify-content: flex-start !important;
    flex-direction: row !important;
    /* Keep icon on the right side of text */
}

body.rtl .footer-nav-list li a .nav-arrow {
    margin-left: 7px;
    margin-right: 0;
    transform: rotate(180deg);
}

body.rtl .footer-nav-list li a:hover {
    transform: translateX(-4px) !important;
}

body.rtl .footer-contact-list li,
body.rtl .ftb-eyebrow,
body.rtl .ftb-right,
body.rtl .footer-bottom-bar,
body.rtl .fbb-left,
body.rtl .fbb-center,
body.rtl .fbb-right {
    flex-direction: row-reverse !important;
}

/* Logo RTL Alignment */
body.rtl .nav-logo {
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

body.rtl .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    /* Right-aligns children in RTL flex-column */
    text-align: right !important;
}

body.rtl .footer-logo-row,
body.rtl .footer-socials {
    display: flex !important;
    justify-content: flex-start !important;
    /* Right-aligns content in RTL flex-row */
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: auto !important;
    /* Ensure it doesn't force 100% and center items if justified differently */
}

body.rtl .footer-brand-desc {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Fix for icons inside flex items that were row-reverse'd */
body.rtl .fcl-icon,
body.rtl .fcb-trophy,
body.rtl .social-btn,
body.rtl .nav-arrow {
    flex-direction: row !important;
}

/* Contact List Refinement */
body.rtl .footer-contact-list li {
    flex-direction: row !important;
    /* Keep icon on the right if container is RTL */
    text-align: right !important;
}

body.rtl .fcl-text {
    margin-right: 12px !important;
    margin-left: 0 !important;
}

/* Side Floaters Relocation */
/* Side Floaters: Keeping Callback & Phone on the left in RTL per user request */
body.rtl .side-callback {
    left: 0 !important;
    right: auto !important;
    transform: translateY(-50%) rotate(-90deg) !important;
    transform-origin: top left !important;
}

body.rtl .side-phone {
    left: 0 !important;
    right: auto !important;
}

body.rtl .whatsapp-float {
    left: auto !important;
    right: 24px !important;
}

/* ── 560px ── */
@media (max-width: 560px) {
    .gcc-container {
        padding: 0 20px;
    }

    .gcc-mobile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gcc-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .sec-gcc {
        padding: 80px 0 70px;
    }
}

/* ── Cases Section RTL ── */
body.rtl .cfc-pain-block {
    border-left: none !important;
    border-right: 3px solid #ff4d4d !important;
    border-radius: 0 12px 12px 0 !important;
    padding-left: 1.25rem !important;
    padding-right: 3.5rem !important;
}

body.rtl .cfc-pain-block::before {
    left: auto !important;
    right: 1.25rem !important;
}