/*------ Home Css----------*/

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.homeslide {
    position: relative;
    width: 100%;
}

.overlay {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    background-color: #0155b579;
    overflow: hidden;
    width: 0;
    height: 70%;
    transition: 1s ease;
}

.homeslide:hover .overlay {
    width: 50%;
}


.slidetext {
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.overlay2 {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    background-color: #0155b579;
    overflow: hidden;
    width: 50%;
    height: 70%;
    transition: 1s ease;
}

.homeslide:hover .overlay2 {
    width: 0%;
}



#firstimage{
    animation-name: fimage;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

#secondimage{
    animation-name: fimage;
    animation-duration: 6s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

#thirdimage{
    animation-name: fimage;
    animation-duration: 9s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

#forthimage{
    animation-name: fimage;
    animation-duration: 12s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

#fifthimage{
    animation-name: fimage;
    animation-duration: 15s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}
#sixthimage{
    animation-name: fimage;
    animation-duration: 18s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}
#seventhimage{
    animation-name: fimage;
    animation-duration: 21s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}
#eigthimage{
    animation-name: fimage;
    animation-duration: 24s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}
#ninethimage{
    animation-name: fimage;
    animation-duration: 27s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}

.midpara {


    text-align: center;
    padding: 2.5em;
    animation-name: mdpara;
    animation-duration: 3s;
    animation-iteration-count: 2;

}

.calltext {
    animation-name: mdpara;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

.midabout {
    width: 100%;
    height: auto;
    padding-left: 15%;
    padding-right: 15%;
    background-color: hsla(212, 100%, 95%, 0.412);
}

.midabout:hover {
    background-color: #e6ffac65;
}

.midimg{
    transition: transform 2s;
}

.midimg:hover {
    transform: scaleY(1.07);
}



.midabout2 {
    text-align: center;
    width: 100%;
    height: auto;
}


.cchome {
    background-color: hsla(212, 100%, 95%, 0.412);
    justify-content: center;
    text-align: center;

}


.cchome:hover {
    background-color: #e5ffa765;
}





/*------ About Css----------*/

.textoverabout {
    position: absolute;
    padding-top: 1.5em;
    padding-left: 2em;
    padding-bottom: 1em;
    padding-right: 1em;
    margin-top: -25%;
    text-align: left;
    color: white;

    

}

.underline
{
    animation-name: coko;
    animation-duration:2s;
    animation-iteration-count: infinite ;

}




.skewed {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height:37%;

    background: linear-gradient(90deg, #05446b 0%, #1f4894 15%);
    
    z-index: -10;
    transform: skewY(-3deg);
    transform-origin: top left;
  }

  .skewed1 {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height:39%;

    background: linear-gradient(90deg, #05446b 0%, #1f4894 15%);
    
    z-index: -10;
    transform: skewY(-3deg);
    transform-origin: top left;
  }



  .last {
    display: none;
    visibility: hidden;
  }


  








/*----Animation Part-----*/

@keyframes mdpara {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes coko{
    0%{
        color: #0155b5;

    }
    100%{
        color: white;

    }
}


@keyframes fimage{
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }

}












/*---Mobile/Tab Part-----*/

@media screen and (max-width: 992px) {

    .homeslide:hover .overlay {
        width: 70%;
    }


    .slidetext {
        position: absolute;
    }

    .overlay2 {
        width: 70%;
    }

    .homeslide:hover .overlay2 {
        width: 0%;
    }

    .calltext {
        text-align: center;
        padding-left: 2em;

    }
}

@media screen and (max-width: 440px) {

    .homeslide:hover .overlay {
        width: 85%;
    }


    .slidetext {
        position: absolute;
    }

    .overlay2 {
        width: 85%;
    }

    .homeslide:hover .overlay2 {
        width: 0%;
    }

    .calltext {
        text-align: center;
        padding-left: 2em;
        font-size: .7em;
    }

}

@media screen and (max-width: 440px) {

    .homeslide:hover .overlay {
        width: 97%;
    }


    .slidetext {
        position: absolute;
    }

    .overlay2 {
        width: 97%;
    }

    .homeslide:hover .overlay2 {
        width: 0%;
    }

    .calltext {
        text-align: center;
        padding-left: 2em;
        font-size: .7em;
    }


}









@media screen and (max-width: 551px){


    .contacttext{
        transform: scale(.65);
        padding-top: -4em;
        margin-top: -3em;
    }

    .conimg{
        height: 8rem;
    }
}

@media screen and (max-width: 305px){
    .contacttext{
        transform: scale(.5);
    }
}





/* Footer  CSS  */

ul {
    margin: 0px;
    padding: 0px;
}
.footer-section {
  background: #151414;
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta i {
  color: #0d76cc;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #c2c2c2;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #ffffff;
  font-size: 20px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo img {
    max-width: 200px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
      color: #7e7e7e;
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #0d76cc;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #0d76cc;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #0d76cc;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #0d76cc;
    padding: 13px 20px;
    border: 1px solid #0d76cc;
    top: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: #0d76cc;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #0d76cc;
}
.footer-menu li a {
  font-size: 14px;
  color: #878787;
}