/* Index Page Specific Styles */

.hero-section {
    position: relative;
    height: 150vh;
    /* Increased from 100vh */
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /* Changed from center */
    align-items: center;
    overflow: hidden;
    color: var(--white);
    text-align: left;
    /* Changed from center */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    /* Increased max-width */
    padding: 0 0px;
    /* Added more left/right padding */
    width: 100%;
}

.hero-content h1.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0px;
    position: relative;
    margin-top: 35px !important;
    padding-left: 35px;
    padding-bottom: 130px;
    z-index: 2;
}


/* Overlapping Section Styles */
.services-overlap {
    background-color: var(--white);
    padding-bottom: 0;
    position: relative;
    z-index: 10;
}

.overlap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* Reduced to 10px */
    /* Perfect 25-30% overlap */
    padding: 0 45px 0 35px;
    max-width: 1600px;
    /* Restored and widened */
    margin-left: auto;
    margin-right: auto;
}

.overlap-card {
    background-color: var(--white);
    max-width: 100%;
    padding: 20px 30px 25px 40px;
    border: 1px solid #000000;
    border-radius: 2px;
    border-bottom: 9px solid var(--primary-green);
    /* Increased thickness */
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensures uniform height */
    position: relative;
    top: -80px;
    /* Shifted up independently */
}

.card-header {
    display: flex;
    gap: 10px;
    align-items: center;
    /* Better vertical alignment with icon */
    margin-bottom: 15px;
}

.card-icon {
    font-size: 38px;
    /* Matched original size */
    color: var(--primary-green);
    min-width: 50px;
}

.overlap-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    color: #000000;
    line-height: 1.25;
}

.overlap-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    margin-left: 60px;
    /* Perfect indent under title */
}

/* Introducing Us Section */
.about-us {
    background-color: var(--white);
    padding: 6em 0em 0em 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image-wrapper {
    position: relative;

    padding-left: 20px;
    padding-bottom: 30px;
    max-width: 600px;
    aspect-ratio: 1.2 / 1.15;
    /* Matches the tall portrait ratio in the photo */
    display: flex;
}

.image-frame {
    position: absolute;
    bottom: 15px;
    left: 0px;
    width: calc(100% - 20px);
    /* Same size as image but offset */
    height: calc(100% - 30px);
    background-color: var(--primary-green);
    z-index: 1;
    border-radius: 3px;
}

.about-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensuring the image covers the container */
    display: block;
    border: 3px solid #fff;
    border-radius: 3px;
}

.about-content {
    text-align: left;
    position: relative;
    padding-left: 60px;
}

.section-label {
    display: block;
    color: var(--primary-green);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    /* Added slight tracking */
}

.about-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 37px;
    margin-bottom: 25px;
    color: var(--black);
    padding-right: 30px;
}

.about-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #444444;
    margin-bottom: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
    column-count: 2;
    column-gap: 40px;
    margin-bottom: 30px;
}

.features-list li {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: var(--black);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    /* Consistent vertical spacing */
    break-inside: avoid;
    /* Prevent items from breaking between columns */
}

.features-list li i {
    color: var(--primary-green);
    font-size: 16px;
    /* Slightly larger icon */
    margin-top: 0px;
    /* Adjust vertical alignment with text */
}

.btn-more {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: #2e8a22;
}

/* Stats Section Styles */
.stats-section {
    background-color: var(--white);
    padding: 100px 0 0 0;
    border-top: 1px solid #f0f0f0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    border-right: 1px dotted #bbbbbb;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--primary-green);
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.7px;
    color: #111111;
    margin-bottom: 100px;
}


@media (max-width: 992px) {
    .overlap-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
        margin-top: -80px;
    }

    .overlap-card p {
        margin-left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .overlap-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin-top: -60px;
    }

    .hero-section {
        height: 100vh;
    }

    .stats-grid {
        flex-direction: column;
        gap: 50px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }
}

/* Plumber & Repair Section Styles */
.plumbing-repair-cta {
    position: relative;
    background-image: url('assets/Plumber & Repair.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    color: var(--white);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 38, 54, 0.75);
    /* Dark teal/blue overlay matching the image style */
    z-index: 1;
}

.plumbing-repair-cta .container {
    position: relative;
    z-index: 2;
    display: block;
    /* Override flex if container has it */
}

.cta-content {
    max-width: 750px;
    padding-right: 160px;
    position: relative;
    left: -25px;
    /* Moved left more */
    top: -10px;
    /* Moved down more */
}

.cta-label {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 46px;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background-color: #2e8a22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Our Works Section Styles */
.our-works {
    background-color: var(--white);
    padding: 100px 0;
}

.our-works .container {
    display: block;
    /* Override default flex from includes/style.css */
    max-width: 1400px;
}

.works-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
    max-width: 1400px;
    padding: 0 20px;
}

.works-label {
    display: block;
    color: var(--primary-green);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.header-left h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: var(--black);
    margin: 0;
    padding-right: 80px;
}

.header-right {
    padding-top: 40px;
}

.header-right p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #444444;
    margin-bottom: 10px;
}

.green-underline {
    width: 60px;
    height: 5px;
    background-color: var(--primary-green);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.work-card {
    background-color: var(--white);
    border: 1px solid #333333;
    padding: 5px 5px 20px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}


.work-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.work-icon {
    font-size: 45px;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.work-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: var(--black);
    margin-bottom: 10px;
    padding: 0 10px;
}

.work-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #444444;
    margin-bottom: 0;
    padding: 0 10px;
}

.card-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary-green);
}

/* Our Projects Section Styles */
.our-projects {
    background-color: var(--white);
    padding-bottom: 80px;
}

.our-projects .container {
    display: block;
    max-width: 1450px;
}

.projects-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 0 20px;
}

.projects-label {
    display: block;
    color: var(--primary-green);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.projects-header .header-left h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: var(--black);
    margin: 0;
    padding-right: 120px;
}

.projects-header .header-right {
    padding-top: 40px;
}

.projects-header .header-right p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #444444;
    margin-bottom: 10px;
}

.header-right p {
    position: relative;
    top: -20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 20px;
}

.project-item {
    overflow: hidden;
    aspect-ratio: 1 / 0.75;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Our Process Section Styles */
.our-process {
    background-color: var(--white);
    padding: 80px 0 100px;
}

.our-process .container {
    display: block;
    max-width: 1400px;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-label {
    display: block;
    color: var(--primary-green);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.process-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: var(--black);
    margin-bottom: 20px;
}

.process-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.process-card {
    background-color: var(--white);
    border: 3px dashed #000000;
    padding: 0 15px 20px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-tag {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5px 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    z-index: 2;
}

.process-icon {
    font-size: 60px;
    color: var(--primary-green);
}

.process-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: var(--black);
    margin-bottom: 15px;
}

.process-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #333333;
    margin: 0;
}

/* Why Choose Us Section Styles */
.why-choose-us {
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('assets/why-choose-us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.choose-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 800px;
}

.choose-left {
    flex: 1;
    min-width: 50%;
    padding: 150px 50px 50px 70px;
    display: flex;
    align-items: center;
}

.choose-left-content {
    max-width: 600px;
    padding-right: 45px;
}

.choose-label {
    display: block;
    position: relative;
    top: -20px;
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1px;
}

.choose-left-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    color: var(--white);
    margin-bottom: 30px;
}

.choose-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #dddddd;
    margin-bottom: 50px;
}

.why-choose-us .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--white);
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 20px;
}

.feature-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #cccccc;
    margin: 0;
}

.choose-right {
    flex: 1;
    min-width: 50%;
    position: relative;
    top: -100px;
    display: flex;
}

.choose-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-bottom: 50px;
    display: block;
}

.green-floating-card {
    position: absolute;
    bottom: -80px;
    left: 30px;
    background-color: #1a4a2a;
    /* Dark Green */
    padding: 30px;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.green-floating-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: var(--white);
    margin: 0;
}

@media (max-width: 1200px) {

    .works-grid,
    .projects-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .works-header,
    .projects-header {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .header-right,
    .projects-header .header-right {
        padding-top: 0;
    }

    .green-underline {
        margin: 0 auto;
    }

    .projects-header .header-left h2 {
        padding-right: 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .choose-left {
        padding: 80px 40px;
    }

    .why-choose-us .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .green-floating-card {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 100%;
        padding: 40px 20px;
        text-align: center;
    }

    .plumbing-repair-cta {
        padding: 80px 0;
        text-align: center;
    }

    .cta-content {
        margin: 0 auto;
        left: 0;
        top: 0;
    }

    .cta-content h2 {
        font-size: 28px;
        line-height: 38px;
    }
}

/* Our Clients Review Section Styles */
.our-clients-review {
    background-color: #ffffff;
    padding: 120px 0;
}

.review-grid {
    display: grid !important;
    grid-template-columns: 1fr 2.2fr;
    gap: 60px;
    align-items: flex-start;
    max-width: 1450px;
    margin: 0 auto;
    width: 90%;
}

.review-header {
    padding-top: 20px;
    padding-left: 20px;
}

.review-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 44px;
    color: #000000;
    margin-bottom: 25px;
}

.review-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 40px;
}

.review-header .green-underline {
    width: 65px;
    height: 5px;
    background-color: var(--primary-green);
    margin-top: 20px;
}

.review-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.review-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.review-card {
    background-color: #f8f9fa;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 30px;
    flex: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.user-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-bottom: 2px;
}

.user-details span {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #666;
}

.google-logo img {
    width: 20px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #fbbc04;
    font-size: 14px;
    display: flex;
    gap: 3px;
}

.verified-badge {
    color: #4285f4;
    font-size: 16px;
}

.review-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    margin-bottom: 15px;
}

.read-more {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.slider-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.slider-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .review-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .review-header .green-underline {
        margin: 0 auto;
    }

    .review-slider {
        flex-direction: column;
    }

    .review-card {
        min-width: 100%;
    }

    .slider-btn {
        display: none;
    }
}

/* Residential Contact Section Styles */
.residential-contact-cta {
    position: relative;
    background-image: url('assets/contact-us.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
}

.cta-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* Dark neutral overlay */
    z-index: 1;
}

.contact-cta-grid {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
}

.contact-form-side {
    width: 100%;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row input,
.form-row-full select,
.form-row-full textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #333;
}

.form-row input::placeholder,
.form-row-full textarea::placeholder {
    color: #999;
}

.form-row-full select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-submit-btn {
    background-color: #44a72d;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 5px;
}

.form-submit-btn:hover {
    background-color: #2e8a22;
}

.contact-text-side {
    position: relative;
    top: -100px;
    left: -20px;
}

.contact-text-side h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: #ffffff;
    margin-bottom: 25px;
    padding-right: 40px;
}

.contact-text-side p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
    .contact-cta-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .contact-text-side {
        padding-left: 0;
        order: -1;
    }

    .contact-text-side h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Yonkers Contact CTA Styles */
.yonkers-contact-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.yonkers-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.9fr;
    gap: 1 0px;
    align-items: center;
}

.cta-large-logo {
    max-width: 70%;
    height: auto;
    opacity: 0.8;
}

.dashed-contact-box {
    border: 1px dashed #333333;
    padding: 40px;
    background-color: #ffffff;
}

.yonkers-heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.3;
}

.yonkers-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #444444;
    margin-bottom: 30px;
}

.dashed-separator {
    border-top: 1px dashed #cccccc;
    margin-bottom: 30px;
}

.contact-info-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    background-color: var(--primary-green);
    color: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 20px;
}

.item-text {
    display: flex;
    flex-direction: column;
}

.item-label {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
}

.item-value {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #333333;
}

@media (max-width: 992px) {
    .yonkers-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .yonkers-logo-side {
        margin-bottom: 30px;
    }

    .cta-large-logo {
        max-width: 200px;
        /* Smaller logo for mobile stacking */
    }

    .dashed-contact-box {
        padding: 25px;
    }

    .contact-info-row {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .emergency-heading {
        font-size: 28px;
    }

    .emergency-btn {
        width: 100%;
        max-width: 300px;
        padding: 15px 0;
    }
}

/* New Review Rating Summary Styles */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.rating-box {
    background-color: #4285f4;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 8px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rating-info .stars {
    color: #fbbc04;
    font-size: 18px;
}

.google-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.google-label img {
    height: 18px;
}

.google-label span {
    font-size: 14px;
    color: #666;
}

@media (max-width: 992px) {
    .rating-summary {
        flex-direction: row;
        text-align: left;
    }


    .choose-img {
        width: 100% !important;
        max-width: none !important;
    }

    .contact-cta-grid h2 {
        text-align: center;
    }

    .contact-cta-grid p {
        text-align: center;
    }

    .dashed-contact-box {
        padding: 20px !important;
    }

    .yonkers-contact-item {
        flex-direction: row !important;
        text-align: left !important;
        padding: 15px !important;
    }
}

/* COMPREHENSIVE MOBILE REFINEMENTS */
@media (max-width: 992px) {

    /* Stats Section */
    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 50px !important;
        color: var(--primary-green);
        display: block;
    }

    /* About Us Van Image */
    .choose-right {
        margin-top: 40px;
    }

    .choose-img {
        width: 100% !important;
        height: auto !important;
        border-left: 10px solid var(--primary-green);
    }

    /* Residential Contact Heading */
    .contact-text-side h2 {
        text-align: center !important;
        font-size: 26px !important;
        padding-left: 0 !important;
    }

    .contact-text-side p {
        text-align: center !important;
    }

    /* Reviews Section */
    .rating-summary {
        margin-bottom: 30px;
    }

    .review-slider-wrapper {
        padding: 0 10px;
    }

    /* Yonkers Dashed Box */
    .dashed-contact-box {
        border: 2px dashed #000000 !important;
        border-radius: 0 !important;
        margin: 0 10px;
    }

    .item-label {
        font-size: 16px !important;
    }

    .item-value {
        font-size: 18px !important;
    }
}

@media (max-width: 992px) {
    .slider-btn {
        display: none !important;
    }

    .rating-summary {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .rating-info {
        align-items: center;
    }

    .cta-large-logo {
        max-width: 250px !important;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 27px !important;
        line-height: 38px !important;
    }
}

/* Reorder Introducing Us Section on Mobile */
@media (max-width: 992px) {
    .about-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
        padding: 0 20px;
    }

    .about-us {
        padding-top: 0px;
    }

    .about-content {
        padding-left: 0 !important;
        margin-bottom: 40px;
        text-align: left !important;
    }

    .about-content h2 {
        padding-right: 0 !important;
        text-align: left !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 23px !important;
        line-height: 30px !important;
    }

    .about-image-wrapper {
        padding-left: 0 !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .features-list {
        column-count: 1 !important;
    }
}

/* Full Width More About Us Button on Mobile */
@media (max-width: 992px) {
    .btn-more {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 400 !important;
        padding: 5px 0 !important;
        font-size: 20px !important;
        border-radius: 5px !important;
    }
}

/* Fix About Us Image Frame on Mobile */
@media (max-width: 992px) {
    .about-image-wrapper {
        padding: 20px 20px 0 0 !important;
        /* Create space for the offset */
        display: block !important;
        width: 100% !important;
    }

    .image-frame {
        width: calc(100% - 20px) !important;
        height: calc(100% - 20px) !important;
        bottom: 0 !important;
        left: 0 !important;
        top: auto !important;
    }

    .about-img {
        width: 100% !important;
        margin-left: 20px !important;
        margin-top: -20px !important;
        position: relative !important;
    }
}

/* 2x2 Stats Grid on Mobile */
@media (max-width: 992px) {
    .stats-section {
        padding-top: 0px !important;
    }

    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
        flex-direction: row !important;
        /* Override previous flex */
    }

    .stat-item {
        padding: 25px 10px !important;
        border: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Vertical and Horizontal Dotted Dividers */
    .stat-item:nth-child(1) {
        border-right: 1px dotted #bbbbbb !important;
        border-bottom: 1px dotted #bbbbbb !important;
    }

    .stat-item:nth-child(2) {
        border-bottom: 1px dotted #bbbbbb !important;
    }

    .stat-item:nth-child(3) {
        border-right: 1px dotted #bbbbbb !important;
    }

    .stat-number {
        font-size: 36px !important;
        margin-bottom: 5px !important;
        font-weight: 700 !important;
        color: var(--primary-green) !important;
    }

    .stat-label {
        font-size: 14px !important;
        font-family: 'Open Sans', sans-serif !important;
        color: #000 !important;
        font-weight: 400 !important;
        margin-bottom: 0px !important;
    }
}

/* Mobile Fix for Plumber & Repair CTA Section */
@media (max-width: 992px) {
    .plumbing-repair-cta {
        padding: 70px 0 !important;
        text-align: left !important;
    }

    .cta-content {
        max-width: 100% !important;
        padding: 0 10px !important;
        left: 0 !important;
        top: 0 !important;
        text-align: left !important;
    }

    .cta-label {
        display: inline-block !important;
        padding: 5px 12px !important;
        font-size: 12px !important;
        margin-bottom: 15px !important;
        text-align: left !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        background: transparent !important;
    }

    .cta-content h2 {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 20px !important;
        line-height: 26px !important;
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    .cta-content p {
        font-family: 'Open Sans', sans-serif !important;
        font-weight: 400 !important;
        text-align: left !important;
        font-size: 17px !important;
        line-height: 28px !important;
        margin-bottom: 25px !important;
    }

    .cta-btn {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 15px 0 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        border-radius: 5px !important;
    }
}

/* Mobile Fix for Our Works Section */
@media (max-width: 992px) {
    .our-works {
        padding: 50px 0 !important;
    }

    .works-header {
        display: block !important;
        text-align: left !important;
        padding: 0 25px !important;
    }

    .header-left h2 {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 20px !important;
        line-height: 26px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-top: 10px !important;
    }

    .header-right {
        padding-top: 15px !important;
        text-align: left !important;
    }

    .header-right p {
        text-align: left !important;
        font-family: 'Open Sans', sans-serif !important;
        font-size: 17px !important;
        line-height: 28px !important;
        margin-bottom: 15px !important;
    }

    .green-underline {
        margin: 0 !important;
        width: 80px !important;
        height: 5px !important;
    }

    .works-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 20px 0px 0 0px !important;
    }

    .work-card {
        padding: 10px 5px 20px 5px !important;
        border: 1px solid #030303 !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    }

    .work-card h3 {
        font-size: 20px !important;
        line-height: 26px !important;
        margin-bottom: 15px !important;
    }

    .work-card p {
        font-size: 15px !important;
        line-height: 24px !important;
    }
}

/* Mobile Fix for Our Projects Section */
@media (max-width: 992px) {
    .projects-header {
        display: block !important;
        text-align: left !important;
        padding: 0 10px !important;
    }

    .projects-header .header-left h2 {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 20px !important;
        line-height: 26px !important;
        padding-right: 30px !important;
        text-align: left !important;
        margin-top: 10px !important;
        margin-bottom: 15px;
    }

    .projects-header .header-right {
        padding-top: 15px !important;
        text-align: left !important;
    }

    .projects-header .header-right p {
        text-align: left !important;
        font-family: 'Open Sans', sans-serif !important;
        font-weight: 400 !important;
        font-size: 14px !important;
        line-height: 25px !important;
        margin-bottom: 15px !important;
        padding-right: 0px !important;
    }

    .our-projects .green-underline {
        margin: 0 !important;
        width: 80px !important;
        height: 5px !important;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr !important;
        /* Keep 2 columns as in reference */
        gap: 10px !important;
        padding: 20px 0px 0 0px !important;
    }
}

/* Mobile Fix for Our Process Section */
@media (max-width: 992px) {
    .our-process {
        padding: 20px 0 40px 0 !important;
    }

    .process-header {
        padding: 0 15px !important;
        margin-bottom: 45px !important;
    }

    .process-header h2 {
        font-size: 24px !important;
        line-height: 32px !important;
        margin-bottom: 15px !important;
    }

    .process-header p {
        font-size: 15px !important;
        line-height: 24px !important;
        padding: 0 10px !important;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }

    .process-card {
        padding: 20px 10px 20px 10px !important;
        border: 1px dashed #999999 !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .step-tag {
        right: 15px !important;
        top: -15px !important;
        font-size: 14px !important;
        padding: 5px 12px !important;
    }

    .process-icon {
        font-size: 50px !important;
        margin-bottom: 15px !important;
    }

    .process-card h3 {
        font-size: 20px !important;
        line-height: 26px !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .process-card p {
        font-size: 15px !important;
        line-height: 24px !important;
        padding: 0 !important;
        text-align: left !important;
    }
}

/* Mobile Fix for Why Choose Us Section */
@media (max-width: 992px) {
    .why-choose-us {
        padding: 0 !important;
    }

    .choose-container {
        display: block !important;
    }

    .choose-left {
        width: 100% !important;
        padding: 60px 20px !important;
    }

    .choose-left-content h2 {
        font-size: 23px !important;
        line-height: 30px !important;
        margin-bottom: 20px !important;
    }

    .choose-description {
        font-size: 15px !important;
        line-height: 24px !important;
        margin-bottom: 35px !important;
    }

    .why-choose-us .features-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .feature-item {
        gap: 15px !important;
    }

    .feature-text h3 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
    }

    .feature-text p {
        font-size: 14px !important;
        line-height: 22px !important;
    }

    .choose-right {
        width: 100% !important;
        top: 0 !important;
        display: block !important;
        position: relative !important;
    }

    .choose-img {
        width: 100% !important;
        height: auto !important;
        padding-bottom: 0 !important;
        display: block !important;
    }

    .green-floating-card {
        position: absolute !important;
        bottom: 20px !important;
        left: 0 !important;
        width: 85% !important;
        max-width: 320px !important;
        padding: 20px !important;
        background: linear-gradient(135deg, #2e7d32, #1b3d24) !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
        z-index: 10;
        margin-top: 0 !important;
    }

    .green-floating-card p {
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        line-height: 24px !important;
        text-align: left !important;
        color: #fff !important;
    }
}

/* Mobile Fix for Our Clients Review Section */
@media (max-width: 992px) {
    .our-clients-review {
        padding: 50px 0 !important;
    }

    .review-header {
        text-align: left !important;
        padding: 0 20px !important;
        margin-bottom: 30px !important;
    }

    .rating-summary {
        display: none !important;
        /* Hide centered rating box on mobile as per original reference */
    }

    .review-header h2 {
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    .review-header p {
        text-align: left !important;
        margin-bottom: 10px !important;
    }

    .our-clients-review .green-underline {
        margin: 0 !important;
        width: 80px !important;
        height: 5px !important;
        background-color: var(--primary-green);
    }

    .review-slider-wrapper {
        padding: 0 15px !important;
    }

    .review-slider {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        overflow: visible !important;
    }

    .review-card {
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 25px 20px !important;
        text-align: left !important;
    }

    .card-top {
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 15px !important;
    }

    .user-info {
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .rating-row {
        justify-content: flex-start !important;
        margin-bottom: 15px !important;
    }

    .review-card p {
        text-align: left !important;
        font-size: 15px !important;
        line-height: 24px !important;
    }

    .slider-btn {
        display: none !important;
        /* Hide navigation buttons on simple mobile stack */
    }
}

/* Mobile Fix for Residential Contact Section */
@media (max-width: 992px) {
    .residential-contact-cta {
        padding: 60px 0 !important;
    }

    .contact-cta-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 20px !important;
        text-align: left !important;
    }

    .contact-form-side {
        order: 1 !important;
    }

    .contact-text-side {
        order: 2 !important;
        padding-left: 0 !important;
        text-align: left !important;
        top: 0 !important;
        left: 0 !important;
    }

    .contact-text-side h2 {
        font-size: 20px !important;
        line-height: 26px !important;
        text-align: left !important;
        margin-bottom: 15px !important;
        padding-right: 0 !important;
    }

    .contact-text-side p {
        font-size: 17px !important;
        line-height: 28px !important;
        text-align: left !important;
    }

    .form-submit-btn {
        width: auto !important;
        display: inline-block !important;
        padding: 12px 30px !important;
        border-radius: 5px !important;
        font-size: 16px !important;
        text-align: center !important;
    }

    .form-row {
        gap: 15px !important;
    }
}