@font-face {
    font-family: vfont;
    src: url('../fonts/YekanBakhFaNum-VF.woff') format('woff-variations'),
    url('../fonts/YekanBakhFaNum-VF.woff2') format('woff2');
    font-weight: 100 950;
}

@font-face {
    font-family: font;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/woff/YekanBakhFaNum-Light.woff') format('woff'),
    url('../fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
}

@font-face {
    font-family: font;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),
    url('../fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
}

@font-face {
    font-family: font;
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
    url('../fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: font;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),
    url('../fonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
}

@font-face {
    font-family: font;
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'),
    url('../fonts/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
}

:root {
    --ql-h: 76px;
    --bs-nav-link-font-size: 0.875em;
}

h1, h2, h3, h4, h5, h6, p, div, ul li, input, a, button {
    font-family: vfont, font, serif;
    font-variation-settings: "DOTS" 0;
}

body {
    font-weight: 500;
    letter-spacing: -0.2pt;
}

span.select2 span, input {
    font-size: 14px !important;
}

.active > .page-link, .page-link.active {
    z-index: 2 !important;
}

.header-search-group {
    transition: border-color .2s ease;
}

.header-search-group:focus-within {
    border-color: #198754 !important;
}

.header-search-input::placeholder {
    color: #c6cbd3;
    opacity: 1;
}

.header-separator {
    width: 2px;
    height: 18px;
    background: #e3e3e3;
    margin: 0 12px;
}

@media (max-width: 991px) {
    .header-logo-img {
        width: 40px;
        height: 40px;
    }
}

#main-menu-wrapper {
    background-image: linear-gradient(to left, #eb66bf, #7fb7e0);
    background-image: -moz-linear-gradient(to left, #eb66bf, #7fb7e0);
    background-image: -webkit-linear-gradient(to left, #eb66bf, #7fb7e0);
    position: sticky;
    top: 83px;
}

.main-menu-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
    pointer-events: none;
}

.main-nav-links .nav-link.active {
    background-color: rgba(0, 0, 0, 0.2);
}

.main-nav-links .nav-link:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    #main-menu-wrapper {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 2;
        border-bottom: 0;
        box-shadow: 0 -6px 18px rgba(0, 0, 0, .12);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-menu-bar .mobile-menu-item {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-bar .mobile-menu-item.active {
        background-color: rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-bar .mobile-menu-item:hover:not(.active) {
        background-color: rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-bar::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: -1;
        pointer-events: none;
    }
}

#home-banner {
    background: -moz-linear-gradient(to left, #eb66bf, #7fb7e0);
    background: -webkit-linear-gradient(to left, #eb66bf, #7fb7e0);
    background: linear-gradient(to left, #eb66bf, #7fb7e0);
}

#home-banner .banner-title {
    font-size: 48pt;
}

#home-banner .banner-subtitle {
    font-size: clamp(25pt, 1.6vw, 38pt);
    letter-spacing: -2.5pt;
}

#circle-1 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -250px;
    background-color: rgba(255, 255, 255, 0.1);
}

#circle-2 {
    width: 700px;
    height: 700px;
    top: -400px;
    left: -350px;
    background-color: rgba(255, 255, 255, 0.15);
}

@keyframes circle-animation {
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

#star-1 {
    width: 35px;
    height: 35px;
    right: 100px;
    top: 150px;
    opacity: 0.5;
}

#star-2 {
    width: 25px;
    height: 25px;
    left: 50px;
    top: 20px;
    opacity: 0.7;
}

#star-3 {
    width: 15px;
    height: 15px;
    left: 50px;
    bottom: 30px;
    opacity: 0.4;
}

.home-star {
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url('../images/home_star.png');
}

#quick-links {
    transform: translateY(calc(var(--ql-h) / -2));
}

#quick-links .tile {
    width: 95%;
    height: var(--ql-h);
    margin-inline: auto;
    transition: transform .2s ease, box-shadow .2s ease;
}

#quick-links .tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

#quick-links .tile-1 {
    background: linear-gradient(90deg, #2c8fb1, #4eb8c8);
}

#quick-links .tile-2 {
    background: linear-gradient(90deg, #b23a3a, #d24b4b);
}

#quick-links .tile-3 {
    background: linear-gradient(90deg, #c07a2b, #d8a04a);
}

#quick-links .tile-4 {
    background: linear-gradient(90deg, #b24a82, #d46aa8);
}

@media (max-width: 767px) {
    #quick-links .tile {
        width: 100% !important;
    }
}

#proposal-doctors-carousel, #new-doctors-carousel
#proposal-doctors-carousel .owl-stage-outer, #new-doctors-carousel .owl-stage-outer {
    width: 100%;
    overflow: hidden !important;
}

#proposal-doctors-carousel .owl-stage, #new-doctors-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

#proposal-doctors-carousel .owl-item, #new-doctors-carousel .owl-item {
    padding: 8px 10px;
    box-sizing: border-box;
}

a.carousel-card {
    background-image: linear-gradient(to bottom, #fff, #e3efe5);
    background-image: -moz-linear-gradient(to bottom, #fff, #e3efe5);
    background-image: -webkit-linear-gradient(to bottom, #fff, #e3efe5);
}

a.carousel-card:hover {
    border: 2px solid #4ea3ff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .carousel-card {
        padding: 14px 12px 12px;
    }
}

#proposal-doctors-carousel .owl-dots, #new-doctors-carousel .owl-dots, #new-articles-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
}

#proposal-doctors-carousel .owl-dot, #new-doctors-carousel .owl-dot, #new-articles-carousel .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d7d7d7;
    border: 0;
    padding: 0;
    opacity: 1;
}

#proposal-doctors-carousel .owl-dot.active, #new-doctors-carousel .owl-dot.active, #new-articles-carousel .owl-dot.active {
    background: #39d353;
}

#home-search-section {
    background: linear-gradient(to left, #eb66bf, #7fb7e0);
    height: 360px;
    overflow: visible;
    position: relative;
}

@media (max-width: 991px) {
    #home-search-section {
        height: auto;
    }
}

#home-search-section .home-search-content {
    max-width: 700px;
}

#home-search-section .home-search-wrapper {
    max-width: 680px;
}

#home-search-section img {
    width: 400px;
    z-index: 1;
}

@media (min-width: 992px) {
    #home-search-section img {
        margin-top: -60px !important;
        width: 420px;
    }
}

#home-search-section .select2-selection--single {
    border: 2px solid #ddd;
    border-radius: 30px;
}

#home-search-section .select2-container--default .select2-selection--single:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

#home-search-section .select2-selection__arrow {
    display: none !important;
}

@media (min-width: 768px) {
    #home-search-section .select2-selection--single {
        border: 0 !important;
    }

    #home-search-section .select2-container .select2-selection--single {
        height: 50px !important;
    }

    #home-search-section .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 50px !important;
    }
}

#home-search-section .home-search-separator {
    width: 5px;
    height: 42px;
    background: #6d6d6d;
    margin: 4px 0;
}

#home-search-section #circle-3 {
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.15);
}

#new-articles-section {
    background: -moz-linear-gradient(to left, #eb66bf, #7fb7e0);
    background: -webkit-linear-gradient(to left, #eb66bf, #7fb7e0);
    background: linear-gradient(to left, #eb66bf, #7fb7e0);
}

#home-questions .home-question-card {
    background-image: linear-gradient(to left, #fff, #e3efe5);
    background-image: -moz-linear-gradient(to right, #fff, #e3efe5);
    background-image: -webkit-linear-gradient(to right, #fff, #e3efe5);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

#home-questions .home-question-card:hover {
    background: #e4f1ea;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

#footer-stats {
    background: #f1f1f1;
}

#footer-section {
    background: #f8f8f8;
}

#footer-section ul li::before {
    content: "▪";
    color: #49c24a;
    margin-left: 10px;
}

#profile-sidebar a:not(:last-child) {
    border-bottom: 2px dashed #bbbbbb;
}

#profile-dashboard-cards .card-item:not(:last-child) {
    border-left: 1px solid #e5e5e5;
}

@media (max-width: 991px) {
    #profile-dashboard-cards .card-item {
        border: none !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }
}

#profile-image-box {
    border-left: 2px dashed #c5c5c5;
}

table.table.data-table thead tr th {
    background: #1e3a8a !important;
    color: #ffffff !important;
    text-align: center !important;
}

table.table.data-table tbody tr td {
    vertical-align: middle;
    font-size: 14px !important;
    text-align: center !important;
}

.dt-length {
    text-align: left;
    margin-bottom: 10px;
}

.dt-info {
    text-align: left;
    margin: 10px;
}

#top-banner {
    background-image: linear-gradient(to left, #eb66bf, #7fb7e0);
    background-image: -moz-linear-gradient(to left, #eb66bf, #7fb7e0);
    background-image: -webkit-linear-gradient(to left, #eb66bf, #7fb7e0);
}

#doctors-list-box, #articles-list-box, #questions-list-box, #question-info-box, #article-info-box {
    margin-top: -60px !important;
}

#doctor-info {
    margin-top: -70px;
}

#doctor-info #doctor-tabs button:not(.active) {
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.15) !important;
}

#doctor-info #doctor-tabs button.active {
    color: #222222 !important;
    background-color: #ffffff !important;
}

#doctor-info .reply-list-box {

    opacity: 0;

    transform: translateY(-10px);

    max-height: 0;

    overflow: hidden;

    transition: all .3s ease;
}

#doctor-info .reply-list-box.show {

    opacity: 1;

    transform: translateY(0);

    max-height: 500px;
}

#doctor-info #patients-list #patients-head {
    grid-template-columns:
        80px
        1.5fr
        180px
        180px;
}

@media (min-width: 992px) {
    #doctor-info #patients-list .patients-row {
        grid-template-columns:
        80px
        1.5fr
        180px
        180px;
    }
}

#article-content p {
    text-align: justify !important;
}

/* =======================================
   APPOINTMENT STEPPER
======================================= */

.step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 50%;
    width: 100%;
    height: 4px;
    background: #e4e4e4;
    z-index: 1;
}

.step.completed:not(:last-child)::before {
    background: #34d058;
}

.step.active:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 50%;
    width: 50%;
    height: 4px;
    background: #34d058;
    z-index: 1;
}

.step-circle {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #dddddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 30px;
    font-weight: 800;
}

.step.completed .step-circle,
.step.active .step-circle {
    border-color: #34d058;
}

.step-title {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 768px) {

    .step {
        width: 20%;
        min-width: auto;
    }

    .step-circle {
        width: 42px;
        height: 42px;
        font-size: 22px;
        border-width: 2px;
    }

    .step-title {
        font-size: 11px;
        line-height: 1.4;
        margin-top: 8px;
    }

    .step:not(:last-child)::before,
    .step.active:not(:last-child)::after {
        top: 21px;
    }
}

.turn-item.active {
    background-color: var(--bs-success-bg-subtle) !important;
    color: rgba(var(--bs-success-rgb),var(--bs-text-opacity)) !important;
    border-color: rgba(var(--bs-success-rgb),var(--bs-border-opacity)) !important;
}