/* Evergreen Home Pro Custom Styles */

/* Color Variables */
:root {
    --primary-dark: #040917;
    --primary-green: #5b812a;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Global Styles */
html,
body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    min-height: 100vh;
}

/* Main content area */
main {
    min-height: calc(100vh - 200px);
    /* Adjust based on header/footer height */
}

/* Reserve space for fixed header + top bar */
:root {
    --topbar-height: 38px;
}

body.with-sticky-header {
    padding-top: calc(var(--topbar-height, 38px) + 80px);
    /* 80px approximate navbar height */
}

/* Reserve space for fixed header using actual heights */
body.with-sticky-header {
    /* Default fallback; JS updates this to exact value */
    padding-top: 120px;
}


/* Footer positioning */
footer {
    margin-top: 0;
}

/* Top bar styles */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-style: italic;
    position: relative;
    z-index: 2;
    font-size: 14px;
}

/* Fixed site header container (wraps top-bar and navbar) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    /* above everything */
}

/* Stack order inside the fixed header */
.site-header .top-bar {
    position: relative;
    z-index: 2;
}

.site-header .sticky-header {
    position: relative;
    z-index: 1;
    top: auto;
}

.top-bar i {
    margin-right: 5px;
}

/* Responsive top bar */
@media (max-width: 768px) {
    .top-bar .col-md-4 {
        text-align: center !important;
        margin-top: 5px;
    }

    .top-bar .me-3 {
        margin-right: 0 !important;
        display: block;
        margin-bottom: 5px;
    }
}

/* Navigation styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Sticky Header inside the fixed site header */
.sticky-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Enhanced shadow when scrolled */
.sticky-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Ensure sticky headers work throughout the page */
.services-section,
.why-choose-section,
.hero-section-bg {
    position: relative;
    z-index: 1;
}

/* Ensure main content doesn't interfere with sticky header */
main {
    position: relative;
}

/* Remove any extra gap above the footer caused by last section margins/padding */
main>*:last-child {
    margin-bottom: 0 !important;
}

main>.section-padding:last-child {
    padding-bottom: 0 !important;
}


/* Override any potential z-index conflicts */
.container,
.row,
.col-lg-6,
.col-md-4,
.col-md-8 {
    position: relative;
    z-index: auto;
}

/* Additional sticky header support */
.sticky-header {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Ensure no content overlaps the sticky header */
body {
    padding-top: 0;
}

/* Fix for Safari sticky positioning */
@supports (-webkit-appearance: none) {
    .sticky-header {
        position: -webkit-sticky;
        position: sticky;
    }

    .top-bar {
        position: -webkit-sticky;
        position: sticky;
    }
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.text-success {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section-bg {
    background-image: url('../images/evereen_home_pro_homepage_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Remove dark overlay when explicitly disabled */
.hero-section-bg.no-overlay::before {
    display: none !important;
}


.hero-section-bg .container {
    position: relative;
    z-index: 2;
}

.hero-content-box {
    background-color: rgba(91, 129, 42, 0.95);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
}

.btn-primary-custom {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.btn-primary-custom:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-light-custom {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light-custom:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-dark);
}

/* Service Cards */
.service-card {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.service-card.green {
    background-color: var(--primary-green);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Us Section - Unified White Background */
.why-choose-section {
    background-color: var(--white);
    position: relative;
}

.why-choose-content {
    padding-right: 2rem;
}

.credentials-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    padding-top: 0;
}

.feature-block {
    margin-bottom: 3rem;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.inline-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge-inline {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.license-badges-inline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1.5rem;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.license-icon-small {
    font-size: 1.95rem;
    color: var(--primary-green);
}

.certification-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.cert-logo {
    flex: 0 0 auto;
}

.cert-logo-img {
    height: 105px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cert-logo-img:hover {
    transform: scale(1.05);
}

/* Why Choose Us - Mobile Responsive */
@media (max-width: 768px) {
    .why-choose-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .credentials-display {
        padding: 1rem;
        margin-top: 2rem;
    }

    .feature-block {
        margin-bottom: 2rem;
    }

    .certification-logos {
        justify-content: center;
        gap: 1.5rem;
        margin: 1rem 0;
    }

    .cert-logo-img {
        height: 70px;
        max-width: 100px;
    }

    .license-badges-inline {
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .license-item {
        font-size: 1.1rem;
    }

    .license-icon-small {
        font-size: 1.5rem;
    }
}

/* Services Section - Light Gray Background */
.services-section {
    background-color: var(--light-gray);
}

.service-card-visual {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.service-card-visual:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-visual:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    text-align: center;
}

.service-card-visual.green .service-content {
    background-color: var(--primary-green);
    color: var(--white);
}

.service-card-visual h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card-visual.green h4 {
    color: var(--white);
}

.service-card-visual p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

.service-card-visual.green p {
    color: var(--white);
    opacity: 0.95;
}

/* Savings Section - Dark Background with overlay */
.savings-section {
    background: linear-gradient(rgba(4, 9, 23, 0.8), rgba(4, 9, 23, 0.8)),
        url('../images/home-improvement-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.savings-image-container {
    position: relative;
}

.savings-image-container img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.savings-content {
    padding-left: 2rem;
}

.savings-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 2x2 Grid for benefits */
.savings-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}



.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.benefit-content {
    flex: 1;
}

.benefit-content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.benefit-content p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .savings-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .savings-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-item {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 768px) {
    .savings-benefits-grid {
        gap: 0.75rem;
    }

    .benefit-item {
        padding: 1rem 0.75rem;
    }

    .benefit-content strong {
        font-size: 0.95rem;
    }

    .benefit-content p {
        font-size: 0.85rem;
    }
}

.savings-list {
    list-style: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto;
}

.savings-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.savings-list li:last-child {
    border-bottom: none;
}

/* Reviews Section - Dark Background */
.reviews-section {
    background-color: var(--primary-dark);
}

.review-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-logo-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.review-logo-item:hover {
    transform: translateY(-5px);
}

.review-logo-img {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.review-logo-item:hover .review-logo-img {
    transform: scale(1.05);
}

.review-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffc107;
    flex-shrink: 0;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-style: italic;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 180px;
    padding-right: 0.5rem;
}

.review-text::-webkit-scrollbar {
    width: 4px;
}

.review-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.review-text::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 2px;
}

.review-text::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    flex-shrink: 0;
    margin-top: auto;
}

.review-author strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.review-author small {
    display: block;
    margin-top: 0.25rem;
}

.review-link {
    color: var(--primary-green) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-link:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Estimate Section - Light Background */
.estimate-section {
    background-color: var(--light-gray);
}

.estimate-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 5px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(91, 129, 42, 0.25);
}

.form-control::placeholder {
    color: #999;
    font-weight: 500;
}

.service-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-check-inline {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.btn-estimate {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-estimate:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Estimate Section */
.estimate-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #e9ecef;
    position: relative;
}

.estimate-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-dark));
}

.estimate-main-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.estimate-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: center;
}

.estimate-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.benefit-icon {
    font-size: 1.1rem;
    color: var(--primary-green);
}

.estimate-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    color: white;
}

.overlay-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.trust-item:hover {
    background: rgba(91, 129, 42, 0.1);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form-modern {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-dark));
}

.contact-form-modern:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.form-header {
    text-align: left;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.form-group-modern {
    position: relative;
}

.form-control-modern {
    width: 100%;
    padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    background: var(--white);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(91, 129, 42, 0.1);
}

.form-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.5;
    color: #6c757d;
}

.services-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: block;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.service-option {
    position: relative;
}

.service-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
    font-weight: 400;
    font-size: 0.9rem;
}

.service-label:hover {
    border-color: var(--primary-green);
    background: #f8f9fa;
}

.service-checkbox:checked+.service-label {
    border-color: var(--primary-green);
    background: #f8f9fa;
    color: var(--primary-dark);
}

.service-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

.service-name {
    font-size: 0.9rem;
}

.btn-estimate-modern {
    width: 100%;
    background: var(--primary-green);
    border: 1px solid var(--primary-green);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-estimate-modern:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.btn-estimate-modern:hover .btn-arrow {
    transform: translateX(3px);
}

.form-disclaimer {
    text-align: center;
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Footer Styles */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
}

footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-green);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    background-color: var(--primary-green);
    padding: 1rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section-bg {
        min-height: 400px;
    }

    .hero-content-box {
        padding: 2rem;
        margin: 1rem 0;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .review-card {
        margin-bottom: 1.5rem;
    }

    .review-logos {
        gap: 1.5rem;
    }

    .review-logo-img {
        height: 45px;
        max-width: 120px;
    }

    .service-checkboxes {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-check-inline {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    /* Modern Form Responsive */
    .estimate-main-title {
        font-size: 2.5rem;
    }

    .estimate-benefits {
        gap: 1rem;
    }

    .benefit-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .trust-indicators {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }

    .trust-item {
        flex: 1;
    }

    .contact-form-modern {
        padding: 2rem;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .service-label {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .service-icon {
        font-size: 1.25rem;
    }

    .service-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-section-bg {
        min-height: 350px;
    }

    .hero-content-box {
        padding: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .review-logos {
        flex-direction: column;
        gap: 2rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Modern Form Mobile */
    .estimate-main-title {
        font-size: 2rem;
    }

    .estimate-subtitle {
        font-size: 1.1rem;
    }

    .estimate-benefits {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .trust-indicators {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .trust-item {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .trust-icon {
        font-size: 1.25rem;
    }

    .trust-label {
        font-size: 0.85rem;
    }

    .contact-form-modern {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .service-label {
        padding: 0.75rem;
        justify-content: center;
    }

    .btn-estimate-modern {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Service Area Page Styles */
.service-area-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(4, 9, 23, 0.7),
            rgba(91, 129, 42, 0.6)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.service-area-hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 5rem 0;
    display: flex;
    align-items: center;
}

.service-area-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-area-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-area-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-area-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-tag {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.city-tag:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.estimate-form {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.estimate-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.estimate-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(91, 129, 42, 0.25);
}

.estimate-form .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.estimate-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(91, 129, 42, 0.25);
}

.estimate-form .btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.estimate-form .btn-success:hover {
    background-color: #4a6b23;
    border-color: #4a6b23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 129, 42, 0.3);
}

@media (max-width: 768px) {
    .service-area-hero {
        min-height: 50vh;
        background-attachment: scroll;
    }

    .service-area-hero-bg {
        padding: 3rem 0;
    }

    .service-area-hero-title {
        font-size: 2.25rem;
    }

    .service-area-hero-subtitle {
        font-size: 1.1rem;
    }

    .service-area-card {
        padding: 1.5rem;
    }

    .city-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Bootstrap modal stacking overrides: keep header above backdrop, modal above all */
.modal-backdrop,
.modal-backdrop.show,
.modal-backdrop.fade {
    z-index: 1050 !important;
    /* below fixed header (1030) */
}

.modal {
    z-index: 1060 !important;
    /* above backdrop */
}

/* Make the backdrop visually lighter */
.modal-backdrop.show {
    opacity: 0.30 !important;
}

/* Ensure modal sits above any backdrops or overlays */
.modal,
.modal.show,
.modal.fade.show {
    z-index: 9999 !important;
}

/* Reinforce stacking inside modal */
.modal .modal-dialog,
.modal .modal-content {
    position: relative;
    z-index: 10000 !important;
}