﻿@import 'css/_color.css';

/* Alexandria for Arabic */
@font-face {
    font-family: 'Alexandria';
    src: url('fonts/Alexandria/Alexandria-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Merriweather for English */
@font-face {
    font-family: 'Merriweather';
    src: url('fonts/Merriweather/Merriweather_24pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



html, body {
    font-family: 'Merriweather';
}

    html[dir="rtl"] body {
        font-family: 'Alexandria';
    }


a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* start of global layout */
a {
    text-decoration: none;
}

body {
    box-sizing: border-box;
}

.px-5-mobile {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}

.main-color {
    color: var(--main-color);
}

.secondary-color {
    color: var(--secondary-color);
}

.fourth-color {
    color: var(--fourth-color);
}

.fifth-color {
    color: var(--fifth-color);
}

.seventh-color {
    color: var(--seventh-color);
}

.eight-color {
    color: var(--eight-color);
}

.nine-color {
    color: var(--nine-color);
}

.text-grey {
    color: var(--grey-text);
}

.text-dark-grey {
    color: var(--dark-grey);
}

.bg-main-color {
    background-color: var(--main-color);
}

.bg-secondary-color {
    background-color: var(--secondary-color);
}

.p-right-0 {
    padding-right: 0;
}

html[dir="rtl"] .p-right-0 {
    padding-right: initial;
    padding-left: 0;
}

.p-right-1 {
    padding-right: 0.25rem;
}

html[dir="rtl"] .p-right-1 {
    padding-right: initial;
    padding-left: 0.25rem !important;
}

.p-right-2 {
    padding-right: 0.5rem;
}

html[dir="rtl"] .p-right-2 {
    padding-right: initial;
    padding-left: 0.5rem !important;
}

.p-right-3 {
    padding-right: 1rem;
}

html[dir="rtl"] .p-right-3 {
    padding-right: initial;
    padding-left: 1rem !important;
}

.p-right-4 {
    padding-right: 1.5rem;
}

html[dir="rtl"] .p-right-4 {
    padding-right: initial;
    padding-left: 1.5rem !important;
}

.p-right-5 {
    padding-right: 3rem;
}

html[dir="rtl"] .p-right-5 {
    padding-right: initial;
    padding-left: 3rem !important;
}

.p-left-1 {
    padding-left: 0.25rem;
}

html[dir="rtl"] .p-left-1 {
    padding-left: initial;
    padding-right: 0.25rem;
}

.p-left-2 {
    padding-left: 0.5rem;
}

html[dir="rtl"] .p-left-2 {
    padding-left: initial;
    padding-right: 0.5rem;
}

.p-left-3 {
    padding-left: 1rem;
}

html[dir="rtl"] .p-left-3 {
    padding-left: initial;
    padding-right: 1rem;
}

.p-left-4 {
    padding-left: 1.5rem;
}

html[dir="rtl"] .p-left-4 {
    padding-left: initial;
    padding-right: 1.5rem;
}

.p-left-5 {
    padding-left: 3rem;
}

html[dir="rtl"] .p-left-5 {
    padding-left: initial;
    padding-right: 3rem;
}

.m-right-0 {
    margin-right: 0 !important;
}

.m-right-1 {
    margin-right: 0.25rem !important;
}

html[dir="rtl"] .m-right-1 {
    margin-right: initial !important;
    margin-left: 0.25rem !important;
}

.m-right-2 {
    margin-right: 0.5rem !important;
}

html[dir="rtl"] .m-right-2 {
    margin-right: initial !important;
    margin-left: 0.5rem !important;
}

.m-right-3 {
    margin-right: 1rem;
}

html[dir="rtl"] .m-right-3 {
    margin-right: initial !important;
    margin-left: 1rem !important;
}

.m-right-5 {
    margin-right: 3rem;
}

html[dir="rtl"] .m-right-5 {
    margin-right: initial !important;
    margin-left: 3rem !important;
}

.m-left-0 {
    margin-left: 0 !important;
}

.m-left-1 {
    margin-left: 0.25rem !important;
}

html[dir="rtl"] .m-left-1 {
    margin-left: initial !important;
    margin-right: 0.25rem !important;
}

.m-left-2 {
    margin-left: 0.5rem !important;
}

html[dir="rtl"] .m-left-2 {
    margin-left: initial !important;
    margin-right: 0.5rem !important;
}

.m-left-3 {
    margin-left: 1rem;
}

html[dir="rtl"] .m-left-3 {
    margin-left: initial !important;
    margin-right: 1rem !important;
}

.m-left-5 {
    margin-left: 3rem;
}

html[dir="rtl"] .m-left-5 {
    margin-left: initial !important;
    margin-right: 3rem !important;
}

.fs-12 {
    font-size: 0.75rem !important;
}

.fs-14 {
    font-size: 0.875rem !important;
}

.h-vh-100 {
    height: 100vh;
}

.rotate-angle {
    transform: rotate(90deg);
}

html[dir=rtl] .rotate-angle {
    transform: rotate(270deg) !important;
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none
}

/* end of global layout */
/* Start of Navbar Section */
.navbar .navbar-brand .logo {
    width: 60px;
}

.navbar .navbar-nav .nav-link,
.navbar-brand {
    color: white;
}

.navbar .navbar-toggler {
    color: white;
}

.bg-color {
    background-color: var(--main-color);
}

.nav-item a {
    position: relative;
}

.nav-item a {
    position: relative;
}



.nav-item .sign-up-btn:hover, .sign-up-btn:focus {
    color: var(--white-color) !important;
}

.vertical-line-before {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0.5rem;
}

    .vertical-line-before::before {
        content: "";
        position: absolute;
        left: 0;
        top: -3px;
        bottom: 0;
        border-left: 2px solid #FFFFFF;
    }

html[dir=rtl] .vertical-line-before {
    padding-right: 0.5rem;
}

    html[dir=rtl] .vertical-line-before::before {
        left: initial;
        right: 0 !important;
    }


.toast-direction {
    right: 0;
}

html[dir=rtl] .toast-direction {
    right: initial;
    left: 0;
}

.active-class.active, .active-class:active {
    text-decoration: none;
    background-color: var(--main-color);
}

.active-class.active {
    color: var(--white-color) !important;
}

.nav-item .active-nav-yellow:hover, .active-nav-yellow.active, .active-nav-yellow:focus {
    color: var(--secondary-color) !important;
}
/* End of Navbar Section */

/* start of Ads section  */
.ads {
    height: 50vh;
}

/*.ads-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}*/

.ads-text-our-doctor {
    position: absolute;
    top: 60%;
    left: 17%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    direction: ltr;
}

html[dir=rtl] .ads-text-our-doctor {
    direction: rtl;
    left: initial;
}

.top-offer-image {
    position: relative;
    overflow: hidden;
}

.special-offer-tag {
    position: absolute;
    top: 50px;
    right: 40px;
    background-color: rgb(62 71 86 / 50%);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 8px;
    z-index: 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: rotate(10deg);
    display: inline-block;
}

html[dir="rtl"] .special-offer-tag {
    left: 40px;
    right: initial;
    transform: rotate(-10deg);
}

.special-offer-tag::before,
.special-offer-tag::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 30px;
    background-color: rgb(62 71 86 / 50%);
    top: -28px;
}

.special-offer-tag strong {
    color: rgb(255 193 7 / 100%);
    font-size: 20px;
}

.special-offer-tag::before {
    left: 17px;
    transform: rotate(20deg);
}

html[dir=rtl] .special-offer-tag::before {
    left: 33px;
}

.special-offer-tag::after {
    right: 26px;
    transform: rotate(-30deg);
}

.hook-circle {
    position: absolute;
    top: 21px;
    right: 61px;
    width: 10px;
    height: 10px;
    background-color: #ffc107;
    border-radius: 50%;
    z-index: 4;
}

html[dir="rtl"] .hook-circle {
    left: 68px;
    right: initial;
}

.discount-badge-offer {
    background: rgba(62, 101, 118, 0.5);
    position: absolute;
    width: 20%;
    color: white;
    left: 0;
    top: 0;
    padding: 1rem;
    border-bottom-right-radius: 1rem;
}

html[dir="rtl"] .discount-badge-offer {
    left: initial;
    right: 0;
    width: 25%;
    padding: 1.2rem;
}

html[dir="rtl"] .discount-badge-offer {
    border-bottom-right-radius: initial;
    border-bottom-left-radius: 1rem;
}

html[dir="rtl"] .special-offer-tag-new {
    left: 40px;
    right: initial;
    transform: rotate(-10deg);
}

.special-offer-tag-new strong {
    color: rgb(255 193 7 / 100%);
    font-size: 20px;
}

.special-offer-tag-new::before {
    left: 30px;
    transform: rotate(30deg);
}

html[dir=rtl] .special-offer-tag-new::before {
    left: 23px;
}

.special-offer-tag-new::after {
    right: 30px;
    transform: rotate(-30deg);
}

html[dir=rtl] .special-offer-tag-new::after {
    right: 40px;
}

.special-offer-tag-new {
    position: absolute;
    top: 50px;
    right: 40px;
    background-color: rgb(62 71 86 / 50%);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 8px;
    z-index: 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: rotate(10deg);
    display: inline-block;
}

    .special-offer-tag-new::before,
    .special-offer-tag-new::after {
        content: "";
        position: absolute;
        width: 2px;
        height: 30px;
        background-color: rgb(62 71 86 / 50%);
        top: -25px;
    }

.hook-circle-new {
    position: absolute;
    top: 21px;
    right: 68px;
    width: 10px;
    height: 10px;
    background-color: #ffc107;
    border-radius: 50%;
    z-index: 4;
}

html[dir=rtl] .hook-circle-new {
    position: absolute;
    top: 23px;
    right: initial;
    left: 60px;
    width: 10px;
    height: 10px;
    background-color: #ffc107;
    border-radius: 50%;
    z-index: 4;
}
/* End of Ads section  */
/* start of Home section */
.home {
    height: calc(100vh - 4.2rem);
}

.image {
    text-align: center;
    position: relative;
}

    /* Background shape styling */
    .image::before {
        content: "";
        background-color: var(--fourth-color);
        width: 100px;
        height: calc(100% + 100px);
        top: -50%;
        position: absolute;
        transform: rotate(90deg);
        right: 24%;
        border-radius: 1rem;
        z-index: -1;
    }

html[dir="rtl"] .image::before {
    right: initial;
    left: 24% !important;
}
/* Main image styling */
.main-img {
    width: 100%;
    border-radius: 1rem;
}

/* Second (smaller) image styling */
.overlay-img {
    position: absolute;
    bottom: -14%;
    left: -10%;
    height: 50%;
    width: 55%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

html[dir="rtl"] .overlay-img {
    left: initial;
    right: -10%;
}

.break-word {
    display: block;
}

.header-main-color {
    color: var(--fourth-color);
}

.header-secondary-color {
    color: var(--fifth-color);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--white-color);
}

.section-title {
    position: relative;
    text-align: center;
    z-index: 2;
}

.title-background {
    position: relative;
    display: inline-block;
    z-index: 3;
}

    .title-background::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 620%;
        height: 120px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        z-index: -1;
    }

html[dir=rtl] .title-background::before {
    width: 770% !important;
}

.title-text {
    font-size: 32px;
    position: relative;
    z-index: 4;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    overflow: hidden;
}

.curved-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 0 0 / 30px 30px 0 0;
    z-index: 1;
}

.curved-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
    z-index: 1;
}


.section-title {
    position: relative;
    text-align: center;
    z-index: 2;
}

.title-background-special {
    position: relative;
    display: inline-block;
    z-index: 2;
}

    .title-background-special::before {
        content: "";
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 650%;
        height: 70px;
        background-color: #fff;
        border-radius: 50%;
        z-index: -1;
    }



.title-text-special {
    font-size: 32px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.w-image {
    width: 100%;
}

.hidden-image-in-mobile {
    display: block;
}
/* End of Home section */
/* Start of Doctor Section */
#doctors .doctor {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

    #doctors .doctor .details {
        background: rgba(62, 101, 118, 0.5);
        position: absolute;
        left: 0;
        bottom: -40px;
        right: 0;
        padding-top: 10px;
        padding-left: 10px;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }

html[dir="rtl"] #doctors .doctor .details {
    padding-left: initial;
    padding-right: 10px;
}

#doctors .doctor .details h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

#doctors .doctor .details p {
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

#doctors .doctor .details .social {
    height: 40px;
}

    #doctors .doctor .details .social i {
        line-height: 0;
        margin: 0 2px;
    }

#doctors .doctor .details a {
    color: #fff;
}

    #doctors .doctor .details a:hover {
        color: var(--secondary-color);
    }

#doctors .doctor:hover .details {
    bottom: 0;
}

#doctors-details {
    padding: 60px 0;
}

    #doctors-details .details h2 {
        color: #112363;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    #doctors-details .details .social {
        margin-bottom: 15px;
    }

        #doctors-details .details .social a {
            background: #e9edfb;
            color: #112363;
            line-height: 1;
            display: inline-block;
            text-align: center;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            #doctors-details .details .social a:hover {
                background: #f82249;
                color: #fff;
            }

            #doctors-details .details .social a i {
                font-size: 16px;
                line-height: 0;
            }

    #doctors-details .details p {
        color: #112363;
        font-size: 15px;
        margin-bottom: 10px;
    }

.image-area {
    width: 100%;
    overflow: hidden;
    height: 350px;
}

    .image-area img {
        width: 100%;
        height: 100%;
        transition: all 1.1s;
    }

.search-width {
    width: 50%;
}

.badge-icons {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(62, 101, 118, 0.5);
    border-bottom-right-radius: 1rem;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

html[dir="rtl"] .badge-icons {
    left: initial;
    right: 0;
    border-bottom-right-radius: initial;
    border-bottom-left-radius: 1rem;
}
/* Individual badge icon styling */
.badge-icons a {
    color: #104fa7;
    font-size: 16px;
    text-decoration: none;
}


/* End of Doctor Section */

/* Start of top-doctors Section */
#top-doctors .top-doctor {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

    #top-doctors .top-doctor .details-top-doctor {
        background: rgba(62, 101, 118, 0.5);
        position: absolute;
        left: 0;
        bottom: -40px;
        right: 0;
        padding-top: 10px;
        padding-left: 10px;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
        direction: ltr;
    }

html[dir="rtl"] #top-doctors .top-doctor .details-top-doctor {
    padding-left: initial;
    padding-right: 10px;
    direction: rtl;
}

#top-doctors .top-doctor .details-top-doctor h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

#top-doctors .top-doctor .details-top-doctor p {
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

#top-doctors .top-doctor .details-top-doctor .social {
    height: 40px;
}

    #top-doctors .top-doctor .details-top-doctor .social i {
        line-height: 0;
        margin: 0 2px;
    }

#top-doctors .top-doctor .details-top-doctor a {
    color: #fff;
}

    #top-doctors .top-doctor .details-top-doctor a:hover {
        color: var(--secondary-color);
    }

#top-doctors .top-doctor:hover .details-top-doctor {
    bottom: 0;
}

#top-doctors-details-top-doctor {
    padding: 60px 0;
}

    #top-doctors-details-top-doctor .details-top-doctor .social {
        margin-bottom: 15px;
    }

        #top-doctors-details-top-doctor .details-top-doctor .social a i {
            font-size: 16px;
            line-height: 0;
        }

.image-area {
    width: 100%;
    overflow: hidden;
    height: 350px;
}

    .image-area img {
        width: 100%;
        height: 100%;
        transition: all 1.1s;
    }
/* End of top-doctors Section */

/* Start of top-offers Section */
.top-offer-image {
    height: 20rem;
    position: relative;
    overflow: hidden;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.offer-text {
    position: absolute;
    top: 45%;
    left: 17%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    z-index: 2;
    direction: ltr;
}

html[dir="rtl"] .offer-text {
    direction: rtl;
    left: initial;
}

.offer-text .offer-doctor {
    color: var(--secondary-color);
}

.polygon-to-image-second::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100%;
    height: 35px;
    background: var(--white-color);
    /* clip-path: ellipse(64% 60% at 60% 67%); */
    clip-path: ellipse(59% 90% at 49% 42%);
    transform: translateX(-50%);
    z-index: 2;
}

.offer-text-our-doctor {
    position: absolute;
    top: 35%;
    left: 17%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    direction: ltr;
}

html[dir="rtl"] .offer-text-our-doctor {
    direction: rtl;
    left: initial;
}

.offer-text-our-doctor span {
    color: var(--secondary-color);
}

.text-polygon {
    position: relative;
}

    .text-polygon .polygon-to-image::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        width: 100%;
        height: 35px; /* Adjust the height as needed */
        background: var(--white-color); /* Same overlay color */
        /* clip-path: ellipse(64% 60% at 60% 67%); */
        clip-path: ellipse(54% 90% at 53% 42%);
        transform: translateX(-50%);
        z-index: 2;
    }

    .text-polygon .polygon-to-image-second::before {
        content: "";
        position: absolute;
        top: -118%;
        left: 50%;
        width: 100%;
        height: 69px;
        background: var(--white-color);
        clip-path: ellipse(54% 34% at 53% 61%);
        /* clip-path: ellipse(54% 90% at 53% 42%); */
        transform: translateX(-50%);
        z-index: 2;
    }
/* End of top-offers Section */


/* Start of Pharmacies Section */

#Pharmacies .pharmacy {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

    #Pharmacies .pharmacy .details {
        background: rgba(62, 101, 118, 0.5);
        position: absolute;
        left: 0;
        bottom: -40px;
        right: 0;
        padding-top: 10px;
        padding-left: 10px;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }

html[dir="rtl"] .pharmacy .details {
    padding-left: initial;
    padding-right: 10px;
}

#Pharmacies .pharmacy-cover {
    position: relative;
}

#Pharmacies .details-pharmacy-cover {
    background: rgba(62, 101, 118, 0.5);
    position: absolute;
    width: 70%;
    bottom: 0;
    padding: 1.5rem;
    top: 30%;
    border-top-right-radius: 1rem;
}

    #Pharmacies .details-pharmacy-cover h2 {
        color: var(--white-color);
    }

        #Pharmacies .details-pharmacy-cover h2 span {
            color: var(--secondary-color);
        }

#Pharmacies .pharmacy .details h3 {
    color: var(--white-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

#Pharmacies .pharmacy .details p {
    color: var(--white-color);
    font-size: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

#Pharmacies .pharmacy .details .social {
    height: 40px;
}

    #Pharmacies .pharmacy .details .social i {
        line-height: 0;
        margin: 0 2px;
    }

#Pharmacies .pharmacy .details a {
    color: #fff;
}

    #Pharmacies .pharmacy .details a:hover {
        color: var(--secondary-color);
    }

#Pharmacies .pharmacy:hover .details {
    bottom: 0;
}

#Pharmacies-details {
    padding: 60px 0;
}

    #Pharmacies-details .details h2 {
        color: #112363;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    #Pharmacies-details .details .social {
        margin-bottom: 15px;
    }

        #Pharmacies-details .details .social a {
            background: #e9edfb;
            color: #112363;
            line-height: 1;
            display: inline-block;
            text-align: center;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            #Pharmacies-details .details .social a:hover {
                background: #f82249;
                color: #fff;
            }

            #Pharmacies-details .details .social a i {
                font-size: 16px;
                line-height: 0;
            }

    #Pharmacies-details .details p {
        color: #112363;
        font-size: 15px;
        margin-bottom: 10px;
    }

.image-area {
    width: 100%;
    overflow: hidden;
    height: 350px;
}

    .image-area img {
        width: 100%;
        height: 100%;
        transition: all 1.1s;
    }

.search-width {
    width: 100%;
}
/* End of Pharmacies Section */

/* Start of labs Section */

#labs .lab {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

    #labs .lab .details {
        background: rgba(62, 101, 118, 0.5);
        position: absolute;
        left: 0;
        bottom: -40px;
        right: 0;
        padding-top: 10px;
        padding-left: 10px;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }

html[dir="rtl"] #labs .lab .details {
    padding-left: initial;
    padding-right: 10px;
}

#labs .lab-cover {
    position: relative;
}

#labs .details-lab-cover {
    background: rgba(62, 101, 118, 0.5);
    position: absolute;
    width: 70%;
    bottom: 0;
    padding: 1.5rem;
    top: 30%;
    border-top-right-radius: 1rem;
}

    #labs .details-lab-cover h2 {
        color: var(--white-color);
    }

        #labs .details-lab-cover h2 span {
            color: var(--secondary-color);
        }

#labs .lab .details h3 {
    color: var(--white-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

#labs .lab .details p {
    color: var(--white-color);
    font-size: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

#labs .lab .details .social {
    height: 40px;
}

    #labs .lab .details .social i {
        line-height: 0;
        margin: 0 2px;
    }

#labs .lab .details a {
    color: #fff;
}

    #labs .lab .details a:hover {
        color: var(--secondary-color);
    }

#labs .lab:hover .details {
    bottom: 0;
}

#labs-details {
    padding: 60px 0;
}

    #labs-details .details .social {
        margin-bottom: 15px;
    }

        #labs-details .details .social a i {
            font-size: 16px;
            line-height: 0;
        }

.image-area {
    width: 100%;
    overflow: hidden;
    height: 350px;
}

    .image-area img {
        width: 100%;
        height: 100%;
        transition: all 1.1s;
    }

.search-width {
    width: 100%;
}
/* End of labs Section */

/* Start of profile doctor section */
.hello-img {
    position: relative;
    display: inline-block;
    border-radius: 5px;
}

    .hello-img img {
        display: block;
        border-radius: 5px;
        z-index: 1;
        position: relative;
    }

    /* Blue shadow (behind yellow) */
    .hello-img::before {
        content: "";
        position: absolute;
        top: 0px;
        left: 25px;
        width: 100%;
        height: 105%;
        border: 10px solid var(--second-border-image); /* Light Blue */
        border-radius: 5px;
        /* z-index: 2; */
        margin-top: -25px;
    }

    /* Yellow shadow (top layer) */
    .hello-img::after {
        content: "";
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        border: 10px solid var(--border-doctor-image); /* Yellow */
        border-radius: 5px;
        z-index: 3;
    }

.rounded-left {
    border-bottom-left-radius: 1.25rem !important;
    border-top-left-radius: 1.25rem !important;
}

html[dir="rtl"] .rounded-left {
    border-bottom-left-radius: initial !important;
    border-top-left-radius: initial !important;
    border-bottom-right-radius: 1.25rem !important;
    border-top-right-radius: 1.25rem !important;
}

.rounded-right {
    border-top-right-radius: 1.25rem !important;
    border-bottom-right-radius: 1.25rem !important;
}

html[dir="rtl"] .rounded-right {
    border-bottom-left-radius: 1.25rem !important;
    border-top-left-radius: 1.25rem !important;
    border-bottom-right-radius: initial !important;
    border-top-right-radius: initial !important;
}

.px-0-mobile {
    padding-left: 0;
    padding-right: 0;
}

.m-right-2-mobile {
    margin-right: 0.5rem !important;
}

html[dir="rtl"] .m-right-2-mobile {
    margin-right: initial !important;
    margin-left: 0.5rem !important;
}

.table-doctor-width {
    width: 75%;
}
/* End of profile doctor section */

/* Start of profile pharmacy section */
.hello-img {
    position: relative;
    display: inline-block;
    border-radius: 5px;
}

    .hello-img img {
        display: block;
        border-radius: 5px;
        z-index: 1;
        position: relative;
    }

    /* Blue shadow (behind yellow) */
    .hello-img::before {
        content: "";
        position: absolute;
        top: 0px;
        left: 25px;
        width: 100%;
        height: 105%;
        border: 10px solid var(--second-border-image); /* Light Blue */
        border-radius: 5px;
        /* z-index: 2; */
        margin-top: -25px;
    }

html[dir="rtl"] .hello-img::before {
    left: initial;
    right: 25px;
}
/* Yellow shadow (top layer) */
.hello-img::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 10px solid var(--border-doctor-image); /* Yellow */
    border-radius: 5px;
    z-index: 3;
}

.rounded-left {
    border-bottom-left-radius: 1.25rem !important;
    border-top-left-radius: 1.25rem !important;
}

html[dir="rtl"] .rounded-left {
    border-bottom-left-radius: initial !important;
    border-top-left-radius: initial !important;
    border-bottom-right-radius: 1.25rem !important;
    border-top-right-radius: 1.25rem !important;
}

.rounded-right {
    border-top-right-radius: 1.25rem !important;
    border-bottom-right-radius: 1.25rem !important;
}

html[dir="rtl"] .rounded-right {
    border-bottom-left-radius: 1.25rem !important;
    border-top-left-radius: 1.25rem !important;
    border-bottom-right-radius: initial !important;
    border-top-right-radius: initial !important;
}

.px-0-mobile {
    padding-left: 0;
    padding-right: 0;
}

.m-right-2-mobile {
    margin-right: 0.5rem !important;
}

html[dir="rtl"] .m-right-2-mobile {
    margin-right: initial !important;
    margin-left: 0.5rem !important;
}

.table-pharmacy-width {
    width: 75%;
}
/* End of profile pharmacy section */

/* Start of manage doctor section */

.doctor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.doctor-info {
    display: flex;
    align-items: center;
}

.doctor-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.user-status {
    font-size: 20px;
    color: #00bcd4;
}

.doctor-profile-line-after::after {
    content: "";
    position: absolute;
    border: 1px solid #d0d0d0;
    width: 13.75rem;
    height: 1px;
    bottom: -5px;
    left: 16px;
    right: 0px;
}

.doctor-profile-weekly-line-after::after {
    content: "";
    position: absolute;
    border: 1px solid #d0d0d0;
    width: 15rem;
    height: 1px;
    bottom: -5px;
    left: 16px;
    right: 0px;
}

.time-picker {
    background: #fff;
    border-radius: 10px;
    /* padding: 5px 10px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2px;
}

    .time-box input {
        width: 40px;
        border: none;
        background: transparent;
        padding: 2px 0;
        font-weight: 500;
    }

        .time-box input:focus {
            outline: none;
            box-shadow: none;
        }

.arrow {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 2px;
}

.gap-time {
    gap: 3rem;
}

.arrow-up {
    position: absolute;
    bottom: 35px;
}

.arrow-down {
    position: absolute;
    bottom: -25px;
}

.table-manage-doctor-width {
    width: 75%;
}

.border-left-0 {
    border-left: 0 !important;
}

html[dir="rtl"].border-left-0 {
    border-right: 0 !important;
    border-left: initial !important;
}

.border-radius {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

html[dir="rtl"] .border-radius {
    border-top-right-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.border-input-radius {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
}

html[dir="rtl"] .border-input-radius {
    border-top-left-radius: 1rem !important;
    border-bottom-left-radius: 1rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.border-input-left-radius {
    border-top-left-radius: 1rem !important;
    border-bottom-left-radius: 1rem !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.display-flex-content {
    display: flex;
}

.dispaly-flex-search-icon {
    display: flex;
    justify-content: center;
}
/* End of manage doctor section */
/* Start of manage pharmacy section */
.pharmacy-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.pharmacy-profile-line-after::after {
    content: "";
    position: absolute;
    border: 1px solid #d0d0d0;
    width: 13.75rem;
    height: 1px;
    bottom: -5px;
    left: 16px;
    right: 0px;
}

.pharmacy-profile-weekly-line-after::after {
    content: "";
    position: absolute;
    border: 1px solid #d0d0d0;
    width: 15rem;
    height: 1px;
    bottom: -5px;
    left: 16px;
    right: 0px;
}
/* End of manage pharmacy section */


/* Start of DashBoard section */
.table thead th {
    border-bottom: none;
    color: var(--fourth-color);
    font-weight: 600;
}

.profile-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

.scroll-section {
    height: 520px;
}

.scroll-section-calender {
    height: 745px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-table {
    width: 100%;
    text-align: center;
    color: #333;
}

    .calendar-table th,
    .calendar-table td {
        width: 14.28%;
        padding: 10px;
        cursor: pointer;
    }

        .calendar-table td:hover {
            background-color: #f0f0f0;
            border-radius: 50%;
        }

.users-section {
    margin-top: 20px;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.user-status {
    font-size: 20px;
    color: #00bcd4;
}

.vertical-line-yellow {
    width: 4px;
    height: 45px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-right: 10px;
    background-color: var(--secondary-color);
}

html[dir="rtl"] .vertical-line-yellow {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-right: initial;
    margin-left: 10px;
}

.vertical-line-blue {
    width: 4px;
    height: 45px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-right: 10px;
    background-color: var(--main-color);
}

html[dir="rtl"] .vertical-line-blue {
    border-top-left-radius: initial;
    border-bottom-left-radius: initial;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-right: initial;
    margin-left: 10px;
}
/* End of DashBoard section */

/* Start of Mange User section */
.active-state-color {
    color: var(--active-state-color) !important;
}

.suspended-state-color {
    color: var(--suspended-state-color) !important;
}

.deleted-state-color {
    color: var(--deleted-state-color) !important;
}

.scroll-section {
    height: 610px;
}

/* End of Mange User section */

/* Start of Sign IN Section */
.bg-sign-in {
    background-color: var(--main-color);
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.width-50 {
    width: 50%;
}

.bg-dash {
    border: 1px var(--fourth-color) dashed;
    border-radius: 1rem;
}

.input-file-width {
    width: 50%;
}

.icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    color: var(--main-color);
    background-color: var(--sixth-color);
}

input[type=password]::-ms-reveal {
    display: none;
}
/* End of Sign IN Section */

/*Start of Pagination */
.custom-pagination .page-item .page-link {
    border: 1px solid #00bcd4;
    color: #00bcd4;
    margin: 0 2px;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
    min-width: 42px;
    text-align: center;
    transition: all 0.2s;
}

.custom-pagination .page-item.active .page-link {
    background-color: #00bcd4;
    border-color: #00bcd4;
    color: #fff;
}

.custom-pagination .page-item.disabled .page-link {
    color: #aaa;
    background-color: transparent;
    border: none;
    pointer-events: none;
}

.custom-pagination .page-item .page-link:hover:not(.disabled):not(.active) {
    background-color: #e0f7fa;
    color: #00bcd4;
}
/*End of Pagination */
/* Start of Loader Section */
.loader-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.bg-loader {
    background-color: #000000ba;
}

.beatingHeart {
    width: 50px;
    margin: 7px auto;
    height: 50px;
}

    .beatingHeart .heart {
        position: absolute;
        width: 50px;
        height: 45px;
        opacity: 0.6;
        -webkit-animation: beat 3s infinite ease-in-out;
    }

.heart:before,
.heart:after {
    position: absolute;
    content: "";
    left: 25px;
    top: 0;
    width: 25px;
    height: 40px;
    background: var( --main-color);
    -moz-border-radius: 50px 50px 0 0;
    border-radius: 50px 50px 0 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: 0 100%;
    -moz-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    -o-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.fushiaHeart:before,
.fushiaHeart:after {
    background: var(--main-color );
}

.pinkHeart:before,
.pinkHeart:after {
    background: var(--main-color);
}

.heart:after {
    left: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.beatingHeart .heart2 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.beatingHeart .heart3 {
    -webkit-animation-delay: -1.5s;
    animation-delay: -1.5s;
}

.beatingHeart .heart4 {
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

.beatingHeart .heart5 {
    -webkit-animation-delay: -2.5s;
    animation-delay: -2.5s;
}

@-webkit-keyframes beat {
    0%, 100% {
        -webkit-transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
    }
}

svg {
    max-width: 100px;
    max-height: 100px;
}

/*path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s ease-in-out forwards;
    stroke: #38afce;
    stroke-width: 2;
    fill-opacity: 0;
}
*/
.drawing-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    stroke: #38afce;
    stroke-width: 2;
    fill-opacity: 0;
}

.loading svg polyline {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

    .loading svg polyline#back {
        fill: none;
        stroke: var(--main-color);
    }

    .loading svg polyline#front {
        fill: none;
        stroke: #0e647a;
        stroke-dasharray: 48, 144;
        stroke-dashoffset: 192;
        animation: dash_682 1.4s linear infinite;
    }

@keyframes dash_682 {
    72.5% {
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
        fill-opacity: 1;
    }
}

.iconSVGPulse {
    height: 100px;
    width: 100%;
}


    .iconSVGPulse .path-pulse {
        stroke-dasharray: 6423;
        animation: dashPathPulse 5s linear infinite;
    }



@keyframes dashPathPulse {
    0% {
        stroke-dashoffset: 12423;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* End of Loader Section */

/*Start of table design */

.table-container {
    border-radius: 10px !important; /* Adjust the radius value as needed */
    /*overflow: hidden !important;*/ /* Clips content to the rounded shape */
    border: 1px solid #3f4e5acf !important; /* Outer border for the container */
}

.table {
    margin: 0 !important; /* Remove any margin to fit snugly inside the container */
    border: none !important; /* Remove border from table to avoid double borders */
}

.table-bordered th,
.table-bordered td {
    border-color: #3f4e5acf !important; /* Internal cell borders */
}

thead th {
    background-color: #31accc !important; /* Background for header cells */
    color: white !important; /* Text color for header cells */
    vertical-align: middle;
}

tbody td {
    vertical-align: middle;
}
/*End of table design */

/*Start of Register section*/
.qr-size {
    max-width: 100px;
    max-height: 100px;
}
/*End of Register section*/
/* Start of Media query Section */
@media screen and (min-width: 300px) and (max-width: 1024px) and (min-height: 300px) and (max-height: 1366px) {
    .search-width {
        width: 100% !important;
    }

    .flex-wrap-mobile {
        flex-wrap: wrap !important;
    }

    .width-50 {
        width: 100% !important;
    }

    .input-file-width {
        width: 100% !important;
    }

    .image::before {
        content: "";
        width: 0px !important;
    }

    .overlay-img {
        left: 0%;
    }

    html[dir="rtl"] .overlay-img {
        left: initial;
        right: 0%;
    }

    .hello-img::before {
        content: "";
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 105%;
        border: 5px solid #b0e0e6;
        border-radius: 5px;
        /* z-index: 2; */
        margin-top: -25px;
    }

    .px-5-mobile {
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
    }

    .px-0-mobile {
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
    }

    .m-right-2-mobile {
        margin-right: 0 !important;
    }

    .btn-sm-responsive {
        --bs-btn-padding-y: 0.25rem;
        --bs-btn-padding-x: 0.5rem;
        --bs-btn-font-size: 0.875rem;
        --bs-btn-border-radius: var(--bs-border-radius-sm);
    }

    h3,
    h4,
    h5,
    h6 {
        font-size: 1rem !important;
    }

    #about-us .about-us-image-right {
        margin-left: initial;
    }

    #about-us .about-us-image-left {
        margin-right: initial;
    }

    .offer-text {
        position: absolute;
        top: 55%;
        left: 40% !important;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 13px;
        z-index: 2;
    }

    .offer-text-our-doctor h2 {
        font-size: 1rem !important;
    }

    .offer-text p {
        font-size: 12px !important;
    }

    .offer-text-our-doctor {
        position: absolute;
        top: 45%;
        left: 40%;
        transform: translate(-50%, -50%);
        color: white;
        z-index: 2;
    }

    html[dir=rtl] .offer-text-our-doctor {
        top: 60%;
        left: initial;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 16px;
        z-index: 2;
    }

    .polygon-to-image-second::after {
        content: "";
        position: absolute;
        top: 95%;
        left: 50%;
        width: 100%;
        height: 23px;
        background: var(--white-color);
        /* clip-path: ellipse(64% 60% at 60% 67%); */
        clip-path: ellipse(54% 90% at 49% 42%);
        transform: translateX(-50%);
        z-index: 2;
    }

    .text-polygon .polygon-to-image::after {
        content: "";
        position: absolute;
        top: 70%;
        left: 50%;
        width: 101%;
        height: 55px;
        background: var(--white-color);
        clip-path: ellipse(67% 49% at 53% 61%);
        /* clip-path: ellipse(54% 90% at 53% 42%); */
        transform: translateX(-50%);
        z-index: 2;
    }

    .table-doctor-width {
        width: 100%;
    }

    .table-pharmacy-width {
        width: 100%;
    }

    .gap-time {
        gap: 0.25rem;
    }

    .time-box input {
        width: 35px;
    }

    .table-manage-doctor-width {
        width: 100% !important;
    }

    .discount-badge-offer {
        width: 45%;
        padding: 1rem;
    }

        .discount-badge-offer h2 {
            font-size: 1rem !important;
        }

    html[dir=rtl] .discount-badge-offer h2 {
        font-size: 0.857rem !important;
    }

    .ads-text-our-doctor {
        left: 40%;
        direction: ltr;
    }

        .ads-text-our-doctor h2 {
            font-size: 1rem !important;
        }

    html[dir="rtl"] .ads-text-our-doctor {
        top: 60%;
        left: initial;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 16px;
        z-index: 2;
        direction: rtl;
    }

    svg {
        max-width: 300px !important;
        max-height: 300px !important;
    }

    .display-flex-content {
        flex-wrap: wrap !important;
        width: 100%;
    }

    .px-mobile-3 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .border-input-left-radius {
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
        border-bottom-left-radius: 0 !important;
    }

    html[dir="rtl"] .border-input-left-radius {
        border-bottom-right-radius: initial !important;
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
        border-bottom-left-radius: initial !important;
    }

    .border-input-radius {
        border-bottom-left-radius: 1rem !important;
        border-top-right-radius: 0 !important;
        border-top-left-radius: 0;
        border-bottom-right-radius: 1rem !important;
    }

    html[dir="rtl"] .border-input-radius {
        border-bottom-left-radius: 1rem !important;
        border-top-right-radius: initial !important;
        border-top-left-radius: initial !important;
        border-bottom-right-radius: 1rem !important;
    }

    .title-background::before {
        width: 300%;
        height: 85px;
    }

    .title-background-special::before {
        width: 270%;
        height: 55px;
    }

    html[dir=rtl] .title-background::before {
        width: 275% !important;
        height: 85px !important;
    }

    .title-text-special {
        font-size: 24px !important;
    }

    .title-text {
        font-size: 24px !important;
    }

    .ads {
        height: initial !important;
    }

    .home {
        height: initial !important;
    }

    .offer-text h2 {
        font-size: 12px;
    }

    html[dir="rtl"] .discount-badge-offer {
        left: initial;
        right: 0;
        width: 46%;
        padding: 1.2rem;
    }

    .hidden-image-in-mobile {
        display: none !important;
    }

    .w-image {
        width: 70% !important;
    }

    .top-offer-image {
        height: 10rem !important;
    }

    .special-offer-tag {
        top: 18px !important;
        padding: 1px 10px !important;
    }

    html[dir=rtl] .special-offer-tag {
        right: initial !important;
        left: 40px !important;
    }

    .hook-circle {
        top: 5px !important;
        right: 55px;
        width: 6px !important;
        height: 6px !important;
    }

    html[dir=rtl] .hook-circle {
        right: initial !important;
        left: 61px !important;
    }

    .special-offer-tag::before {
        left: 13px !important;
    }

    html[dir=rtl] .special-offer-tag::before {
        left: initial !important;
        right: 34px !important;
        z-index: -99;
    }

    .special-offer-tag::before, .special-offer-tag::after {
        content: "";
        position: absolute;
        width: 2px;
        height: 18px;
        top: -12px;
    }

    .special-offer-tag strong {
        font-size: 16px !important;
    }

    .special-offer-tag::after {
        right: 16px !important;
        z-index: -99;
    }

    html[dir=rtl] .special-offer-tag::after {
        right: 24px !important;
    }

    .special-offer-tag-new {
        top: 30px !important;
        padding: 3px 10px !important;
    }

    html[dir=rtl] .special-offer-tag-new {
        right: initial !important;
        left: 40px !important;
    }

    .hook-circle-new {
        top: 11px !important;
        right: 66px !important;
        width: 6px !important;
        height: 6px !important;
    }

    html[dir=rtl] .hook-circle-new {
        right: initial !important;
        left: 60px !important;
    }

    .special-offer-tag-new::before {
        left: 20px !important;
    }

    html[dir=rtl] .special-offer-tag-new::before {
        left: initial !important;
        right: 37px !important;
        z-index: -99;
    }

    .special-offer-tag-new::before, .special-offer-tag-new::after {
        content: "";
        position: absolute;
        width: 2px;
        height: 18px;
        top: -17px;
    }

    .special-offer-tag-new strong {
        font-size: 16px !important;
    }

    .special-offer-tag-new::after {
        right: 27px !important;
    }

    html[dir=rtl] .special-offer-tag-new::after {
        right: 27px !important;
        z-index: -9;
    }

    .btn-sm-mobile {
        --bs-btn-padding-y: 0.25rem !important;
        --bs-btn-padding-x: 0.5rem !important;
        --bs-btn-font-size: 0.875rem !important;
        --bs-btn-border-radius: var(--bs-border-radius-sm) !important;
    }

    .px-2-mobile {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}


@media only screen and ( min-width: 344px) and (max-width: 414px) and (min-height: 667px) and (max-height: 896px) {
    .h-vh-100 {
        height: initial !important;
    }
}

@media only screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .home {
        height: initial !important;
    }

    .ads {
        height: initial !important;
    }
}

@media only screen and (device-width: 912px) and (device-height: 1368px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) {
    .home {
        height: initial !important;
    }

    .ads {
        height: initial !important;
    }
}
/* ========== mobiles (portrait) ========== */
@media screen and (max-width: 767px) and (orientation: portrait) {
    .home {
        min-height: 100dvh !important; /* fix for iOS Safari & Chrome */
    }

    .title-background::before,
    .title-background-special::before {
        width: 280% !important;
        height: 80px !important;
    }

    .w-image {
        width: 100% !important;
    }
}

/* ========== mobiles (landscape) ========== */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    .home {
        height: auto !important;
        min-height: 100dvh !important;
    }

    .title-background::before {
        width: 500% !important;
        height: 90px !important;
    }

    .title-background-special::before {
        width: 445% !important;
        height: 60px !important;
    }

    html[dir=rtl] .title-background::before {
        width: 580% !important;
        height: 80px !important;
    }
}

/*  (iPad Portrait & Landscape)*/
@media screen and (min-width: 768px) and (max-width: 1366px) {
    .title-background::before {
        width: 400%;
        height: 90px;
    }

    .title-background-special::before {
        width: 445%;
        height: 70px;
    }

    .offer-text {
        position: absolute;
        top: 45%;
        left: 25%;
    }

    html[dir=rtl] .title-background::before {
        width: 580% !important;
        height: 100px !important;
    }
}


/* End of Media query Section */


/* Prevent owl-carousel from creating extra scroll */
.owl-carousel {
    overflow: hidden;
    width: 100% !important;
}

.owl-stage-outer {
    overflow: hidden;
}

.owl-stage {
    display: flex;
}

.top-offer-image {
    width: 100%;
    max-width: 100%;
    height: 20rem;
    overflow: hidden;
}

.text-polygon {
    position: relative;
    overflow: hidden; /* stops before/after from pushing outside */
}

    .text-polygon .polygon-to-image::after,
    .text-polygon .polygon-to-image-second::before {
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

.polygon-to-image {
    position: relative;
    padding-bottom: 10px;
    overflow: hidden;
}

.polygon-to-image-second {
    position: relative;
    padding-top: 20px;
    overflow: hidden;
}

html, body {
    overflow-x: hidden; /* global fix to kill horizontal scroll */
}
