* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: Cairo;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Cairo-Bold.ttf") format("truetype");
}
@font-face {
    font-family: CairoSemi;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Cairo-SemiBold.ttf") format("truetype");
}

/*=============== VARIABLES CSS ===============*/
:root {
    --main-color: #005751;
    --opacity-color: #018880;
    --opacity-color2: #31a598;
    --color-medical: #004f6c;
    --opacity-deep-color: #e5f3f2;
    --white-color: #fff;
    --white-color2: #f9f9f9;
    --black-color: #272727;
    --gray-color: #666;
    --balck-deep-color: #000;

    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --white-color-sat: hsl(0, 0%, 100%);
    --black-color-sat: hsl(0, 0%, 0%);

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

body {
    color: #999;
    font-size: 15px;
    font-family: Cairo;
    line-height: 1.7;
    height: 180vh;
    direction: rtl;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

ul {
    list-style: none;
}
button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
    font-weight: normal;
    position: relative;
    padding: 0 0 10px 0;
    font-weight: normal;
    line-height: 120% !important;
    color: var(--black-color);
    margin: 0;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 13px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #212121;
    text-decoration: none !important;
    opacity: 1;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    opacity: 0.8;
}

a {
    color: var(--black-color);
    text-decoration: none;
    outline: none;
}

a,
.btn {
    text-decoration: none !important;
    outline: none !important;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* .container {
    max-width: 1270px;
} */

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    background-color: var(--main-color);
    z-index: var(--z-fixed);
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--white-color);
    font-weight: var(--font-medium);
}

.nav__close,
.nav__toggle {
    display: flex;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav__country {
    display: inline-block;
}

.country-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

/* .country-btn:hover {
    background: #f5f5f5;
} */

.country-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.country-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 8px;
    min-width: 150px;
    z-index: 999;
}

.country-dropdown li {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.country-dropdown li:hover {
    background: #f5f5f5;
}

.country-dropdown img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        left: -100%;
        top: 0;
        background-color: var(--black-color);
        width: 100%;
        height: 100%;
        padding: 6rem 3.5rem 4.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: left 0.4s;
    }

    .nav__item {
        transform: translateX(-150px);
        visibility: hidden;
        transition:
            transform 0.4s ease-out,
            visibility 0.4s;
    }

    .nav__item:nth-child(1) {
        transition-delay: 0.1s;
    }
    .nav__item:nth-child(2) {
        transition-delay: 0.2s;
    }
    .nav__item:nth-child(3) {
        transition-delay: 0.3s;
    }
    .nav__item:nth-child(4) {
        transition-delay: 0.4s;
    }
    .nav__item:nth-child(5) {
        transition-delay: 0.5s;
    }
}

.nav__list {
    display: flex;
}

.nav__list {
    flex-direction: column;
    row-gap: 3rem;
}

.nav__link {
    position: relative;
    color: var(--white-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    transition: opacity 0.4s;
}

.nav__link i {
    font-size: 2rem;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s,
        visibility 0.4s;
}

.nav__link span {
    position: relative;
    transition: margin 0.4s;
}

.nav__link span::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    transition: width 0.4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
    margin-right: 2.5rem;
}

.nav__link:hover i {
    opacity: 1;
    visibility: visible;
}

.nav__link:hover span::after {
    width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
    opacity: 0.4;
}

.nav__close {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

/* Show menu */
.show-menu {
    left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
    visibility: visible;
    transform: translateX(0);
}

.lang-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lang-icon:hover {
    transform: scale(1.1);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
    .container {
        margin-inline: auto;
    }

    .nav {
        height: calc(var(--header-height) + 1rem);
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__link {
        font-size: var(--normal-font-size);
    }

    .nav__link i {
        font-size: 1.5rem;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3.5rem;
    }

    .nav__menu {
        display: flex;
        align-items: center;
        column-gap: 3.5rem;
    }
}

/*=============== main section header ===============*/

.hero-section {
    padding-top: 145px;
    padding-bottom: 45px;
}

.hero-section h1 {
    width: 100%;
    height: auto;
    font-size: 56px;
    text-align: right;
    color: var(--main-color);
    margin-top: -15px;
}
.hero-section .row .end {
    text-align: end;
    margin-top: 10px;
}
.hero-section h2 {
    width: 100%;
    height: auto;
    font-size: 30px;
    text-align: right;
    color: var(--main-color);
    display: inline;
}
.hero-section #Home_call {
    display: inline;
    width: 125px;
    height: auto;
    border-radius: 6px;
    background-color: var(--opacity-color);
}
.hero-section #Home_call img {
    width: 20px;
    height: 20px;
    margin: 6px 7px 9px 2px;
    display: inline !important;
}
.hero-section #Home_call p {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #ffffff;
    display: inline !important;
}
.hero-section p {
    /* width: 273px; */
    height: auto;
    font-size: 20px;
    text-align: right;
    color: var(--main-color);
}
.hero-section .o_booking,
.vendor-sliders .o_booking,
.choose .o_booking {
    font-size: 24px !important;
    line-height: 1.44;
    text-align: right;
    color: var(--main-color);
}
.hero-section .form_card {
    padding: 20px 10px 8px !important;
    border-radius: 8px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
    background-color: #fff;
}
.hero-section .form_card .row {
    padding: 0 1% !important;
}
.hero-section .book-form div {
    padding-left: 5px;
    padding-right: 0px;
}
.hero-section .selectdiv {
    position: relative;
}
.hero-section .book-form .input-container {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}
.hero-section .selectdiv select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    float: right;
    padding: 0px 25px;
    line-height: 1.75;
    color: #333;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #0ebeff;
    -ms-word-break: normal;
    word-break: normal;
}
.hero-section .selectdiv:before {
    content: "\f107";
    font: normal normal normal 17px / 1 FontAwesome;
    color: #d4d7d8;
    right: 11px;
    top: 0px;
    height: 34px;
    padding: 15px 0px 0px 8px;
    position: absolute;
    font-size: 25px;
    pointer-events: none;
}
.hero-section .book-form .input-field {
    width: 100%;
    height: 65px;
    outline: none;
    background-color: #efeff4 !important;
    border: none;
    font-family: CairoSemi;
    font-size: 16px;
    text-align: right;
    color: #000000;
    border-radius: 8px 8px 8px 8px;
    padding-right: 32px;
}
.hero-section .firstSelect {
    border-radius: 0px 8px 8px 0px !important;
}
.hero-section .input-lg {
    height: 70px;
    background: #f9f9f9 !important;
    border: none !important;
    padding: 10px;
}
.hero-section .firstSelect option {
    text-indent: 15px;
    background-color: #ffffff;
    width: 100%;
}
.hero-section .form_card form select[name="drcity"] {
    margin-left: 5px;
}
.form_card form select[name="drarea"] {
    margin-right: 5px;
}
.hero-section .book-form .icon {
    position: absolute;
    font-size: 25px;
    padding: 12px 0px;
    background: #efeff4;
    color: #38b9db;
    min-width: 30px;
    text-align: center;
    border-radius: 0px 8px 8px 0px;
    min-height: 65px;
}
.hero-section .book-form .icon img {
    width: 13px;
    height: 13px;
}
.hero-section .form_card .row .submit_form {
    width: 100% !important;
}
.hero-section .book-form .btn {
    padding: 15px 20px;
    font-family: CairoSemi;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    border: none;
    cursor: pointer;
    width: 97%;
    /* width: 168px; */
    height: 65px;
    border-radius: 8px;
    background-color: #30c34a;
    outline: none;
}
.vendor-sliders {
    background-color: #efeff4;
    position: relative;
    margin-top: 20px;
    padding: 0 1%;
}
.pharmancy {
    position: relative;
    margin-top: 20px;
    padding: 0 1%;
}
.custom_container {
    border-radius: 8px;
    /* box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16); */
}
.vendor-sliders .swiper {
    position: relative;
    padding-bottom: 30px;
}

.vendor-sliders .swiper-slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    direction: rtl;
}

.vendor-sliders .doctor-card {
    padding: 15px;
    text-align: center;
}

.vendor-sliders .doctor-card .img-doc {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.doctor-card h4 {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

.vendor-sliders .doctor-card p {
    color: #777;
    font-size: 14px;
}

.vendor-sliders .rating {
    background-color: var(--main-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.vendor-sliders .swiper-button-next,
.vendor-sliders .swiper-button-prev {
    color: var(--main-color);
}
.vendor-sliders .doctor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.vendor-sliders .a_more {
    color: var(--opacity-color);
    text-decoration: underline !important;
}
.vendor-sliders .swiper-button-next,
.vendor-sliders .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: var(--opacity-color);
    transform: translateY(-50%);
    z-index: 10; /* تأكد إنها فوق الصور */
}

.vendor-sliders .swiper-button-next {
    right: 0;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    transform: translateY(-50%);
    z-index: 10; /* تأكد إنها فوق الصور */
}
.vendor-sliders .swiper-button-prev {
    left: 0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.vendor-sliders .swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 900;
    color: var(--white-color);
}
.vendor-sliders .swiper-button-prev:after,
.vendor-sliders .swiper-rtl .swiper-button-next:after {
    font-size: 20px;
    font-weight: 900;
    color: var(--white-color);
}
.vendor-sliders .swiper-pagination-bullet-active {
    background-color: var(--opacity-color);
}

.phar_section {
    background-color: var(--opacity-color2);
    color: var(--white-color);
    padding: 20px 42px;
    margin-bottom: 30px;
}
.pharmancy .title-pharmancy {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--white-color);
}
.pharmancy .text-content-ph {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--white-color);
}
.pharmancy .pharmancy-card {
    height: fit-content;
    padding: 15px;
}
.pharmancy .call_now_pha {
    border-radius: 8px;
    color: var(--opacity-color2);
    background-color: rgb(229, 241, 255);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    height: 40px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    padding: 26px 52px;
}
.pharmancy .image-ph {
    width: 200px;
    margin: 0 auto;
}
.pharmancy .image-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .pharmancy .image-ph {
        display: none;
    }
    .hero-text2 {
        display: grid;
    }
}

.home-specialities .homeChooseSpeciality {
    /* background: #efeff4; */
    padding-right: 104px;
}
.home-specialities .homeChooseSpeciality h2 {
    color: var(--main-color);
    font-size: 24px;
    width: fit-content;
    margin-top: 0px !important;
    margin-bottom: 0;
    /* border-bottom: 3px solid var(--main-color); */
}
.home-specialities .homeChooseSpeciality h2::after {
    content: "";
    position: relative;
    top: 5px;
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--main-color);
    margin-top: 5px;
}
.home-specialities .homeChooseSpeciality h2::before {
    content: "";
    position: relative;
    right: 1px;
    top: 47px;
    display: block;
    width: 15px;
    height: 15px;
    background-color: var(--main-color);
    transform: rotate(45deg);
}

.home-specialities .spec_images_container {
    display: flex;
    width: 100%;
    flex-direction: row;
    max-width: 100%;
    overflow-x: auto;
}

.spec_images_container::-webkit-scrollbar {
    height: 4px;
    display: none;
    transition: display 0.3s;
}

.spec_images_container::-webkit-scrollbar-track {
    background: #fff; /* لون الخلفية لمسار الـ scrollbar */
    border-radius: 20px;
}

.spec_images_container::-webkit-scrollbar-thumb {
    background: var(--opacity-color); /* لون شريط التمرير */
    border-radius: 50px;
}

.spec_images_container::-webkit-scrollbar-thumb:hover {
    background: var(--main-color); /* عند التمرير عليه */
}
.home-specialities .spec_images_container:hover::-webkit-scrollbar {
    display: block;
}

.home-specialities .spec_images_container .spec_block {
    overflow-y: clip;
}
.home-specialities .spec_images {
    margin: 30px 48px 10px;
    border-radius: 50%;
    border: 3px solid var(--opacity-color2);
    height: 75px;
    /* background: #efeff4; */
}
.home-specialities .spec_images img {
    width: 70px;
    object-fit: scale-down;
}
.home-specialities span.spec_name {
    display: block;
    color: var(--opacity-color2);
    font-size: 16px;
    text-align: center;
}
@media (max-width: 768px) {
    .home-specialities .homeChooseSpeciality {
        padding-right: 22px;
    }
    .home-specialities .spec_images_container {
        padding: 0 10px;
    }
}

.brefdoc {
    background-color: var(--opacity-color2);
}

.brefdoc .container {
    background: #31a598;
    border-radius: 12px;
    padding: 25px 25px;
}
.brefdoc .o_booking_brefdoc {
    font-size: 20px !important;
    line-height: 1.44;
    text-align: right;
    color: var(--white-color);
}
.brefdoc .title-section h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--white-color);
}
.brief-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.brief-list li {
    position: relative;
    padding-right: 36px;
    color: var(--white-color);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.brief-list li i {
    position: absolute;
    right: 0;
    top: 5px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.brief-list li:hover {
    transform: translateX(5px);
}

.brief-list li:hover i {
    background-color: rgba(255, 255, 255, 0.4);
}

.features-section .features-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    gap: 20px;
    margin: 0 auto;
}

.features-section .feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease;
}

.features-section .feature-card:hover {
    transform: translateY(-10px);
}

.features-section .title {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.features-section .feature-icon {
    background: #e7f5ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--main-color);
    font-size: 24px;
}

.features-section .feature-content h3 {
    color: var(--main-color);
    margin: 0 0 15px 0;
    font-size: 18px;
}

.features-section .feature-content p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 768px) {
    .features-section .features-container {
        flex-direction: column;
    }
}

.choose {
    font-size: 16px;
    color: var(--main-color);
}

.specialty-list ul li {
    display: inline-block !important;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    margin: 3px;
    font-size: 14px;
    color: var(--opacity-color2);
}
.specialty-list ul li a {
    color: var(--opacity-color2);
}

.footer {
    background-color: var(--main-color);
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 40px 20px 7px;
}

.footer a {
    color: white;
    text-decoration: none;
}
.footer h5 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white-color);
}
.footer ul li {
    font-family: CairoSemi;
}
.footer a:hover {
    color: var(--opacity-color2);
    text-decoration: underline;
}

.footer .store-btn img {
    height: 40px;
    margin-bottom: 10px;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}
.footer .footer-text {
    font-size: 14px;
    color: var(--white-color);
    margin-top: 20px;
    font-family: CairoSemi;
    text-align: justify;
}

/* =======
    Specialty Page
======= */

.banner {
    padding-top: 85px;
}
.banner .medical-guide {
    padding: 50px;
}
.banner .medical-guide img {
    max-width: 100%;
    border-radius: 10px;
}
.banner .medical-text h2 {
    font-weight: bold;
    font-family: CairoSemi;
    font-size: 48px;
    margin-bottom: 1.2rem;
}
.banner .medical-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: CairoSemi;
}

.specialties,
.governants,
.hospitals,
.inurances {
    padding: 50px 0;
}
.specialties .accordion-button,
.governants .accordion-button {
    font-weight: bold;
}
.specialties .accordion-body ul,
.governants .accordion-body ul {
    padding-right: 1rem;
}
.specialties .accordion-body li,
.governants .accordion-body li {
    margin-bottom: 0.5rem;
    font-family: CairoSemi;
    list-style:circle;
}
.specialties .accordion-body a,
.governants .accordion-body a {
    text-decoration: none;
    color: #018880;
}
.specialties .accordion-body a:hover,
.governants .accordion-body a:hover {
    text-decoration: underline;
}
.specialties .accordion-button::after,
.governants .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}
.specialties .search-input,
.inurances .search-input,
.hospitals .search-input,
.governants .search-input {
    /* max-width: 400px; */
    margin: 0 auto 30px auto;
    padding: 18px 20px;
    border-radius: 8px;
}

/* =======
    Governants Page above 
======= */

/* =======
    Inurances Page above
======*/
.inurances .custom-box {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.082);
}

.inurances .link-list a {
    display: block;
    color: #005751;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.inurances .link-list a:hover {
    background-color: #d6f1ee;
}

@media (max-width: 576px) {
    .inurances .link-list a {
        font-size: 1rem;
    }
}

/* =======
    Hospitals Page above
======*/

.hospitals .custom-input,
.hospitals .custom-select {
    padding: 18px 20px;
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.2s;
}

.hospitals .custom-select:focus,
.hospitals .custom-input:focus {
    border-color: #005751;
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 81, 0.25);
    outline: none;
}

.hospitals select.custom-select {
    appearance: none; /* لإخفاء السهم الافتراضي */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23005751" height="35" viewBox="0 0 24 24" width="35" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 1rem center; /* السهم على اليسار */
    background-size: 1rem;
    padding-right: 2.5rem; /* فراغ للسهم */
    padding-left: 2.5rem;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

.hospitals .hospital-card {
    border: 1px solid #e2e2e2;
    transition: 0.3s ease;
}
.hospitals .hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 87, 81, 0.1);
}
.hospitals .hospital-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}
.hospitals .card-title {
    font-size: 1.1rem;
    color: var(--opacity-color) !important;
}
.hospitals .btn-outline-primary {
    border-color: var(--main-color);
    color: var(--main-color);
}

.hospitals .anchorTextSpecialty {
    color: var(--opacity-color) !important;
}
.hospitals .btn-outline-primary:hover {
    background-color: var(--main-color);
    color: white;
}

/* =======
    view Cards page
======*/

.hero {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 182px;
    opacity: 0.5;
    z-index: 0;
}
.hero-pattern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    justify-content: center;
    margin-top: 30px;
}

.nav-item .nav-link {
    color: #333;
    border: none;
    border-bottom: 2px solid transparent;
    margin: 0 15px;
    padding: 10px 0;
    transition: border-color 0.3s ease;
}

.nav-item .nav-link.active {
    color: var(--opacity-color);
    border-bottom-color: var(--opacity-color);
}

.nav-item .nav-link:hover {
    border-bottom-color: var(--opacity-color);
}

.section-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.section-box a{
    color: var(--opacity-color2);
}

.section-title {
    color: #018880;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-main {
    background-color: #018880;
    color: #fff;
}

.btn-main:hover {
    background-color: #016f6f;
}

.icon {
    color: #018880;
    margin-left: 10px;
}
.side_right {
    text-align: start;
}
.small-box {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    margin: 5px;
}
