/* =========================================
                Mobile Menu
============================================ */

.navbar-header {
    position: relative;
}

.mobile-nav-btn {
     position: absolute;
    right: 15px;
    top: 20px;
 display: none;
    
    align-items: center;
    gap: 12px;

    z-index: 5;
}

/* User icon */
#mobile-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 18px;
    text-decoration: none;

    width: 25px;
    height: 35px;
}

/* Hamburger */
#mobile-nav-open-btn {
    font-size: 30px;
    color: #fff;
    cursor: pointer;

     position: static !important;
    display: none;
    line-height: 1;
}
.white-nav-top #mobile-nav-open-btn {
color:#507a9f ;
}
.white-nav-top #mobile-user-btn {
color:#507a9f ;
}



#mobile-nav {
    /* by default, mobile nav will be hidden with height 0% */
    height: 0%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: rgba(255, 255, 255, .9);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    overflow-y: hidden;
}

#mobile-nav-close-btn {
    font-family: "Poppins", sans-serif;
    font-size: 70px;
    color: #507a9f;
    font-weight: 400;
    cursor: pointer;
    position: absolute;
    top: -9px;
    right: 13px;
    -webkit-transition: .3s;
    transition: .3s;
}

#mobile-nav-content {
    text-align: center;
    width: 100%;
    margin-top: 30px;
    position: relative;
    top: 10%;
}

#mobile-nav ul li {
    margin-bottom: 20px;
}

#mobile-nav a {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: #507a9f;
    font-weight: 400;
    text-transform: uppercase;
    display: inline;
    -webkit-transition: .3s;
    transition: .3s;
}

#mobile-nav a:hover,
#mobile-nav a:focus,
#mobile-nav-close-btn:hover,
#mobile-nav-close-btn:focus {
    color: #507a9f;
    background: none;
}
@media (max-width: 1024px) {
    .mobile-nav-btn {
        display: flex;
    }
}
@media (max-width: 767px) {
    .mobile-nav-btn {
        display: flex;
    }
}
/* ================================
   RESPONSIVE HOME SECTION
================================ */
/* ==============================
   TABLET1024px and below
================================ */

@media (max-width: 1024px) {

    #home {
        min-height: 650px;
        height: 100vh;
        background-position: center center;
    }

    #home-content {
        margin-left: 0;
        padding: 0 50px;
    }

    #home-heading-1 {
        padding-left: 0;
        font-size: 48px;
        margin-top: -50px;
    }

    #home-heading-2 {
        padding-left: 0;
        font-size: 36px;
    }

    #home-text p {
        padding-left: 0;
        font-size: 17px;
        line-height: 1.6;
    }

    #home-button-group {
        padding: 20px 0;
        gap: 20px;
    }
    /* products Section */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-image {
        height: 250px;
    }
    /* Solutions Section*/
     .solution-grid{
        grid-template-columns:repeat(3,1fr);
    }
    /* Dealer Section */
    .dealer-content {
        grid-template-columns: 1fr;
    }

    .dealer-text {
        padding: 55px 45px;
    }

    .dealer-image {
        min-height: 400px;
    }

    /* why renova */
     .renova-section {
        min-height: 680px;
    }

    .renova-bg,
    .renova-overlay {
        height: 520px;
    }

    .renova-container {
        min-height: 520px;
        padding: 35px 25px 100px;
    }

    .renova-content {
        width: 62%;
    }

    .renova-content h2 {
        font-size: 36px;
    }

    .feature-text h3 {
        font-size: 18px;
    }

    .feature-text p {
        font-size: 8px;
    }

    .renova-stats {
        width: calc(100% - 50px);
    }

}


/* =============================
Tablets / Large Mobile - 768px and below
================================ */
@media (max-width: 768px) {

    #home {
        min-height: 650px;
        height: auto;
        background-position: 65% center;
    }

    #home-content {
        width: 100%;
        height: 650px;
        margin-left: 0;
        padding: 0 30px;
    }

    #home-content-inner {
        vertical-align: middle;
    }

    #home-heading-1 {
        padding-left: 0;
        font-size: 40px;
        line-height: 1.15;
        margin-top: 0;
    }

    #home-heading-2 {
        padding-left: 0;
        font-size: 38px;
        line-height: 1.2;
        margin-top: 5px;
    }

    #home-text p {
        padding-left: 0;
        font-size: 16px;
        line-height: 1.5;
        margin: 20px 0 25px;
    }

    #home-button-group {
        padding: 10px 0;
        gap: 15px;
        flex-wrap: wrap;
    }

    #home-button-group .btn {
        font-size: 14px;
        padding: 12px 20px;
    }
    /*Product Section */
    .products-section {
        padding: 65px 0;
    }

    .products-container {
        width: 90%;
    }

    .products-heading {
        margin-bottom: 35px;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .eyebrow span {
        width: 25px;
    }

    .products-heading h2 {
        font-size: 34px;
    }

    .products-heading p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card {
        padding: 15px 12px;
        border-radius: 14px;
    }

    .product-image {
        height: 190px;
    }

    .product-card h3 {
        font-size: 15px;
        margin-top: 12px;
    }

    .products-action {
        margin-top: 35px;
    }

     .shop-all {
    right: 0;
    font-size: 9px;
    padding: 4px 8px;
  }
  /* Solutions Section*/
  .solution-heading h2{
        font-size:38px;
    }

    .solution-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .card img{
        height:280px;
    }

    .card-content h3{
        font-size:26px;
    }

    .bottom-text{
        width:100%;
        text-align:center;
        font-size:22px;
    }

    /* Dealer section*/
    .dealer-section {
        padding: 30px 15px;
    }

    .dealer-content {
        border-radius: 18px;
    }

    .dealer-text {
        padding: 45px 30px;
    }

    .dealer-label {
        font-size: 13px;
        gap: 10px;
    }

    .dealer-label span {
        width: 30px;
    }

    .dealer-text h2 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .dealer-text p {
        margin: 22px 0 30px;
        font-size: 16px;
    }

    .dealer-btn {
        padding: 15px 22px;
        gap: 25px;
    }

    .dealer-image {
        min-height: 300px;
    }
    /*  Why Renova */
    .renova-section {
        min-height: auto;
        padding-bottom: 30px;
    }

    .renova-bg {
        height: 670px;
    }

    .renova-overlay {
        height: 670px;

        background:
            linear-gradient(
                180deg,
                rgba(16, 61, 105, 0.90),
                rgba(66, 111, 149, 0.97)
            );
    }

    .renova-container {
        min-height: 670px;

        padding: 35px 20px 190px;

        justify-content: center;
    }

    .renova-content {
        width: 100%;
    }

    .renova-content h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .renova-feature {
        gap: 12px;
    }

    .feature-icon {
        flex-basis: 45px;

        width: 45px;
        height: 45px;

        font-size: 18px;
    }

    .feature-text h3 {
        font-size: 17px;
    }

    .feature-text p {
        font-size: 9px;
        line-height: 1.3;
    }


    /* Stats */

    .renova-stats {
        position: relative;

        left: auto;
        bottom: auto;

        transform: none;

        width: calc(100% - 40px);

        margin: -100px auto 0;

        padding: 25px 10px;

        display: grid;

        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item strong {
        font-size: 25px;
    }

    .stat-icon {
        font-size: 23px;
    }

    .stat-item span {
        font-size: 8px;
    }

}


/* ===========================
 Mobile - 576px and below 
 ===============================*/
@media (max-width: 576px) {

    #home {
        min-height: 700px;
        background-position: 65% center;

    }
    #home {
        background-image: url("../img/home/mobile-banner.webp");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    #home-content {
        height: 700px;
        padding: 0 20px;
    }

    #home-content-inner {
        vertical-align: middle;
    }

    #home-heading-1 {
        font-size: 40px;
        
        margin: 0;
        display: block;
        font-weight: 500;
    }

    #home-heading-2 {
        font-size: 28px;
        margin-top: 2px;
        
        display: block;
        font-weight: 500;
    }

    #home-text p {
        font-size: 15px;
        line-height: 1.6;
        margin: 18px 0 25px;
    }

    #home-button-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 5px 0;
    }

    #home-button-group .btn {
        width: auto;
        min-width: 180px;
        text-align: center;
        padding: 12px 18px;
    }

    #home-button-group span {
        font-size: 15px;
    }

    /*Product Section */

    .shop-all {
        margin-top: 10px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 200px;
    }

    .products-action {
        justify-content: stretch;
    }
    /* Solution Section */
    .solution-grid{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:32px;
    }

    .card img{
        height:320px;
    }
    /* Dealer section */
    .dealer-section {
        padding: 30px 15px;
    }

    .dealer-content {
        border-radius: 18px;
    }

    .dealer-text {
        padding: 45px 30px;
    }

    .dealer-label {
        font-size: 13px;
        gap: 10px;
    }

    .dealer-label span {
        width: 30px;
    }

    .dealer-text h2 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .dealer-text p {
        margin: 22px 0 30px;
        font-size: 16px;
    }

    .dealer-btn {
        padding: 15px 22px;
        gap: 25px;
    }

    .dealer-image {
        min-height: 300px;
    }
}


/* Small Mobile - 400px and below */
@media (max-width: 400px) {

    #home {
        min-height: 650px;
    }

    #home-content {
        height: 650px;
        padding: 0 15px;
    }

    #home-heading-1 {
        font-size: 40px;
        font-weight: 500;

    }

    #home-heading-2 {
        font-size: 28px;
        font-weight: 500;
        margin-top: 2px;
    }

    #home-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    #home-button-group .btn {
        min-width: 170px;
        font-size: 13px;
        padding: 11px 15px;
    }

    /* Why renova */
    .renova-content h2 {
        font-size: 28px;
    }

    .feature-text h3 {
        font-size: 15px;
    }

    .feature-text p {
        font-size: 8px;
    }

    .feature-icon {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

    .renova-stats {
        width: calc(100% - 25px);
    }
}

/* Mobile nav scroll spy active state */

.white-nav-top #mobile-nav ul.navbar-nav>li>a.active {
    color: #4892ce;
    font-weight: 500;
}


/* Large Devices (Desktops & Laptops) */

@media (min-width: 1200px) and (max-width: 1299px) {
    /* Navigation */
    .site-nav-wrapper {
        padding: 0 20px;
    }
}


/* Medium Devices (Landscape Tablets & Medium Desktops) */

@media (min-width: 992px) and (max-width: 1199px) {
    /* Navigation */
    .site-nav-wrapper {
        padding: 0;
    }
    /* Generic */
    .vertical-heading h2 {
        font-size: 29px;
    }
    /* Services 02 */
    #services-tabs .tab-bg {
        padding: 16px 30px;
        min-height: 300px;
    }
    .service-tab p {
        line-height: 20px;
    }
}


/* Small Devices (Portrait Tablets & Small Desktops) */

@media (min-width: 768px) and (max-width: 991px) {
    /* Navigation */
    .site-nav-wrapper {
        padding: 0;
    }
    
    .navbar {
        padding: 20px;
    }
    
    
    /* show mobile nav open btn */
    #mobile-nav-open-btn {
        display: block;
    }
    
    /* Home */
    #home-heading h1 {
        font-size: 41px;
    }
    #home-text p {
        font-size: 13px;
    }
    /* Generic */
    .btn-general {
        padding: 8px 35px 8px 35px;
        font-size: 10px;
    }
    /* Generic */
    
    /* Tech Statement */
    #tech-statement h3 {
        font-size: 20px;
        line-height: 30px;
    }
    /* Services 02 */
    .r-tabs-accordion-title {
        text-align: center;
        margin-bottom: 10px;
    }
    .r-tabs-accordion-title a {
        font-family: "Raleway", sans-serif;
        font-size: 13px;
        color: #212226;
        text-transform: uppercase;
        font-weight: 400;
        padding: 0;
        text-decoration: none;
    }
    /* Tab active state */
    .r-tabs-accordion-title.r-tabs-state-active a {
        color: #f4c613;
        font-weight: 700;
        border-bottom: 3px solid #f4c613;
        padding-bottom: 5px;
        -webkit-transition: border-color 300ms linear;
        transition: border-color 300ms linear;
    }
    /* Pricing */
    .pricing-table .price h2 {
        margin: 0 0 0 6px;
        font-size: 35px;
    }
    /* Stats */
    .stats-item p {
        line-height: 18px;
    }
    /* Blog */
    .blog-post .post-meta p {
        line-height: 14px;
    }
    /* Contact */
    ul.office-details li {
        margin-right: 15px;
    }
    ul.office-details li i {
        width: 25px;
    }
    
   .white-nav-top #mobile-nav-open-btn {
        top: 20px
    }
}


/* Extra Small Devices (Landscape Phones & Portrait Tablets) */

@media (max-width: 767px) {
    /* Navigaiton */
    .navbar {
        padding: 20px;
    }
    .site-nav-wrapper,
    .white-nav-top {
        padding: 5px;
    }
    
    
    /* show mobile nav open btn */
    #mobile-nav-open-btn {
        display: block;
    }
    /* Home */
    #home-heading h1 {
        font-size: 22px;
    }
    #home-text p {
        font-size: 13px;
        line-height: 18px;
        margin: 8px 2px 30px 2px;
    }
    /* Generic */
    .btn-general {
        padding: 8px 25px 6px 25px;
        font-size: 10px;
    }
    
    /* Large Content Box */
    .content-box-lg {
        padding: 90px 0;
    }
    .white-nav-top #mobile-nav-open-btn {
        top: 5px
    }
     .contact-content {
    width: 100%;
    padding-left: 20px;
}
}


/* Extra Small Devices (Portrait Phones & Smaller Devices) */

@media (max-width: 480px) {
    /* Home */
    #home-heading h1 {
        font-size: 18px;
    }
    #home-text p {
        font-size: 11px;
        line-height: 16px;
        margin: 8px 10px 25px 10px;
    }
   .contact-content {
    width: 100%;
    padding-left: 20px;
}

}

