:root {
  --text: #717476;
  --primary-color: #1B7252;
  --secondary-color: #E3A842;
  --text-dark: #2E3F39;
  --white:#fff;
  --font: 'Poppins', sans-serif;
  --font-medium: 500;
  --font-bold:700;
  --font-normal:400;
  --font-semibold:600;
}
body {
  padding: 0 40px 40px;
  font-family: var(--font) ;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .5px;
}
h1,h2,h3,h4,h5,h6{
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--primary-color);
}
h1{
  font-size: 63px;
  line-height: 73px;
}
h2{
  font-size: 46px;
  line-height: 52px;
  margin-bottom: 25px;
}
h3{
  color: var(--text-dark);
  font-size: 22px;
  font-weight: var(--font-medium);

}
h5{
  text-transform: none;
  font-weight: var(--font-medium);
  font-size: 22px;
}
h6{
  text-transform: none;
  font-weight: var(--font-medium);
   color: var(--text-dark);
  font-size: 16px;
}
ul {
  list-style: none;
  padding: 0;
}
a{
  text-decoration: none;
  transition: all .3s;
}
.font-12{
  font-size: 12px !important;
  line-height: 16px;
}
.font-14{
  font-size: 14px !important;
  line-height: 18px;
}
.font-16{
  font-size: 16px !important;
  line-height: 22px;
}
.font-18{
  font-size: 18px !important;
  line-height: 24px;
}
.text-white{
  color: var(--white);
}
.text-dark{
  color: var(--text-dark);
}
.text-body{
  color: var(--text);
}
.nav li a{
  text-transform: uppercase;
  color: var(--text-dark);
  transition: all .3s;
  
}
.nav li a:hover, .nav li a:active, .nav li a:focus{
  color: var(--primary-color);
  
}
.btn-maxcare{
  border-radius: 10px;
  color: var(--white);
  text-transform: uppercase;
  font-size: 16px;
  padding: 16px 20px;
  display: inline-block;
  letter-spacing: 1px;
}
.btn-secondary{
  background: var(--secondary-color);
}
.btn-primary{
  background: var(--primary-color);
}
.btn-secondary:hover{
  background: #ebaa39;
}
.btn-primary:hover{
  background: #1c815c

}
.text-primary{
  color: var(--primary-color);
}
.btn-text{
  color: var(--primary-color);
}

.hero-section{
  border-radius: 38px;
  background: linear-gradient(96deg, #1B7252 3.68%, #68A077 96.97%);
  padding: 90px 0;
  overflow: hidden;
  position: relative;

}

.maxc-logobg::after{
  background: url(../images/maxc-logo-bg.png) top no-repeat;
  width: 455px;
  height: 494px;
  content: "";
  display: block;
  position: absolute;
    bottom: 0;
    right: 10%;

}
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.cta-rotating{
  width: 122px;
  height: 122px;
  position: relative;
  display: block;

}
.cta-rotating:before{
  -webkit-animation: rotating 6s linear infinite;
  -moz-animation: rotating 6s linear infinite;
  -ms-animation: rotating 6s linear infinite;
  -o-animation: rotating 6s linear infinite;
  animation: rotating 6s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/cta-round-white.svg);
  content: '';
  display: block;
  width: 100%;
  height: 100%;

}
.cta-rotating span{
  display: block;
  background: #fff;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  text-align: center;
  padding: 20px 0;
    
  }
 .hero-section .cta-rotating{
  position: absolute;
  right: 15%;
  z-index: 1;
  bottom: 62px;
 }
 .page-section{
  padding: 115px 0;
 }
 .hero-image img {
  border-radius: 28px;
}
.cta-rotating.green:before{
    background: url(../images/cta-round-green.svg);
}
  
@keyframes scale {
  50% {
    -webkit-transform:scale(1.2);
    -moz-transform:scale(1.2);
    -ms-transform:scale(1.2);
    -o-transform:scale(1.2);
    transform:scale(1.2);
  }
}
 .subtitle{
  text-transform: uppercase;
  color: var(--text-dark);
  font-size: 16px;
 }
 .healthcare-sec-image{
  position: absolute;
  left: -30px;
  bottom: -30px;
 }
 .healthcare-sec-home .cta-rotating span{
  display: block;
  background: var(--primary-color);
  border-radius: 50%;
  width: 66px;
  height: 66px;
  text-align: center;
  padding: 18px 0;
    
  }
  .healthcare-sec-home .cta-rotating:before{
  
  background: url(../images/cta-round-green.svg);
  content: '';
  display: block;
  width: 100%;
  height: 100%;

}
.healthcare-sec-home .cta-rotating{
  position: absolute;
    right: 96%;
    z-index: 1;
    bottom: -66px;
 }
.info-count h3{
  font-size: 27px;
  font-weight: var(--font-normal);
  text-align: center;
  line-height: 36px;
  text-transform: none;
  margin-bottom: 55px;
 
 }
.info-count h3 span{
  color: var(--secondary-color);
  font-weight: var(--font-bold);
}
.info-count{
  max-width: 60%;
  margin: 0 auto;
}
.count {
    padding: 0px 40px;
    text-align: center;
    min-width: 18%;
}
.count h2{
  font-weight: var(--font-semibold);
  margin-bottom: 15px;

}
.count p{
  line-height: 18px;
  color: var(--text-dark);

}
.count p span{
  font-weight: var(--font-medium);
}
.testimonial .item{
  border-radius: 35px;
  
  border: 1px solid #DBDCDE;
  padding: 25px;
  text-align: center;
}
.testimonial .item img{
  width: 97px;
  margin-bottom: 25px;
  display: inline-block;
}
.testimonial .item h4 {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: var(--font-medium);
    margin-bottom: 0;
    text-transform: none;
}
/*.testimonial .owl-item.active:nth-child(even) .item{
    -moz-box-shadow:   0px 0px 20px 2px rgba(0, 0, 0, 0.1);
 -webkit-box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.1);

}*/
.owl-carousel .owl-stage-outer{
  padding: 20px 0;
}
.owl-theme .owl-dots .owl-dot span{
  background: #D9D9D9;
  width: 12px;
  height: 12px;
  margin: 5px 3px ;
 }
.owl-theme .owl-dots .owl-dot.active span{
  background: var(--primary-color);
  width: 16px;
  height: 16px;
}
.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}
.location-we-serve{
  background: var(--text-dark);
  border-radius: 38px;
}
.location-we-serve h2 span{
  color: var(--secondary-color);
}
.location-bg{
  background: url(../images/location-bg.png) no-repeat left -20px;
  padding: 140px 0;
}
input.form-control, select.form-control{
  background: #EFF1F4;
  border-radius: 12px;
  height: 60px;
  border:0;
   transition: all .3s;
}
label{
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 18px;
}
.select-arrow:after{
 content: "";
display: block;
  background: url(../images/down-arrow.svg) no-repeat;
  width: 16px;
  height: 11px;
  position: absolute;
  top: 24px;
  right: 20px;
}
.form-control:focus{
  border-radius: 12px;
  border: 1px solid #1B7252;
  background: #FFF;
  box-shadow: 0px 0px 12px 0px rgba(27, 114, 82, 0.15);
}
button{
  background: var(--primary-color);
  border:0;
  font-size: 18px;
  font-weight: var(--font-medium);
 
}


button svg{
    transition: all .3s;
} 
button:hover svg{
  margin-left: 12px;
}
footer{
  background: var(--primary-color);
  border-radius: 38px;
  overflow: hidden;

}
.footer-cta{
  padding: 30px 0;
}
.footer-cta .cta-rotating{
  position: absolute;
  width: 153px;
  height: 153px;
  right: 0;
  bottom: -80px;
}
.footer-cta .cta-rotating:before{
  background: url(../images/cta-round-footer.svg);
}
.footer-area{
  background: var(--text-dark);
  padding-top: 100px;
  border-radius: 0 0 38px 38px;
}
.footer-cta  .cta-rotating span{
  background: none;
}
.footer-cta h2{
  color: var(--white);
  font-size: 34px;
  margin-bottom: 0;
  line-height: 38px;
}
footer li a{
  color: var(--white);
  font-size: 13px;
  margin-bottom: 4px;
  display: inline-block;
 

}
footer h5{
  text-transform: none;
  color: var(--white);
  font-size: 14px;
  font-weight: var(--font-medium);
  margin-bottom: 15px;

}
.footer-social{
  border-bottom: 1px solid #394D46;
  padding: 15px 0;
}
.nav_toggle {
    display: none;
}

.nav_toggle {
  width: 30px;
  height: 20px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.nav_toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.nav_toggle span:nth-child(1) {
  top: 0px;
}

.nav_toggle span:nth-child(2) {
  top: 11px;
  width: 21px;
  right: 0;
  left: auto;
}

.nav_toggle span:nth-child(3) {
  top:22px;
}

.nav_toggle.open span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.nav_toggle.open span:nth-child(2) {
  opacity: 0;
  right: -60px;
}

.nav_toggle.open span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.w-md-50 {
  width: 50%;
}
.page-title h1{
  font-size: 48px;
  line-height: 50px;
}
.page-title{
  padding: 65px 0;
  overflow: visible;
}
.page-title::after{
  background: url(../images/page-title-bg.svg) top no-repeat;
  width: 463px;
  height: 270px;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 10%;

}
.page-title .cta-rotating{
  bottom: 0;
  translate: 0 50%;
}
.colored-bg{
  background: #E8FDF5;
  border-radius: 38px;
  padding: 100px 0;
}
.service-no{
  font-size: 90px;
  color: var(--primary-color);
  opacity: .3;
  font-weight: var(--font-bold);
  position: absolute;
  line-height: 88px;
}
.service-no.one{
  right: 0;
  top: 0;
}
.service-no.two {
  left: 0;
  top: 0;
}
.mb-25{
  margin-bottom: 25px;
}
.mb-50{
  margin-bottom: 50px;
}
.mb-75{
  margin-bottom: 75px;
}
.mb-100{
  margin-bottom: 100px;
}

/* Basic styling */

[type=checkbox] {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  -webkit-appearance: none;
  background: none;
  border: 0;
  outline: 0;
  flex-grow: 0;
  border-radius: 3px;
  background-color: #FFFFFF;
  transition: background 300ms;
  cursor: pointer;
}


/* Pseudo element for check styling */

[type=checkbox]::before {
  content: "";
  color: transparent;
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  border: 0;
  background-color: transparent;
  background-size: contain;
  border: 1px solid #DBDCDE;

}


/* Checked */

[type=checkbox]:checked {
  background-color: #fff;
}

[type=checkbox]:checked::before {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%231B7252'/%3E %3C/svg%3E");
}

/*------Select menu-----------*/
.select-container {
    position: relative;
    margin: 0 auto;
   
}

.select-container .select {
    position: relative;
    background: #EFF1F4;
    border-radius: 12px;
    height: 60px;
}

.select-container .select::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 11px;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: url(../images/down-arrow.svg) no-repeat;
    cursor: pointer;
    transition: transform 0.4s;
}

.select-container.active .select::after {
    background: url(../images/down-arrow.svg) no-repeat;
    transform: translateY(-50%) rotate(-180deg);
}
.select-container .select input {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    background: none;
    outline: none;
    border: none;
    
    cursor: pointer;
}
.select-container .option-container {
    position:absolute;
    width: 100%;
    background: var(--primary-color);
    display: none;
    overflow-y: scroll;
    transition: 0.4s;
    border-radius: 12px;
    margin-top: 4px;
    color: #fff;
}

.select-container.active .option-container {
    max-height: 240px;
    display: block;
}
.select-container.active .select{
    border: 1px solid #1B7252;
    background: #FFF;
    box-shadow: 0px 0px 12px 0px rgba(27, 114, 82, 0.15);
}

.select-container .option-container::-webkit-scrollbar {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    width: 10px;
}

.select-container .option-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

.select-container .option-container .option {
    position: relative;
    padding-left: 15px;
    height: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.select-container .option-container .option.selected {
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.select-container .option-container .option:hover {
    background: rgba(0, 0, 0, 0.1);
    padding-left: 20px;
}

.select-container .option-container .option label {
    cursor: pointer;
}
#success_msg{
   
    border-radius: 12px;
    padding: 15px;
    
}
#success_msg.success{
   border: 1px solid #4CAF50;
   color: #4CAF50;
 }
 #success_msg.error{
   border: 1px solid #ff4747;
   color: #ff4747;
 }




@media only screen and (max-width: 992px) {

  .nav_toggle {
    display: block;
}
.nav{
  position: absolute;
  background: linear-gradient(96deg, #1B7252 3.68%, #68A077 96.97%);
  top: 100%;
  width: 100%;
  left: 0;
  z-index: 1;
  display: block;
  border-radius: 15px ;
  text-align: center;
    padding: 30px;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out .3s;
}
.nav li a {
    color: var(--white);
 }
 .info-count {
    max-width: 80%;
  }

.show-menu .nav {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}
.w-md-50 {
  width: 100%;
}

.count {
    padding: 0px 33px;
    text-align: center;
    min-width: 25%;
}

  body{
    padding:0 10px 10px ;
  }

}


@media only screen and (max-width: 1200px) {
    .nav li a {
    padding: 16px 11px;
  }


}

@media only screen and (max-width: 769px) {
  /* For mobile phones: */

.hero-section{
  padding: 50px 10px;
  border-radius: 15px;
}
.hero-section h1{
  font-size: 62px;
  line-height: 62px;
}
.hero-image .item-2{
  height: 58%;
  width: 100%;
  object-fit: cover;

}
.page-section, .location-bg {
    padding: 50px 0;
}
.btn-maxcare{
  font-size: 14px;
}
.healthcare-sec-image {
    position: absolute;
    left: -3px;
  }
  .healthcare-sec-home .cta-rotating {
   right: 7%;
  }
  .info-count {
    max-width: 100%;
   
}
.count {
    margin-bottom: 15px;
    width: 50%;
  }

.footer-cta .cta-rotating{
  bottom: -92px;
}
footer, .location-we-serve{
  border-radius: 15px;
}
.footer-area{
  border-radius:  0 0 15px 15px;
}
.footer-area{
  padding-top: 50px;
}
.page-title h1{
  font-size: 42px !important;
  line-height: 44px !important;
}
.page-title .cta-rotating{
  right: 6%;
  bottom: 0 !important;
}
.service-no.one, .service-no.two {
    left: 10px;
    top: 0;
}
form .btn-maxcare{
  width: 100%;
}
}

@media only screen and (max-width: 425px) {

  .hero-section .cta-rotating{
    bottom: -45px;
  }
  .hero-image .image-b {
    height: 51%;
  }
  .hero-image .image-c {
    width: 340px;
}
.hero-section h1 {
    font-size: 52px;
    line-height: 54px;
}
.count {
    padding: 0px 35px;
  }
h2 {
    font-size: 38px;
    line-height: 42px;
  }
.footer-cta .cta-rotating {
    bottom: -154px;
    right: 30px;
}

}