/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #002640;
    color: #fff;
    line-height: 1.6;
}

/* Header Section */
header {
    padding: 40px;
    text-align: center;
    background-color: #002640;
}

header .logo img {
    max-width: 300px;
}

/* About Section */
.about {
    padding: 60px 20px;
    text-align: center;
}

.about h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* Our People Section */
.people {
    padding: 60px 20px;
    text-align: center;
}

.people h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.people p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Offering Section */
.service-offering {
    padding: 60px 20px;
    text-align: center;
}

.service-offering h2 {
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Container for the graphic and side text */
.service-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Space between the elements */
    margin-bottom: 40px;
}


/* Center Graphic */
.center-graphic {
    flex-shrink: 0; /* Prevents shrinking of the graphic */
}

.center-graphic img {
    max-width: 300px;
    height: auto;
}

/* Bottom Descriptions */
.service-descriptions {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px; /* Space above descriptions */
}

.service-descriptions .service {
    max-width: 300px;
    text-align: left;
    flex: 1; /* Ensures even distribution */
    min-width: 250px; /* Minimum width for better responsiveness */
}

.service-descriptions h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-descriptions p {
    font-size: 1em;
    line-height: 1.6;
}

/* Values Section */
.values {
    padding: 60px 20px;
    text-align: center;
    background-color: #003a5b;
}

.values h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.values p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* Teaming Partners Section */
.teaming-partners {
    padding: 60px 20px;
    text-align: center;
}

.teaming-partners h2 {
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: bold;
}

.teaming-partners .partners {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.teaming-partners .partner {
    margin: 20px;
    text-align: center;
}

.teaming-partners img {
    max-width: 200px;
    height: auto;
}

/* Footer Section */
footer {
    padding: 20px;
    text-align: center;
    background-color: #00182f;
    font-size: 0.9em;
}

footer p {
    margin-bottom: 10px;
}

footer ul {
    list-style-type: none;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service-offering .services {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-offering p {
        text-align: center;
    }

    .teaming-partners .partners {
        flex-direction: column;
        align-items: center;
    }

    .service-offering img {
        grid-column: span 1;
        justify-self: center;
    }

    .service-descriptions {
        flex-direction: column;
        align-items: center;
    }

    .service-descriptions .service {
        max-width: 100%;
        text-align: center;
    }
}
