/* ************************************************************

************************************************************ 
*
*
******* :: INDEX OF RESPONSIVE CSS :: *******
:: 1.0 COMMON CSS
:: 2.0 HEADER AREA CSS
:: 3.0 WELCOME AREA CSS
:: 4.0 COUNTER AREA CSS
:: 5.0 FOOTER AREA CSS
****************************** */

/* ******************************
:: 1.0 COMMON CSS
****************************** */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ptb_180 {
        padding: 130px 0;
    }

    .ptb_150 {
        padding: 100px 0;
    }

    .ptb_100 {
        padding: 70px 0;
    }
}

@media (max-width: 991px) {
    .res-margin {
        margin-bottom: 45px;
    }

}

@media (max-width: 767px) {
    .ptb_180 {
        padding: 130px 0;
    }

    .ptb_150,
    .ptb_100 {
        padding: 50px 0;
    }

    .res-margin {
        margin-bottom: 30px;
    }

}

@media (max-width: 575px) {
    .avatar-lg {
        height: 4rem;
        width: 4rem;
    }

    .ptb_180 {
        padding: 80px 0;
    }

}

/*SECTION HEADING*/
@media (max-width: 991px) {
    h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 38px;
    }

    .section-heading {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 34px;
    }
    h3 {
        font-size: 22px;
        line-height: 1.4;
    }
    .section-heading {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2.5em;
        line-height: 1.2;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    p {
        line-height: 26px;
    }

    .section-heading {
        margin-bottom: 20px;
    }
}

/*BUTTONS*/
@media (max-width: 575px) {
    .button-group a,
    .home-electric .welcome-area .btn,
    .home-power-energy .welcome-area .btn {
        padding: 1.2rem 1.6rem;
        margin: 5px;
    }
}

/* ******************************
:: 2.0 HEADER AREA CSS
****************************** */
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        padding-top: 1.875rem;
        padding-bottom: 1.875rem;
    }

    .affix .navbar-nav .nav-link {
        padding-top: 1.625rem;
        padding-bottom: 1.625rem;
    }
    .dropdown-menu {
        opacity: 0;
        display: block;
        visibility: hidden;
        min-width: 14.375rem;
        margin-top: 0;
        transform: translateY(20px);
      }
      .navbar-nav li:hover > ul.dropdown-menu {
        opacity: 1;
        transform: translateY(-10px);
        visibility: visible;
      }
}

@media (max-width: 991px) {
    .navbar {
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }

    .navbar .nav-link {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .dropdown > .dropdown-menu::before {
        content: none;
    }
}
@media (max-width: 900px) {
    .dropdown-menu{
        overflow-y: scroll;
        max-height: 300px; 
    }
}

/* ******************************
:: 3.0 WELCOME AREA CSS
****************************** */
@media (max-width: 991px) {
    .home-electric .welcome-area,
    .home-power-energy .welcome-area {
        height: 600px;
    }
    .welcome-banner {
        min-height: 550px;
    }
    .slider-content {
        max-width: 700px;
    }
    .home-electric .welcome-intro h1 {
        font-size: 4.5em;
    }
}

@media (max-width: 767px) {
    .slider-content {
        max-width: 600px;
    }
    .home-electric .welcome-intro h1 {
        font-size: 4em;
        letter-spacing: 0px;
    }
}

@media (max-width: 575px) {
    .carousel-control-next, .carousel-control-prev {
        height: 55px;
        width: 40px;
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        height: 16px;
        width: 16px;
    }
    .slider-content p {
        font-size: 13px;
        line-height: 24px;
    }
    .home-electric .welcome-intro h1 {
        font-size: 3em;
    }
    .home-electric .welcome-intro > p, .home-power-energy .welcome-intro > p {
        font-size: 14px;
        line-height: 24px;
    }
}

/* ******************************
:: 5.0 COUNTER AREA CSS
****************************** */
@media (max-width: 991px) {
    .single-counter span {
        font-size: 2.5em;
    }
}

/* ******************************
:: 7.0 TESTIMONIAL AREA CSS
****************************** */
@media (max-width: 991px) {
    .testimonial-area .owl-dots {
        bottom: -30px;
    }
}

@media (max-width: 767px) {
    .testimonial-area .owl-dots {
        bottom: -25px;
    }
}

/* ******************************
:: 11.0 FOOTER AREA CSS
****************************** */
@media only screen and (min-width: 576px) and (max-width: 991px) {
    .footer-items {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .footer-items {
        margin-bottom: 30px;
    }

    .footer-area .col-12:last-of-type .footer-items {
        margin-bottom: 0;
    }
}