/* General body styling */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* The home section */
#home {
    width: 100%;
    height: 100vh;
    margin: auto;
    background: url(../images/Untitled\ design.png);
    background-size: cover;
}

#home .container {
    padding: 15rem 0;
    text-align: center;
    width: 60%;
    margin: auto;
}

#home h1 {
    font-size: 52px;
    font-weight: 800;
}

#home p {
    font-size: 32px;
    color: #333;
}

/* General container styling */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Overview section styling */
.overview {
    width: 70%;
    margin: 50px auto;
    background: #fff;
    padding: 2rem 0;
    border-radius: 5px;
    text-align: center;
}

.overview h1, .mission-vision h1, .values h1, .services h1, .leadership h1 {
    font-size: 42px;
}

.overview p {
    width: 70%;
    margin: auto;
    padding: 20px 0;
}

/* Mission and Vision section styling */
.mission-vision, .values {
    padding: 80px 0;
    background: #fff;
    margin: 1rem 0;
    text-align: center;
}

/* Values section styling */
.values ul {
    list-style: none;
    padding: 0;
}

.values ul li {
    background: #f4f4f4;
    margin: 0.5rem 0;
    padding: 1rem;
    border-left: 5px solid #333;
    text-align: left;
}

.values li span {
    font-weight: bold;
}

/* Team section styling */
.team {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.team .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.team .team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team .team-member {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 300px;
}

.team .team-member img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.team .team-member h2 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.team .team-member p {
    font-size: 1em;
    color: #777;
}

/* Media queries for responsive design */

/* For screens with a maximum width of 1250px */
@media only screen and (max-width: 1250px) {
    #home {
        height: 80vh;
    }

    #home .container {
        width: 90%;
        padding: 10em 0;
    }

    #home h1 {
        font-size: 32px;
    }

    #home p {
        font-size: 22px;
    }
}

/* For screens with a maximum width of 750px */
@media only screen and (max-width: 750px) {
    #home {
        width: 100%;
        height: 90vh;
        margin: auto;
        background: url(../images/Untitled\ design1.png);
    }

    .about-us .sub-heading {
        padding-left: 10px;
    }

    .about-us .container {
        width: 90%;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .about-us .container div {
        width: 100%;
    }

    .about-us .text {
        padding-left: 20px;
    }

    .mission-vision .content {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        margin-top: 30px;
    }

    .mission-vision .content div {
        width: 100%;
        text-align: center;
        padding: 40px;
        background-color: #f4f4f4;
        border-radius: 10px;
        margin: 20px 0;
    }
}

/* For screens with a maximum width of 600px */
@media only screen and (max-width: 600px) {
    #home {
        width: 100%;
        height: 100vh;
        margin: auto;
        background: url(../images/Untitled\ design1.png);
    }

    #home .container {
        padding: 15rem 0;
        width: 90%;
    }

    #home h1 {
        font-size: 26px;
    }

    #home p {
        font-size: 18px;
    }

    .overview {
        width: 95%;
        margin: 50px auto;
        background: #fff;
        padding: 2rem 0;
        border-radius: 5px;
        text-align: center;
    }

    .overview h1, .mission-vision h1, .values h1, .services h1, .leadership h1 {
        font-size: 42px;
    }

    .overview p {
        width: 90%;
        margin: auto;
        padding: 20px 0;
    }
}

/* For screens with a maximum width of 400px */
@media only screen and (max-width: 400px) {
    #home h1 {
        font-size: 24px;
    }

    #home p {
        font-size: 16px;
    }
}