/* About Page Styles */

/* Hero Section */
.about-hero {
    position: relative;
    background-image: url('assets/plumbing-and-sewer-gallery-26.webp');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.about-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 15px;
}

.green-underline {
    width: 60px;
    height: 5px;
    background-color: #39A52B;
}

/* Introducing Section */
.introducing-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.introducing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding-right: 40px;
}

.introducing-image {
    position: relative;
}

.image-border {
    position: absolute;
    top: 20px;
    left: -13px;
    width: calc(100% - 20px);
    height: calc(100% - 12px);
    border: 15px solid #39A52B;
    z-index: 1;
}

.introducing-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #ffffff;
    border-radius: 3px;
}

.intro-label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    color: #39A52B;
    margin-bottom: 15px;
}

.introducing-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: #000000;
    margin-bottom: 25px;
    padding-right: 20px;
}

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

.btn-contact {
    display: inline-block;
    background-color: #39A52B;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* MVV Section (Mission, Vision, Values) */
.mvv-section {
    padding-bottom: 100px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mvv-card {
    background-color: #ffffff;
    border: 1px solid #000000;
    position: relative;
    padding: 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.card-icon {
    flex: 0 0 auto;
    font-size: 50px;
    color: #39A52B;
    margin-top: 5px;
}

.card-text-side {
    flex: 1 1 auto;
}

.mvv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 15px;
    margin-top: 0;
}

.mvv-card p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

.card-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #39A52B;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero {
        height: 250px;
    }

    .about-hero h1 {
        font-size: 28px;
        line-height: 38px;
    }

    .introducing-section {
        padding: 50px 0;
    }

    .introducing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
        padding-right: 0;
        /* Removing desktop padding */
    }

    .introducing-image {
        position: relative;
        left: 40px;
        max-width: 80%;
        margin: 0;
    }

    .image-border {
        left: -20px;
        top: 20px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        border-width: 30px;
    }

    .introducing-content h2 {
        font-size: 24px;
        line-height: 32px;
        padding-right: 0;
    }

    .introducing-content p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 30px;
    }

    .btn-contact {
        width: 100%;
        text-align: center;
    }

    .mvv-section {
        padding-bottom: 60px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mvv-card {
        padding: 20px;
    }

    .card-content-wrapper {
        gap: 15px;
    }

    .card-icon {
        font-size: 35px;
    }

    .mvv-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .mvv-card p {
        font-size: 15px;
        line-height: 22px;
    }
}