@font-face {
    font-family: "mainfont";
    src: url('/Content/fonts/Roboto-Regular.ttf');
}
@font-face {
    font-family: "medfont";
    src: url('/Content/fonts/Roboto-Medium.ttf');
}
@font-face {
    font-family: "boldfont";
    src: url('/Content/fonts/Roboto-Bold.ttf');
}
:root {
    --main-font:mainFont;
    --med-font:medFont;
    --bold-font:boldFont;
    --bs-primary: #1C1B87;
    --bs-secondary:#fafafa;
    --bs-third: #FFD4B7;
    --third-rgb: 255, 212, 183;
    --orange:#FD4600;
    --orange-rgb:244, 121, 35;
    --primary-rgb: 99, 13, 14;
    --bs-dark: #000000;
    --bs-gray:#A8A8A8;
}
body,*{ font-family: var(--main-font);}
.bold{ font-family: var(--bold-font);}
p{text-align: justify;}
html {scroll-padding-top: 60px;}
#1, #2, #3, #4, #5, #6{scroll-margin-top: 60px;}
.top-bar{
    background: var(--bs-gray);
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.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{ height: 65px;object-fit: contain;}
.navbar li{ margin: 0 .5rem;}
.active-item{border-bottom: 2px solid var(--orange);}
.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;
    line-height: 32px;
    border: 1px solid var(--orange);
    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{
    z-index: 10;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 88%, 25% 100%, 0 80%);
}
.main-slider::before{
    content: '';
    width: 100%;
    height: 100%;
    background: var(--orange);
    clip-path: polygon(26% 95%, 100% 88%, 100% 100%, 100% 88%, 25% 100%, 0 80%);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}
.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% - 500px);
    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: 800px 600px;
    background-position: left center;
}
.main-slider .carousel-caption h1{
    font-size: 1.3rem;
    color: var(--orange);
}
.main-slider .carousel-caption p{ 
    font-size: 1rem;
    width: 330px;
    max-width: 100%;
}
.main-slider .main-btn.btn-primary{ width: 130px;}
.main-slider .carousel-indicators{ bottom: 50px;}
.main-slider .carousel-indicators [data-bs-target]{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bs-primary);
    opacity: 1;
}
.main-slider .carousel-indicators .active{ background: var(--bs-primary); }
.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{ 
    position: relative;
    margin-top: -122px;
    z-index: 0;
    padding-top: 180px;
    background: var(--bs-secondary);
    clip-path: polygon(0 0, 100% 0, 100% 84%, 75% 100%, 0 86%, 0 100%);
}
.carousel-caption.text-center p{text-align: center;}
.main-title{
    color: var(--bs-primary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-family: var(--med-font);
}
#newsSlider{ margin-bottom: 5.5rem;}
.main-slide{
    width: calc(50% - 10px);
    max-height: 340px;
    object-fit: contain;
} 
.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);
    max-height: 165px;
    opacity: 1;
    border: none;
    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: contain;
    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: 0;
}
.slide-number.carousel-indicators > li {
    width: 26px;
    height: 26px;
    line-height: 26px;
    color: var(--orange);
    font-size: .9rem;
    text-indent: initial;
    opacity: 1;
    border: none;
    background: #fff;
    text-align: center;
}
.slide-number.carousel-indicators .active{
    background: var(--bs-primary);
    color: #fff;
}
.latest-news .carousel-caption{
    position: static;
    background: var(--bs-dark);
    padding: .5rem 1rem;
}
.offers-slider{position: relative;}
.offers-slider a{ text-decoration: none;}
.offers img,.equipments-slider img{
    width: 100%;
    max-height: 320px;
    min-height: 320px;
    object-fit: contain;
}
.offer-description{ 
    height: 122px;
    background: var(--bs-third);
    padding: 1rem;
    text-align: center;
}
.offer-description h4{ 
    font-size: 1rem; 
    color: var(--bs-dark);
    font-family: var(--med-font);
    margin-bottom: 0 !important;
}
.offer-description p{ 
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin:.5rem 0 0 0;
    color: var(--bs-dark);
}
.owl-slider .owl-nav{
    position: absolute;
    top: -50px;
    left: 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:26px;
    background: var(--bs-third);
    color: var(--orange);
    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;
    line-height:26px;
    display: inline-block;
}
.month-offers,.categories-title{
    position: absolute;
    right: 0;
    bottom: 28px;
    z-index: 100;
    height: 482px;
    width: 270px;
    color: #fff;
    padding: 1.5rem;
    font-size: .95rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--orange); 
}
.categories-title{
    background: url(../imgs/shape.png);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.month-offers h4{ font-size: 1.2rem; margin-bottom: 1.5rem;}
.month-offers p{text-align: left;}
.about-us{
    padding-bottom:8rem !important;
    position: relative;
    background: var(--bs-secondary);
    /* clip-path: polygon(50% 0%, 100% 0, 100% 60%, 100% 86%, 25% 100%, 0 79%, 0 0); */
}
.about-us h4,.equipments h4,.doctors h4{
    font-size:1.3rem;
    color: var(--orange);
    margin-bottom: 1.2rem;
    font-family: var(--med-font);
}
.about-us p{ 
    font-size: 1rem;
    width: 450px;
    max-width: 100%;
}
.about-content{height: 450px;}
.about-img{
    position: absolute;
    right:0; 
    top: 120px;
    height: 450px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.big-img{ 
    width: 700px;
    height: 460px;
    object-fit: contain;
    object-position: left;
}
.categories,.medical-equipments{
    position: relative;
    background: #fff;
}
.categories-list{
    width: calc(100% - 200px);
    margin:0 0 0 200px;
    /* clip-path: polygon(0 0, 100% 0%, 100% 100%, 25% 100%); */
}
.categories-title{
    height: 528px;
    width: 615px;
    bottom: 64px;
    left: 0;
    right: auto;
    /* clip-path: polygon(0 0, 57% 0%, 100% 100%, 0% 100%); */
}
.categories-title h3{ 
    font-size: 1.2rem; 
    color: #fff;
    padding: 0 14rem 0 0;
    font-family: var(--med-font);
    transform: scaleX(-1);
}
.categories-list .row{ 
    height: 120px;
    background: var(--bs-third);
    box-shadow: 2px 2px 3px rgba(0,0,0,0.15);
    margin-bottom: 1rem !important;
}
.categories-list .col-6:first-child{padding: 0 !important;}
.cat-img img{
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.categories-list h4{
    font-size: 1rem;
    color: var(--orange);
    text-align: center;
    font-family: var(--bold-font);
}
.medical-equipments .item{
    background: var(--bs-third);
    padding: .5rem;
}
.medical-equipments .item a,.doctors-slider .item a{text-decoration: none;}
.offer-description .content{
    text-align: right;
}
.offer-description .content a{
    text-decoration: none;
    font-size: .8rem;
    margin-top: .7rem;
    display: inline-block;
    color: var(--bs-dark);
}
.offer-description .content a>i{ 
    color: var(--orange);
    width:20px;
    height:20px;
    border-radius: 50%;
    line-height: 20px;
    text-align: center;
    background: rgba(var(--orange-rgb),.74);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.medical-equipments .offer-description{ height: auto;}
.medical-equipments .offer-description .content{ display: none;}
.medical-equipments .offer-description p{-webkit-line-clamp: initial;}
.medical-equipments .offer-description h4{ position: relative;z-index: 10;cursor: pointer;}
.medical-equipments .offer-description h4>i{
    color: var(--orange);
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: 3px;
    z-index: -1;
}
.medical-equipments .show-description .content{ display: block;}
.show-description .fa-chevron-up{ display: block !important;}
.show-description .fa-chevron-down{ display: none !important;}
.doctors {
    padding-bottom: 7rem !important;
    background: var(--bs-secondary);
    clip-path: polygon(50% 0%, 100% 0, 100% 35%, 100% 68%, 100% 73%, 79% 100%, 0 82%, 0% 70%, 0% 35%, 0 0);
}
.doctors-slider .item img{
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    object-position: top;
    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;
}
.footer {
    position: relative;
    padding-top: 130px;
    background: var(--bs-gray);
    clip-path: polygon(24% 24%, 100% 6%, 100% 100%, 75% 100%, 0 100%, 0 0);
}
.footer::before{
    content: '';
    width: 100%;
    height: 100%;
    clip-path: polygon(24% 24%, 100% 6%, 100% 15%, 24% 26%, 0 6%, 0 0);
    background: var(--orange);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}
.footer-logo img{ width: 150px;}
.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.3rem;
    color: var(--bs-primary);
    font-family: var(--med-font);
}
.equipments-category:last-child .list-item:last-child{clip-path: none; padding-bottom: 0 !important;}
.equipments-category .list-item:nth-child(odd){ 
    padding-bottom: 7rem !important;
    background: rgba(var(--third-rgb),.3);
    clip-path: polygon(0 0, 100% 0, 100% 84%, 75% 100%, 0 86%, 0 100%);
}
.equipments-category h3{ 
    color: var(--bs-primary);
    font-size: 1.2rem;
}
.list-item h4{ 
    color: var(--orange); 
    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(--orange);}
.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(even){
    background: rgba(var(--third-rgb),.25);
}
.doctors-list .item:last-child{ clip-path: none;}
.doctors-list h4 {
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}
.doctors-list h5{font-size: 1rem;color: var(--orange);margin-bottom: 1rem;}
.doctors-list p>span {
    color: var(--bs-primary);
}
.doctors-list p{ font-size: .95rem;}
.side-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}
.side-img.border{
    border-width: 8px !important;
    border-color: var(--bs-third) !important;
    background: #fff;
}
.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(--third-rgb),.3);
    clip-path: polygon(0 0, 100% 0, 100% 65%, 75% 100%, 0 76%, 0 100%);
}
.contact-us h4{
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: .8rem;
    font-family: var(--med-font);
}
.contact-us p{font-size: .95rem;color: var(--bs-dark);}
.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(--orange);
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}
.cir-icon i {color: var(--orange); }
.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: linear-gradient(to left,  rgba(204,57,0,1) 1%,rgba(252,82,1,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.map{ 
    position: relative;
    height: 400px;
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 80%, 25% 100%, 0 73%); */
}
.map::before{
    content: '';
    width: 100%;
    height: 100%;
    /* background:var(--bs-third);
    clip-path: polygon(25% 93%, 100% 80%, 100% 100%, 100% 88%, 25% 100%, 0 73%); */
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}
.map iframe{ width: 100%; height: 100%; }
.contact-details h4{
    font-size: 1rem;
}
.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(--orange); }
.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 */
.side-img { position: relative; box-sizing: content-box;}
.side-img img {
    width: 100%;
    max-height: 530px;
    object-fit: contain;
}
.offers-list{margin:0 0 1.5rem 0 !important;}
.offers-list h4{
    font-size: 1.1rem;
    color: var(--orange);
    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(--orange);}
.offer-price p>i{ color: var(--orange);}
.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}

/* responsive */
/* Large desktops and laptops */
@media (min-width: 1200px) {
}
/* Landscape tablets and medium desktops */
@media (min-width:  991.98px) and (max-width: 1199px) {
    .main-slider .carousel-caption{background-size: 700px 600px !important}
    .about-us {padding-bottom: 5rem !important;}
    .big-img{ width: 380px;}
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
     header .container{max-width: 850px;}
    .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: 600px 600px !important;}
    .main-slider .carousel-caption h1{ font-size: 1.1rem; color: var(--orange);}
    .main-slider .carousel-caption p{ font-size: .9rem;}
    .footer-logo img {width: 100px;}
    .about-us {padding-bottom: 4rem !important;}
    .big-img{ width: 400px;}
    .categories-list {
        width: 100% !important;
        margin: 0 !important;
        clip-path: none !important;
    }
    .categories-title{ display: none;}
    .main-slide{ max-height: 270px;}
    .more-slide ul{ height: 280px;}
    .more-slide ul > li{ max-height: 130px;}
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    section,.doctors-list .item,.contact-us,.map{clip-path: none !important;}
    .map::before{ display: none;}
    section.pb-5,section.py-5{ padding: 3rem 0 !important;}
    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 li { margin: .3rem 0; }
    #newsSlider{ margin-bottom: 0;}
    .main-slider .carousel-caption{ background-size: 500px 400px !important;}
    .main-slider .carousel-caption h1{ font-size: 1.1rem;}
    .main-slider .carousel-caption p{ font-size: .9rem;}
    .main-slider::before,.footer::before{ display: none;}
    .main-slider .carousel .carousel-item { height: 400px; }
    .main-slider .carousel-item img { min-height: 400px; width: calc(100% - 200px);}
    .main-slider .carousel-indicators{ bottom: 10px;}
    .latest-news{ padding-top: 3rem; margin-top: 0;}
    .latest-news .carousel-caption{font-size: .85rem;}
    .main-slide{ max-height: 200px;}
    .more-slide ul{ height: 209px;}
    .more-slide ul > li {max-height: 96px;}
    .doctors-slider .item img{ height: 240px;}
    .doctors-slider .item h4{ font-size: .8rem;}
    .month-offers{
        position: static;
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }
    .month-offers h4 { font-size: 1rem; margin-bottom: 1rem;}
    .about-content{ height: auto;}
    .about-img{ position: static; height: auto;}
    .about-img img{ width: 100%; height: 350px; }
    .about-us p{ width: 100%;}
    .categories-list {
        width: 100%;
        margin: 0;
        clip-path: none;
    }
    .categories-title{ display: none;}
    .footer{ padding-top: 3rem;}
    .footer-list li {padding: .3rem 0;}
    .side-img{ 
        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{ clip-path: none !important; }
    .equipments-category .list-item:nth-child(odd){ padding-bottom:0 !important;}
    .equipments-category:nth-child(2n+1) .list-item:nth-child(even){padding-bottom:0 !important;}
    .item-img img{width: 300px;max-height: 350px;object-fit: contain;}
    .item-img{margin: 2rem 0 !important;}
    .offers img, .equipments-slider img{ max-height: 230px;}
    .offer-description h4 { font-size: .9rem;}
    .footer-logo{ margin-top: 0;}
    .offers-slider.pb-5{ padding-bottom: 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: 0;
        width: 100%;
        right: 0;
        left: 0;
        height: auto;
        padding-bottom: 1.8rem !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: 5px; margin-bottom: .3rem;}
    .about-img img{ width: 100%; height: 200px; }
    .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;}
    .doctors-list .item .col-sm-5{ margin: 0;}
    .top-bar{ height: auto;}
    .top-bar .col-auto{ width: 100%;}
        .top-bar .social-links {
            justify-content: flex-start;
            margin-bottom: .2rem
        }
    #about-us,#latest-news{ scroll-margin-top: 50px;}
    .doctors-list .item,.equipments-category .list-item{scroll-margin-top: 100px;}
    .navbar-brand img {height: 59px;}
    .more-slide ul > li img{object-fit: contain;}
}
@media (max-width: 400px) {
    .main-slide{ max-height: 140px;}
    .more-slide ul{ height: 150px;}
    .more-slide ul > li {max-height: 64px;} 
}