.back{
    background-color: #1d4e89!important; 
}
.gat{
    padding: 5px 25px!important;
    border: 1px solid #007dca!important;
    border-radius: 30px;
}
.gat:hover {
    padding: 5px 25px!important;
    border: 1px solid #007dca!important;
    border-radius: 30px;
    background-color: #007dca!important;
    color: white!important;
}
.gatsa{
    padding: 5px 25px!important;
    border: 1px solid #007dca!important;
    border-radius: 30px;
}
.back .fg {
  border-bottom: 1px solid #1d4e89!important;  
}
.back .fg:hover{
   color: #007dca!important;
   border-bottom: 1px solid #007dca!important;
   border-radius: 10px;
}
.back a:hover{
   color: #007dca!important;
}
.images{
    height: 55px!important;
}
/*
carousel slide
*/
#hero {
  height: 75vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 80px;
}

.main {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.item {
  width: 200px;
  height: 300px;
  list-style-type: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;

  &:nth-child(1), &:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
  }

  &:nth-child(3) { left: 50%; }
  &:nth-child(4) { left: calc(50% + 220px); }
  &:nth-child(5) { left: calc(50% + 440px); }
  &:nth-child(6) { left: calc(50% + 660px); opacity: 0; }
}

.content {
  width: min(30vw,400px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica,sans-serif;
  color: white;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
  opacity: 0;
  display: none;

  & .title {
    font-family: 'arial-black';
    text-transform: uppercase;
  }

  & .description {
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: 0.8rem;
  }

  & button {
    width: fit-content;
    background-color: rgba(0,0,0,0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
  }
}

.item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;

  & .btn {
    background-color: rgba(255,255,255,0.5);
    color: rgba(0,0,0,0.7);
    border: 2px solid rgba(0,0,0,0.6);
    margin: 0 0.25rem;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;

    &:hover {
      background-color: rgba(255,255,255,0.3);
    }
  }
}

@media (width > 650px) and (width < 900px) {
  .content {
    & .title        { font-size: 1rem; }
    & .description  { font-size: 0.7rem; }
    & button        { font-size: 0.7rem; }
  }
  .item {
    width: 160px;
    height: 270px;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 170px); }
    &:nth-child(5) { left: calc(50% + 340px); }
    &:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
  }
}

@media (width < 650px) {
  .content {
    & .title        { font-size: 0.9rem; }
    & .description  { font-size: 0.65rem; }
    & button        { font-size: 0.7rem; }
  }
  .item {
    width: 130px;
    height: 220px;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 140px); }
    &:nth-child(5) { left: calc(50% + 280px); }
    &:nth-child(6) { left: calc(50% + 420px); opacity: 0; }
  }
}
/*
section hero ends
=====================================
section services begins
*/
span{
  width: 100%;
  height: auto;
  float: left;
  font-size: 25px;
  text-align: center;
  font-weight: bolder;
  color: #1d4e89;
  padding-bottom: 20px;
}
.serve{
  width: 100%;
  border: 0px solid white!important;
  box-shadow: 0 4px 4px 3px gainsboro;
  float:left!important;
}
.serve:hover{
  width: 100%;
  background-color: #1d4e89;
  cursor: alias;
}
.serve h5{
  color: #1d4e89;
}
.serve:hover h5{
  color: white;
}
.serve a{
  background-color: white;
  color: #007dca;
  border: 1px solid #007dca;
  border-radius: 25px;
  padding: 5px 20px;
  box-shadow: 0 3px 3px 2px gainsboro;
}
.serve:hover a{
  background-color: white;
  color: #007dca;
  border: 1px solid white;
  border-radius: 25px;
  padding: 5px 20px;
  box-shadow: 0 3px 3px 2px #1d4e89;
}
.serve a:hover{
  background-color: white;
  color: #1d4e89;
  border: 1px solid white;
  border-radius: 25px;
  padding: 5px 20px;
}
.serve:hover p{
  color:  white;
}
.serve img{
  height: 120px;
clip-path: polygon(0% 0%, 100% 0, 100% 75%, 50% 100%, 0 75%);
}
.haga{
  height: 300px;
}
.maps,
.my_form{
  border-top: 3px solid #007dca;
  border-bottom: 3px solid #007dca;
  padding: 20px;
  background-color: white;
  box-shadow: 0 3px 3px 2px gainsboro;
}
.maps h5{
  color: #1d4e89;
}
.mary{
  border: 1px solid #007dca!important;
  background-color: #007dca!important;
  color: white!important;
  border-radius: 25px!important;
}
.mary:hover{
  border: 1px solid #007dca!important;
  background-color: white!important;
  color: #007dca!important;
  border-radius: 25px!important;
}
@media screen and (max-width:480px){
 .hagas span{
    margin-top:25px!important;
}
}
/*
contact us ends
==================================
footer begins
*/
#footer{
  width: 100%;
  float: left;
  height: auto;
  margin: 0!important;
  padding: 0!important;
}
.joy{
  background-color: #1d4e89;
  float: left!important;
}
.joy p{
  padding-top: 20px;
}
.amaka h6{
  color: #1d4e89;
}
.amaka ul{
  list-style: none;
  padding-left: 0;
}
.amaka ul li{
  padding: 4px 0;
}
.amaka ul li a{
  text-decoration: none;
  color: inherit;
}
.amaka ul li a:hover{
  text-decoration: none;
  color: #007dca;
}
.social ul{
  list-style: none;
}
.social ul li{
  display: inline;
  padding: 3px 10px;
}
.social i{
  font-size: 20px;
  color: #007dca;
}
.amaka i{
  color: #007dca;
}
.amaka i:hover{
  color: #007dca;
}
.marys{
  border: 1px solid #007dca!important;
  background-color: #007dca!important;
  color: white!important;
  
}
.marys:hover{
  border: 1px solid #007dca!important;
  background-color: white!important;
  color: #007dca!important;
  
}
h1{
  color: #1d4e89!important;
}
.aka{
  color: #1d4e89!important;
}
.aka:hover{
  color: #007dca!important;
}

.face{
  background-color: none;
  
  text-align: center;
}
.video{
  width: auto;
  height: 250px;
  border-radius: 10px;
}
#capture{
  padding: 5px 30px;
  border: 1px solid #007dca;
  background-color: #007dca;
  color: white;
  
}
