/* RTL Stylesheet for Photollax Arabic Version */

body, html {
    font-family: 'Cairo', 'Montserrat', sans-serif;
    direction: rtl;
    text-align: right;
}

h1, h2, h3, h4, h5, h6,
.main-title h1,
.main-title h2,
.slide .description h2 {
    font-family: 'Cairo', 'Montserrat', sans-serif;
}

/* ===================================================
   Slide 3D Description Positioning & Clarity in RTL 
   =================================================== */
.slide .description {
    left: auto !important;
    right: 70px !important;
    direction: rtl !important;
    text-align: right !important;
    width: 580px !important;
    max-width: 580px !important;
    display: block !important;
}

.slide .description:after {
    left: auto !important;
    right: -70px !important;
    width: 750px !important;
    height: 550px !important;
    background: radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25) 80%, transparent 100%) !important;
    position: absolute !important;
    bottom: -100px !important;
    z-index: -1 !important;
    content: "" !important;
    pointer-events: none !important;
}

.slide .description h2 {
    font-family: 'Cairo', 'Montserrat', sans-serif !important;
    text-align: right !important;
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.slide .description dl {
    direction: rtl !important;
    text-align: right !important;
    margin-bottom: 8px !important;
    width: 100% !important;
}

.slide .description dl .info-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin-bottom: 5px !important;
    flex-wrap: wrap !important;
}

.slide .description dl .info-row dt {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #ffffff !important;
    margin: 0 !important;
    float: none !important;
    white-space: normal !important;
    flex-shrink: 0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.slide .description dl .info-row dd {
    font-size: 13px !important;
    color: #f2f2f2 !important;
    opacity: 0.95 !important;
    margin: 0 !important;
    float: none !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.slide .description dl .info-row dd a {
    color: #f2f2f2 !important;
    text-decoration: underline;
}

.slide .description .additional-info {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.slide .description .additional-info dl .info-row dt {
    color: #e2e2e2 !important;
    font-weight: 700 !important;
}

.slide .description .additional-info dl .info-row dd {
    color: #ffffff !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .slide .description {
        right: 15px !important;
        left: 15px !important;
        bottom: 80px !important;
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        text-align: right !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .slide .description:after {
        right: -15px !important;
        left: -15px !important;
        width: 100vw !important;
        min-width: 100vw !important;
        height: 520px !important;
        bottom: -80px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.35) 80%, transparent 100%) !important;
        z-index: -1 !important;
        content: "" !important;
        pointer-events: none !important;
    }

    .slide .description h2 {
        font-size: 19px !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .slide .description dl .info-row {
        gap: 6px !important;
        margin-bottom: 4px !important;
    }

    .slide .description dl .info-row dt,
    .slide .description dl .info-row dd {
        font-size: 12px !important;
    }
}

/* ===================================================
   Fix Slider Navigation & Pagination Carousel in RTL
   (Strictly LTR to ensure round, cleanly spaced circles matching English)
   =================================================== */
.slider-navigation {
    direction: ltr !important;
    text-align: left !important;
    position: absolute !important;
    bottom: 60px !important;
    left: 70px !important;
    right: auto !important;
    width: calc(100% - 140px) !important;
    height: 0 !important;
    z-index: 99 !important;
}

.slider-pager {
    direction: ltr !important;
    text-align: left !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    width: calc(100% - 200px) !important;
    position: relative !important;
}

.slider-pager .owl-carousel,
.slider-pager .owl-stage-outer,
.slider-pager .owl-stage,
.slider-pager .owl-item,
.slider-pager .item {
    direction: ltr !important;
    text-align: left !important;
}

.slider-pager .owl-item {
    float: left !important;
    margin-right: 2px !important;
    margin-left: 0 !important;
    display: inline-block !important;
}

.slider-pager li a,
.slider-pager .item a {
    direction: ltr !important;
    margin: 0 !important;
    display: block !important;
    -moz-border-radius: 100% !important;
    -webkit-border-radius: 100% !important;
    border-radius: 100% !important;
    width: 30px !important;
    height: 30px !important;
    text-align: center !important;
    line-height: 27px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.slider-pager li a.active,
.slider-pager .item a.active {
    border: 2px solid #ffffff !important;
}

.slider-controls {
    direction: ltr !important;
    display: inline-block !important;
    vertical-align: middle !important;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -webkit-transform: none !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .slider-navigation {
        left: 30px !important;
        right: auto !important;
        bottom: 70px !important;
        width: calc(100% - 60px) !important;
    }

    .slider-pager {
        width: calc(100% - 100px) !important;
    }

    .slider-controls {
        right: 0 !important;
        left: auto !important;
        transform: translateY(0%) !important;
    }
}

/* ===================================================
   Header Navigation in RTL
   (Strictly LTR to ensure the nav toggle button aligns with the template sliding drawer)
   =================================================== */
.navigation {
    direction: ltr !important;
    text-align: left !important;
}

.header-lang-switch {
    margin-left: 20px;
    margin-right: 0;
}

@media (max-width: 767px) {
    .header-lang-switch {
        margin-left: 10px;
        margin-right: 0;
    }
}

/* ===================================================
   Off-Screen Navigation in RTL
   =================================================== */
.off-screen-navigation {
    direction: rtl;
    text-align: right;
}

.off-screen-navigation ul,
.off-screen-navigation ul.nav {
    padding: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    margin-top: 70px !important;
    list-style: none !important;
}

.off-screen-navigation ul.nav li a {
    text-align: right !important;
    padding: 10px 30px !important;
    display: block !important;
}

.off-screen-navigation ul.nav li a:hover,
.off-screen-navigation ul.nav li a.active {
    padding-right: 35px !important;
    padding-left: 30px !important;
}

.off-screen-navigation ul.nav li.nav-lang-links {
    padding: 10px 30px !important;
    text-align: right !important;
}

.off-screen-navigation ul.nav li.nav-lang-links a {
    margin-right: 0 !important;
    margin-left: 6px !important;
    display: inline-block !important;
}

@media (max-width: 767px) {
    .off-screen-navigation {
        direction: ltr !important;
        text-align: center !important;
        width: 60px !important;
    }

    .off-screen-navigation ul,
    .off-screen-navigation ul.nav {
        padding: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin: 0 !important;
        margin-top: 70px !important;
        width: 100% !important;
        text-align: center !important;
        list-style: none !important;
    }

    .off-screen-navigation ul.nav li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .off-screen-navigation ul.nav li a {
        display: block !important;
        width: 100% !important;
        padding: 14px 0 !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .off-screen-navigation ul.nav li a i {
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #000000 !important;
        opacity: 0.8 !important;
    }

    .off-screen-navigation ul.nav li a span {
        display: none !important;
    }

    .off-screen-navigation ul.nav li.nav-lang-links {
        display: none !important;
    }
}

/* ===================================================
   Off-Screen Content in RTL
   =================================================== */
.off-screen-content {
    direction: rtl !important;
    text-align: right !important;
}

.off-screen-content section .section-wrapper {
    text-align: right !important;
    direction: rtl !important;
}

.off-screen-content section .section-wrapper h2 {
    font-family: 'Cairo', 'Montserrat', sans-serif !important;
    text-align: right !important;
    direction: rtl !important;
}

.off-screen-content section .section-wrapper h2:after {
    right: 0 !important;
    left: auto !important;
}

.off-screen-content section .section-wrapper h3 {
    font-family: 'Cairo', 'Montserrat', sans-serif !important;
    text-align: right !important;
    direction: rtl !important;
}

.off-screen-content section .section-wrapper p {
    text-align: right !important;
    direction: rtl !important;
}

.off-screen-content #about-me img {
    display: inline-block;
    margin: 0;
}

/* Services */
.off-screen-content .service {
    direction: rtl !important;
    text-align: right !important;
}

.off-screen-content .service .image {
    left: auto !important;
    right: 0 !important;
}

.off-screen-content .service .description {
    margin-left: 0 !important;
    margin-right: 110px !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Pricing in RTL */
.off-screen-content .price-package {
    direction: rtl !important;
    text-align: right !important;
    position: relative !important;
}

.off-screen-content .price-package .price {
    right: 35px !important;
    left: auto !important;
    top: 25px !important;
    direction: ltr !important;
    text-align: center !important;
}

.off-screen-content .price-package .price:before {
    border-radius: 100% !important;
    width: 60px !important;
    height: 60px !important;
    content: "" !important;
    background-color: white !important;
    position: absolute !important;
    top: 0 !important;
    right: -20px !important;
    left: auto !important;
    z-index: -1 !important;
    display: block !important;
}

.off-screen-content .price-package .description {
    margin-right: 130px !important;
    margin-left: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}

.off-screen-content .price-package .description h3 {
    text-align: right !important;
    font-family: 'Cairo', 'Montserrat', sans-serif !important;
}

.off-screen-content .price-package .description p {
    text-align: right !important;
}

.off-screen-content .price-package .description ul {
    padding-left: 0 !important;
    padding-right: 14px !important;
    text-align: right !important;
}

.off-screen-content .price-package .description ul li {
    padding-left: 0 !important;
    padding-right: 10px !important;
    text-align: right !important;
}

.off-screen-content .price-package .description ul li:before {
    left: auto !important;
    right: 0 !important;
}

@media (max-width: 767px) {
    .off-screen-content .price-package .price {
        position: static !important;
        display: inline-block !important;
        margin-bottom: 12px !important;
    }

    .off-screen-content .price-package .price:before {
        display: none !important;
    }

    .off-screen-content .price-package .description {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: right !important;
    }

    .off-screen-content section .section-wrapper {
        padding-right: 24px !important;
        padding-left: 24px !important;
        text-align: right !important;
    }

    .off-screen-content section .section-wrapper h2 {
        text-align: right !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    .off-screen-content .service .image {
        position: relative !important;
        width: 100% !important;
        height: 150px !important;
        right: auto !important;
        left: auto !important;
    }

    .off-screen-content .service .description {
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: right !important;
        padding: 16px 18px !important;
    }
}

/* Contact Section & Form in RTL */
.off-screen-content #contact address {
    direction: rtl !important;
    text-align: right !important;
}

.off-screen-content #contact .social {
    direction: rtl !important;
    text-align: right !important;
}

.off-screen-content #contact .social figure {
    text-align: right !important;
    margin: 0 0 10px 0 !important;
}

.off-screen-content #contact .social .icon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: right !important;
    direction: rtl !important;
}

.off-screen-content #contact .social .icon:hover {
    transform: translateX(-4px) !important;
}

.off-screen-content .btn-whatsapp {
    direction: rtl !important;
    flex-direction: row !important;
}

.off-screen-content #form-contact input,
.off-screen-content #form-contact textarea {
    direction: rtl !important;
    text-align: right !important;
}

#form-contact button[type="submit"] {
    float: left !important;
}

@media (max-width: 767px) {
    .off-screen-content #contact .row > div[class*="col-"]:first-child {
        margin-bottom: 25px !important;
    }

    #form-contact button[type="submit"] {
        float: none !important;
        width: 100% !important;
        display: block !important;
    }
}



