@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /*colors*/
    --mprimary:#3e5c9a;
    --secondary:#12b48b;
    --light:#ffffff;
    --dark:#6A6A6A;

    /*font-family*/
    --mprimary-font:'Poppins', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
	line-height: 30px;
	font-size: 16px !important;
    font-family: var(--mprimary-font);
}

h2 {
    margin-bottom: 1.875rem;
    line-height: 2.8rem;
    font-weight: 600;
    font-size: 2rem;
    color: var(--mprimary);
    font-family: var(--secondary-font);
    text-transform: uppercase;
}

section{
    margin-top: 45px;
}
p, .grey{
    color: gray;
}

/* header-top */
#top-bar {
    background-color: var(--mprimary);
    color: var(--light);
}
.top-bar-row{
    align-items: center;
    line-height: 0;
    font-size: 14px !important;
}
#top-bar .top-info ul {
    display: flex;
    justify-content: end;
    list-style: none;
}
#top-bar .top-info ul li {
	padding: 0px 4px;
}

.social-link ul li a {
  border: 1px solid #fff !important;
  border-radius: 100%;
  color: #fff !important;
  display: inline-block;
  font-size: 14px;
  padding:1px;
  width: 27px;
  height: 27px;
  line-height: 23px;
  margin: 0 2px;
  text-align: center;
  transition: background-color 400ms linear 0s;
}

.social-link ul li a.twitter:hover{
    background: #3ABDD1;
}
.social-link ul li a.facebook:hover{
    background: #648CD5;
}
.social-link ul li a.instagram:hover{
    background: #bc2a8d;
}
.social-link ul li a.linkedin:hover{
    background: #3ABDD1;
}

/* Navbar */

.head-container{
    width: 97%;
    margin: 0 auto;
}
.navbar-brand img{
    width: 100px !important;
}
.head-row{
    padding: 8px;
    position: sticky;
	top: 0;
	z-index:1000;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0px 13px 27px -21px rgba(0,0,0,0.75);
}
.menu-navbar .nav-item {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 30px;
    font-weight: 500;
}
.menu-navbar .nav-item a{
    color: var(--dark);
}
.menu-navbar .nav-item::after{
    content: "";
    display: block;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: 0.5s;
    margin: auto;
}
.menu-navbar .nav-item:hover::after{
    width: 100%;
    
}
.menu-navbar #nav-item-app:hover::after{
    width: 0%;
}

.menu-navbar .nav-item .appointment{
    background: var(--mprimary);
    padding: 12px 31px;
    font-size: 14px;
    border-radius: 2em;
    border: 1px solid transparent;
    text-align: center;
    transition: all 0.5s ease 0s;
    line-height: normal;
    display: block;
    color: #fff!important;
}
.menu-navbar .nav-item .appointment:hover{
    background: var(--secondary);
}

/* Slider */

.carousel-inner img {
    width: 100%;
    height: 100%;
}

/* About */
.about-sec .row .mt{margin-top: 30px;}

.breadcrumb-section{
    background-image: url('../img/breadcrumb-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 50px 0;
    height: 190px;
    position: relative;
}
.breadcrumb-inner::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0,0.6);
}
.breadcrumb-section .breadcrumb-inner h2{
    color: var(--light);
    font-size: 29px;
}
.breadcrumb-item +.breadcrumb-item::before, .breadcrumb-item +.breadcrumb-item {
    padding-right: .5rem;
    color: #99baee;
    content: "/";
}
.breadcrumb-section .breadcrumb-inner a{
    text-decoration: none;
    color: var(--light);
}
.breadcrumb {
    background-color: #e9ecef21;
}
.faq .card{
    background-color: #9d999942;
    font-family: var(--secondary-font);
}
.faq .card:hover {
    transform: scale(1);
}
.faq .card a{
    font-size: 18px;
    font-weight: 500;
    color: #000000;
}
.faq .card div{
    font-size: 14px !important;
}
/* Service Section start*/ 
    /** for eye services **/

.service .nav-pills .nav-item .nav-link {
    padding: 0.3rem 5rem !important;
    margin: 0 20px;
    border: 2px solid #12b48b;
    color: var(--secondary);
    border-radius: 0;
    line-height: 45px;
    font-weight: 500;
    transition: 0.5s;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background:  var(--secondary);
    color: var(--light) !important;
}

.service .card:hover{
    transform: scale(1.1);
    transition: 0.5s;
    box-shadow: 0px 0px 21px -4px rgba(0,0,0,0.74);
    z-index: 600;
}
	
.service .card {
	min-height:  255px;
}
 .service .card-sub {box-shadow:0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)}
.service .card-sub:hover {
    box-shadow: 0 0px 17px 8px rgb(0 0 0 / 21%), 0 2px 17px 2px rgb(0 0 0 / 20%)
}
.service .card .card-body .card-title{
    font-size: 1rem;
    font-weight: 600;
}
    /** for child care services **/
    .shape {
        width: 200px;
        height: 100px;
        position: relative;
        background: #d87676;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 30px;
        color: white;
        font-weight:600;
      }
      .shape:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 0;
        border-left: 20px solid white;
        border-top: 50px solid transparent;
        border-bottom: 50px solid transparent;
      }
      .shape:before {
        content: "";
        position: absolute;
        right: -26px;
        bottom: 0;
        width: 0;
        height: 0;
        border-left: 26px solid #d87676;
        border-top: 50px solid transparent;
        border-bottom: 50px solid transparent;
      }
	  .shape:hover{
		transform: translateX(20px);
		transition:0.5s;
	  }
      #primary.shape::before{
          border-left: 26px solid #007bff;
      }
	  #success.shape::before{
          border-left: 26px solid #28a745;
      }
	  #info.shape::before{
          border-left: 26px solid #17a2b8;
      }
	  #warning.shape::before{
          border-left: 26px solid #ffc107;
      }
	  #secondary.shape::before{
          border-left: 26px solid #6c757d;
      }
	  #danger.shape::before{
          border-left: 26px solid #dc3545;
      }
	  
	  @media (max-width: 575px){
		.shape{width:100%;}
	  }

    .sub-heading{
        text-align: center;
        font-size: 25px;
        margin-bottom: 37px;
    }
/*service section end */

/* why choose us start*/
    .why-we-best{
        background-image: url(../img/banner11.jpg);
        width: 100%;
        height: 100%;
        margin: 0 auto;
        background-size: cover;
        background-attachment: fixed;
        background-origin: right;
    }
   
    .why-we-best h4{
        font-size: 18px;
        font-weight: 700;
    }
    .icon-box .icon{
        display: inline-block;
        height: 68px;
        margin-bottom: 20px;
        text-align: center;
        width: 68px;
        color: #3e5c9a;
    }
    .icon-box:hover {
        background: #2021241a;
        transition: 0.5s;
        cursor: pointer;
    }
    .icon-box i{
        display: inline-block;
        font-size: 36px;
        margin-right: 16px;
    }
/* why choose us end*/

/* Doctors Sectio start*/
    
.doctors .card{
    position: relative;
    width: 300px;
    height: 345px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
}
.doctors .card .info{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.doctors .card .info .name{
    font-size: 21px;
    font-weight: 600;
    color: var(--secondary);
    top: 100px;
    letter-spacing: 2px;
}
.doctors .card .info .prof{
    font-size: 14px;
    font-weight: bold;
    color: #555555;
    margin-top: 10px;
}

.doctors .card .info .bio{
    color: #949594;
    margin-top: 10px;
    line-height: 22px;
    font-size: 14px;
    text-align: center;
    margin: 5px 0px;
}
.doctors .card .info button{
    bottom: 18px;
    background-color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 5px 25px;
    position: absolute;
    cursor: pointer;
    transition: 0.5s;
}
.doctors .card .info button:hover{
    background-color: white;
}
.doctors .card .info button a{
    color: #fff;
    text-decoration: none;
}
.doctors .card .info button:hover a{
    color: var(--secondary);
    
}

.doctors .card .photo{
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(../img/doctor/dr.\ Monika\ mahilang\ ophthalmology\ atharv-hospital-sarkanda-bilaspur.jpg);
    background-repeat: no-repeat;
    bottom: 0;
    background-size: 100% 100%;
    border-radius: 8px;
    transition: 1s;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
}
.doctors .card .photo.doc2{
    background-image: url(../img/doctor/Dr.\ Deepak\ Kumar\ Paediatrics\ Arharv_hospital_bilaspur.jpg);
}
.doctors .card .card-sub-title h3{
    font-size: 20px;
}
.doctors .card .card-sub-title{
    position: absolute;
    bottom: 0;
    left: 53px;
    font-size: 16x;
    background: #259947;
    display: block;
    padding: 0 24px;
    color: white;
    transition: 0.5s;
    opacity: 1;
    border-radius: 10px 10px 0 0;
}
.doctors .card:hover .photo{
    transform: scale(0.3, 0.3) translateY(-576px);
    border-radius: 50%;
}
.doctors .card:hover .card-sub-title{
    visibility: hidden;
    bottom: -40px;
    opacity: 0;
    
}
.doctors .card:hover{
    box-shadow: 0px 0px 21px -4px rgba(0,0,0,0.74);
}
/* Doctors Section  end*/


/* Gallery section */
	.gallery .img-gallery img{width:100%;}
    .gallery-item a{
        position:relative;
        display:block;
        transition: 0.5s;
   }
    .gallery-item a::before {
        position:absolute;
        content:'';
        background:rgba(0, 0, 0, 0.5);
        top:0;
        left:0;
        bottom:0;
        right:0;
        width:100%;
        height:100%;
        transform: scale(1);
        transition:.5s;
   }
    .gallery-item a:hover{
        transform: scale(1.2);
        filter: drop-shadow(2px 4px 6px black);
   }
   .gallery-item:hover a::before{
       transform: scale(0);
   }
   

/*Appointment form */
    .contact-form .bg-image{
        background-image: url(../img/cropped-banner.jpg);
        height: 700px;
        position: relative;
        width: 100%;
        padding: 80px 0;
    }
    .contact-form .bg-image::before{
        content: "";
        position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
        background: rgb(0, 0, 0,0.6);
    }
    .contact-form h3{font-size: 33px;}
    .contact-form .sub-title{
        font-size: 18px;
        font-weight: 500;
        line-height: 35px;
    }
    .contact-form .bg-image h6 {font-size: 18px;}
    .contact-form .bg-image h6 strong span {color: var(--secondary);}
    .form{
        width: 100%;
        position: relative;
    }
    .form img{
        width: 100%;
        height: 500px;
    }
    .form h5{
        font-size: 22px;
        font-weight: 600;
    }
    .form h5 + p{
        font-size: 15px;
        font-weight: 500;
    }
    .form .form-group .form-control{
        border-radius: 0px;
        height: 46px;
        padding: 0.375rem 1rem;
        font-family: var(--secondary-font) !important;
        font-size: 16px;
        margin-bottom: 15px;
    }
    .form-control:focus {
        box-shadow: 0 0 0 0.05rem rgb(0 123 255 / 25%);
    }
    .form [type="submit"], .btn-link{
        border: 2px solid #12b48b;
        color: #fff;
        background: #12b48b;
        border-radius: 0;
        padding: 0 25px;
        line-height: 45px;
        font-weight: 500;
        transition: 0.5s;
    }
    .form [type="submit"]:hover, .btn-link:hover{
        background: #fff;
        color: #12b48b;
    }
/*Appointment form end */

/*Contact form start*/
    .contact .card{
        box-shadow:  0 2.8px 2.2px rgba(0, 0, 0, 0.034),
        0 6.7px 5.3px rgba(0, 0, 0, 0.048),
        0 12.5px 10px rgba(0, 0, 0, 0.06),
        0 22.3px 17.9px rgba(0, 0, 0, 0.072),
        0 41.8px 33.4px rgba(0, 0, 0, 0.086),
        0 100px 80px rgba(0, 0, 0, 0.12);
    }
/*Contact form end*/
	
/* footer section */
.footer{
    background-color: #323232;
    color: #7e7d82;
}
.footer img{
    width: 207px;
}
.footer p{
    margin-bottom: 0px !important;
}
a.social-icon{
    color: #7e7d82;
    font-size: 1.2rem;
    transition: 0.5s;
}
.soc-twitter:hover{color: #3ABDD1;}
.soc-facebook:hover{color: #648CD5;}
.soc-instagram:hover{color: #bc2a8d;}
.soc-pinterest:hover{color: #DE5656;}
.widget .widget-title {
    font-size: 24px;
    margin-bottom: 35px;
}
.topmargin_20 {margin-top: 35px;}
.greylinks a{color: #b4b4b4;}

.sidefix {
    width: 120px;
    padding: 10px;
    height: auto;
    position: fixed;
    font-size: 14px;
    word-break: break-all;
    z-index: 999;
    right: -50px;
    top: 40%;
    line-height: 17px;
    z-index: 108888;
}