@font-face {
    font-family: "mainfont";
    src: url('/Content/fonts/NeoSansArabic.ttf');
}
@font-face {
    font-family: "medfont";
    src: url('/Content/fonts/NeoSansArabicMedium.ttf');
}
@font-face {
    font-family: "boldfont";
    src: url('/Content/fonts/NeoSansArabicBold.ttf');
}
:root {
    --main-font:mainFont;
    --med-font:medFont;
    --bs-primary: #2727A3;
    --bs-secondary:#F7F7F7;
    --bs-third: #FFD1D1;
    --light-rgb: 255, 226, 226;
    --red:#FC0101;
    --primary-rgb: 99, 13, 14;
    --bs-dark: #000000;
}
body,*{ font-family: var(--main-font);}
.bold{ font-family: "boldfont";}
.item a{text-decoration: none !important;}
p{text-align: justify;}
.top-bar{
    background: #A8A8A8;
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.top-bar .list-group-item,
.social-links .list-group-item{background: none; border: none;}
.top-bar li a{ color: #fff; text-decoration: none;}
.contact-info a{ font-size: .8rem;}
.contact-info a i{ margin-top: .2rem;}
.social-links li{ padding: 0 .2rem;}
.social-links a {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 25px;
    font-size: .9rem;
    text-align: center;
    border: 1px solid #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.social-links a:hover{ background: #fff; color: var(--bs-primary) !important;}
.navbar{ 
    background: var(--bs-secondary); 
    top: 48px;
    transition: all .3s ease-in-out;
}
.navbar-brand img{ width: 150px;}
.navbar li{ margin: 0 .5rem;}
.active-item{border-bottom: 2px solid var(--red);}
.navbar .active-item a{ color: var(--bs-primary) !important;}
.navbar li a{padding: .2rem !important; color: var(--bs-dark) !important;}
.navbar li .lang-btn,.lang-btn{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 32px;
    border: 1px solid var(--red);
    text-align: center;
    padding: 0 !important;
    color: var(--bs-dark);
    text-decoration: none;
}
.lang-btn:hover,.lang-btn:focus{color: var(--bs-dark);}
.main-slider .carousel .carousel-item {
    height: 600px;
    transition: -webkit-transform 1.5s ease;
    transition: transform 1.5s ease;
    transition: transform 1.5s ease, -webkit-transform 1.5s ease;
}
.main-slider .carousel-item img {
    position: absolute;
    object-fit:cover;
    top: 0;
    right: 0;
    min-height: 600px;
    width: calc(100% - 320px);
    z-index: -1;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.main-slider .carousel-caption{ 
    height: 100%;
    position: static; 
    color: var(--bs-dark);
    text-align: initial;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../imgs/bg2.png)no-repeat;
    background-size: 600px 600px;
    background-position: left center;
}
.main-slider .carousel-caption h1{
    font-size: 1.3rem;
    color: var(--red);
}
.main-slider .carousel-caption p{ 
    font-size: 1rem;
    width: 300px;
    max-width: 100%;
}
.main-slider .main-btn.btn-primary{ width: 130px;}
.main-slider .carousel-indicators{ bottom: 30px;}
.main-slider .carousel-indicators [data-bs-target]{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--red);
    opacity: 1;
}
.main-slider .carousel-indicators .active{ background: var(--red); }
.main-btn.btn-primary{ 
    border:none;
    background: var(--bs-primary);
    font-size: .9rem;
    height: 37px;
}
.wave-shape{
    margin-top: -44px;
    z-index: 1000;
    position: relative;
}
.wave-shape .first-path{fill:url(#MyGradient)}
.latest-news{ 
    background: var(--bs-secondary);
    clip-path: ellipse(100% 85% at 50% 5%)
}
.main-title{
    color: var(--bs-primary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: var(--med-font);
}
#newsSlider{ margin-bottom: 8rem;}
.main-slide{
    width: calc(50% - 10px);
    max-height: 340px;
    object-fit: contain;
    border-radius: 10px;
} 
.more-slide ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
    width: 50%;
    height: 350px;
    padding: 0;
}
.more-slide ul > li {
    width: calc(50% - 5px);
    height: 165px;
    opacity: 1;
    border: none;
    background: none;
    border-radius:10px;
    margin: 0;
    list-style: none;
    overflow: hidden;
    text-decoration: none;
}
.more-slide ul > li:hover img{ transform: scale(1.15);}
.more-slide ul > li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    text-decoration: none;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
}
.slide-number.carousel-indicators{
    top: -48px;
    bottom: auto;
    margin: 0;
    padding: .4rem;
    background: var(--bs-dark);
    border-radius: 10px;
}
.slide-number.carousel-indicators > li {
    width: 26px;
    height: 26px;
    line-height: 26px;
    color: var(--bs-primary);
    font-size: .9rem;
    text-indent: initial;
    opacity: 1;
    border: none;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}
.slide-number.carousel-indicators .active{
    background: var(--red);
    color: #fff;
}
.latest-news .carousel-caption{
    position: static;
    background: var(--bs-dark);
    padding: .5rem 1rem;
    border-radius: 10px;
}
.offers .item{ text-decoration: none; color: var(--bs-dark);}
.offers .item:hover img{ transform: scale(1.1);}
.offers .item:hover h4{ color: var(--bs-primary);}
.offer-item{
    background: var(--bs-third);
    border-radius: 15px;
    height: 150px;
    overflow: hidden;
}
.offer-item img{
    width: 100%;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.offer-item h4{ font-size: 1rem;font-family: var(--med-font);}
.offer-item p{ 
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}
.owl-slider .owl-nav{
    position: absolute;
    top: -50px;
    right: 0;
    margin: 0;
}
.owl-slider.owl-carousel .owl-nav button.owl-prev,
.owl-slider.owl-carousel .owl-nav button.owl-next{
    margin: 0;
    width: 22px;
    height: 26px;
    line-height:18px;
    background: var(--bs-third);
    color: var(--red);
    border-radius: 0;
    font-size: 1.8rem;
}
.owl-slider.owl-carousel .owl-nav button.owl-prev{ border-right: 1px solid; }
.owl-slider.owl-carousel .owl-nav button span{ 
    height: 26px;
    display: inline-block;
}
.offer-title{
    display: inline-block;
    padding: 2rem;
    min-width: 220px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    border-radius:0 15px 15px 0;
    background: rgb(252,1,1); 
    background: -moz-linear-gradient(left,  rgba(252,1,1,1) 0%, rgba(138,0,0,1) 100%);
    background: -webkit-linear-gradient(left,  rgba(252,1,1,1) 0%,rgba(138,0,0,1) 100%);
    background: linear-gradient(to right,  rgba(252,1,1,1) 0%,rgba(138,0,0,1) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc0101', endColorstr='#8a0000',GradientType=1 ); 
}
.month-offers p{
    background: #000;
    color: #fff;
    padding: .6rem;
    width: 500px;
    max-width: 100%;
    border-radius:0 15px 15px 0;
}
.about-us{ 
    padding-bottom: 130px;
    background: var(--bs-secondary);
    -webkit-clip-path: ellipse(85% 100% at 50% 100%);
    clip-path: ellipse(85% 100% at 50% 100%);
}
.about-us h4,.categories-list h4{
    font-size: 1.2rem;
    color: var(--red);
    margin-bottom: 1rem;
    font-family: var(--med-font);
}
.about-us p,.categories-list p{font-size: 1rem;}
.about-img{
    display: inline-block;
    width: 500px;
    height: 400px;
    border-radius: 50%;
    background: #fff;
    padding: 20px;
}
.about-img img{
    width: 460px;
    height: 360px;
    border-radius: 50%;
    object-fit: cover;  
    box-shadow: -2px 2px 10px rgba(0,0,0,.3); 
}
.categories,.medical-equipments{
    position: relative;
    top: -100px;
    background: #fff;
    -webkit-clip-path: ellipse(85% 100% at 50% 100%);
    clip-path: ellipse(85% 100% at 50% 100%);
}
.cat-img{
    display: inline-block;
    margin-bottom: 1rem;
    width: 150px;
    height: 150px;
    line-height: 150px;
    border-radius: 50%;
    background: var(--bs-third);
    box-shadow: 0px 1px 4px rgba(0,0,0,.15); 
}
.cat-img img{
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.categories-list p{
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.doctors {
    padding-bottom: 130px !important;
    background: var(--bs-secondary);
    -webkit-clip-path: ellipse(100% 100% at 50% 100%);
    clip-path: ellipse(100% 100% at 50% 100%);
}
.doctors-slider .item img{
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    background-color: white;
}
.doctors-slider .item h4{
   background: var(--bs-third);
   color: var(--bs-dark);
   font-size: 1rem;
   padding:1.5rem 1rem;
   text-overflow: ellipsis;
   overflow: hidden;
   white-space: nowrap;
   font-family: var(--med-font);
}
.medical-equipments{
    -webkit-clip-path: ellipse(100% 100% at 50% 100%);
    clip-path: ellipse(100% 100% at 50% 100%);
    padding-bottom: 0;
}
.equipments-slider .about-img{
    background: var(--bs-third);
}
.footer {
    background: #A8A8A8;
}
.footer .row{align-items: center;}
.footer-logo img{ width: 220px;}
.footer-list li{ background: none; border: none;}
.footer-list li a{ 
    text-decoration: none;
    color: #fff;
    font-size: .9rem;
}
.footer .contact-info p{ 
    color:#fff; 
    font-size: .9rem;
}
.footer .contact-info a{ color: #fff; text-decoration: none;}
.copy-right{ 
    color: #fff; 
    padding: 1rem;
    font-size: .85rem;
}
.copy-right a{
    color:#fff;
    text-decoration: none;
}
.navbar-light .navbar-toggler { border: none; }
.navbar-light .navbar-toggler:focus{ box-shadow: none;}
.sec-title {
    background: var(--bs-third);
    font-size: 1.2rem;
    color: var(--bs-primary);
    font-family: var(--med-font);
}
.equipments-category:last-child .list-item:last-child svg{display: none;}
.equipments-category .list-item:nth-child(odd){ background: rgba(var(--light-rgb),.3);}
.equipments-category .list-item:nth-child(even) svg{ display: none;}
.equipments-category h3{ 
    color: var(--bs-primary);
    font-size: 1.2rem;
}
.list-item h4{ 
    color: var(--red); 
    font-size: 1.1rem;
    margin: 1rem 0 !important;
}
.item-img img{
    width: 400px;
    max-width: 100%;
    height: 525px;
    border:8px solid var(--bs-third);
    margin-bottom: 1rem;
    object-fit: cover;
}
.description p>span{ color: var(--red);}
.description ul{ padding: 0 0 0 1.2rem;}
.description ul li{ margin-bottom: .7rem;}
/* doctors */
.doctors-list .row{margin:0 0 1.5rem 0 !important;}
.doctors-list .item:nth-child(odd){ background: rgba(var(--light-rgb),.3);}
.doctors-list .item:nth-child(even) svg{ display: none;}
.doctors-list .item:last-child svg{ display: none;}
.doctors-list h4{
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: 0.5rem;
    font-family: var(--med-font);
}
.doctors-list h5{color: var(--red);margin-bottom: 1.6rem;font-size: 1.1rem;}
.doctors-list p>span {
    color: var(--bs-primary);
}
.doctors-list p,.doctors-list li{ font-size: .95rem;}
.side-img{position: relative; height: 530px;}
.side-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.side-img.border{
    border-width: 8px !important;
    border-color: var(--bs-third) !important;
}
.doctors-list .item:nth-child(odd) .scroll-content::-webkit-scrollbar-track{
    background:transparent!important
}
.doctors-list .item:nth-child(even) .scroll-content::-webkit-scrollbar-track{
    background:#fff!important
}
.scroll-content{ overflow-y: scroll; max-height: 370px;}
.scroll-content::-webkit-scrollbar{width:8px}
.scroll-content::-webkit-scrollbar-track{background:var(--bs-secondary)}
.scroll-content::-webkit-scrollbar-thumb{background:#eee}
.scroll-content::-webkit-scrollbar-thumb:hover{background:#999}
/* contact */
.contact-us{ background: rgba(var(--light-rgb),.3);}
.contact-us h4{
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: .8rem;
    font-family: var(--med-font);
}
.contact-us p{font-size: .95rem;color: var(--bs-dark);text-align: center;}
.contact-us a{
    display: block;
    font-size: .95rem;
    color: var(--bs-dark);
    text-decoration: none;
}
.cir-icon {
    width: 37px;
    height: 37px;
    line-height: 34px;
    border-radius: 50%;
    border:2px solid var(--red);
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}
.cir-icon i {color: var(--red); }
.contact-form{ display: inline-block; width: 100%;}
.contact-form h3{ font-size: 1.2rem;}
.contact-form .form-control{
    padding: .55rem .75rem;
    background: #F5F5F5;
    border: none;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
}
.contact-form textarea{ height: 157px;}
.contact-form .main-btn.btn-primary{ 
    width: 150px;
    background: rgb(251,1,1); /* Old browsers */
    background: -moz-linear-gradient(left,  rgba(251,1,1,1) 1%, rgba(197,1,1,1) 40%, rgba(131,1,1,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(251,1,1,1) 1%,rgba(197,1,1,1) 40%,rgba(131,1,1,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(251,1,1,1) 1%,rgba(197,1,1,1) 40%,rgba(131,1,1,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fb0101', endColorstr='#830101',GradientType=1 ); /* IE6-9 */
}
.map{ height: 400px; border-bottom: 8px solid var(--light-red);}
.map iframe{ width: 100%; height: 100%; }
.contact-details h4{
    font-size: 1rem;
    font-family: var(--med-font);
}
.contact-details a{ 
    border: none;
    width: 32px;
    height: 32px;
    line-height: 30px;
}
.contact-details .social-links a:hover{background:var(--bs-primary) !important;}
.contact-details i{ font-size: 1.4rem; color: var(--red); }
.contact-details a i{ color: #fff; font-size: 1rem;}
.whats a{background: #25d366;}
.twitter a{background: #1da1f2;}
.snap a{background: #fffc00;}
.insta a{
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
.facebook a{background: #3b5998;}
/* offers page */
.offers-list{margin:0 0 1.5rem 0 !important;}
.offers-list h4{
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: 1rem;
    font-family: var(--med-font);
}
.offers-list h4>i { color: var(--bs-primary); }
.offers-list p{ font-size: .95rem;}
.offer-price{ margin-top: 2rem;}
.offer-price p{ 
    color: var(--bs-primary); 
    margin-bottom: 0;
    font-family: var(--med-font);
}
.offer-price >div p{ color: var(--red);}
.offer-price p>i{ color: var(--red);}
.offer-price p>span{font-family: var(--med-font);}
.offer-price .offer-discount{ 
    color:#999; 
    margin-top: .5rem;
    font-family: var(--main-font);
}
.offer-price .offer-discount span{ text-decoration: line-through;font-family: var(--main-font)}
.offers-list .scroll-content::-webkit-scrollbar-track{background:#fff}
#latest-news,#branches,#about-us,
.doctors-list .item,.equipments-category .list-item{ scroll-margin-top:100px ;}
/* responsive */
/* Large desktops and laptops */
@media (min-width: 1200px) {
}
/* Landscape tablets and medium desktops */
@media (min-width:  991.98px) and (max-width: 1199px) {
    
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
     header .container{max-width: 850px;}
    .navbar-brand img {width: 120px; }
    .navbar li{ margin: 0 .2rem; font-size: .85rem;}
    .top-bar li a { font-size: 0.75rem;}
    .main-slider .carousel .carousel-item { height: 500px; }
    .main-slider .carousel-item img { min-height: 500px; width: calc(100% - 310px);}
    .main-slider .carousel-caption{ background-size: 550px 500px;}
    .main-slider .carousel-caption h1{ font-size: 1.1rem; color: var(--red);}
    .main-slider .carousel-caption p{ font-size: .9rem;}
    .footer-logo img {width: 100px;}
    .about-img{
        width: 300px;
        height:300px;
        display: block;
        margin: 0 auto;
    }
    .about-img img{ width: 260px; height: 260px; }
    .side-img{height: 380px;}
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    header .container{max-width: 540px; }
    .top-bar .contact-info .list-group-horizontal{ display: block;}
    .top-bar .list-group-item{padding: .1rem!important; line-height: 18px;}
    .navbar-nav{align-items: initial !important;}
    .contact-info a {font-size: 0.75rem; }
    .navbar-brand img { width: 118px; }
    .navbar li { margin: .3rem 0; }
    .main-slider .carousel-item{ height: 300px;}
    .main-slider .carousel-item img { height: 300px;}
    .main-slide{ max-height: 200px;}
    .more-slide ul{ height: 209px;}
    .more-slide ul > li {height: 96px;}
    .doctors-slider .item img{ height: 240px;}
    .doctors-slider .item h4{ font-size: .8rem;}
    section{clip-path: none !important;}
    .main-slider .carousel .carousel-item { height: 380px; }
    .main-slider .carousel-caption{ background-size: 500px 500px;}
    .main-slider .carousel-item img { min-height: 380px; width: calc(100% - 200px);}
    .main-slider .carousel-caption h1{ font-size: 1.1rem; color: var(--red);}
    .main-slider .carousel-caption p{ font-size: .9rem;}
    .latest-news .carousel-caption{font-size: .85rem;}
    #newsSlider {margin-bottom: 0;}
    .offer-title {padding: 1.5rem;min-width: auto;}
    .about-img{
        width: 250px;
        height: 250px;
        display: block;
        margin: 0 auto;
    }
    .about-img img{ width: 210px; height: 210px; }
    .latest-news.pb-5{ padding-top: 0 !important;}
    section.pb-5{ padding: 3rem 0 !important;}
    .footer-logo img {width: 150px;}
    .footer-list li {padding: .3rem 0;}
    .side-img{ 
        height: 200px;
        margin: 0 auto;
        display: block;
    }
    .scroll-content{max-height: 185px;}
    .doctors-list .item svg{ display: none;}
    .contact-us svg,.map svg{display: none;}
    .contact-us .col-md-4{ border:none !important}
    .map{ height:300px;}
    .equipments-category .list-item svg{ display: none !important;}
    .item-img img{width: 300px;max-height: 350px;object-fit: contain;}
    .item-img{margin: 2rem 0 !important;}
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .main-title{font-size: 1.15rem; margin-bottom: 1.5rem;}
    .latest-news .main-title{ margin-bottom: 3rem;}
    .main-slider .carousel-caption {
        height: 100% !important;
        position: absolute;
        bottom: 6px;
        width: 100%;
        right: 0;
        left: 0;
        height: auto;
        padding-bottom: 3.2rem !important;
        z-index: 0;
        background: rgba(255,255,255,.5) !important;
    }
    .main-slider .carousel-caption h1{ margin-top: 0 !important;}
    .main-slider .carousel-caption p{
        width: 225px;
        width: 100%;
    }
    .main-slider .carousel-item img{ width: 100%;}
    .main-slider .main-btn.btn-primary{ margin-top: 0 !important;}
    .main-slider .carousel-indicators{ bottom: 30px; margin-bottom: .3rem;}
    .top-bar{ height: auto;}
    .top-bar .col-auto{ width: 100%;}
        .top-bar .social-links {
            justify-content: flex-start;
            margin-bottom: .2rem
        }

    .equipments-slider .about-img{margin-bottom: 1rem;}
    .side-img{ width: 200px;}
    .scroll-content{max-height: initial;}
    .item-img{margin: 1.5rem 0 !important;}
    .item-img img{width: 230px;max-height: 300px;object-fit: contain;}
    .equipments-category h3 { font-size: 1rem;}
    .description{ font-size: .9rem;}
    .footer .contact-info p {margin-bottom: .5rem;}
    .doctors-slider .item img { height: 185px; }
    .offers-list{ border-bottom: 1px solid #ddd; padding-bottom: 2.5rem; }
    .offers-list:last-child{ border: none;}
    .doctors-list .item:nth-child(odd) .row {
        flex-direction: column-reverse;
    }
    #latest-news,#branches,#about-us,
    .doctors-list .item,.equipments-category .list-item{ scroll-margin-top:50px ;}
}
@media (max-width: 400px) {
    .main-slide{ max-height: 180px;}
    .more-slide ul{ height: 190px;}
    .more-slide ul > li {height: 84px;}
}