*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body {
    margin: 0;
    font-family: 'Afacad';
    line-height: 1.6;
    background-size: cover;
    box-sizing: border-box;


}

header {

    color: white;
    text-align: center;
    /* padding: 8rem 0; */
    height:700px;
    width: auto;
    background-image: url(../IMAGES/meric-tuna-CE1OvMrZumQ-unsplash\ 1.png);
    margin:0 auto;
    background-size: cover;
    box-sizing: border-box;
}

header .navbar-container{
    padding-bottom: 130px;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 5px 5px 5px #000000;
}

.header-container-images{
    position: relative;
    padding: 3rem;               /* too large will cause not fit to wall */
    display: flex;
    justify-content: center;
    top: 20px;
}

.header-container-images img{
    width: 220px;
    height: 220px;
    border-radius: 10%;
    top: 5rem;
    left:1rem;
    z-index: 1;
    padding: 0.5rem;
    text-shadow: 5px 5px 5px #000000;
    

}

.imgWord p{
    color: #fcfcfc;
    font-family: 'Afacad',serif;
    font-weight: bolder;
    font-size: larger;
    text-shadow: 5px 5px 5px #000000;
}


/* /////////////////////////////////////////////////////////// */

.content {
    
    text-align: center;
    justify-content: center;
    padding: 4rem 7rem;
    height: 830px;
    width: 100%;
    color: rgb(250, 250, 250);
    font-weight:bolder;
    background-image: linear-gradient(to bottom, #948989, #6C5943 );
}


    

.content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family:'Afacad';
    text-shadow: 5px 5px 5px #000000;

}

.content p {
    max-width: 800px;
    margin: auto;
    margin-bottom: 2rem;
}
.sustainability-goals {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    height: auto;
}

.goal {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    

}

.goal img {
    width: 280px;
    height: 250px;
    /* border-radius: 10%; */
    /* top: 5rem;
    left:1rem; */
    z-index: 1;
    padding: 0.5rem;
    ;
}

.goal h3{
    font-weight: 700;
    text-shadow: 2px 2px black;
}

.goal p{
    display: flex;
    
}


/* ////////////////////////////////////////////////////////////////////////////// */

.sustainable-section {
    position: relative;
    color: white;
    text-align: center;
    justify-content: center;
    padding: 4rem 7rem;
    height: 700px;
    width: 100%;
    font-weight:bolder;
    background-image:url(../IMAGES/people-preparing-food-box-bag-donation_1235831-312213.jpg\ 1.png);
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.5);

}

.sustainable-content{
    position: absolute;
    top: 0;
    left: 0;
    padding: 5rem 0;
    width: 100%;
    height: 100%;
 

}

.sustainable-section h2 {
    margin-bottom: 1rem;
    font-size: 60px;
    text-shadow: 2px 2px black;
}

.sustainable-section p{
    font-size: 18px;
}

.places {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.place {
    background: white;
    color: #000;
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: black;
    transition: transform 0.2s;

}

.place img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.place p {
    padding: 1rem;
    font-size: 0.9rem;
    color: #000;
}

.place:hover{
    color: rgb(11, 44, 75);
    transform: scale(1.02); /* Slight zoom on hover */
    font-weight: 750;
}

footer {
    background-color: #D9D9D9;
    color: rgb(0, 0, 0);
    padding: 20px;
}

.footer-container {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.left-section {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: flex-start;
}

.logo-and-address {
    flex: 1;
}

.footer-logo {
    font-family: 'Sarina';
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

address {
    font-size: 14px;
    font-style: normal;
    line-height: 1.85;
}

.logo-and-address p {
    margin-top: 0;
}

.sitemap-reviews {
    display: flex;
    gap: 50px;
}

.sitemap ul, .reviews ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap ul li, .reviews ul li {
    margin-bottom: 5px;
}

.sitemap a, .reviews a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.sitemap p, .reviews p {
    margin-top: 0;
}

.sitemap a:hover, .reviews a:hover {
    color: #007BFF;
}

.right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.contact-info p {
    text-align: right;
    margin: 5px 0;
    font-size: 14px;
}

.contact-info a {
    text-align: right;
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    color: #007BFF;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.2);
}


/* /////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 540px) {
  
    body{
        margin: 0;
        padding: 0;
        background-size: cover;
        height: 100%;
        width:min-content;
        padding: 0, 50px; /* Minimal padding for small screens */
        height: auto; 
    }
    header{
        height: auto;
        width: fit-content;
    }
    
    .sustainable-section{
        display: flex;
        position: relative;
        height: 140rem;
        /* background-repeat: no-repeat; */
    }

    .places{
        width: 100%;
        margin:10px auto;
    }

    .place{
        
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        width: 400px;
        margin:5px 80px;
        
    }
    .place img{
        width:400px;
        height: 380px;
    }
    
    .header-container-images{
        display: flex
        /* flex-direction: column; */
        /* width: 100%;
        height: 100%; */

    }
    .header-container-images img{
       
        padding: 10px;
        
        
    }
    .content{
        height: 55rem;
    }

    /* .goal img{
       padding:20px;
    } */
    .goal {
        /* position: relative; */
        padding: 0;      /* too large will cause not fit to wall */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* top: 20px; */
        flex-direction: column;
        align-items: center;
    
    }
    
    .goal img {
        width: 180px;
        height: 180px;
        
        
        z-index: 1;
        padding: 0.5rem;
        justify-content: space-between;
    }
  

    .goal p {
        margin-bottom: 0;
    }
}


@media (min-width: 541px) and (max-width: 767px) {
   
    body{
        margin: 0;
        padding: 0;
        background-size: cover;
        height: 100%;
        width: fit-content;
        padding: 0, 50px; /* Minimal padding for small screens */
        height: auto; 
    }
    
    .sustainable-section{
        height: 80rem;
    }

    .places{
        width: 100%;
        margin:10px auto;
    }

    .place{
        
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        width: 400px;
        margin:5px 80px;

        
     
        
    }
    
    .place img{
        width:400px;
        height: 380px;
    }
    header{
        height: auto;
        width: fit-content;

    }

    .header-container-images{
        display: flex
        /* flex-direction: column; */
        /* width: 100%;
        height: 100%; */

    }
    .content{
        height: 55rem;
    }
    .goal img{
        padding: 20px
    }
    .goal {
        /* position: relative; */
        padding: 0;      /* too large will cause not fit to wall */
        display: flex;
        justify-content: center;
        /* top: 20px; */
        flex-direction: column;
        align-items: center;
    
    }
    
    .goal img {
        width: 180px;
        height: 180px;
        
        
        z-index: 1;
        padding: 0.5rem;
        justify-content: space-between;
    }
    .goal p {
        margin-bottom: 0;
    }
    .sustainable-section{
        height: 135rem;
    }
    
}


@media (min-width: 767px) and (max-width: 1190px) {

    body{
        margin: 0;
        padding: 0;
        background-size: cover;
        height: 100%;
        width: fit-content;
        padding: 0, 50px; /* Minimal padding for small screens */
        height: auto; 
    }
    
    header{
        height: auto;
        width:auto;

    }
    .sustainable-section{
        height: 80rem;
    }

    .places{
        width: 100%;
        margin:10px auto;
    }

    .place{
        
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        width: 300px;
        margin:5px 40px;
        
    }
    .place img{
        width:300px;
        height: auto;
    }
    .content{
        height: 55rem;
    }
    .goal img{
        padding: 20px
    }
    .goal p {
        margin-bottom: 0;
    }
 
    
}
@media (min-width: 1190px) and (max-width: 2500px) {

   
    
    .goal h3{
        display: flex;
        flex-wrap: wrap;
    }
    .goal p{
        margin-bottom: 0;
    }
    .goal {
        /* position: relative; */
        padding: 0;      /* too large will cause not fit to wall */
        display: flex;
        justify-content: center;
        /* top: 20px; */
        flex-direction: column;
        align-items: center;
    
    }
}




/* ///////////footer media /////////////// */

@media (min-width: 541px) and (max-width: 767px) {
    .left-section {
        margin: auto;
    }
    }
    
    
    
    @media (max-width: 767px) {
        .team-member {
            flex: 1 1 100%; /* Stack all members in one column */
            max-width: 100%;
        }
    
        .form-group-row {
            flex-direction: column; /* Stack inputs vertically */
        }
    
        .form-group {
            margin-bottom: 15px; /* Add spacing between stacked fields */
        }
    
    
        .footer-logo {
            text-align: center;
            font-family: 'Sarina';
            margin-top: 0;
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 10px;

        }
        .footer-container {
            flex-direction: column;
            text-align: center;
            justify-content: center;
            align-items: center;
            
            
            
        }
        
        .footer-row {
            width: 100%;
            
        }
    
    
        .right-section {
            width: 100%;
            
        }
    
        address {
            text-align: center;
            margin-bottom: 10px;
            
        }
    
        .logo-and-address, .sitemap, .reviews {
            flex: 1; /* Each section gets equal width */
            min-width: 100px; /* Set a minimum width to prevent shrinking too much */
        }
        
    }
    
    /* Adjust footer layout for iPhone SE dimensions */
    @media (max-width: 540px){
        footer .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px; /* Space between rows */
            
            
        }
    
       
        /* Row 1: Address and Sitemap */
        .footer-container .left-section {
            display: flex;
            flex-direction: column; /* Stack items vertically */
            align-items: center;   /* Center items horizontally */
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            width: 100%; /* Full width */
        }
    
        .right-section {
            display: flex;
            flex-direction: column; /* Stack items vertically */
            align-items: center;   /* Center items horizontally */
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
            border-style: solid 50px red;

        }
    
    }