/* Update logo size for desktop and mobile view */
.logo, .logo-wrapper img.logo {
    max-width: 250px !important;
    height: auto !important;
    max-height: unset !important;
}

@media (max-width: 991px) {
    .logo, .logo-wrapper img.logo, .mobile-menu .logo {
        max-width: 200px !important;
    }
}

/* Prevent text wrapping on desktop screens */
@media (min-width: 992px) {
    .nowrap-desktop {
        white-space: nowrap !important;
    }
}

/* Hero Banner Sizing & Heading - Desktop View */
.slider-hero-single {
    padding-top: 75px !important;
    padding-bottom: 75px !important;
    min-height: unset !important;
    height: auto !important;
}

.hm7-hero-content h1 {
    font-size: 2.4rem !important; /* Elegant compact heading on desktop */
    line-height: 1.2 !important;
}

.hm7-hero-content p {
    margin-bottom: 15px !important; /* Compact paragraph margin */
}

.hm7-hero-content .hm7-hero-btns {
    margin-top: 20px !important;
}

/* Hero Banner Sizing & Heading - Mobile / Tablet View */
@media (max-width: 991px) {
    .slider-hero-single {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    .hm7-hero-content h1 {
        font-size: 1.6rem !important; /* Perfect sized compact heading for mobile */
        line-height: 1.25 !important;
    }
    
    .hm7-hero-content p {
        margin-bottom: 12px !important;
        font-size: 14px !important;
    }
    
    .hm7-hero-content .hm7-hero-btns {
        margin-top: 15px !important;
    }
}

/* Mobile view: Fix left/right padding for all content - header to footer */
@media (max-width: 991px) {
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    body,
    .main-wrapper {
        overflow-x: hidden !important;
    }

    section,
    .section,
    .rs-hero,
    .rs-pricing,
    .rs-about,
    .rs-feature,
    .slider-hero-single,
    .hm7-hero-content {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .row > * {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Reduce space above "We Have Perfect" pricing heading */
.wp-highlights.pb-120 {
    padding-bottom: 30px !important;
}
.pricing-tab-section {
    margin-top: -30px !important;
    padding-top: 10px !important;
}
@media (max-width: 767px) {
    .wp-highlights.pb-120 {
        padding-bottom: 20px !important;
    }
    .pricing-tab-section {
        margin-top: -20px !important;
        padding-top: 5px !important;
    }
}
