html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

.row,
.navbar-nav,
.footer-links ul,
.working-time-list ul {
    direction: rtl;
}

.navbar-brand img {
    width: 190px;
    max-height: 64px;
    object-fit: contain;
}

.main-menu ul li {
    margin-left: 0;
    margin-right: 25px;
}

.main-menu ul ul {
    right: 0;
    left: auto;
    text-align: right;
}

.main-menu ul ul.services-submenu {
    width: 310px;
}

.main-menu ul li.submenu > a::after {
    margin-left: 0;
    margin-right: 8px;
}

.contact-now-box,
.cta-item,
.about-company-founder,
.service-item-box,
.why-choose-item,
.testimonial-body,
.section-cta-box {
    direction: rtl;
}

.hero .section-title h1,
.section-title h2,
.section-title h3,
.section-title p,
.service-item-content,
.service-body,
.testimonial-content,
.footer-links {
    text-align: right;
}

.hero-counter-box h2 {
    direction: ltr;
    display: inline-flex;
    white-space: nowrap;
}

.hero-img img,
.about-img img,
.expertise-image img,
.how-work-image img,
.why-choose-image img,
.service-image img,
.post-featured-image img,
.transformation_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img img,
.why-choose-image img {
    object-position: center 20%;
}

.hero-image,
.hero-img,
.hero-img figure {
    height: 100%;
}

.hero-image {
    padding-left: 0;
}

.hero-img figure {
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    object-position: center bottom;
}

@media (min-width: 992px) {
    .hero .hero-section {
        padding-bottom: 86px;
    }
}

.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.alert-sepinod {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #e8f8f3;
    color: #0b6b55;
}

.form-errors {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #fff0f0;
    color: #9d2929;
}

.appointment-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.appointment-reason {
    direction: rtl;
    justify-content: flex-start;
}

.footer-logo img {
    width: 220px;
    max-height: 78px;
    object-fit: contain;
}

.footer-contact-content a {
    color: inherit;
}

.split-line {
    overflow: hidden;
}

@media (max-width: 991px) {
    .main-menu ul li {
        margin-right: 0;
    }

    .slicknav_nav,
    .slicknav_nav a {
        text-align: right;
    }

    .navbar-brand img {
        width: 155px;
    }
}

/* Online service request and OTP flow */
#serviceRequestForm { --request-primary: #5b5bea; --request-ink: #171739; --request-muted: #76778d; }
.request-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 12px; margin: 0 0 30px; }
.request-progress span { display: inline-flex; align-items: center; gap: 8px; color: #9a9bad; font-size: 12px; white-space: nowrap; transition: .25s; }
.request-progress span b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f0f1f6; color: #8b8ca1; font-size: 12px; }
.request-progress span.is-active { color: var(--request-primary); font-weight: 700; }
.request-progress span.is-active b { color: #fff; background: linear-gradient(135deg, var(--request-primary), #7474f4); box-shadow: 0 6px 16px rgba(91,91,234,.23); }
.request-progress i { height: 2px; background: #ececf3; border-radius: 9px; }
.request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.request-field { display: grid; gap: 8px; margin: 0; color: var(--request-ink); font-size: 13px; font-weight: 700; }
.request-field--wide { grid-column: 1 / -1; }
.request-field span small { color: var(--request-muted); font-weight: 400; }
.appointment-form .request-field .form-control { height: 54px; padding: 0 17px; border: 1px solid #e2e3ed; border-radius: 14px; background: #fafafd; color: var(--request-ink); box-shadow: none; transition: .2s; }
.appointment-form .request-field textarea.form-control { height: auto; min-height: 105px; padding-top: 14px; resize: vertical; }
.appointment-form .request-field select.form-control { appearance: auto; cursor: pointer; }
.appointment-form .request-field .form-control:focus { border-color: var(--request-primary); background: #fff; box-shadow: 0 0 0 4px rgba(91,91,234,.09); }
.callback-choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; border: 0; }
.callback-choice legend { width: 100%; margin-bottom: 9px; color: var(--request-ink); font-size: 13px; font-weight: 700; }
.callback-choice label { margin: 0; cursor: pointer; }
.callback-choice input { position: absolute; opacity: 0; pointer-events: none; }
.callback-choice span { display: block; padding: 10px 16px; border: 1px solid #e1e2ec; border-radius: 999px; color: #68697f; background: #fff; transition: .2s; }
.callback-choice input:checked + span { border-color: var(--request-primary); color: var(--request-primary); background: #f1f1ff; box-shadow: inset 0 0 0 1px var(--request-primary); }
.request-feedback { min-height: 23px; margin-top: 14px; color: #c23b52; font-size: 12px; font-weight: 600; }
.request-feedback.is-success { color: #12805d; }
.appointment-form .request-submit, .appointment-form .request-verify { min-width: 210px; border: 0; }
.request-submit.is-loading, .request-verify.is-loading { opacity: .65; cursor: wait; }
.request-submit.is-loading span:after, .request-verify.is-loading:after { content: "..."; margin-right: 5px; }
.request-privacy { display: inline-block; margin: 0 15px 0 0; color: var(--request-muted); font-size: 11px; }
.otp-step, .success-step { max-width: 470px; margin: 12px auto 0; text-align: center; }
.otp-step[hidden], .success-step[hidden], .request-step[hidden] { display: none !important; }
.otp-icon, .success-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; color: #fff; font-size: 28px; font-weight: 900; background: linear-gradient(135deg, var(--request-primary), #35c7e8); box-shadow: 0 12px 30px rgba(91,91,234,.2); }
.otp-step h3, .success-step h3 { margin-bottom: 8px; color: var(--request-ink); font-size: 24px; }
.otp-step > p, .success-step > p { color: var(--request-muted); }
.otp-field { display: grid; gap: 9px; margin: 25px auto 5px; color: var(--request-ink); font-size: 12px; font-weight: 700; }
.otp-field input { width: 100%; height: 62px; border: 1px solid #dfe0eb; border-radius: 15px; outline: 0; text-align: center; background: #fafafd; color: var(--request-ink); font: 800 27px/1 ui-monospace, monospace; letter-spacing: 12px; }
.otp-field input:focus { border-color: var(--request-primary); box-shadow: 0 0 0 4px rgba(91,91,234,.09); }
.otp-actions { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 18px; color: var(--request-muted); font-size: 11px; }
.otp-actions button, .request-new { border: 0; padding: 0; background: transparent; color: var(--request-primary); font: inherit; font-weight: 700; cursor: pointer; }
.success-check { border-radius: 50%; background: linear-gradient(135deg, #13a879, #49d5a9); }
.request-new { margin-top: 15px; padding: 10px 18px; border: 1px solid #dcddeb; border-radius: 999px; }

@media (max-width: 767px) {
    .request-progress span { font-size: 0; }
    .request-progress span b { font-size: 12px; }
    .request-grid { grid-template-columns: 1fr; }
    .request-field--wide { grid-column: auto; }
    .request-privacy { display: block; margin: 12px 0 0; line-height: 1.7; }
    .appointment-form .request-submit, .appointment-form .request-verify { width: 100%; }
    .callback-choice { gap: 7px; }
    .callback-choice span { padding: 9px 11px; font-size: 12px; }
}
