/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 20px;
    padding: 2px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #4CAF50;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #2968f1;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
    color: #666;
}

/* Section styles */
section {
    margin: 40px 0;
}
section h1 {
    margin: 0;
    font-size: 2.5em;
    color: #046521;
    font-weight: bold;
}

section h2 {
    font-size: 2em;
    color: #046521;
    margin-bottom: 20px;
}

section p {
    line-height: 1.6;
    font-size: 1.1em;
}

section ul {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 40px;
}

section ul li {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Team section styles */
.team {
    text-align: center;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.team-member {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    /*border-radius: 50%;*/
    border-top-left-radius: 180px;
    border-top-right-radius: 180px;
    border-bottom-left-radius: 180px;
    border-bottom-right-radius: 180px;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.team-member p {
    font-size: 1em;
    color: #777;
    margin: 10px 0 0;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

footer p {
    margin: 0;
    color: #777;
    font-size: 0.9em;
}

/* Responsive styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    section h2 {
        font-size: 1.5em;
    }

    section p, section ul li {
        font-size: 1em;
    }

    .team-member {
        width: 45%;
    }
}
/*Image for the Hero section*/
.hero-section {
    position: relative; /* Position relative for absolute positioning of text */
    margin: 20px; /* Margin on all sides */
    overflow: hidden; /* Prevent overflow */
}
.img-hero {
    width: calc(100% - 40px); /* Full width minus left and right margins */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove bottom space */
    filter: saturate(50%); /* Reduce saturation to 50% */
}
.hero-text {
    position: absolute; /* Position the text absolutely */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    color: white; /* Text color */
    font-size: 5vw; /* Responsive font size based on viewport width */
    text-align: center; /* Center text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Optional shadow for readability */
    padding: 10px; /* Add some padding for smaller screens */
    box-sizing: border-box; /* Ensure padding is included in width/height calculations */
}
@media (max-width: 768px) {
    .hero-text {
        font-size: 8vw; /* Larger font size for tablets */
    }
}
@media (max-width: 480px) {
    .hero-text {
        font-size: 10vw; /* Even larger font size for mobile */
    }
}
/* section opening statment */
.mission {
background-color: #d7d5d5e9;
color: #000;
padding: 5px;
border-radius: 5px;
margin: 20px;
}

/*Team members section  */

.team {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.card-team {
    background-color:rgb(244, 244, 193);
    border: 3px solid #fff;
    border-radius: 8px;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(33.33% - 40px); /* Three cards per row */
    max-width: 300px;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-team {
        flex: 1 1 calc(50% - 40px); /* Two cards per row */
    }
}

@media (max-width: 480px) {
    .card-team {
        flex: 1 1 calc(100% - 40px); /* One card per row */
    }
}

.card-team h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #046521;
}

.card-team p {
    font-size: 1em;
    color: #000;
}


/*Reasons to choose Us starts and the challenges we address */


.card-container-w {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.challenges h2,
.why-choose h2 {
    justify-content: center;
    text-align: center;
}

.card-w {
    background-color: hsl(209, 75%, 28%);
    border: 2px solid #747272;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(25% - 40px); /* Default to four cards per row */
    max-width: 250px; /* Optionally set a max width to control the card size */
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card-w {
        flex: 1 1 calc(33.33% - 40px); /* Three cards per row */
    }
}

@media (max-width: 900px) {
    .card-w {
        flex: 1 1 calc(50% - 40px); /* Two cards per row */
    }
}

@media (max-width: 600px) {
    .card-w {
        flex: 1 1 calc(100% - 40px); /* One card per row */
    }
}

.card-w h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #67cb6a;
}

.card-w p {
    font-size: 1em;
    color: #fff;
}

/* section join us */
.join-us{
    background-color: #d7d5d5e9;
    color: #000;
    padding: 5px;
    border-radius: 5px;
    margin: 20px;
    }
