
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

/*responsive for images*/
.responsive {
    width: 100%;
    height: 165px;
    
  }

:root {
    /*--theme-color: #3498db; 
    background-color: #f2f3f5;
    background-color:#cacccd;
    
    */
    --theme-color: #008540;
}

/* Header Styles */
.main-header {
    background-color: var(--theme-color);
    color: #fff; 
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 40px; 
    height: auto;
    border-radius: 50px;
    margin-right: 10px;
}

.logo-container h1 {
    font-size: 1.2rem;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-right: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.5s ease-in-out;
}

.main-nav a:hover {
    color: #ecf0f1; 
    border-bottom: solid;
    border-bottom-color: #fff;
}
/*mediaquery nav*/

/* Hero Section Styles */
.hero-section {
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.2)), url("../images/environn.jpg");
    /*background-image: url("/images/ban.webp");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-color: var(--theme-color); /* Use the same theme color as in the header */
    height: 50vh;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff; 
    color: var(--theme-color); 
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color:#008540;
    color: #fff; 
}


/* A Propos Section Styles */
.about-us-section {
    background-color: #f2fcf3;
    color: #333;
    text-align: center;
    padding: 80px 20px;
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-us-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-us-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 25px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--theme-color); /* Use the same theme color as in the header */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.8s ease-in-out, color 0.3s ease-in-out;
}

.cta-button:hover {
    /*background-color: #2980b9;  Darker color on hover */
    background-color:#fff;
    color:#008540;
    border: solid;
    border-color: #008540;
}


/* Focus Areas Section Styles */
.focus-areas-section {
    background-color: #f9f9f9; /* Use a light background color */
    color: #333;
    text-align: center;
    padding: 80px 20px;
}

.focus-areas-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.focus-area {
    /*flex: 1 1 300px;*/
    display: grid;
    grid-template-rows: 165px 1fr 1fr 1fr; /*changer*/
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;
}

.focus-area:hover {
    transform: scale(1.05); /* Enlarge on hover */
}

.interv-contenue{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    
}

/*mediaquery*/

.parag{
    padding: 20px 30px;
    font-size: 1.2rem;
}

.interv-button {
    /*display: inline-block;*/
    width: 118px;
    height: 30%;
    padding: 10px 20px;
    background-color: var(--theme-color); /* Use the same theme color as in the header */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.8s ease-in-out, color 0.3s ease-in-out;
}

.interv-button:hover {
    /*background-color: #2980b9;  Darker color on hover */
    background-color:#fff;
    color:#008540;
    border: solid;
    border-color: #008540;
}

.focus-area img {
    max-width: 100%;
    
    margin-bottom: 10px;
}

.focus-area h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.focus-area p {
    font-size: 1rem;
}


/* Impact and Success Stories Section Styles */
.impact-section {
    background-color: #f5f5f5; /* Use a light background color */
    color: #333;
    text-align: center;
    padding: 80px 20px;
}

.impact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Get Involved Section Styles */
.get-involved-section {
    /* background-color: #3498db; Use a theme color for the background */
    background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/environn.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.get-involved-content {
    max-width: 800px;
    margin: 0 auto;
}

.get-involved-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.get-involved-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

.donate-button,
.volunteer-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 0 10px;
    background-color: #fff;
    color: #008540;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.donate-button:hover,
.volunteer-button:hover {
    background-color:#fff;
    color:#008540;
    border: solid;
    border-color: #008540;
   /* background-color: #2980b9;  Darker color on hover 
    color: #fff; /* Light text color on hover */
}


/* Latest News and Updates Section Styles */
.news-section {
    background-color: #ecf0f1; /* Use a light background color */
    color: #333;
    text-align: center;
    padding: 80px 20px;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.news-article {
    flex: 1 1 300px;
    margin: 20px;
    padding: 20px;
}

.news-article img {
    max-width: 90%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.news-article h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news-article .date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.news-article p {
    font-size: 1rem;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--theme-color); /* Use the same theme color as in the header */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.read-more:hover {
    background-color: #2980b9; /* Darker color on hover */
}




/* Contact Section Styles */
.contact-section {
    background-color: var(--theme-color); /* Use a theme color for the background 
    background-color: #e34e09;
    background-color: rgba(227, 78, 9,0.6);*/
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info p {
    font-size: 1rem;
    margin: 5px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icon {
    margin: 0 10px;
}

.social-icon img {
    width: 30px; /* Adjust the size of the social media icons as needed */
    height: 30px;
}


/* Footer Section Styles */
.footer-section {
    color: #2c3e50 ;
    background-color: #fff;  /*Use a theme color for the background */
    text-align: center;
    padding: 30px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-info p {
    font-size: 1rem;
    margin: 5px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icon {
    margin: 0 10px;
}

.social-icon img {
    width: 30px; /* Adjust the size of the social media icons as needed */
    height: 30px;
}

.lien{
    text-decoration: none;
    color: white;
}
.btn-plus{
    display: flex;
    align-items: center;
    justify-content: center;
}

