@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500&display=swap');

*{
    font-family: 'Josefin Sans', sans-serif;
    padding: 0px;
    margin: 0px;
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}
.navbar{
  background-color: white; 
    padding: 15px 0px;
  font-size: 15px;
}
.navbar-brand{
  font-size: 30px;
  font-weight: 600;
  color: #2c4964 !important;
}
.navbar-nav li a{
  font-size: 18px;
  color: #2c4964;
  text-align: center;
}
.navbar-nav li a:hover{
  background-color: #007bff !important;
  color: white !important;
}
.navbar-toggle {
  color: #007bff;
  background-color: #676767;
}


html,body {
    height: 100%;
  }
  
  .wrapper {
    height: 80%;
  }
  
  .fixed-bg {
    height: 100%; 
  }
  .fixed-bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
  
  .scroll-bg {
    background-color: #0f0f0a;
  }
  
  /* first section */
  
  .bg-1 {
    background-image: url('https://bootstrapmade.com/demo/themes/Medilab/assets/img/hero-bg.jpg');
  }
  
  /* third section */
  
  .bg-2 {
    background-image: url('64841.jpg');
  }
  
  /* fifth section */
  
  .bg-3 {
    background-image: url('773130.jpg');
  }
  
  @import url('https://fonts.googleapis.com/css?family=Quicksand');
  
  .wrapper {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.5;
    word-spacing: 4px;
    letter-spacing: 1px;
    position: relative;
  }
  
  .fixed-bg {
    color: white;
  }
  
  .scroll-bg {
    padding: 10px 70px;
    color: #676767;
  }
  .fixed-bg {
    width: 100%;
    text-align: center;
    display: table;
  }
  
  .fixed-bg h1 {
      color: #2c4964;
      font-size: 50px;
      font-weight: 800;
    display: table-cell;
    vertical-align: middle;
  }
  .fixed-bg p {
      color: #2c4964;
    font-size: 30px;
  }
  .cols {
      position: absolute;
      top: 25%;
      left: 5%;
    
  }
.aboutxt {
    position: relative;
    top: -10%
}
.aboutxt .col-md-4{
    background-color: white;
    border-radius: 5px;
    text-align: center;
    padding: 60px 20px;
    margin: 0px 0px;
    box-shadow: 5px 10px 18px #888888;
}

.spacediv{
    padding-top: 50px;
    padding-bottom: 50px;
}
.aboutdiv .col-md-7 h1{
    transition: 0.3s;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}
.aboutdiv .col-md-7 p {
    margin-top: 0;
    margin-bottom: 1rem;
}
.aboutdiv .col-md-12 h2{
    font-size: 25px;
    color: white;
    transition: 0.3s;
}
.aboutdiv .col-md-12 h2:hover{
    color: #007bff;
}
.aboutdiv .col-md-12 p{
    transition: 0.3s;
    line-height: 24px;
    font-size: 14px;
}

.countdiv {
    text-align: center;
    padding: 20px 20px;
}
.countdiv .col-md-3 h2{
    font-weight: 800;
    font-size: 35px;
}

.servdiv .col-md-4{
    display: inline-table;
    text-align: center;
    
    padding: 80px 45px;
    margin: -1px;

}
.servdiv .col-md-4 p{
    font-size: 18px;
}
.servdiv .col-md-4:hover{
    background-color: #007bff;
    color: white;
    transition: 0.3s;
}
.servdiv .col-md-4:hover .fa{
    transition: 0.3s;
    color: white;
}
.servdiv .col-md-4 .fa{
    color: #007bff;
    font-size: 70px;
}
.tab-pane h3{
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c4964;
}

.element:hover {
	-webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	-o-transform: scale(1.5);
	transform: scale(1);
}
.element{
	-webkit-transition: transform .2s linear;
	-moz-transition: transform .2s linear;
	-o-transition: transform .2s linear;
	transition: transform .2s linear;
}

.element:hover {
    
	-webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	-o-transform: scale(1.5);
	transform: scale(1.1);
}
.aboutimg {
   max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}
.imgsdiv .col-md-3{
    padding: 0px;
}

button{
    border: transparent;
    background: white;
    border: 0;
    padding: 10px 35px;
    color: #1977cc;
    transition: 0.4s;
    border-radius: 50px;
}
.belowspace{
    padding-bottom: 50px;
}
.blackbg{
  background-color: royalblue;
  color: white;

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
    body {
     background-color: red;
    }
    .aboutimg h2{
        margin-top: 54px;
     }
     .decribe h2{
        margin-top: 54px;
        margin-left: 500px;
     }
     .info{
      margin-left: 18px;
     }
  }
  
  /* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    body {
        background-color: blue;
       }

}
}
@media screen and (max-width: 1024px) {
  .info{
    margin-left: 18px;
   }
}

/* @media screen and (min-width: 375px) {
    body{
        background-color: tomato;
    }
  }
  @media screen and (max-width: 425px) {
    body {
      background-color: rgb(105, 20, 241);
    }
  
 

  @media screen and (max-width: 768px) {
    body {
      background-color: lightgreen;
    }
  }

  @media screen and (min-width: 1024px) {
    body {
      background-color: rgb(217, 255, 0);
    }
  }

} */

.sped1 {
  overflow: hidden;            /* clip the excess when child gets bigger than parent */
}
.sped1 img {
  
  transition: transform .4s;   /* smoother zoom */
}
.sped1:hover img {
  transform: scale(1.2);
  transform-origin: 50% 50%;
}