body {
    background-color: #495e4d;
}

.about-us-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    margin-bottom: 110px;
    padding: 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgb(0, 0, 0, 0.5), rgb(0, 0, 0, 0.5)), url("../images/about-hero.jpg");
    background-position: center;
    background-size: cover;
}

#about-title {
    color: #fff;
    font-size: 80px;
}

/* BODY STYLES */

.main-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 40px;
}

.about {
    display: flex;
    width: 100%;
    max-width: 1170px;
    height: 600px;
    margin: 20px auto;
    border: solid 2px #495e4d;
    background-color: #fff;
    box-shadow:
        0 2px 6px rgb(0, 0, 0, 0.2),
        0 4px 8px rgb(0, 0, 0, 0.3);
}

.about-image {
    overflow: hidden;
    flex-basis: 50%;
    align-items: center;
    justify-content: center;
    max-height: 100%;
}

.about-content {
    flex-direction: column;
    flex-basis: 50%;
    justify-content: center;
    padding: 40px;
}

.about img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about h2 {
    margin-bottom: 20px;
    padding-bottom: 25px;
    text-align: left;
    color: #495e4d;
    border-bottom: solid 2px #666;
    font-size: 35px;
    font-weight: 900;
}

.about h3 {
    margin-bottom: 20px;
    text-align: left;
    color: #333;
    font-size: 20px;
}

.about p {
    /* margin-bottom: 25px; */
    text-align: left;
    color: #333;
    font-size: 18px;
    line-height: 1.5;
}

/* For screens 768px and below */
@media (max-width: 900px) {
    /* Ensure service elements stack vertically */
    .about {
        display: block;
        overflow: hidden;
        max-width: 100%;
        height: auto;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about img {
        display: block;
        width: 100%;
        height: 600px;
        margin: 0 auto;
        object-fit: cover;
    }

    .about-content {
        box-sizing: border-box;
        padding: 40px;
    }
}
