/* Arabic-specific styles for RTL layout */

/* Arabic Typography */
body[dir="rtl"] {
    font-family: 'Cairo', 'Amiri', 'Inter', sans-serif;
    direction: rtl;
    text-align: right;
}

/* Arabic Logo */
[dir="rtl"] .nav-logo .logo-text {
    font-family: 'Amiri', 'Cinzel', serif;
    font-weight: 700;
}

/* Arabic Headings */
[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] h5, 
[dir="rtl"] h6 {
    font-family: 'Cairo', 'Inter', sans-serif;
    font-weight: 700;
    text-align: right;
    line-height: 1.4;
}

[dir="rtl"] .hero-title {
    font-family: 'Amiri', 'Cairo', serif;
    font-weight: 700;
    text-align: right;
}

[dir="rtl"] .section-title {
    font-family: 'Cairo', 'Inter', sans-serif;
    font-weight: 700;
    text-align: center;
}

/* Arabic Paragraphs */
[dir="rtl"] p {
    text-align: right;
    line-height: 1.8;
    font-family: 'Cairo', 'Inter', sans-serif;
}

/* Navigation RTL - FIXED: Logo on RIGHT, Language on LEFT */
[dir="rtl"] .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[dir="rtl"] .nav-logo {
    order: 3;
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .nav-menu {
    order: 2;
    display: flex;
    gap: 2rem;
    margin: 0 auto;
}

[dir="rtl"] .language-switcher {
    order: 1;
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .nav-link {
    font-family: 'Cairo', 'Inter', sans-serif;
    font-weight: 500;
}

/* Language Switcher RTL */
[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-option {
    flex-direction: row-reverse;
    text-align: right;
}

/* Hero Section RTL - Enhanced Responsive */
[dir="rtl"] .hero-content {
    text-align: center;
    direction: rtl;
}

[dir="rtl"] .hero-text {
    text-align: center;
    direction: rtl;
}

[dir="rtl"] .hero-title {
    font-family: 'Amiri', 'Cairo', serif;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    direction: rtl;
}

[dir="rtl"] .hero-subtitle {
    text-align: center;
    direction: rtl;
    font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .hero-description {
    text-align: center;
    line-height: 1.8;
    direction: rtl;
    font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .hero-buttons {
    justify-content: center;
    direction: ltr; /* Keep buttons in LTR for proper alignment */
}

/* Arabic Hero Responsive Adjustments */
@media (max-width: 1200px) {
    [dir="rtl"] .hero-content {
        max-width: 800px;
        padding: 1.5rem;
    }
    
    [dir="rtl"] .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
}

@media (max-width: 768px) {
    [dir="rtl"] .hero-content {
        padding: 1rem;
        margin-top: 1rem;
        text-align: center;
    }
    
    [dir="rtl"] .hero-text {
        text-align: center;
    }
    
    [dir="rtl"] .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 1rem;
        line-height: 1.2;
        text-align: center;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    [dir="rtl"] .hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        line-height: 1.6;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    [dir="rtl"] .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .hero-content {
        padding: 0.8rem;
    }
    
    [dir="rtl"] .hero-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: clamp(0.95rem, 4.5vw, 1.1rem);
        margin-bottom: 1rem;
    }
    
    [dir="rtl"] .hero-description {
        font-size: clamp(0.85rem, 4vw, 0.95rem);
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    [dir="rtl"] .hero-buttons {
        gap: 0.8rem;
    }
}

/* Arabic Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    [dir="rtl"] .hero-content {
        padding: 0.5rem;
    }
    
    [dir="rtl"] .hero-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: clamp(0.8rem, 3vw, 1rem);
        margin-bottom: 0.8rem;
    }
    
    [dir="rtl"] .hero-description {
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    [dir="rtl"] .hero-buttons {
        gap: 0.5rem;
    }
}

/* About Section RTL */
[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .section-subtitle {
    text-align: center;
}

[dir="rtl"] .about-story {
    text-align: right;
    margin-bottom: 1.5rem;
}

/* Vision Points RTL - FIXED: Icons on the RIGHT side of text */
[dir="rtl"] .vision-points {
    direction: rtl;
}

[dir="rtl"] .vision-point {
    display: flex;
    flex-direction: row;
    text-align: right;
    align-items: flex-start;
    margin-bottom: 2rem;
}

[dir="rtl"] .point-icon {
    font-size: 2rem;
    margin-left: 1rem;
    margin-right: 0;
    flex-shrink: 0;
    order: 1;
}

[dir="rtl"] .point-content {
    text-align: right;
    flex: 1;
    order: 2;
}

/* Services Section RTL - FIXED: Proper alignment and consistent sizing */
[dir="rtl"] .services-grid {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    [dir="rtl"] .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    [dir="rtl"] .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

[dir="rtl"] .service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    min-height: 280px;
    padding: 2rem;
}

[dir="rtl"] .service-icon {
    text-align: center;
    margin: 0 auto 1rem auto;
    display: block;
    font-size: 3rem;
    line-height: 1;
}

[dir="rtl"] .service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #ffd700;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .service-card p {
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Studios Section RTL */
[dir="rtl"] .studio-grid {
    direction: rtl;
}

[dir="rtl"] .studio-card {
    text-align: center;
}

[dir="rtl"] .studio-overlay {
    text-align: center;
}

[dir="rtl"] .studio-overlay h4 {
    text-align: center;
}

[dir="rtl"] .studio-overlay p {
    text-align: center;
}

/* Upcoming Studios RTL - Bold styling like English */
[dir="rtl"] .upcoming-studios {
    text-align: center;
    margin-top: 4rem;
}

[dir="rtl"] .upcoming-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 3rem;
    text-align: center;
}

[dir="rtl"] .upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    direction: rtl;
}

[dir="rtl"] .upcoming-studio {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[dir="rtl"] .upcoming-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

[dir="rtl"] .upcoming-studio h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1rem;
    text-align: center;
}

[dir="rtl"] .upcoming-studio p {
    font-size: 1.1rem;
    color: #E0E0E0;
    margin-bottom: 1.5rem;
    text-align: center;
}

[dir="rtl"] .status-badge {
    background: #FFD700;
    color: #1a1a2e;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
}

/* Pricing Section RTL */
[dir="rtl"] .pricing-grid {
    direction: rtl;
}

[dir="rtl"] .pricing-card {
    text-align: center;
}

[dir="rtl"] .pricing-header {
    text-align: center;
}

[dir="rtl"] .pricing-header h3 {
    text-align: center;
}

[dir="rtl"] .price {
    text-align: center;
}

[dir="rtl"] .price-period {
    text-align: center;
}

[dir="rtl"] .pricing-features {
    text-align: right;
}

[dir="rtl"] .feature {
    text-align: right;
    margin-bottom: 0.5rem;
}

/* Contact Section RTL - Flipped columns */
[dir="rtl"] .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

[dir="rtl"] .contact-info {
    order: 2;
    text-align: right;
}

[dir="rtl"] .contact-form {
    order: 1;
    text-align: right;
}

[dir="rtl"] .contact-info h3 {
    text-align: right;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .contact-details {
    text-align: right;
}

[dir="rtl"] .contact-details p {
    text-align: right;
    margin-bottom: 0.5rem;
}

[dir="rtl"] .form-group {
    margin-bottom: 1.5rem;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Cairo', 'Inter', sans-serif;
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .form-group input::placeholder,
[dir="rtl"] .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

/* Footer RTL */
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-section {
    text-align: right;
}

[dir="rtl"] .footer-section h4 {
    text-align: right;
    margin-bottom: 1rem;
}

[dir="rtl"] .footer-section a {
    text-align: right;
    display: block;
    margin-bottom: 0.5rem;
}

[dir="rtl"] .footer-social {
    text-align: right;
}

[dir="rtl"] .footer-social h4 {
    text-align: right;
    margin-bottom: 1rem;
}

[dir="rtl"] .social-links {
    justify-content: flex-end;
}

[dir="rtl"] .footer-bottom {
    text-align: center;
}

[dir="rtl"] .footer-bottom p {
    text-align: center;
}

/* Genie Animation RTL Positioning - Only for 11-inch laptops and above */
@media (min-width: 1366px) {
    [dir="rtl"] .genie-container {
        right: -35%; /* Far to the right visually in RTL */
        left: auto;
        top: 55%; /* Closer to center */
        transform: translateY(-50%);
        position: absolute;
    }
}

/* Tablet RTL genie - uses default mobile-style positioning */

/* Mobile RTL genie */
@media (max-width: 768px) {
    [dir="rtl"] .genie-container {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* Arabic Mobile Navigation - Fix order to match desktop */
@media (max-width: 768px) {
    [dir="rtl"] .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    
    [dir="rtl"] .nav-logo {
        order: 1;
        flex: 1;
        margin-right: auto;
        margin-left: 0;
    }
    
    [dir="rtl"] .language-switcher {
        order: 2;
        margin-left: 1rem;
        margin-right: 0;
    }
    
    [dir="rtl"] .nav-toggle {
        order: 3;
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 768px) {
    [dir="rtl"] .hero {
        min-height: 120vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 20px;
        margin-top: 60px;
        position: relative;
        z-index: 1;
    }
    
    [dir="rtl"] .hero-content {
        position: relative;
        z-index: 3;
        padding: 1.5rem 1rem 4rem 1rem;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    [dir="rtl"] .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    [dir="rtl"] .hero-title {
        order: 1;
        margin-bottom: 0.8rem;
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
        text-align: center;
        width: 100%;
        margin-top: 0;
        position: relative;
        z-index: 10;
        padding-top: 0.5rem;
    }
    
    [dir="rtl"] .genie-container {
        /* Uses default 208px size from main CSS - ensure proper centering */
        order: 2;
        flex-shrink: 0;
        margin: 0.3rem auto; /* Explicit centering */
        display: block;
        position: static;
        left: auto;
        right: auto;
        transform: none;
    }
    
    [dir="rtl"] .hero-subtitle {
        order: 3;
        margin-top: 0.3rem;
        margin-bottom: 1.2rem;
        font-size: clamp(1rem, 4vw, 1.3rem);
        text-align: center;
        width: 100%;
    }
    
    [dir="rtl"] .hero-description {
        order: 4;
        margin-bottom: 1.5rem;
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        text-align: center;
        line-height: 1.6;
    }
    
    [dir="rtl"] .hero-buttons {
        order: 5;
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        align-items: center;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .hero {
        min-height: 130vh;
        padding-top: 15px;
        margin-top: 60px;
        position: relative;
        z-index: 1;
    }
    
    [dir="rtl"] .genie-container {
        /* Uses default 208px size from main CSS - ensure proper centering */
        order: 2;
        flex-shrink: 0;
        margin: 0.3rem auto; /* Explicit centering */
        display: block;
        position: static;
        left: auto;
        right: auto;
        transform: none;
    }
    
    [dir="rtl"] .hero-content {
        padding: 1.2rem 1rem 2.5rem 1rem;
    }
    
    [dir="rtl"] .hero-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
        margin-bottom: 0.5rem;
        margin-top: 0;
        position: relative;
        z-index: 10;
        padding-top: 0.5rem;
    }
    
    [dir="rtl"] .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-top: 0.2rem;
        margin-bottom: 1rem;
    }
    
    [dir="rtl"] .hero-description {
        margin-bottom: 1.2rem;
        font-size: clamp(0.85rem, 3.2vw, 1rem);
    }
    
    [dir="rtl"] .hero-buttons {
        margin-top: 1.2rem;
        gap: 0.6rem;
        padding-bottom: 1.2rem;
    }
}

@media (max-width: 360px) {
    /* Arabic genie uses same size as English version (140px from main CSS) */
}

/* Mobile Responsive RTL - Enhanced */
@media (max-width: 768px) {
    [dir="rtl"] .navbar {
        padding: 0.8rem 0;
    }
    
    [dir="rtl"] .nav-container {
        position: relative;
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    [dir="rtl"] .nav-logo {
        order: 1;
        margin: 0;
    }
    
    [dir="rtl"] .nav-toggle {
        order: 3;
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    [dir="rtl"] .language-switcher {
        order: 2;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    
    [dir="rtl"] .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        direction: rtl;
    }
    
    [dir="rtl"] .nav-menu.active {
        transform: translateX(0);
    }
    
    [dir="rtl"] .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-family: 'Cairo', 'Inter', sans-serif;
    }
    
    [dir="rtl"] .nav-link:hover {
        background: rgba(255, 215, 0, 0.1);
        transform: translateY(-2px);
    }
    
    [dir="rtl"] .language-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        min-width: 200px;
        text-align: right;
    }
    
    [dir="rtl"] .language-option {
        flex-direction: row-reverse;
        text-align: right;
        justify-content: flex-end;
    }
    
    [dir="rtl"] .vision-point {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    [dir="rtl"] .point-icon {
        order: 1;
        margin: 0 0 1rem 0;
    }
    
    [dir="rtl"] .point-content {
        order: 2;
        text-align: center;
    }
    
    [dir="rtl"] .point-content h4,
    [dir="rtl"] .point-content p {
        text-align: center;
    }
    
    [dir="rtl"] .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    [dir="rtl"] .contact-info {
        order: 1;
        text-align: center;
    }
    
    [dir="rtl"] .contact-form {
        order: 2;
        text-align: center;
    }
    
    [dir="rtl"] .contact-info h3 {
        text-align: center;
    }
    
    [dir="rtl"] .contact-details {
        text-align: center;
    }
    
    [dir="rtl"] .contact-details p {
        text-align: center;
    }
    
    [dir="rtl"] .upcoming-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    [dir="rtl"] .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    [dir="rtl"] .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    [dir="rtl"] .footer-social {
        text-align: center;
    }
    
    [dir="rtl"] .social-links {
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    [dir="rtl"] .section {
        padding: 3rem 0;
    }
    
    [dir="rtl"] .container {
        padding: 0 15px;
    }
    
    [dir="rtl"] .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    [dir="rtl"] .nav-container {
        padding: 0 10px;
    }
    
    [dir="rtl"] .nav-logo .logo-text {
        font-size: 1.4rem;
    }
    
    [dir="rtl"] .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}



/* Franchise Section Specific Styles */
[dir="rtl"] .section-description {
    color: #ffd700;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Franchise Benefits RTL - IMPROVED: Better alignment and spacing */
[dir="rtl"] .franchise-benefits {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    [dir="rtl"] .franchise-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    [dir="rtl"] .franchise-benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

[dir="rtl"] .benefit-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[dir="rtl"] .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

[dir="rtl"] .benefit-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    align-self: center;
    line-height: 1;
}

[dir="rtl"] .benefit-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

[dir="rtl"] .benefit-card p {
    text-align: center;
    line-height: 1.8;
    font-size: 1rem;
    color: #e0e0e0;
    margin: 0;
}

/* Equipment Lists RTL - FIXED: Icons on the RIGHT side */
[dir="rtl"] .equipment-grid {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

[dir="rtl"] .equipment-category {
    text-align: right;
}

[dir="rtl"] .equipment-category h3 {
    text-align: right;
    margin-bottom: 1rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

[dir="rtl"] .equipment-category h3::before {
    content: attr(data-emoji);
    margin-left: 0.5rem;
    margin-right: 0;
    font-size: 1.5rem;
}

[dir="rtl"] .equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

[dir="rtl"] .equipment-list li {
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-right: 2rem;
}

[dir="rtl"] .equipment-list li::before {
    content: "✨";
    position: absolute;
    right: 0;
    top: 0.5rem;
    color: #ffd700;
    font-size: 1rem;
}

/* Revenue Streams RTL */
[dir="rtl"] .revenue-streams {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

[dir="rtl"] .revenue-stream {
    text-align: right;
}

[dir="rtl"] .stream-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: right;
    float: right;
    margin-left: 1rem;
    margin-right: 0;
}

/* Package Cards RTL */
[dir="rtl"] .packages-grid {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

[dir="rtl"] .package-card {
    text-align: right;
}

[dir="rtl"] .package-header h3 {
    text-align: right;
    color: #ffd700;
}

[dir="rtl"] .package-features ul {
    list-style: none;
    padding: 0;
    text-align: right;
}

[dir="rtl"] .package-features li {
    text-align: right;
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
}

[dir="rtl"] .package-features li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #ffd700;
    font-weight: bold;
}


/* Specific emoji placement fixes for Arabic */
[dir="rtl"] .section-description {
    color: #ffd700;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Equipment section title */
[dir="rtl"] .franchise-equipment .section-title {
    text-align: center;
}

/* Revenue section title */
[dir="rtl"] .franchise-revenue .section-title {
    text-align: center;
}

/* Package titles centered */
[dir="rtl"] .package-header h3 {
    text-align: center !important;
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

[dir="rtl"] .package-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}



/* Enhanced Equipment Section Styling for Arabic */
[dir="rtl"] .franchise-equipment {
    padding: clamp(4rem, 8vw, 10rem) 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(16, 16, 35, 0.98) 100%);
}

[dir="rtl"] .franchise-equipment .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

[dir="rtl"] .franchise-equipment .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

[dir="rtl"] .franchise-equipment .section-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

[dir="rtl"] .equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    direction: rtl;
}

@media (min-width: 768px) {
    [dir="rtl"] .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1200px) {
    [dir="rtl"] .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

[dir="rtl"] .equipment-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: right;
}

[dir="rtl"] .equipment-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

[dir="rtl"] .equipment-category h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 2rem;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    line-height: 1.3;
}

[dir="rtl"] .equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

[dir="rtl"] .equipment-list li {
    color: #e0e0e0;
    margin-bottom: 1rem;
    padding-right: 1.5rem;
    position: relative;
    text-align: right;
    line-height: 1.6;
    font-size: 1rem;
}

[dir="rtl"] .equipment-list li::before {
    content: "✨";
    position: absolute;
    right: 0;
    top: 0;
    color: #ffd700;
    font-size: 1rem;
}

[dir="rtl"] .equipment-list li:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness for equipment section */
@media (max-width: 768px) {
    [dir="rtl"] .franchise-equipment .section-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    [dir="rtl"] .equipment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    [dir="rtl"] .equipment-category {
        padding: 2rem 1.5rem;
    }
    
    [dir="rtl"] .equipment-category h3 {
        font-size: 1.2rem;
        justify-content: center;
        text-align: center;
    }
}


/* Application Section Layout for Arabic */
[dir="rtl"] .application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

[dir="rtl"] .application-info {
    order: 2;
    text-align: right;
}

[dir="rtl"] .application-form {
    order: 1;
    text-align: right;
}

[dir="rtl"] .application-info h3 {
    text-align: right;
    margin-bottom: 2rem;
    color: #ffd700;
    font-size: 1.8rem;
    font-weight: 700;
}

[dir="rtl"] .process-steps {
    text-align: right;
}

[dir="rtl"] .step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    text-align: right;
    flex-direction: row;
}

[dir="rtl"] .step-number {
    background: #ffd700;
    color: #1a1a2e;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    margin-left: 0;
    flex-shrink: 0;
}

[dir="rtl"] .step-content {
    text-align: right;
    flex: 1;
}

[dir="rtl"] .step-content h4 {
    text-align: right;
    margin-bottom: 0.5rem;
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
}

[dir="rtl"] .step-content p {
    text-align: right;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

/* Form styling for Arabic */
[dir="rtl"] .franchise-form {
    text-align: right;
}

[dir="rtl"] .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .form-group {
    text-align: right;
}

[dir="rtl"] .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffd700;
    font-weight: 600;
    text-align: right;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Cairo', 'Inter', sans-serif;
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .form-group input::placeholder,
[dir="rtl"] .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

[dir="rtl"] .checkbox-group {
    margin: 2rem 0;
}

[dir="rtl"] .checkbox-label {
    display: flex;
    align-items: flex-start;
    text-align: right;
    flex-direction: row-reverse;
    cursor: pointer;
}

[dir="rtl"] .checkbox-label input[type="checkbox"] {
    margin-left: 1rem;
    margin-right: 0;
    width: auto;
}

[dir="rtl"] .btn-large {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Mobile responsiveness for application section */
@media (max-width: 768px) {
    [dir="rtl"] .application-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    [dir="rtl"] .application-info {
        order: 1;
    }
    
    [dir="rtl"] .application-form {
        order: 2;
    }
    
    [dir="rtl"] .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    [dir="rtl"] .step {
        flex-direction: column;
        text-align: center;
    }
    
    [dir="rtl"] .step-number {
        margin: 0 0 1rem 0;
        align-self: center;
    }
    
    [dir="rtl"] .step-content {
        text-align: center;
    }
    
    [dir="rtl"] .step-content h4,
    [dir="rtl"] .step-content p {
        text-align: center;
    }
}


/* Arabic Touch-Friendly Enhancements */

/* Enhanced Arabic navigation for touch */
@media (max-width: 768px) {
    [dir="rtl"] .nav-link {
        font-size: 1.2rem;
        padding: 1.2rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        font-family: 'Cairo', 'Inter', sans-serif;
    }
    
    [dir="rtl"] .nav-link:hover,
    [dir="rtl"] .nav-link:focus {
        background: rgba(255, 215, 0, 0.1);
        transform: translateY(-2px);
        outline: none;
    }
    
    [dir="rtl"] .nav-link:active {
        transform: translateY(0);
        background: rgba(255, 215, 0, 0.15);
    }
    
    [dir="rtl"] .nav-toggle {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        touch-action: manipulation;
    }
    
    [dir="rtl"] .nav-toggle:hover,
    [dir="rtl"] .nav-toggle:focus {
        background: rgba(255, 215, 0, 0.1);
        border-radius: 8px;
        outline: none;
    }
    
    [dir="rtl"] .language-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.6rem 1rem;
        touch-action: manipulation;
    }
    
    [dir="rtl"] .language-option {
        padding: 1rem 1.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
        flex-direction: row-reverse;
        text-align: right;
        justify-content: flex-end;
    }
}

/* Enhanced Arabic buttons for touch */
[dir="rtl"] .btn {
    min-height: 44px;
    min-width: 120px;
    touch-action: manipulation;
    font-family: 'Cairo', 'Inter', sans-serif;
}

@media (max-width: 768px) {
    [dir="rtl"] .btn {
        min-height: 48px;
        min-width: 140px;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .btn {
        min-height: 50px;
        min-width: 160px;
        padding: 1.1rem 2.2rem;
        font-size: 1.05rem;
    }
}

/* Enhanced Arabic footer for touch */
[dir="rtl"] .footer-links a {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
    text-align: right;
}

[dir="rtl"] .footer-links a:hover,
[dir="rtl"] .footer-links a:focus {
    background: rgba(255, 215, 0, 0.1);
    outline: none;
}

[dir="rtl"] .footer-social a {
    padding: 0.6rem;
    border-radius: 50%;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

/* Enhanced Arabic mobile interactions */
@media (max-width: 768px) {
    [dir="rtl"] .service-card {
        min-height: 300px;
        padding: 2rem 1.5rem;
        touch-action: manipulation;
        text-align: center;
    }
    
    [dir="rtl"] .vision-point {
        padding: 1.5rem;
        touch-action: manipulation;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    [dir="rtl"] .form-group input,
    [dir="rtl"] .form-group textarea {
        min-height: 48px;
        padding: 1rem;
        font-size: 1rem;
        touch-action: manipulation;
        text-align: right;
        direction: rtl;
        font-family: 'Cairo', 'Inter', sans-serif;
    }
    
    [dir="rtl"] .contact-item {
        padding: 0.8rem;
        border-radius: 8px;
        transition: background 0.3s ease;
        touch-action: manipulation;
        text-align: center;
    }
    
    /* Improved Arabic spacing for finger navigation */
    [dir="rtl"] .hero-buttons {
        gap: 1.5rem;
        justify-content: center;
    }
    
    [dir="rtl"] .services-grid {
        gap: 2rem;
    }
    
    [dir="rtl"] .vision-points {
        gap: 2rem;
    }
    
    [dir="rtl"] .studio-grid {
        gap: 2rem;
    }
    
    [dir="rtl"] .pricing-grid {
        gap: 2rem;
    }
    
    [dir="rtl"] .upcoming-grid {
        gap: 2rem;
    }
}

/* Arabic accessibility improvements */
[dir="rtl"] .nav-link:focus,
[dir="rtl"] .btn:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    [dir="rtl"] .btn-primary {
        border: 2px solid #000;
    }
    
    [dir="rtl"] .btn-secondary {
        border-width: 3px;
    }
}

