:root {
    --turquoise-color: #58C5C7; /* رنگ اصلی */
    --accent-color: #e8ce75; /* رنگ تاکید */
    --gold-color: #e8cf75; /* رنگ تاکید */
    --background-color: #F8F8F8; /* رنگ پس‌زمینه */
    --gray: #9F9D9D; /* رنگ پس‌زمینه */
    --text-color: #666666; /* رنگ متن */
    --light-gray: rgba(112,112,112,0.2);
    --normal-font-size: 0.8rem;
    --light-gray-slides: #979797;
    --vary-light-pink: #FFFAE7;
    --dark-gray: #838383;
    --light-transparent-gray: rgba(139,139,139,.2);
    --mid-gray: #F9F9F9;
    --accent-transarent-color: rgba(232,207,117,0.1); /* رنگ تاکید */
    --cornflower-blue-color: #75a0e8;
}

@font-face {
    font-family: 'IRANSansXFaNum' !important;
    /* Name of the font */
    src: url('../woff/iransansxfanum-regular.woff') format('woff');
    /* Path to the font file */
    font-weight: normal;
    /* Optional: Specify the font weight */
    font-style: normal;
    /* Optional: Specify the font style */
}

body {
    height: 1000px;
    font-family: 'IRANSansXFaNum', tahoma, sans-serif !important;
    font-size: 0.9rem;
    font-style: normal;
}

h1 {
    font-size: 2.5rem !important;
    font-weight: 500 !important;
}

h6 {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

header {
    background-color: white;
    /*    margin: 0 -3rem;
*/
}

.ltr {
    direction: ltr !important
}

.rtl {
    direction: rtl !important;
}

body {
    height: 1000px;
}

a.secondary-button {
    border: 1px solid #58c5c7;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
    color: #58c5c7;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    text-decoration: none;
}

.shopping-card {
    color: #58c5c7;
    border-radius: 0.5rem;
    border: 1px solid #58c5c7;
    padding: 0.5rem;
    margin-left: 0.25rem
}

.navbar .nav-item .nav-link {
    color: black;
}

    .navbar .nav-item .nav-link ul.dropdown-menu {
        border-color: #707070
    }

.navbar .nav-item ul.dropdown-menu li .dropdown-item {
    font-size: 0.8rem
}

.user-icon {
    border-radius: 0.25rem;
    border: 1px solid #58c5c7;
    padding: 0.2rem 0.2rem 0 0.2rem;
    margin-left: 0.25rem;
}

.w-70 {
    width: 70%;
}

.main-menu {
    border-top: #E8cf75 2px solid;
    border-bottom-width: 0 !important;
}

.main-menu-container {
    padding: 0rem 120px 0 120px;
}

.img-logo {
    width: 70px;
}

.bg-title {
    background-image: url('../images/titlebg.png'); /* Sets a background image */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    padding: 0 1.5rem;
}

.main-page-title {
    padding-top: 50px;
}

.w-50 {
    width: 50%;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* تراز کردن بخش‌ها به صورت مرکزی */
}

.main-page-title {
    width: 100%; /* عرض مشابه برای هر دو بخش */
    max-width: 600px; /* مقدار حداکثر عرض اختیاری */
    text-align: center; /* تراز متن به مرکز */
}

.title-description {
    width: 100%; /* عرض مشابه برای هر دو بخش */
    max-width: 600px; /* مقدار حداکثر عرض اختیاری */
    text-align: center; /* تراز متن به مرکز */
    margin-top: 2rem;
}

    .title-description h6 {
        display: -webkit-box;
        -webkit-line-clamp: 2; /* محدود به دو خط */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis; /* نمایش سه نقطه در صورت نیاز */
        line-height: 1.5; /* فاصله مناسب بین خطوط */
        max-height: calc(1.5em * 2); /* تنظیم ارتفاع برای دو خط */
        text-align: center; /* تراز متن به مرکز */
    }

.search-container input {
    box-shadow: 0px 0px 13px rgba(112, 112, 112, 0.5);
    height: 60px;
    width: 70%;
    border-width: 0;
    direction: rtl;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
}

.search-container {
    display: flex;
    justify-content: center;
    position: relative;
    height: 100%;
    margin-top: 50px;
}

.search-container-absolute {
    left: 3rem;
    bottom: 0;
    position: absolute;
    width: 80%;
    left: 50%;
    transform: translate(-50%, 50%);
}

.search-button-container {
    position: absolute;
    left: calc(15% + 0.5rem);
    top: 50%;
    height: 80%;
    background-color: var(--accent-color);
    transform: translate(0, -50%); /* Center the image completely */
    border-radius: 0.75rem;
    padding: 0.5rem;
}

    .search-button-container img {
        height: 100%;
    }

.oval-div {
    background-image: url('../images/oval.png'); /* Sets a background image */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    width: 100%;
    margin-top: -60px;
    padding-top: 200px;
    padding-bottom: 50px;
}

.training-courses-container {
    padding: 0 15%;
}

    .training-courses-container div img {
        max-width: 95%;
    }

.training-courses-img-container {
    background-color: white;
    border-radius: 1rem;
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.plr-15p {
    padding: 0 15%;
}

.plr-10p {
    padding: 0 10%;
}

.plr-5p {
    padding: 0 5%;
}

.slides-title {
    font-size: 1rem;
}

.slides-subtitle {
    font-size: 0.7rem;
    color: var(--dark-gray);
}

.border-right-gold-2 {
    border-right: solid 2px var(--accent-color);
}

.border-light-gray {
    border: 1px solid var(--light-gray);
}

.text-gray {
    color: var(--gray);
}

.card-title {
    color: #3c3c3c;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    direction: rtl;
}

.w-100 {
    width: 100%;
}

hr {
    background-color: var(--light-gray); /* Green */
}

.blue-button {
    background-color: var(--turquoise-color);
    color: white;
    min-width: 50px;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border-width: 0;
}

.price-slide {
    font-weight: bold;
    font-size: 1rem;
}

.currency-slide {
    font-size: 0.7rem;
    color: var(--light-gray-slides)
}

.blue-text {
    color: var(--turquoise-color);
}

.introduce-sedaye-hakim .more-info {
    display: inline-block; /* Required for width/max-width to work on span */
    max-width: 222px; /* Adjust this value to control the width */
    /*white-space: nowrap;*/ /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.introduce-sedaye-hakim, .about-sedaye-hakim {
    background-color: var(--vary-light-pink);
    padding: 100px 10%;
    display: flex;
    justify-content: space-between;
}

video {
    border: 5px solid #333;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

    /* Customize controls */
    video::-webkit-media-controls-panel {
        background-color: rgba(0, 0, 0, 0.7);
    }

    video::-webkit-media-controls-play-button,
    video::-webkit-media-controls-mute-button {
        background-color: #ff5722;
        border-radius: 50%;
    }

.dr-advices {
    background: linear-gradient(45deg, #fafafa, #ffe99a);
    width: 100%; /* Adjust as needed */

    padding: 100px 10%;
    display: flex;
    justify-content: space-between;
}

    .dr-advices .more-info {
        display: inline-block; /* Required for width/max-width to work on span */
        max-width: 300px; /* Adjust this value to control the width */
        /*white-space: nowrap;*/ /* Prevent text from wrapping */
        overflow: hidden; /* Hide overflow */
        text-overflow: ellipsis; /* Add ellipsis for overflow text */
    }

    .dr-advices img {
        max-height: 400px
    }

.about-sedaye-hakim .title {
    font-size: 20px;
}

.about-sedaye-hakim div {
    flex: 1 1 auto;
}

.mw-25p {
    max-width: 25vw;
}

.mw-15p {
    max-width: 15vw;
}

.statistics {
    background-color: #333;
    position: relative;
    display: flex;
    min-height: 170px;
    margin-top: 50px;
    z-index: 1;
}

    .statistics div.statistics-parts {
        background-color: #333;
        flex: 1 1 33.333333333%;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        flex-direction: column;
    }

.statistics-rotated-part {
    transform: rotate(-2deg);
    background-color: var(--light-transparent-gray);
    position: absolute;
    left: 0;
    top: 0;
    min-height: 170px;
    width: 100%;
    border-radius: 0.5rem;
    z-index: -10;
}

.text-gold {
    color: var(--gold-color);
}

.bg-gold {
    background-color: var(--gold-color) !important;
}

.padding-uni {
    padding: 1rem 1.5rem 0 1.5rem;
}

.univercities {
    background-color: white;
}

.flex-60 {
    flex: 1 1 60%;
}

.flex-40 {
    flex: 1 1 40%;
}

.flex-30 {
    flex: 1 1 30%;
}

.flex-70 {
    flex: 1 1 70%;
}

.flex-10 {
    flex: 1 1 10%;
}

.flex-50 {
    flex: 1 1 50%;
}

.w-40 {
    flex: 1 1 40%;
    max-width: 40%;
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1240px;
    }
}

.bold {
    font-weight: 700;
}

.pt-30 {
    padding-top: 30px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.ps-10rem {
    padding-left: 10rem;
}

.pe-10rem {
    padding-right: 10rem;
}

.ps-10rem {
    padding-left: 10rem;
}

.pe-10rem {
    padding-right: 10rem;
}

.img-container {
    width: 20%; /* Each container takes 20% of the parent width */
    aspect-ratio: 1 / 1; /* Ensure height equals width (modern browsers) */
    overflow: hidden; /* Hide any overflow from the image */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image fills the container without distortion */
    }

.text-align-center {
    text-align: center;
    text-align: -webkit-center;
    text-align: -moz-center;
}

.text-align-right {
    text-align: right;
}

.title-underline-right {
    height: 3px;
    background: #58c5c7;
    width: 8.938rem;
    margin: 1rem 0 2rem auto;
}

p {
    line-height: 2;
}

.title-underline {
    height: 3px;
    background: #58c5c7;
    width: 8.938rem;
    margin: 1rem auto 2rem auto;
}

.video-container {
    position: relative;
    height: 100%;
}

.video, .video2 {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 10;
    padding: 2rem 0;
}

    .video img, .video2 img {
        width: 100%;
    }

.video-shadow {
    left: 50%;
    position: absolute;
    max-width: 28%;
    top: 3.1rem;
    transform: translateX(-50%);
    background-color: rgb(232,207,117);
}

.video::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%,-2rem);
    width: 90%;
    height: 10px;
    background: #e8cf75;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.video2::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%,calc(10px - 2rem));
    width: 80%;
    height: 10px;
    background: rgba(232,207,117,0.32);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.mw-30 {
    max-width: 30%
}

.top-left-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.bg-mid-gray {
    background-color: var(--mid-gray) !important;
}

.dr-card-title {
    color: #323232 !important;
    font-size: 1.5rem;
}

.dr-card-text {
    color: #6F6D6D !important;
    font-size: 1rem;
}

.dr-card-footer {
    color: #b3b3b3 !important;
    font-size: 1rem;
}

.bg-transparent-pink {
    background-color: var(--accent-transarent-color);
}

.big-radius-top {
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

.p-6 {
    padding: 6rem;
}

.pse-6 {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
}

.ptb-6 {
    padding: 6rem 0 !important;
}

.pb-6 {
    padding-bottom: 6rem !important;
}

.pt-6 {
    padding-top: 6rem !important;
}

.m-6 {
    margin: 6rem !important;
}

.mse-6 {
    margin-left: 6rem !important;
    margin-right: 6rem !important;
}

.mtb-6 {
    margin: 6rem 0 !important;
}

.mb-6 {
    margin-bottom: 6rem !important;
}

.gradient-dark-blue {
    background: linear-gradient(to right, rgb(0, 89, 158), rgb(51, 112, 181)) !important;
}

.h-300 {
    height: 300px;
}

.h-150 {
    height: 150px;
}

.bg-pattern {
    background-image: url('/images/ink_splash_duotone_stripe_background.png');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
}

.bg-blog-header {
    background-image: url('/images/Mask Group 2.png');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
}

.blue-bg {
    background-color: var(--turquoise-color);
}

.search-box {
    display: flex;
    position: absolute;
    top: 100%;
    width: calc(100% - 12rem);
    justify-content: space-between;
    /*    border: 1px solid #707070;
*/ box-shadow: 0 0 13px rgba(0, 0, 0, 0.16);
    border-radius: 0.5rem;
    transform: translateY(-50%);
    align-items: center;
    gap: 1rem;
}

.warning-button {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    background-color: rgba(128, 176, 34, 1);
    /* رنگ دکمه باکس اول */
    flex-shrink: 0;
    /* جلوگیری از کوچک شدن دکمه */
}

.search-box input, .search-box select {
    background-color: #F8F8F8;
    border: solid 1px #EFEFEF;
    min-width: 100%;
    flex: 1 1 25%;
    height: 100%;
    padding-right: 2rem;
}

.search-box label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    direction: ltr;
    right: 0.5rem;
    font-size: 0.7rem;
    color: #B5B5B5;
}

.search-box img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    direction: ltr;
    left: 0.5rem;
    font-size: 0.7rem;
    color: #B5B5B5;
}

.search-box-col-3 {
    max-width: calc(25% - 3rem);
    flex: 1 1 calc(25% - 3rem);
}

.dr-list-col-3 {
    max-width: calc(25% - 2rem);
    flex: 1 1 calc(25% - 2rem)
}


.doctor-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.doctor-filter-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.11);
    max-width: 400px;
    width: 100%;
    padding: 20px;
}

.doctor-filter-header {
    position: relative;
    margin-bottom: 20px;
    text-align: right;
}

.doctor-filter-title {
    font-weight: 700;
    font-size: 18px;
    color: #404040;
    display: block;
    margin-bottom: 8px;
}

.doctor-filter-header-line {
    height: 32px;
    background: #e8cf75;
    border-radius: 1px;
    width: 3px;
    position: absolute;
    right: -20px;
    top: 0%;
}

.doctor-filter-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.doctor-filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: ltr;
    cursor: pointer;
    justify-content: end;
}

.doctor-filter-checkbox {
    position: absolute;
    opacity: 0;
}

.doctor-filter-custom-check {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(30, 30, 30, 0.3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.doctor-filter-checkbox:checked + .doctor-filter-custom-check {
    background: #58c5c7;
    border-color: transparent;
}

.doctor-filter-custom-check::after {
    content: '';
    width: 9px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
}

.doctor-filter-checkbox:checked + .doctor-filter-custom-check::after {
    opacity: 1;
}

.doctor-filter-text {
    font-size: 16px;
    color: #555;
    font-weight: 400;
    order: -1;
}

.more-help {
    padding: 1rem 3rem;
}

.blue-green-bg {
    background-color: #00939E;
}

.more-help {
    color: white;
}

    .more-help label {
        color: white;
        padding: 0 2rem 0 0.5rem;
    }

.tell-lbl {
    font-size: 1.5rem;
}

.call-us-lbl {
    font-size: 0.8rem;
}

.more-help-lbl {
    font-size: 1.5rem;
    font-weight: bold;
}



.why-sedaye-hakim {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f8F5EC;
}

    .why-sedaye-hakim img {
        display: block; /* Prevents extra space caused by inline images */
        height: auto; /* Maintains the image's aspect ratio */
        max-width: none; /* Ensures the image isn't resized to fit the container */
    }

.text-offers {
    color: #303030;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.text-details {
    color: #484848;
    text-align: center;
}

.empty-image-space {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    padding-bottom: 100px;
    padding-left: 3rem;
    padding-right: 3rem;
}

.grid-center {
    display: grid;
    place-items: center;
}

.doctor-profile-container, .about-doctor-container, .contact-doctor-container {
    background-color: #fff;
    border: 1px solid rgba(210, 210, 210, 0.57);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-doctor-container {
    text-align: right;
}

    .about-doctor-container label, .contact-doctor-container label {
        font-size: 1rem;
        font-weight: bold;
    }

.doctor-profile-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.doctor-profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.doctor-profile-name {
    font-weight: 700;
    color: #242424;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.doctor-profile-title {
    color: #999;
}

.doctor-profile-divider {
    width: 100%;
    height: 1px;
    background-color: #d3d4d8;
    opacity: 0.7;
    margin: 20px 0;
}

.doctor-profile-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.doctor-profile-rating,
.doctor-profile-comments,
.doctor-profile-location {
    display: flex;
    align-items: center;
}

.doctor-profile-label {
    color: #434343;
    margin-right: 5px;
}

.doctor-profile-value {
    color: #292929;
}

.doctor-profile-icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.doctor-profile-icon {
    width: 24px;
    height: 24px;
    background-color: #b3b3b3;
    border-radius: 50%;
}

.doctor-profile-footer {
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.doctor-profile-selected {
    font-weight: 700;
    white-space: nowrap;
}

.doctor-profile-container img {
    max-width: 150px;
}

.doctor-comment-header, .doctor-comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.doctor-comment-user {
    font-weight: 700;
    color: #555;
}

.doctor-comment-time {
    color: #a3a1a1;
}

.doctor-comment-content {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.doctor-comment-text {
    color: #555;
    line-height: 1.5;
}

.doctor-comment-rating {
    display: flex;
    align-items: center;
}

.doctor-comment-stars {
    display: flex;
}

.doctor-comment-star {
    width: 10px;
    height: 10px;
    background-color: #eeb602;
    margin-right: 5px;
    border-radius: 50%;
}

.doctor-comment-rating-text {
    font-weight: 700;
    color: #80b022;
    margin-left: 10px;
}

.doctor-comment-reply {
    color: #555;
    margin-top: 10px;
}

.doctor-comment-container {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 20px;
    margin: 10px;
    max-width: 100%;
    width: 100%;
}

.doctor-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.doctor-comment-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #404244;
}

.doctor-comment-indicator {
    display: flex;
    gap: 8px;
}

.doctor-comment-dot {
    width: 5px;
    height: 5px;
    background-color: #e8cf75;
    border-radius: 50%;
}

.doctor-comment-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    padding: 1rem;
}

.doctor-comment-input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doctor-comment-input-label {
    color: #696464;
}

.doctor-comment-input-box {
    background-color: #fcfcfc;
    border: 1px solid #efefef;
    border-radius: 5px;
    padding: 15px;
    min-height: 139px;
    display: flex;
    align-items: center;
}

.doctor-comment-input-placeholder {
    color: #b5b5b5;
}

.doctor-comment-actions {
    display: flex;
    justify-content: end;
    align-items: center;
}

.doctor-comment-action-show-more {
    background-color: #e8e8e8;
    border-radius: 6px;
    padding: 10px 30px;
    font-weight: 700;
    color: #494949;
    cursor: pointer;
    max-width: 200px;
    direction: ltr;
}

.doctor-comment-action-submit {
    background-color: #80b022;
    border-radius: 6px;
    padding: 10px 60px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

.doctor-comment-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.doctor-appointment-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    background-color: #fff;
    padding: 20px;
}

.doctor-appointment-header {
    text-align: center;
    margin-bottom: 20px;
}

.doctor-appointment-title {
    font-weight: bold;
    color: #242424;
}

.doctor-appointment-subtitle {
    font-weight: bold;
    color: #242424;
}

.doctor-appointment-content {
    width: 100%;
    max-width: 600px;
}

.doctor-appointment-date-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.doctor-appointment-prev-day,
.doctor-appointment-next-day {
    color: #030303;
}

.doctor-appointment-current-date {
    font-weight: bold;
    color: #008ed3;
}

.doctor-appointment-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.doctor-appointment-slot {
    flex: 1 1 calc(25% - 10px);
    background-color: #fff;
    border: 1px solid #80b022;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.doctor-appointment-slot-time {
    color: #80b022;
}

.doctor-appointment-visit-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5ffe2;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.doctor-appointment-cost-label {
    color: #5e890b;
}

.doctor-appointment-cost-amount {
    font-weight: bold;
    color: #5e890b;
}

.doctor-appointment-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 0.5rem;
    align-items: end;
}

.doctor-appointment-action {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.doctor-appointment-action-radio {
    appearance: none; /* مخفی کردن دکمه رادیویی پیش‌فرض */
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #80b022;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

    .doctor-appointment-action-radio:checked {
        background-color: #80b022;
    }

        .doctor-appointment-action-radio:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            background-color: #fff;
            border-radius: 50%;
        }

.doctor-appointment-action-text {
    font-weight: bold;
    color: #242424;
}

.doctor-appointment-submit {
    text-align: center;
}

.doctor-appointment-submit-button {
    background-color: #58c5c7;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}


.frequently-asked-questions-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.frequently-asked-questions-header {
    background-color: #58c5c7;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    color: white;
    font-weight: 700;
}

.frequently-asked-questions-content {
    display: flex;
    gap: 20px;
}

.frequently-asked-questions-box {
    background-color: white;
    border: 1px solid rgba(210, 210, 210, 0.57);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    margin-bottom: 0.5rem;
    position: relative;
}

.frequently-asked-questions-box-description {
    color: #979797;
}

.frequently-asked-questions-box-details {
    font-weight: 700;
    color: #2b2a2a;
    position: relative;
}

.frequently-asked-questions-box-separator {
    border-bottom: 1px solid #afafaf;
    opacity: 0.44;
    margin: 20px 0;
}

.frequently-asked-questions-box-note {
    color: #6e6e6e;
}

.frequently-asked-questions-box-arrow {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
}


.frequently-asked-questions-box-title {
    font-weight: 700;
    color: #1e1e1e;
    position: relative;
}

.new-questioin-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
}

.new-questioin-header {
    font-weight: 700;
    color: rgba(112,112,112,.35);
    text-align: center;
    margin-bottom: 5px;
    text-align: right;
    font-size: 1.2rem;
}

/*.new-questioin-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, #e8cf75 50%, #707070 50%);
    margin-bottom: 20px;
}*/

.new-questioin-line {
    width: 100%;
    height: 2px;
    display: flex;
    margin-bottom: 20px;
}

.gold-part {
    width: 10%; /* طول بخش طلایی */
    height: 100%;
    background-color: #e8cf75;
}

.gray-part {
    width: 90%; /* طول بخش طوسی */
    height: 100%;
    background-color: rgba(112,112,112,0.35);
}

.new-questioin-line-secondary {
    width: 100%;
    height: 1px;
    background-color: #707070;
    opacity: 0.31;
    margin-bottom: 20px;
}

.new-questioin-box {
    background-color: #fcfcfc;
    border: 1px solid #efefef;
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    position: relative;
    min-height: 50px;
}

.validation-box {
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
    display: flex;
    gap: 10px;
    text-align: right;
    position: relative;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
}

.new-questioin-box-title {
    color: #696464;
    text-align: right;
    margin-bottom: 0.5rem;
}

.new-questioin-box-description {
    color: #b5b5b5;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.5rem;
}


.new-questioin-box-arrow {
    width: 20px;
    height: 20px;
    background-color: #484848;
    margin-left: auto;
}

    .new-questioin-box-arrow.down {
        transform: rotate(180deg);
    }

.new-questioin-box-separator {
    border-bottom: 1px solid #afafaf;
    opacity: 0.44;
    margin: 20px 0;
}

.new-questioin-box-note {
    color: #6e6e6e;
}

.new-questioin-button {
    background-color: #80b022;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    color: white;
    cursor: pointer;
}

.new-questioin-code-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .new-questioin-code-box input {
        width: 85.5px;
        height: 40.567px;
        border: 1px solid #efefef;
        border-radius: 5px;
        background-color: #fcfcfc;
        text-align: center;
        color: #606060;
    }

new-questioin-containernew-questioin-container
.new-questioin-code-box span {
    color: #606060;
}

.question-body {
    background-color: #f7f8fc;
}

.learning-path-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.learning-path-img-container img {
    max-height: 400px;
}

.learning-path-header {
    font-size: 40px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    text-align: right;
}

.learning-path-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: right;
    align-items: end;
}

.learning-path-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.learning-path-box-title {
    color: #333;
    text-align: right;
}

.learning-path-box-description {
    color: #333;
}

.learning-path-box-button {
    background-color: #80b022;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    color: white;
    cursor: pointer;
    flex: 1 1 20%;
    width: max-content;
}

    .learning-path-box-button:hover {
        background-color: #6c9a1d;
    }

.courses-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding-bottom: 50px;
}

    .courses-container p {
        text-align: center;
    }

.selectd-courses-container p {
    text-align: right;
}

.selectd-courses-container {
    background-color: rgb(252,252,252);
}

.courses-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.selectd-courses-title {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.road-map-container {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    gap: 1rem;
}

.road-map-content {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    position: relative;
    border-radius: 0.5rem;
    border: 1px solid rgba(112,112,112,0.13);
}

.road-map-section {
    flex: 1;
    padding: 20px;
    border-radius: 6px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.road-map-section-green {
    background-color: #58c5c7;
}

.road-map-section-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.road-map-section-text {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.road-map-section-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8cf75;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.road-map-button-text {
    color: #242424;
    font-weight: 700;
    margin-right: 10px;
}

.road-map-button-icon {
    width: 20px;
    height: 20px;
    background-color: transparent;
    transform: rotate(-90deg);
}

.road-map-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.road-map-footer-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.road-map-footer-icon {
    width: 81px;
    height: 84px;
    background-color: #fff;
    border-radius: 40.5px;
    margin-bottom: 10px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%,-50%);
}

.road-map-footer-text {
    color: #fff;
    margin-bottom: 5px;
    text-align: right;
    padding-right: 0.5rem;
}

.road-map-footer-time {
    color: #fff;
    font-weight: 700;
}

.road-map-footer-label {
    color: #fff;
}

.road-map-footer-price {
    display: flex;
    align-items: center;
}

.road-map-price-value {
    color: #fff;
    font-weight: 700;
}

.road-map-price-label {
    color: #fff;
}

.turquoise-bg {
    background-color: var(--turquoise-color);
}

.cornflower-blue-bg {
    background-color: var(--cornflower-blue-color);
}

.road-map-body {
    background-color: white;
    border: 1px solid rgba(112,112,112,0.13);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.road-map-pager-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 20px;
}

.road-map-pager-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.road-map-pager-box {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background-color: #333;
}

.road-map-pager-box-left {
    margin-right: auto;
}

.road-map-pager-box-right {
    margin-left: auto;
}

.road-map-pager-dots {
    display: flex;
    gap: 10px;
}

.road-map-pager-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
}

.road-map-pager-dot-gray {
    background-color: #dfdddd;
}

.road-map-pager-dot-teal {
    background-color: #58c5c7;
}

.road-map-pager-arrows {
    display: flex;
    gap: 20px;
}

.road-map-pager-arrow {
    width: 20px;
    height: 20px;
    background-color: #fff;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.road-map-pager-arrow-left {
    transform: rotate(90deg);
}

.road-map-pager-arrow-right {
    transform: rotate(-90deg);
}

.about-us-container {
    display: flex;
    justify-content: center;
    background-color: #fff;
}

.about-us-content {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.about-us-circle {
    display: flex;
    justify-content: center;
}

    .about-us-circle img {
        width: 198px;
        height: auto;
    }

.about-us-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #6f6d6d;
    text-align: justify;
}

.about-us-paragraph {
    line-height: 2;
    text-align: right;
    font-size: 1rem;
}

.about-us-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.about-us-title-main {
    color: #58c5c7;
    font-size: 1.1rem;
}

.about-us-title-sub {
    color: #474747;
    font-size: 1.1rem;
}

.about-us-intro {
    color: #474747;
    align-self: flex-end;
}

.about-us-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #e8cf75, #fff5cf);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.about-us-img-bg {
    background-image: url('/images/Rectangle 8054.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
}

.our-teachers {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.our-teachers-main-title {
    font-size: 1.5rem;
    text-align: center;
}

.research-measures {
    height: 150px;
}

.about-us-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    background-color: rgb(249,249,249);
}

.about-us-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    border-radius: 0.5rem;
}

.about-us-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-us-title {
    font-size: 25px;
    color: #474747;
}

.about-us-decoration {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-us-circle {
    width: 6px;
    height: 100%;
    border-radius: 50%;
}

.about-us-line {
    width: 251px;
    height: 6px;
    border-radius: 1px;
    background-color: #e8cf75;
}

.about-us-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #6f6d6d;
    font-size: 26px;
    font-family: 'Segoe UI', sans-serif;
    text-align: justify;
}

.about-us-paragraph {
    line-height: 1.5;
}

/*--------------------------*/

.contact-us-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
}

.contact-us-header {
    font-weight: 700;
    margin-bottom: 20px;
    background-color: #e8cf75;
}

.contact-us-description {
    font-weight: 700;
    color: #373737;
    text-align: center;
    margin-bottom: 40px;
}

.contact-us-contact-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 40px;
}

.contact-us-contact-item {
    display: flex;
    align-items: start;
    flex-direction: column;
}

    .contact-us-contact-item span {
        font-weight: 700;
        color: #242424;
        margin-right: 10px;
        font-size: 1.5rem;
    }

    .contact-us-contact-item p {
        font-weight: 700;
        color: #4b4141;
        font-size: 1.5rem;
    }

.contact-us-address {
    font-weight: 700;
    color: #4b4141;
    text-align: center;
    margin-bottom: 40px;
}

.contact-us-form {
    display: flex;
    flex-direction: column;
    align-items: end;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
}

.contact-us-form-header {
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-us-form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #efefef;
    border-radius: 5px;
    background-color: #fcfcfc;
    direction: rtl;
}

.contact-us-form-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #efefef;
    border-radius: 5px;
    background-color: #fcfcfc;
    resize: none;
    direction: rtl;
}

.contact-us-form-button {
    background-color: #80b022;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-us-contact-item img {
    max-width: 400px;
}

.bg-dim-gray {
    background-color: #696464;
}

.text-dim-gray {
    color: #696464;
}

.blog-tab-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    padding-top: 20px;
    margin-top: 20px;
    width: 100%;
}

.blog-tab-header {
    font-size: 1.5rem;
    color: #3c3c3c;
    text-align: center;
    margin-bottom: 20px;
}

.blog-tab-description {
    font-weight: 300;
    color: #616161;
    text-align: right;
    margin-bottom: 20px;
    font-size: 1rem;
}

.blog-tab-author {
    font-size: 17px;
    color: #6f6d6d;
    text-align: left;
    margin-bottom: 20px;
}

.blog-tab-date {
    font-size: 18px;
    font-family: 'Segoe UI', sans-serif;
    color: #6f6d6d;
    text-align: left;
    margin-bottom: 20px;
}

.blog-tab-tag {
    background-color: rgba(88, 197, 199, 0.06);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
    max-width: max-content;
}

.blog-tab-tag-text {
    font-size: 17px;
    color: #58c5c7;
}

.blog-tab-button {
    background-color: #58c5c7;
    border: 1px solid #58c5c7;
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.blog-tab-content {
    display: none;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    width: 100%;
    background-color: white;
    gap: 1rem;
}

    .blog-tab-content.active {
        display: flex;
    }

.blog-tab-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.blog-tab-tab {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 1rem;
    font-size: 1rem;
    color: #3c3c3c;
    font-weight: 700;
}

    .blog-tab-tab.active {
        background-color: #58c5c7;
        color: #fff;
    }

.blog-tab-image {
    width: 100%;
}

.blog-podcast-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px;
    position: relative;
    margin-top: 20px;
}

.blog-podcast-header {
    color: #353535;
    margin-bottom: 10px;
}

.blog-podcast-subheader {
    color: #838383;
    margin-bottom: 20px;
    white-space: nowrap;
}

.blog-podcast-divider {
    width: 8px;
    height: 82px;
    background-color: #e8cf75;
    border-radius: 4px;
    margin-bottom: 20px;
    right: 0;
    top: 0;
    position: absolute;
}

.blog-podcast-button {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid rgba(112, 112, 112, 0.22);
    border-radius: 6px;
    padding: 10px 20px;
    color: #9f9d9d;
    cursor: pointer;
}

.blog-podcast-button-icon {
    font-weight: 700;
    color: #aeaeae;
    margin-right: 10px;
}

.blog-podcast-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.blog-podcast-audio {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.blog-podcast-audio-placeholder {
    width: 100%;
    height: 100px;
    background-color: #f1f1f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c3c3c;
}

.podcast-container {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    margin-top: 2rem;
    background-color: white;
    border: 1px solid #e8e8e8;
}

    .podcast-container div {
        /*flex: 1 1 calc(16.66666666666% - 12rem);*/
    }

    .podcast-container img {
        max-width: 100%;
    }


.blog-articles-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    /*    margin: 20px;
    width: 100%;
*/ max-width: 1200px;
}

.blog-articles-header {
    color: #3c3c3c;
    text-align: center;
    margin-bottom: 20px;
    text-align: right;
}

.blog-articles-description {
    color: #616161;
    text-align: right;
    margin-bottom: 20px;
}

.blog-articles-author {
    color: #8f8f8f;
    text-align: left;
    margin-bottom: 20px;
}

.blog-articles-tag {
    color: #30d5c8;
    text-align: left;
    margin-bottom: 20px;
    text-align: right;
}

.blog-articles-date {
    color: #6f6d6d;
    text-align: left;
    margin-bottom: 20px;
}

.blog-articles-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.blog-articles-image {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.blog-articles-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f1f1f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c3c3c;
}

.blog-articles-button {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid rgba(210, 210, 210, 0.26);
    border-radius: 30px;
    padding: 10px 20px;
    color: #6f6d6d;
    cursor: pointer;
}

.blog-articles-button-icon {
    color: #6f6d6d;
    margin-right: 10px;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.dropdown-menu {
    right: 0;
    top: calc(100% + 5px + 0.5rem);
    min-width: 200px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 4px;
    padding: 8px 0;
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    text-align: right;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }
/* Selected slot style */
.doctor-appointment-slot.selected {
    background-color: #80b022;
    color: white;
}

    .doctor-appointment-slot.selected a {
        color: white;
    }

.warning-indicator {
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.rules-background {
    background-color: #e6ffe6;
}

.doctor-info label {
    font-weight: bold;
}

.btn-pay {
    background-color: rgb(88,197,199);
    color: white;
}

.btn-cancel {
    color: rgb(63,63,63);
}


.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
    text-align: center;
}

    .progress-circle.completed {
        background-color: rgb(232,207,117);
        color: #fff;
    }

.patient-info-section,
.disease-list-section,
.current-symptoms-section {
    display: none;
}

    .patient-info-section.active,
    .disease-list-section.active,
    .current-symptoms-section.active {
        display: block;
    }


input[type=number], input[type=tel], input[type=text], select, textarea {
    background-color: rgb(248,248,248) !important;
}

.form-switch .form-check-input {
    float: unset;
    margin-left: 0;
    width: 3.5em;
    height: 2em;
}

.col-n5 {
    width: 20% !important;
    flex: 1 1 20%;
}

a {
    text-decoration: none;
}

.blog-articles-description img {
    max-width: 25%;
    flex: 1 1 25%;
}

/* Shopping Cart Styles */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-dropdown {
    position: absolute;
    top: 60px;
    left: 10px;
    width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    display: none;
    z-index: 1001;
}

    .cart-dropdown.show {
        display: block;
    }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cart-title {
    font-weight: bold;
    font-size: 16px;
}

.cart-close {
    cursor: pointer;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin-left: 10px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-price {
    color: #58c5c7;
    font-weight: bold;
    font-size: 14px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.cart-item-quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-item-quantity-input {
    width: 30px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.cart-item-remove {
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
}

.cart-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: bold;
}

.checkout-btn {
    background-color: #80b022;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.empty-cart {
    text-align: center;
    padding: 20px 0;
    color: #777;
}

.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
}

    .cart-backdrop.show {
        display: block;
    }

.added-to-cart-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #80b022;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1002;
    transform: translateY(100px);
    transition: transform 0.3s ease;
}

    .added-to-cart-notification.show {
        display: flex;
        align-items: center;
        transform: translateY(0);
    }

    .added-to-cart-notification i {
        margin-left: 10px;
    }

/* Position the cart icon correctly */
.shopping-card {
    position: relative;
}

/* Media queries for mobile and tablet */
@media screen and (max-width: 768px) {
    .main-menu-container {
        padding: 0rem 20px 0 20px;
    }

    .search-container input {
        width: 90%;
    }

    .search-container-absolute {
        left: 0;
        width: 100%;
        transform: translate(-50%, 50%);
    }

    .search-button-container {
        left: calc(5% + 0.5rem);
    }

    .title-container {
        padding: 0 1rem;
    }

    .main-page-title {
        padding-top: 20px;
    }

    .title-description {
        max-width: 90%;
        margin-top: 1rem;
    }

        .title-description h6 {
            font-size: 0.9rem;
        }

    .w-70 {
        width: 100%;
    }

    .w-50 {
        width: 100%;
    }

    .learning-path-container {
        flex-direction: column;
    }

    .blog-tab-header {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    .podcast-container div {
        /*flex: 1 1 calc(100%);*/
    }
    .blog-tab-container {
        overflow: auto;
    }
    .flex-sm-100{
        max-width:100% !important;
        flex:1 1 100% !important;
    }
    .univercities {
        width: 100%;
        overflow-x: auto;
        position: relative;
    }
    .podcast-container{
        width:100%;
        overflow:auto;
    }
    .blog-tab-tab {
        white-space: nowrap;
    }
    .blog-podcast-subheader{
        white-space:normal;
    }
    .blog-tab-tabs {
        width: 100%;
    }

    .university-row {
        min-width: max-content;
        /* یا اگر خواستید می‌توانید width: fit-content; هم تست کنید */
    }

    .navbar .nav-item ul.dropdown-menu li .dropdown-item {
        font-size: 0.7rem;
    }

    .search-container input {
        height: 50px;
    }

    .doctor-profile-container img {
        max-width: 100px;
    }

    .office-info, .office-info * {
        text-align: center !important;
    }

    .social-button {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-left: 0 !important;
    }

    .mw-md-15 {
        max-width: 15vw;
    }

    .statistics div.statistics-parts {
        text-align: center
    }



    .search-container-absolute {
        left: 3rem;
        bottom: 0;
        position: absolute;
        width: 100%;
        left: 0%;
        transform: translate(0%, 50%) !important;
    }
}

.mw-100 {
    max-width: 100% !important;
}

/* Add this meta tag to your HTML head section */
/* <meta name="viewport" content="width=device-width, initial-scale=1.0"> */

/* Comment Section Styles */
.doctor-comment-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.doctor-comment-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.doctor-comment-header, .doctor-comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.doctor-comment-user {
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
}

.doctor-comment-time {
    font-size: 0.75rem;
    color: #999;
}

.doctor-comment-content {
    padding: 10px 0;
}

.doctor-comment-text {
    line-height: 1.6;
    color: #444;
}

.doctor-comment-rating-text {
    font-size: 0.75rem;
    color: var(--turquoise-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.doctor-comment-reply {
    background-color: white;
    border-radius: 6px;
    padding: 10px 15px;
    margin-top: 5px;
    margin-bottom: 15px;
    margin-right: 30px;
    position: relative;
    border-right: 3px solid var(--turquoise-color);
}

.like-comment, .dislike-comment {
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

    .like-comment:hover {
        color: var(--turquoise-color);
    }

    .dislike-comment:hover {
        color: #e74c3c;
    }

.comment-form {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

    .comment-form h5 {
        color: #333;
        margin-bottom: 15px;
    }

    .comment-form textarea {
        resize: none;
        direction: rtl;
    }

    .comment-form button {
        background-color: var(--turquoise-color);
        border-color: var(--turquoise-color);
    }

        .comment-form button:hover {
            background-color: #45a7a9;
            border-color: #45a7a9;
        }

/* Alert styles for comments */
.alert-info {
    background-color: #e3f2fd;
    color: #0c5460;
    border: none;
    border-radius: 8px;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: none;
    border-radius: 8px;
}

/* Slideshow Styles */
.research-institute-slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.research-institute-slide {
    display: none;
    width: 100%;
}

    .research-institute-slide[data-slide="0"] {
        display: block;
    }

.research-institute-nav-button {
    cursor: pointer;
}

.research-institute-dot {
    cursor: pointer;
}

/* Animation for slide transitions */
.slide-fade {
    animation-name: slide-fade;
    animation-duration: 0.5s;
}

@keyframes slide-fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

p, span {
    text-align: justify !important;
    direction: rtl !important;
}
