.medical-schedules {
    margin: -86px 0 0 0;
}
.medical-schedules h4 {
    line-height: 23px;
    padding-top: 4px;
}

.medical-schedules h4, .medical-schedules h5, .medical-schedules a, .medical-schedules i {
    color: #fff !important;
}

.medical-schedules h5 {
    position: relative;
    display: inline-block;
}
.custom-font {
    font-family: "Petit Formal Script", cursive;
    font-weight: 400;
    font-style: normal;
  }

.medical-schedules .box-one, .medical-schedules .box-two, .medical-schedules .box-three, .medical-schedules .box-four {
    cursor: pointer;
    height:125px;
    position: relative;
    animation-duration: 0.6s;
}

.medical-schedules .box-one {
    z-index: 4;
}

.medical-schedules .box-two {
    z-index: 3;
}

.medical-schedules .box-three {
    z-index: 2;
}

.medical-schedules .box-three:hover {
    z-index: 10;
}

.medical-schedules .box-four {
    z-index: 1;
}

.medical-schedules .box-one::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: -40px;
    width: 0;
    height: 0;
    border-top: 62px solid transparent;
    border-bottom: 62px solid transparent;
    border-left: 40px solid  #d79e2d;
    z-index: 5;
}
.mt-7{
    margin-top:7rem !important;
}
.footer-header.header-nav-main-square nav > ul > li:hover > a {
    background: #d79e2d; 
    color: #FFF ;
   
}

#footer-header .header-nav-main-square nav > ul > li:active > a {
    background: #d79e2d ;
    color: #FFF ;
    
}
#footer-header .header-nav-main-square nav > ul > li > a {
    border-radius: 0 !important;
}
.header-nav-main-square{
    text-transform: none !important;
}

.vr {
    display: inline-block;
    align-self: stretch;
    width: 1.5px !important;
    min-height: 11em !important;
    background-color: #c3bfb6 ;
    opacity: .25;
}
.logo-carousel.owl-carousel.nav-style-1 .owl-nav .owl-prev{
    color: black !important;
    font-size:30px !important;
    font-weight: 300 !important;
}
.logo-carousel.owl-carousel.nav-style-1 .owl-nav .owl-next{
    color: black !important;
    font-size:30px !important;
    font-weight: 300 !important;
}
.w-64{
    width:64% !important ;
}

.section-intro {
    background: url("images/section-intro.png") no-repeat 12% 100%;
    min-height: 400px;
}

.medical-schedules .box-two a, .medical-schedules .box-three a {
    text-decoration: none;
}

.medical-schedules .box-two:hover .expanded-info, .medical-schedules .box-three:hover .expanded-info {
    opacity: 1;
    z-index: 1;
}

/* .medical-schedules .box-two:hover .expanded-info .info, .medical-schedules .box-three:hover .expanded-info .info {
    opacity: 1;
    transform: translateY(0%);
}

.medical-schedules .box-two:hover i, .medical-schedules .box-three:hover i {
    transition: all 0.3s ease;
} */

.medical-schedules .box-two .expanded-info, .medical-schedules .box-three .expanded-info {
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 99%;
    width: 100%;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.2);
    z-index: -1;
    transition: all 0.3s ease;
}

.medical-schedules .box-two .expanded-info .info, .medical-schedules .box-three .expanded-info .info {
    opacity: 0;
    transform: translateY(-40%);
}



.medical-schedules .box-four label {
    display: block;
    margin: -3px 0 0;
    opacity: 0.5;
}

.medical-schedules .box-four strong {
    font-size: 1.6em;
}

.medical-schedules .box-four .feature-box {
    padding: 23.7px;
}

.medical-schedules .box-four .feature-box-icon {
    margin-top: 5px;
}

.boxShedow{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}


.custom-button {
    --color: #560bad;
    font-family: inherit;
    display: inline-block;
    width: 8em;
    height: 2.6em;
    line-height: 2.5em;
    margin: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color .5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--color);
   }
   
   .custom-button:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
   }
   
   .custom-button:hover {
    color: #fff;
   }
   
   .custom-button:before {
    top: 100%;
    left: 100%;
    transition: all .7s;
   }
   
   .custom-button:hover:before {
    top: -30px;
    left: -30px;
   }
   
   .custom-button:active:before {
    background: #3a0ca3;
    transition: background 0s;
   }

   .w-15{
     width: 15% !important;
   }

   .close-box{
    width: 25px;
    height: 25px;
    border-radius: 50px;
background: #e0e0e0;
box-shadow:  20px 20px 60px #bebebe,
             -20px -20px 60px #ffffff;
   }

   .floating_btn-1 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    z-index: 1000;
  }
  .floating_btn-2 {
    position: fixed;
    bottom: 113px;
    right: 30px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    z-index: 1000;
  }
  @keyframes pulsing {
    to {
      box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
  }
  
  .contact_icon {
    background-color: rgb(249 14 12);
    color: #fff;
    width: 60px;
    height: 60px;
    font-size:30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgb(241, 64, 61);
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
  }
  .contact_icon-2 {
    background-color: rgb(249 14 12);
    color: #fff;
    width: 60px;
    height: 60px;
    font-size:24px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgb(241, 64, 61);
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
  }
  

  .custom-box-squares {
    position: relative;
    min-height: 300px;
    margin-top: 38px;
}
.custom-box-squares .custom-big-square {
    width: 250px;
    height: 250px;
}
.custom-big-square.left-pos-2 {
    left: 35px;
}
.custom-big-square {
    position: absolute;
    width: 312px;
    height: 312px;
    top: 43%;
    border: 10px solid #FFF;
    backface-visibility: hidden;
    transform: translateY(-50%) rotate(45deg);
}
.custom-box-shadow {
    box-shadow: 0px 0px 60px -10px rgba(139, 139, 139, 0.5);
}

.custom-box-squares .custom-small-square {
    width: 155px;
    height: 155px;
}
.custom-small-square.left-pos-2 {
    left: 250px;
}
.custom-small-square {
    position: absolute;
    width: 192px;
    height: 192px;
    top: 50%;
    border: 10px solid #FFF;
    backface-visibility: hidden;
    transform: translateY(-50%) rotate(45deg);
}
.custom-box-shadow {
    box-shadow: 0px 0px 60px -10px rgba(139, 139, 139, 0.5);
}
.custom-vision{
    height:136px;
    width:136px;
    background-color: #ccc;
    border-radius: 100%;
   background-color: #FFF;
    box-shadow: -1px 2px 7px 2px #c5c5c5, -3px -3px 5px #ffffff;
    
}
.custom-box:hover{
    box-shadow: 1px 1px 10px #c5c5c5, -3px -3px 5px #ffffff;
}



   /* .hero-section-height{
    height: 70vh;
   } */

@media (max-width: 991px) {
    .medical-schedules h4 {
            margin-top: 10px !important;
    }
    .medical-schedules .box-one::after {
            content: none;
    }
    .medical-schedules .box-two, .medical-schedules .box-three {
            padding: 38px 38px 38px 38px;
    }
}
/* @media (max-width:425px) {
    .hero-section-height{
        height: 75vh !important;
       }  
} */