/* ----------------------------------------------------------------
	Canvas: Workspace
	Version: 1.0
-----------------------------------------------------------------*/

:root {
    --themecolor: #267DF4;
    --themecolorrgba: 38, 125, 244;
}

@font-face {
    font-family: 'raleway-regular';
    src: url('fonts/raleway-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'raleway-black';
    src: url('fonts/raleway-black.ttf') format('truetype');
}

body {
    font-family: 'raleway-regular' !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #444;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 30px 0;
    font-family: 'raleway-regular' !important;
}

.ls--2 {
    letter-spacing: -2px
}

.bg-theme-light,
.section {
    background-color: rgba(38, 125, 244, 0.05);
    background-color: rgba(var(--themecolorrgba), 0.05);
}

#primary-menu > ul > li > a {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 0;
}

#top-account {
    right: 10px;
}

    #top-account a {
        background-color: #267DF4;
        background-color: var(--themecolor);
        color: #FFF;
        padding: 10px 14px;
        border-radius: 3px;
    }

        #top-account a i {
            position: relative;
            top: 2px;
        }

        #top-account a span {
            font-weight: 400;
            margin-left: 4px;
        }

.hero-features {
    transform: translateY(-50%);
    padding: 40px 30px;
    max-width: 80%;
    margin-left: auto;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-left: 4px solid rgba(0, 0, 0, .2);
}

    .hero-features i {
        font-size: 24px;
        line-height: 1.4;
    }

    .hero-features h5 {
        font-size: 15px;
        line-height: 1.6;
    }

.after-dots:not(:first-child):after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    font-size: 20px;
    background-color: #000;
    margin-top: -5px;
    margin-left: -5px;
}

.before-heading {
    display: inline-block;
    font-size: 12px;
    font-style: normal;
    background-color: rgba(38, 125, 244, 0.1);
    background-color: rgba(var(--themecolorrgba), .1);
    color: #267DF4;
    color: var(--themecolor);
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: 600;
}

.border-light {
    border-color: #EEE !important;
}

.card {
    border-radius: 8px;
}

.card-img-top {
    border-top-left-radius: calc(8px - 1px);
    border-top-right-radius: calc(8px - 1px);
}

#price-carousel .owl-stage {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.price-list .card-body {
    padding: 20px 30px !important;
}

.price-list .price-title {
    font-size: 48px;
    font-weight: 600;
    color: #267DF4;
    color: var(--themecolor);
}

    .price-list .price-title small {
        position: relative;
        font-size: 16px;
        color: #AAA;
        top: -4px;
        margin-left: 6px;
    }

.price-list .list-group-item:first-child,
.price-list .list-group-item:last-child {
    border-bottom: 0;
}

.card-img-overlay * {
    position: relative;
}

.card-img-overlay:before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4,4,4,.45);
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.owl-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 5px;
    border-radius: 4px;
    transition: all .3s ease-out;
    opacity: .3;
}

    .owl-carousel .owl-dots .owl-dot.active {
        width: 45px;
    }

#price-carousel .owl-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s .1s ease-out;
}

    #price-carousel .owl-item.active {
        opacity: 1;
        transform: translateY(0);
    }

#image-carousel {
    overflow: visible;
}

    #image-carousel .carousel-column {
        display: flex;
        flex-direction: column;
        flex: 1 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #image-carousel .column-1 {
        padding-right: 12px;
    }

    #image-carousel .column-2 {
        padding-left: 12px;
    }

    #image-carousel .carousel-column-container {
        display: flex;
        flex-direction: row;
    }

    #image-carousel .carousel-grid-item {
        display: flex;
        flex: 1;
        margin: 0;
        padding: 0;
    }

        #image-carousel .carousel-grid-item .item {
            flex: 1;
            position: relative;
            width: 100%;
            min-height: 150px;
            margin-bottom: 24px;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            border-radius: 5px;
            transition: all .2s ease-out;
        }

        .button:hover,
        #top-account:hover a,
        #image-carousel .carousel-grid-item:hover a.item {
            box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
            transform: translateY(-3px);
            opacity: .95;
        }

        #image-carousel .carousel-grid-item .item blockquote {
            z-index: 1;
        }

.img-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: rgba(38, 125, 244, 0.8);
    background-color: rgba(var(--themecolorrgba), 0.8);
}

.testimonials .container:before,
.testimonials .container:after {
    content: "\e7ad";
    font-family: 'font-icons';
    position: absolute;
    top: -38px;
    left: 20px;
    font-size: 80px;
    color: rgba(38, 125, 244, 0.2);
    color: rgba(var(--themecolorrgba), 0.2);
}

.testimonials .container:after {
    content: "\e7ae";
    top: auto;
    left: auto;
    right: 20px;
    bottom: -45px;
}

.testimonials .testi-content p {
    font-style: normal;
    color: #000;
}

.mfp-iframe-holder .mfp-close,
.testi-stars i {
    background-color: #267DF4;
    background-color: var(--themecolor);
    font-size: 14px;
    color: #FFF;
    padding: 1px 5px;
    border-radius: 2px;
}

.feature-box.fbox-plain.fbox-small {
    padding-left: 50px;
    margin-bottom: 40px;
}

.feature-box .fbox-icon {
    top: 3px;
}

.feature-box.fbox-plain.fbox-small h3 {
    text-transform: none;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0;
}

#top-account a,
.masonry-thumbs a img,
.button {
    transition: all .2s ease-out;
}

.feature-box.fbox-plain.fbox-small p {
    margin-left: 0;
}

.button.button-border {
    border-color: #267DF4;
    border-color: var(--themecolor);
    color: #267DF4;
    color: var(--themecolor);
}

.play-video i {
    position: absolute;
    padding-left: 5px;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    line-height: 81px;
    border-radius: 50%;
    z-index: 1;
    background-color: #267DF4;
    background-color: var(--themecolor);
    text-align: center;
    font-size: 24px;
    color: #FFF;
    margin-top: -40px;
    margin-left: -40px;
    transition: transform .3s ease-out;
    -webkit-backface-visibility: hidden;
}

.play-video:hover i {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.mfp-container {
    position: fixed;
}

.mfp-iframe-holder .mfp-close {
    width: 40px;
    text-align: center;
    font-size: 24px;
    top: -20px;
    right: -20px;
}

.mfp-iframe-holder {
    padding: 20px;
}

    .mfp-iframe-holder .mfp-content {
        max-width: 100%;
        height: 100%;
    }

#locations-carousel .owl-stage-outer {
    padding-bottom: 40px
}

#locations-carousel .owl-item.active .card {
    opacity: 1;
    transform: translateY(0px);
}

#locations-carousel.owl-carousel .owl-nav [class*=owl-] {
    opacity: 1;
    background-color: #FFF;
    color: #267DF4;
    color: var(--themecolor);
}

#locations-carousel.owl-carousel .owl-dots {
    position: relative;
    background: #FFF;
    width: 150px;
    padding: 10px;
    margin: 0 auto;
    bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

    #locations-carousel.owl-carousel .owl-dots .owl-dot {
        margin: 0 4px;
    }

.masonry-thumbs iframe {
    padding: 0 1px 1px 0;
}

.masonry-thumbs a img:hover {
    opacity: .9;
}

.ipost .author-image,
.ipost .author-image img {
    width: 50px;
    height: 50px;
}

.ipost .author-meta {
    margin-top: 24px;
}

.ipost .entry-meta li {
    display: block;
    float: none;
    font-size: 14px;
    font-style: normal;
    margin-bottom: 8px;
}

    .ipost .entry-meta li:first-child a {
        color: #222;
    }

    .ipost .entry-meta li:before {
        display: none;
    }

.ipost .entry-title h3 {
    font-size: 17px;
    line-height: 1.6;
}

.entry-content p {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #666;
}

#footer .list-unstyled li a {
    opacity: .7;
    color: #FFF;
    font-weight: 300;
}

ul.list-numbers li {
    list-style: decimal inside;
    margin-bottom: 20px;
}

#locations-carousel .card {
    position: relative;
    right: auto;
    margin: 0 auto;
    bottom: 0;
    margin-top: -30px;
    padding: 20px;
}

.footer-img {
    margin-top: -90px;
}

/* Responsive Device less than 768px (.device-sm <)
-----------------------------------------------------------------*/
@media (max-width: 767.98px) {
    #top-account {
        margin: 29px 0;
    }

        #top-account a {
            display: block;
        }

            #top-account a span {
                display: none;
            }

    .footer-img {
        margin-top: 0;
    }
}

/* Responsive Device more than 992px (.device-md >)
-----------------------------------------------------------------*/
@media (min-width: 992px) {

    #top-account {
        right: 0;
    }

    #locations-carousel .card {
        opacity: 0;
        position: absolute;
        right: 40px;
        bottom: -30px;
        padding: 20px 30px;
        width: 100%;
        max-width: 320px;
        border: 0;
        border-radius: 4px;
        transform: translateY(20px);
        transition: all .4s .1s ease-out;
    }

    .heading-block h2 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    #locations-carousel.owl-carousel .owl-dots {
        position: absolute;
        top: auto;
        left: 50%;
        bottom: 45px;
        margin-left: -75px;
    }
}

.banner1-img-1 {
    position: relative;
    z-index: 1;
}

.banner1-img-2 {
    position: absolute;
    top: 97px;
    left: 160px;
}

.banner1-img-3 {
    position: absolute;
    right: 100px;
    top: 243px;
    width: 100px;
    z-index: 2;
}

@media (max-width: 1200px) {
    .banner1-img-3 {
        right: 40px;
    }
}

@media (min-width: 992px) {
    .banner1-images {
        padding-bottom: 10rem !important;
        padding-top: 5rem !important;
    }
}

@media only screen and (max-width: 600px) {
    .banner1-mobile-view {
        position: relative;
        top: -100px;
    }

    .bg-mobile-height {
        height: 286px !important;
    }
}

.bg-mobile-height {
    height: 140px;
}

@media only screen and (max-width: 990px) {

    .bg-mobile-height {
        height: 191px;
    }
}

.feature-sub-title {
    font-size: 20px;
    padding-left: 16px;
    color: #000;
}

.feature-sub-img {
    position: relative;
    top: 4px;
}

.feature-title {
    font-size: 36px;
    color: #000;
    font-weight: 500;
}

.bg-default {
    background-color: #F88044 !important;
}

.table-body {
    border: 1px solid #3c80e3;
    border-radius: 20px;
}

@media only screen and (max-width: 375px) {

    .feature-title {
        font-size: 32px;
        font-weight: 600;
    }
}

.owl-carousel .owl-dots .owl-dot {
    background-color: #F88044 !important;
}

.demo-heading {
    font-size: 32px;
    color: #fff;
    font-weight: 500;
}

.btn-demo {
    color: #F88044 !important;
    background-color: #ffffff;
    border-color: #ffffff;
    padding: 11px 40px;
    border-radius: 10px;
}

.btn.btn-demo:active,
.btn.btn-demo:hover,
.btn.btn-demo:focus {
    background-color: #eaecff !important;
    box-shadow: 0 0 0 0.2rem rgb(255 138 0 / 25%);
}

.btn-demo span {
    text-transform: uppercase;
    font-weight: 600;
}

.footer-link {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
}

.footer-phone {
    font-size: 18px;
    margin-top: 4px;
    font-weight: 500;
    margin-bottom: 0;
    margin-left: 16px;
    color: #fff;
    line-height: 1.3;
}

.footer-email {
    font-size: 13px !important;
    font-weight: 400;
    margin-bottom: 0;
    margin-left: 20px;
    letter-spacing: 0.4px;
    color: #fff;
}

.footer-copyright {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.3px;
    padding: 2px;
}

.form-head-bg {
    background-image: linear-gradient(to right, rgba(242, 142, 38, 1), #fd644f);
}

    .form-head-bg span {
        top: 4px;
        position: relative;
        font-size: 25px;
        line-height: 0.5;
        color: #fff;
        padding-left: 2px;
    }

.form-label {
    font-size: 9px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    letter-spacing: 0.2px !important;
    margin-left: 6px;
}

.custom-control-label::before {
    left: -29px !important;
    top: -4px !important;
    padding: 9px !important;
}

.custom-control-label::after {
    top: -3px !important;
    left: -28px !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff !important;
    background-image: linear-gradient(to right, rgba(242, 142, 38, 1), #fd644f) !important;
    border: none !important;
}

.btn.btn-form-submit {
    color: #fff !important;
    background-image: linear-gradient(to left, rgba(242, 142, 38, 1), #fd644f) !important;
    border: none !important;
    padding: 0px 34px;
}

.btn-form-submit span {
    font-size: 12px;
}

.btn.btn-form-submit:active,
.btn.btn-form-submit:hover,
.btn.btn-form-submit:focus {
    background-image: linear-gradient(to right, rgba(242, 142, 38, 1), #fd644f) !important;
    box-shadow: 0 0 0 0.2rem rgb(255 138 0 / 25%);
}

.shadow-md {
    box-shadow: 3px 4px 7px -2px rgba(0, 0, 0, 0.175) !important;
}

.contact-paragraph {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: rgba(0, 0, 0, 0.89) !important;
    opacity: 0.89 !important;
}

.contact-heading {
    font-size: 32px !important;
    color: #000;
}

.bg-lightblue {
    background-color: #f4f8fe !important;
}

.letter-green {
    position: absolute;
    right: 100px;
    top: -73px;
}

.attherate {
    position: absolute;
    top: -64px;
    left: 12px;
}

.pencil-lg {
    position: absolute;
    left: -74px;
    top: 77px;
}

.letter-lg {
    position: absolute;
    bottom: -85px;
    right: 0;
}

@media only screen and (max-width: 1024px) {
    .letter-green {
        right: 77px !important;
        top: -55px !important;
    }

    .letter-lg {
        bottom: -49px !important;
        width: 108px;
    }
}

.owl-item.active.center .oc-item {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}



.table-comparison tr td:nth-child(2) {
    border-left: 2px solid #dee2e6 !important;
    border-right: 2px solid #dee2e6 !important;
}

.table-comparison tr td:nth-child(4) {
    border-left: 2px solid #dee2e6 !important;
    border-right: 2px solid #dee2e6 !important;
}

.table-price thead th {
    border: none;
}

.table-price td {
    vertical-align: middle !important;
    font-size: 18px;
    font-weight: 600 !important;
    border-top: 2px solid #dee2e6 !important;
    padding: 16px 0 !important;
}

.text-default {
    color: #F88044 !important;
}

.btn.btn-default {
    color: #fff !important;
    background-color: #F88044 !important;
    padding: 10px 35px !important;
    border-radius: 8px !important;
}

.btn-default span {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600 !important;
    margin-left: 4px !important;
}

#primary-menu ul li:hover > a, #primary-menu ul li.current > a {
    color: #F88044 !important;
}

#header-wrap > .container {
    border-bottom: none !important;
}

.btn.btn-signup {
    color: #fff !important;
    background-color: #F88044 !important;
    border-radius: 8px !important;
}

#gotoTop:hover {
    background-color: #3c80e3;
}

::selection {
    background: #3c80e3;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #3c80e3; /* Firefox */
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #3c80e3; /* Safari */
    color: #FFF;
    text-shadow: none;
}
/* Gallery section: keep Arabic text direction but center the carousel layout independently */
#section-gallery.gallery-section {
    direction: rtl;
    text-align: center;
}

#section-gallery.gallery-section .gallery-title-wrap,
#section-gallery.gallery-section .container {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#section-gallery.gallery-section .gallery-carousel {
    margin-left: auto;
    margin-right: auto;
    direction: ltr;
    text-align: center;
    max-width: 100%;
}

#section-gallery.gallery-section .gallery-carousel .owl-stage {
    display: flex;
    align-items: center;
    justify-content: center;
}

#section-gallery.gallery-section .gallery-carousel .owl-item {
    display: flex;
    justify-content: center;
}

#section-gallery.gallery-section .gallery-carousel .owl-item img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

html[dir="rtl"] #section-gallery.gallery-section .gallery-carousel {
    direction: ltr;
}

html[dir="rtl"] #section-gallery.gallery-section .gallery-carousel .owl-item {
    float: left;
}

/* ============================================================
   RTL/LTR SUPPORT - All Sections (Except Navbar)
   ============================================================ */

/* --- 1. Global Direction (except navbar) --- */
html[dir="rtl"] #content,
html[dir="rtl"] .container,
html[dir="rtl"] .section,
html[dir="rtl"] .row,
html[dir="rtl"] .col-lg-*,
html[dir="rtl"] .col-md-*,
html[dir="rtl"] .col-sm-*,
html[dir="rtl"] .col-* {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] #content,
html[dir="ltr"] .container,
html[dir="ltr"] .section,
html[dir="ltr"] .row,
html[dir="ltr"] .col-lg-*,
html[dir="ltr"] .col-md-*,
html[dir="ltr"] .col-sm-*,
html[dir="ltr"] .col-* {
    direction: ltr;
    text-align: left;
}

/* --- 2. Row Flex Direction Reverse (for RTL) --- */
html[dir="rtl"] .row {
    flex-direction: row-reverse;
}

html[dir="ltr"] .row {
    flex-direction: row;
}

/* --- 3. Float Utilities Swap --- */
html[dir="rtl"] .float-left {
    float: right !important;
}
html[dir="rtl"] .float-right {
    float: left !important;
}

html[dir="ltr"] .float-left {
    float: left !important;
}
html[dir="ltr"] .float-right {
    float: right !important;
}

/* --- 4. Margin & Padding Utilities Swap --- */
/* Margin */
html[dir="rtl"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}
html[dir="rtl"] .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}
html[dir="rtl"] .ml-1 { margin-left: 0 !important; margin-right: 0.25rem !important; }
html[dir="rtl"] .ml-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
html[dir="rtl"] .ml-3 { margin-left: 0 !important; margin-right: 1rem !important; }
html[dir="rtl"] .ml-4 { margin-left: 0 !important; margin-right: 1.5rem !important; }
html[dir="rtl"] .ml-5 { margin-left: 0 !important; margin-right: 3rem !important; }

html[dir="rtl"] .mr-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
html[dir="rtl"] .mr-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
html[dir="rtl"] .mr-3 { margin-right: 0 !important; margin-left: 1rem !important; }
html[dir="rtl"] .mr-4 { margin-right: 0 !important; margin-left: 1.5rem !important; }
html[dir="rtl"] .mr-5 { margin-right: 0 !important; margin-left: 3rem !important; }

/* Padding */
html[dir="rtl"] .pl-1 { padding-left: 0 !important; padding-right: 0.25rem !important; }
html[dir="rtl"] .pl-2 { padding-left: 0 !important; padding-right: 0.5rem !important; }
html[dir="rtl"] .pl-3 { padding-left: 0 !important; padding-right: 1rem !important; }
html[dir="rtl"] .pl-4 { padding-left: 0 !important; padding-right: 1.5rem !important; }
html[dir="rtl"] .pl-5 { padding-left: 0 !important; padding-right: 3rem !important; }

html[dir="rtl"] .pr-1 { padding-right: 0 !important; padding-left: 0.25rem !important; }
html[dir="rtl"] .pr-2 { padding-right: 0 !important; padding-left: 0.5rem !important; }
html[dir="rtl"] .pr-3 { padding-right: 0 !important; padding-left: 1rem !important; }
html[dir="rtl"] .pr-4 { padding-right: 0 !important; padding-left: 1.5rem !important; }
html[dir="rtl"] .pr-5 { padding-right: 0 !important; padding-left: 3rem !important; }

/* --- 5. Text Alignment Swap --- */
html[dir="rtl"] .text-left {
    text-align: right !important;
}
html[dir="rtl"] .text-right {
    text-align: left !important;
}

html[dir="ltr"] .text-left {
    text-align: left !important;
}
html[dir="ltr"] .text-right {
    text-align: right !important;
}

/* --- 6. Flex Order Swap --- */
html[dir="rtl"] .order-first {
    order: 13 !important;
}
html[dir="rtl"] .order-last {
    order: -1 !important;
}
html[dir="rtl"] .order-1 { order: 12 !important; }
html[dir="rtl"] .order-2 { order: 11 !important; }
html[dir="rtl"] .order-3 { order: 10 !important; }
html[dir="rtl"] .order-4 { order: 9 !important; }
html[dir="rtl"] .order-5 { order: 8 !important; }
html[dir="rtl"] .order-6 { order: 7 !important; }
html[dir="rtl"] .order-7 { order: 6 !important; }
html[dir="rtl"] .order-8 { order: 5 !important; }
html[dir="rtl"] .order-9 { order: 4 !important; }
html[dir="rtl"] .order-10 { order: 3 !important; }
html[dir="rtl"] .order-11 { order: 2 !important; }
html[dir="rtl"] .order-12 { order: 1 !important; }

/* --- 7. Banner Section RTL/LTR --- */
/* Banner 1 - Image positioning */
html[dir="rtl"] .banner1-img-2 {
    right: 255px !important;
    left: auto !important;
}
html[dir="ltr"] .banner1-img-2 {
    left: 255px !important;
    right: auto !important;
}

html[dir="rtl"] .banner1-img-3 {
    right: 420px !important;
    left: auto !important;
}
html[dir="ltr"] .banner1-img-3 {
    left: 420px !important;
    right: auto !important;
}

/* Banner text alignment */
html[dir="rtl"] .banner1-mobile-view h2 {
    text-align: right;
}
html[dir="ltr"] .banner1-mobile-view h2 {
    text-align: left;
}

/* --- 8. Hero Features Section --- */
html[dir="rtl"] .hero-features {
    margin-right: auto !important;
    margin-left: 0 !important;
    border-left: none !important;
    border-right: 4px solid rgba(0, 0, 0, .2) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}
html[dir="ltr"] .hero-features {
    margin-left: auto !important;
    margin-right: 0 !important;
    border-left: 4px solid rgba(0, 0, 0, .2) !important;
    border-right: none !important;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Feature boxes - icon position */
html[dir="rtl"] .feature-box.fbox-plain.fbox-small {
    padding-right: 50px !important;
    padding-left: 0 !important;
}
html[dir="ltr"] .feature-box.fbox-plain.fbox-small {
    padding-left: 50px !important;
    padding-right: 0 !important;
}

html[dir="rtl"] .feature-box .fbox-icon {
    right: 0 !important;
    left: auto !important;
}
html[dir="ltr"] .feature-box .fbox-icon {
    left: 0 !important;
    right: auto !important;
}

/* --- 9. Features Section (#about) --- */
/* Feature list items - icon and text positioning */
html[dir="rtl"] .feature-sub-title {
    padding-right: 16px !important;
    padding-left: 0 !important;
}
html[dir="ltr"] .feature-sub-title {
    padding-left: 16px !important;
    padding-right: 0 !important;
}

html[dir="rtl"] .feature-sub-img {
    margin-left: 10px !important;
    margin-right: 0 !important;
}
html[dir="ltr"] .feature-sub-img {
    margin-right: 10px !important;
    margin-left: 0 !important;
}

/* Features columns swap */
html[dir="rtl"] #about .col-lg-6.float-left {
    float: right !important;
}
html[dir="ltr"] #about .col-lg-6.float-left {
    float: left !important;
}

html[dir="rtl"] #about .pl-lg-2 {
    padding-right: 0.5rem !important;
    padding-left: 0 !important;
}
html[dir="ltr"] #about .pl-lg-2 {
    padding-left: 0.5rem !important;
    padding-right: 0 !important;
}

html[dir="rtl"] #about .pr-lg-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* --- 10. Pricing Table --- */
html[dir="rtl"] .table-price thead th,
html[dir="rtl"] .table-price tbody td,
html[dir="rtl"] .table-comparison th,
html[dir="rtl"] .table-comparison td {
    text-align: right !important;
}
html[dir="ltr"] .table-price thead th,
html[dir="ltr"] .table-price tbody td,
html[dir="ltr"] .table-comparison th,
html[dir="ltr"] .table-comparison td {
    text-align: left !important;
}

/* Pricing table - column borders swap */
html[dir="rtl"] .table-comparison tr td:nth-child(2) {
    border-right: 2px solid #dee2e6 !important;
    border-left: 2px solid #dee2e6 !important;
}
html[dir="rtl"] .table-comparison tr td:nth-child(4) {
    border-right: 2px solid #dee2e6 !important;
    border-left: 2px solid #dee2e6 !important;
}

/* --- 11. Contact Form Section --- */
/* Form labels and inputs alignment */
html[dir="rtl"] .card-body {
    text-align: right;
}
html[dir="ltr"] .card-body {
    text-align: left;
}

html[dir="rtl"] .custom-control-label {
    padding-right: 30px !important;
    padding-left: 0 !important;
}
html[dir="rtl"] .custom-control-label::before,
html[dir="rtl"] .custom-control-label::after {
    right: -29px !important;
    left: auto !important;
}
html[dir="ltr"] .custom-control-label::before,
html[dir="ltr"] .custom-control-label::after {
    left: -29px !important;
    right: auto !important;
}

/* Contact images positioning */
html[dir="rtl"] .letter-green {
    left: 100px !important;
    right: auto !important;
}
html[dir="ltr"] .letter-green {
    right: 100px !important;
    left: auto !important;
}

html[dir="rtl"] .attherate {
    right: 12px !important;
    left: auto !important;
}
html[dir="ltr"] .attherate {
    left: 12px !important;
    right: auto !important;
}

html[dir="rtl"] .pencil-lg {
    right: -74px !important;
    left: auto !important;
}
html[dir="ltr"] .pencil-lg {
    left: -74px !important;
    right: auto !important;
}

html[dir="rtl"] .letter-lg {
    left: 0 !important;
    right: auto !important;
}
html[dir="ltr"] .letter-lg {
    right: 0 !important;
    left: auto !important;
}

/* Form header dots */
html[dir="rtl"] .form-head-bg {
    padding-right: 10px !important;
    padding-left: 0 !important;
    text-align: right;
}
html[dir="ltr"] .form-head-bg {
    padding-left: 10px !important;
    padding-right: 0 !important;
    text-align: left;
}

/* --- 12. Gallery Section --- */
html[dir="rtl"] #section-gallery .container {
    text-align: right;
}
html[dir="ltr"] #section-gallery .container {
    text-align: left;
}

/* --- 13. Owl Carousel RTL --- */
html[dir="rtl"] .owl-carousel {
    direction: rtl;
}
html[dir="ltr"] .owl-carousel {
    direction: ltr;
}

/* --- 14. Modal/Iframe Lightbox --- */
html[dir="rtl"] .mfp-iframe-holder .mfp-close {
    left: -20px !important;
    right: auto !important;
}
html[dir="ltr"] .mfp-iframe-holder .mfp-close {
    right: -20px !important;
    left: auto !important;
}

/* --- 15. Footer Section (if applicable) --- */
html[dir="rtl"] #footer .container {
    text-align: right;
}
html[dir="ltr"] #footer .container {
    text-align: left;
}

/* --- 16. Responsive Overrides --- */
@media only screen and (max-width: 991px) {
    html[dir="rtl"] .banner1-mobile-view {
        right: 0 !important;
        left: auto !important;
    }
    html[dir="ltr"] .banner1-mobile-view {
        left: 0 !important;
        right: auto !important;
    }
}

@media only screen and (max-width: 600px) {
    html[dir="rtl"] .banner1-mobile-view {
        right: 0 !important;
        left: auto !important;
    }
    html[dir="ltr"] .banner1-mobile-view {
        left: 0 !important;
        right: auto !important;
    }
}

/* --- 17. Navbar Exemption (keep LTR/RTL as per browser default) --- */
/* Navbar ko RTL/LTR se exempt karne ke liye, hum specifically override karte hain */
html[dir="rtl"] #header,
html[dir="rtl"] #header-wrap,
html[dir="rtl"] #primary-menu,
html[dir="rtl"] #primary-menu ul,
html[dir="rtl"] #top-account,
html[dir="rtl"] #logo {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="ltr"] #header,
html[dir="ltr"] #header-wrap,
html[dir="ltr"] #primary-menu,
html[dir="ltr"] #primary-menu ul,
html[dir="ltr"] #top-account,
html[dir="ltr"] #logo {
    direction: ltr !important;
    text-align: left !important;
}

/* But language switcher ko RTL mein Arabic flag right side rakhein */
html[dir="rtl"] .lang-switcher {
    direction: rtl !important;
}
html[dir="ltr"] .lang-switcher {
    direction: ltr !important;
}