/* Enable RTL direction for the whole page */


/* custom_persian.css */
body {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}


/* Optional: Customize elements */
.navbar,
.header,
.footer {
    text-align: right;

}

input,
textarea {
    text-align: right;
    direction: rtl;
}

ul {
    direction: rtl;
    /* Sets direction of list from right to left */
    text-align: right;
    /* Aligns text to the right */
    padding-right: 20px;
    /* Optional: adjusts padding */
    padding-left: 0;
    /* Removes default left padding */
    list-style-position: inside;
    /* Keeps bullets inside the list area */
}

li {
    margin-bottom: 8px;
    /* Optional spacing between items */
}

p,
h1,
h3,
h4,
h5,
/* span, */
input {
    margin: 0 12px;
    direction: rtl;
    /* Sets direction of list from right to left */
    text-align: right;
    /* Aligns text to the right */

}

p,
a,
h1,
h2,
h3,
h4,
h5,
input {
    font-family: 'Vazirmatn', sans-serif !important;
}

.p_Center {
    text-align: center !important;
}

a {
    direction: rtl;
    /* Sets direction of list from right to left */
    text-align: right;
}

#h4_footer {
    margin: 0px !important;
}

.rtl-text {
    direction: rtl;
    text-align: right;
    font-family: "Tahoma", sans-serif;
    /* Or another font that supports Persian */
}

.rtl-text strong,
.rtl-text span {
    direction: rtl;
    text-align: right;
    display: inline;
}

.rtl-switch {
    direction: rtl;
    text-align: right;
    flex-direction: row-reverse;
}

.rtl-switch .order-1 {
    order: 2;
}

.rtl-switch .order-2 {
    order: 1;
}

#copyright {
    text-align: center !important;
}

.doctors .team-member p {
    margin: 0px 13px 0 0;
    font-size: 14px;
}

/* .doctors .team-member span::after {
    direction: rtl;
    text-align: right;
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 85%);
    bottom: 0;
    right: 0;
} */

.form-select {
    direction: rtl;
    text-align: right;
    text-align-last: right;
    /* Ensures selected option stays right-aligned */
    padding-right: 1rem;
    /* Add some padding on the right */
    padding-left: 0.5rem;
    /* Optional: less left padding for better RTL feel */
    background-position: left center;
    /* If using a dropdown arrow, it flips side */
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: left .75rem center;
}

/* .stretched-link{
    text-align: center !important;
} */
.stretched-link>h3,
.stretched-link>p {
    text-align: center !important;
}

.p_footer_address {
    text-align: right !important;
}

input[type="datetime-local"] {
    direction: rtl;
    text-align: left;
    flex-direction: row-reverse;
}

.input-group {
    direction: rtl !important;
    /* Container is RTL */
}

input[type="datetime-local"] {
    direction: ltr !important;
    /* Input text is English → LTR */
    text-align: left !important;
    /* Align input content to left */
}

.copyright {
    direction: rtl !important;
    text-align: right !important;
}

.stats .stats-item {
    text-align: center !important;
}

.stats .stats-item span {
    text-align: center;
}

.stats .stats-item p {
    text-align: center;
}

.services .service-item p {
    text-align: center !important;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    margin: 10px !important;
}

.footer .credits {
    text-align: center !important;
}

.img {
    /* width: 10%; */
    height: 1%;
}



.text-justify {
    text-align: justify;
    /* Custom CSS for justification */
}

.me-auto {
    margin-right: 10px !important;
}

.h3_visonMission {
    font-size: 48px;
    font-weight: 700;
    color: #0EB19C;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    /* ✅ push content to right side */
    text-align: right;
    gap: 10px;
}

.about-title {
    margin-bottom: 10px !important;
}

p,
h1,
h2,
h2,
h4,
h5 {}

.h1_about_us_header {
    margin-top: 5%;
    text-align: center;
    font-weight: 600;
}

.h1_doctors {
    position: absolute;
    top: 31%;
    left: 65%;
    transform: translate(-48%, -102%);
    z-index: 1;
    text-align: center;
    width: 100%;
}

.logo_key_values {
    margin: -13px -7px 9px 0px;
    width: 157px;
}


.btn-impulse {
    right: 115px !important;
    top: 122px !important;
}

.book-app-dari {
    width: 180px !important;
}

.hero .content .why-box h3 {
    margin-bottom: 30px !important;
}

.book-appointment-phone{
    direction: ltr !important;
    text-align: right !important;
}
#gallery-sticky-btn{
    top: 95px !important;
}


@media (max-width: 1399.98px) {
    .btn-impulse {
        top: 104% !important;
        right: 8% !important;

    }
}

@media (max-width: 1199.98px) {
    .btn-impulse {
        top: 104% !important;
        right: 5% !important;

    }

    .cta-btn {
        width: 120px !important;
    }
}

@media (max-width: 991.98px) {
    .btn-impulse {
        top: 104% !important;
        right: 35% !important;

    }
}

@media (max-width: 767.98px) {
    .btn-impulse {
        top: 104% !important;
        right: 30% !important;
    }
}

@media (max-width: 575.98px) {
    .btn-impulse {
        /* top: 102% !important; */
        right: 22% !important;

    }

    #h2_welcome_page {
        text-align: center;
        font-size: 37px;
        margin-top: -60px;
    }

    #why_choose {
        font-size: 24px;
    }

    #asia_mehr_heart {
        font-size: 1.7rem;
    }

    .justify-content-center {
        margin-top: -19% !important;
    }

    .section-title {
        margin-top: -10%;
    }

    #mobile_center {
        margin-left: 36%;
    }

    #mobile_center_btn {
        margin-right: 31%;
    }

}
