@media only screen and (min-width: 1430px) {
    .container {
        max-width: 1290px;
    }
}

@media only screen and (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

@media only screen and (min-width: 1800px) {
    .container {
        max-width: 1630px;
    }
}

@media (min-width: 1440px) and (max-width: 1799px) {
    .frame .step-view {
        padding: 1.3rem;
        max-width: 370px;
    }
    .frame .close-up-detail-new {
        height: 150px;
        width: 250px;
    }
    .frame .component-2 {
        height: 171px;
    }
    
    .frame .bottom {
        padding: 0.7rem;
    }
    
    .frame {
        padding: 1rem;
        gap: 1rem;
    }
    
    nav {
        padding: 1rem 0;
    }
    
    .div-6 {
        gap: 1rem;
    }

    .frame .div-6 {
        gap: 1rem;
    }
    .frame .div-4 {
        padding: 0 1rem;
    }
    
    .frame .text-3 {top: 1rem;left: 1rem;font-size: 20px;}
    
    .frame .text-wrapper-2 {
        margin-bottom: 1rem;
    }
    
    .frame .SOLAR-PANEL {
        height: 100px;
    }
}

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

@media only screen and (max-width: 1440px) {
    .pricing-card {
        padding: 1rem;
    }
    .pricing-decoration {
        width: 44px;
    }
    .frame .div-4 {
        padding: 1rem;
    }
    .service-area-right {
        order: -1;
    }
    .div-3 {
        overflow-y: scroll !important;
    }
    .service-area-wrapper {
        flex-wrap: wrap;
    }

    .lead-sec-right::after {
        width: 150px;
        height: 150px;
    }

    .lead-sec-right::before {
        width: 60px;
        height: 60px;
    }

    .lead-sec-right-img1 img {
        height: 450px;
    }

    .lead-sec-right-img2 img {
        height: 310px;
    }

    .lead-sec-right-img3 img {
        height: 190px;
    }

    .linked-path-group {
        top: -2.4rem;
        right: 3rem;
    }

    .frame .bottom {
        padding: 1rem;
    }
    
    .frame {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    nav {
        padding: 1rem 0;
    }
    
    .frame .step-view {
        padding: 1.3rem;
        max-width: 370px;
    }
    
    .frame .div-6 {
        gap: 1rem;
    }

    .frame .close-up-detail-new {
        height: 150px;
        width: 250px;
    }
}

@media only screen and (max-width: 1429px) {
    .container {
        max-width: -webkit-fill-available;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .lead-sec-right-img3 {
        display: none;
    }
}

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

@media only screen and (max-width: 1280px) {
    .frame .step-view {
        padding: 20px;
    }

    body {
        overflow: auto;
        height: auto;
    }
    .name-fields-row {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 1199px) {
    .lead-sec-right::after {
        display: none;
    }

    .lead-sec-right::before {
        display: none;
    }

    .linked-path-group {
        display: none;
    }

    .home-navbar-btns,
    .nav {
        gap: 16px;
    }

    h3.lead-sec-subhead {
        font-size: 54px;
    }

    .home-navbar .nav,
    .home-navbar .home-navbar-btns {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .home-navbar {
        justify-content: space-between;
        gap: 20px;
    }

    button.become-btn.home-navbar-become-btn {
        display: none;
    }
}

@media only screen and (max-width: 1107px) {
    .linked-path-group {
        top: -3rem;
        right: 2rem;
    }
}

@media only screen and (max-width: 1024px) {
    /* Collapsible sidebar styles */
    .step-view {
        position: absolute !important;
        left: -110%;
        /* top: 0; */
        /* height: 100%; */
        height: calc(100vh - 15.3%) !important;
        background: #fff;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        height: inherit;
    }

    .step-view.open {
        left: 0;
    }

    button.toggle-steps {
        display: block;
    }
    
    button.close-toggle-steps {
        display: block;
    }

    .toggle-steps {
        position: absolute;
        left: 0;
        top: 20px;
        background: #fff;
        border: none;
        padding: 8px;
        cursor: pointer;
        border-radius: 0 4px 4px 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 9;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .toggle-steps:hover {
        background: #f5f5f5;
    }

    .step-view.open+.div-3 .toggle-steps {
        transform: rotate(180deg);
    }

    .div-3 {
        position: relative;
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    button.sign-in-btn.lead-become-btn {
        padding: 0.9rem 1.5rem;
    }

    button.become-btn.lead-explore-btn {
        padding: 0.9rem 1.5rem;
    }

    h3.lead-sec-subhead {
        font-size: 42px;
    }

    p.lead-sec-desc {
        font-size: 15px;
    }
}

@media only screen and (max-width: 958px) {
    .service-area-right {
        order: -1;
    }
}

@media only screen and (max-width: 767px) {
    .lead-sec-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .lead-sec-right {
        order: -1;
        margin: auto;
    }

    .lead-sec-right-img2 {
        left: 8rem;
    }

    .lead-sec-left {
        margin: auto;
        max-width: fit-content;
    }

    section.lead-sec {
        height: auto;
        padding: 6.5rem 0;
    }

    .lead-sec-right-img1 img {
        height: 400px;
    }

    .lead-sec-right-img2 img {
        height: 210px;
    }

    .lead-sec-btns {
        margin-top: 20px;
    }

    button.search-sec-btn {
        min-width: fit-content;
    }

   
    
    .service-area-left {
        width: 100%;
    }
    
    .service-area-form {
        max-width: 100%;
    }

p.text-wrapper-2.service-area.service-area-title {
    max-width: -webkit-fill-available;
    margin-left: auto;
    margin-right: auto;
}
}

@media only screen and (max-width: 575px) {
    .lead-sec-right-img2 {
        display: none;
    }
    .bottom {
        flex-wrap: wrap;
    }
    
    .component-6 {
        width: 100%;
        order: -1;
    }
    
    .component-5.prev-button {
        width: 100%;
        padding: 0.6rem 1.5rem;
        height: fit-content;
    }
    
    .component-7.next-button {
        width: 100%;
        padding: 0.6rem 1.5rem;
        height: fit-content;
    }
    
    .frame .div-4 {
        padding-left: 10px;
        padding-right: 10px;
        gap: 1.5rem;
    }
    
    .frame .bottom {
        gap: 1rem;
        padding: 10px;
    }
}

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

@media only screen and (max-width: 479px) {
    .lead-sec-btns {
        flex-wrap: wrap;
    }

    .search-sec-inputs {
        flex-wrap: wrap;
    }

    button.search-sec-btn {
        width: 100%;
        max-width: -webkit-fill-available;
        min-width: 100%;
    }

    .search-sec-right {
        width: 100%;
    }

    a.logo img {
        width: 100%;
        max-width: 12rem;
    }

    header {
        width: 100%;
    }


    nav {
        padding: 1rem 0;
    }
}

@media only screen and (max-width: 431px) {
    .payment_card {
        width: 100%;
    }
}

@media only screen and (max-width: 425px) {
    .building_card {
        max-width: -webkit-fill-available;
    }
    svg.pricing-decoration {
        width: 40px;
    }

    .frame .component-2 {
        /* max-width: 149px; */
        height: 230px;
        /* max-width: -webkit-fill-available; */
    }
    
    .frame .div-6 {
        gap: 0.8rem;
    }
    
    .frame .text-3, .frame .text-4, .frame .text-5, .frame .text-6 {
        font-size: 20px;
    }
}

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

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