@keyframes delay1 {
    0%   {opacity: 0; }
    10%  {opacity: 0.1;}
    25%  {opacity: 0.25;}
    50%  {opacity: 0.5;}
    75%  {opacity: 0.75;}
    100% {opacity: 1; }

}

/* The element to apply the animation to */
li.nav-item2{
    animation-name: delay1;
    animation-duration: 1s;
    position: relative;
}
#header img{
    max-height:150px;
}
#hero h2 {
    color: rgba(255, 255, 255, 0.8);
    margin: 13px 0 0 0;
    font-size: 24px;
    line-height: 60px;
}
@media screen and (max-width: 1660px) {
    #header img{
        max-height:140px
    }
    .about {
        padding: 40px 0;
    }
    .services, .testimonials, .contact{
        padding-top: 50px;
    }
}

@media screen and (max-width: 1440px) {
    #header img{
        max-height:120px
    }
    .about {
        padding: 20px 0;
    }
    .about .content p {
        font-size: 22px;
        line-height: 40px;
    }
    .counts {
        padding: 10px 0 10px 0;
    }

}

@media screen and (max-width: 1368px) {
   
    #hero {
        padding-top: 250px;
    }
    .about .content p {
        font-size: 22px;
        line-height: 35px;
    }
    #hero h2 {
        margin: 20px 0 0 0;
        font-size: 23px;
        line-height: 38px;
    }
    #hero h1 {
        font-size: 40px;
        line-height: 40px;
    }
    #header img{
        max-height:100px
    }
    .about {
        padding: 50px 0;
    }
    .about .content h3 {
        font-size: 28px;
        padding-top: 10px;
    }
    .section-title h2 {
        font-size: 30px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

}
@media screen and (max-width: 1024px) {
    #hero h2{
        font-size: 21px;
        line-height: 56px;
        text-align: justify;
    }
    #hero{
        padding-top: 100px;
    }
    #hero .container-fluid {
        padding-top: 100px;
    }
    #hero img{
        width: 75%
    }
    #hero .hero-img{
        text-align: center;
    }
    #header .logo a{
        font-size: 16px;
    }
    .about {
        padding: 30px 0;
    }
    .counts {
        padding-bottom:  40px;
    }

}
@media screen and (max-width: 768px) {

    .mobile-nav-toggle i {
        font-size: 40px;
    }
    .about {
        padding: 10px 0;
    }
    .about .content h3{
        font-size: 22px;
    }

    .about .content p {
        font-size: 20px;
        line-height: 30px;
    }
    .counts {
        padding: 10px 0 10px 0;
    }
    .counts .counters p {
        font-size: 18px;
    }
    .section-title h2 {
        font-size: 28px;
    }
}
@media (max-width: 540px){

    .mobile-nav-toggle i {
        font-size: 30px;
    }
    #hero h1{
        font-size: 20px;

    }
    #hero h2 {
        font-size: 16px;
        line-height: 26px;
        padding-bottom: 20px
    }

    #header .logo a {
        font-size: 12px;
    }

    #header  img{
        max-height: 120px;
    }

    .about .content h3 {
        font-size: 19px;
    }

    .about .content p {
        font-size: 17px;
        line-height: 26px;
    }

    .counts .counters span {
        font-size: 30px;
    }
    .counts .counters p {
        font-size: 15px;
    }
}


@media (max-width: 360px){
    .mobile-nav-toggle i {
        font-size: 25px;
    }
    #hero h2 {
        font-size: 14px;
        line-height: 24px;
        padding-bottom: 20px;
    }
}
@media (max-width: 320px){
    #hero {
        padding-top: 40px;
    }
    #header .logo a {
        font-size: 11px;
    }
    #header img {
        max-height: 110px;
    }
    .section-title h2 {
        font-size: 20px;
    }

    section {
        padding: 30px 0;
    }
}


