*{
  padding: 0px;
  margin: 0px;

}


.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: blue;
  background-color: transparent;
  border-bottom: .25rem solid transparent;
  margin-top: 50px;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: purple;
  color: purple;
  text-align: center;
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.cover-photo img {
  object-fit: cover;
  width: 100%;
  margin-top: 5px;
}

.heading {
  color: #250044;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 20px 0px 10px 0px;
  font-size: 24px;
}

p {
  color: #250044;
 font-family: 'Montserrat', sans-serif;
  line-height: 2;
  text-align: justify;
  font-size: 18px;
}
.col-md-5 img {
  object-fit: scale-down;
max-width: 400px;
float: right;
}
 
.services {
 
  margin-top: 30px;
  
}
.services .card-flip {
  margin-bottom: 10px;
}

.services .card-flip .card {
  border: none;
}



.card-container {
    perspective: 700px;
}

.card-flip, .card-container {
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

.card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.back {
    transform: rotateY(-180deg);
}

.card-container:hover .card-flip {
    transform: rotateY(180deg);
}

.card-flip {
    display: grid; grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

.front {
    grid-area: frontAndBack;
}

.front img {
object-fit: scale-down;
max-height: 200px;
max-height: 110px;
padding: 5px;
}
.back {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
}
.back p {
  color: #250044;
 font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  text-align: left;
  font-size: 18px;
}

.card-container {
    display: grid;
    perspective: 700px;
}


.col-md-6 img {
 object-fit: scale-down; 
 float: right;

}

.front h4 {
  text-align: center;
  color: #250044;
}

.contact {
  background-color: #f2f2f3;
}


.contact .col-md-4 img {
  padding-bottom: 20px;
  object-fit: scale-down;
  max-width: 180px;
  padding-left: 20px;
}
.contact .col-md-6 p {

  color: #250044;
 font-family: 'Roboto', sans-serif;
  line-height: 1;
  text-align: center;
  font-size: 15px;
  padding-left: 20px;
}

.contact .col-md-3 p {

  color: #250044;
 font-family: 'Roboto', sans-serif;
  line-height: 1;
  text-align: center;
  font-size: 15px;
  padding-left: 20px;
}


.contact h5 {
      padding-top: 50px;
    padding-bottom: 45px;
     color: #250044;
     text-align: center;
}

bi-telephone-fill, bi-telephone-fill, bi-envelope-fill {
  color: #250044;
  padding-right: 10px;
  vertical-align: middle;

}

.info {
  padding-top: 0px;
  text-align: center;
}
.info h5 {
  padding-top: 50px;
    padding-bottom: 45px;
     color: #250044;
     text-align: center;
}

@media only screen and (max-width: 867px){
  .left {width: 100%; display: block;}
  .right{width: 100%; display: block;}
}