*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  .hero-section{
    background: linear-gradient(#00000091, #00000091), url(Media/home-landing.jpeg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    /* width: 100vw; */
    padding: 10px 4rem;

    }
.fondation h1 {
    font-weight: 700;
    font-size: 70px;
    width: 100%;
    word-break: break-word;
}
.tim-text{
        width: 50%;
        font-size: 20px;
}
.btn-about, .btn-donate, .btn-read{
    border: 2px solid white;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: large;
    font-weight: 500;
}
.impact {
   padding: 10px 4rem;
   width: 100%;
    min-height: 100vh;
    background: linear-gradient(#251A1A, #702805);
}
.words h1 {
    font-size: 70px;
    font-weight: bolder;
}
.words small {
    font-size: 20px;
}
.pics{
    width: 350px;
    height: 100%;
    display: block;
}
.pics img{
    width: 100%;
    height: auto;           /* let the image scale to its width on small screens */
    max-height: 500px;      /* keep intended visual height on large screens */
    object-fit: cover;      /* crop to fill the box but don't distort */
    border-radius: 20px;
    display: block;
}
.vision-mission {
    width: 100%;
    padding: 10px 4rem;
    min-height: 50vh;
}

.vision, .mission {
    background-color: #978070;
    height: 300px;
    border-radius: 30px;
    width: 50%;
    font-size: 25px;
}

.numbers {
    padding: 10px 4rem;
    min-height: 50vh;
    width: 100%
}
.numb{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.numbers-speaks{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.our-number{
    width: 40%;
}
.our-number h1{
    font-weight: 600;
    font-size: 40px;
}
.our-number p{
    font-size: 20px;
}
.african h1, .youth h1{
    color: #6F4E37;
    font-weight: 700;
    font-size: 70px;
}
.african p, .youth p{
    font-weight: bold;
    font-size: x-large;
}
.Our-Book{
    padding: 10px 4rem;
    width: 100%;
    min-height: 80vh;
    background-color: #978070;
    color: white;
    overflow: hidden;
}
.book-up{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /* height: 50vh; */
}
.book-left{
    width: 50%;
    height: 400px;
    padding-top: 30px;
    /* color: black; */
}
.book-left p{
    padding: 20px 0;
}
.book-right{
    width: 50%;
    height: 400px;
    display: block;
}
.book-right img{
    width: 100%;
    height: 100%;
}
.Our-Book-down {
    padding: 10px 4rem;
    min-height: 60vh;
}

.book-card {
    width: 300px;
    height: 400px !important;
    padding: 20px;
}

.book-card img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
   
}

.partner{
    height: 50vh;
    padding: 10px 4rem;
    text-align: center;
    background-color: #702805;
}
/* .parti{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
} */
.part-img{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
   
}
.partner-images{
    border-radius: 10px;
}
.partner-images img{
    border-radius: 20px;
}
.question{
    padding: 10px 4rem;
    min-height: 50vh;
    background-color: #6F4E37;
    text-align: center;
    overflow: hidden;
}
.question h4{
    font-weight: bolder;
}
.question h2{
    font-weight: 700;
    font-size: 60px;
}
.question button{
    width: 200px;
}
footer{
    background-color: black;
    color: white;
    min-height: 10vh;
    text-align: center;
}
footer p{
    font-size: larger;
}




@media (min-width: 200px) and (max-width:767px){
     .hero-section{
    background: linear-gradient(#00000091, #00000091), url(Media/home-landing.jpeg);
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    padding: 10px 2rem;
    }
    .tim-text{
        width: 100%;
        font-size: 16px;
        font-weight: 200;
        padding: 3rem 0;
    }
    .fondation h1 {
        font-weight: 500;
        font-size: 30px;
        width: 100%;
        word-break: break-word;
    }
    
.impact {
   padding: 10px 2rem;
    min-height: 100vh;
    background: linear-gradient(#251A1A, #702805);
}
.words{
    width: 100%;
}
    .words p{
        font-size: 20px;
        font-weight: 400;
    }
.words small {
    font-size: 15px;
    
}
.pics{
    display: none;
}
.vision-mission {
    padding: 10px 2rem;
    min-height: 50vh;
    
}
.vis-mis{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}
.vision, .mission {
    background-color: #978070;
    height: 250px;
    border-radius: 30px;
    width: 100%;
    font-size: 20px;
}
.numbers {
    padding: 10px 2rem;
   min-height: 50vh; 
}
.numb{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.our-number{
    width: 100%;
}
.our-number h1{
    font-weight: 700;
    font-size: 40px;
}
.our-number p{
    font-size: 20px;
    padding: 20px 0;
    gap: 20px;
}
.numbers-speaks{
    display: flex;
    flex-direction: column;
    justify-content: center !important; 
    align-items: center;
}
.african h1, .youth h1{
    color: #6F4E37;
    font-weight: 700;
    font-size: 70px;
}
.african p, .youth p{
    font-weight: bold;
    font-size: x-large;
}
.Our-Book{
    padding: 10px 2rem;
    min-height: 70vh;
    background-color: #978070;
    color: white;
}
.Our-Book-down{
    padding: 10px 2rem;
    min-height: 50vh;
}
.book-up{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /* height: 50vh; */
}
.book-left{
    width: 100%;
    height: auto;
    padding-top: 10px;
    
}
.book-left p{
    padding: 10px 0;
}
.book-right{
   display: none;
}
 .row {
      margin-left: 0;
      margin-right: 0;
  }
.book-card {
    width: 100%;
    max-width: 400px;
    height: 400px;
    padding: 20px;
}

.book-card img{
      width: 100%;
    height: 100%;
    object-fit: cover;
}
.question{
    padding: 10px 2rem;
    min-height: 80vh;
    background-color: #6F4E37;
    text-align: center;
}

.question h2{
    font-weight: 500;
    font-size: 40px;
    width: 100%;
}


}




@media (min-width: 768px) and (max-width: 991px){
     .hero-section{
    background: linear-gradient(#00000091, #00000091), url(Media/home-landing.jpeg);
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    padding: 10px 3rem;
    }
    .tim-text{
        width: 100%;
        font-size: 30px;
        font-weight: 400;
        padding: 4rem 0; /* reduced from 10rem to avoid huge vertical push on medium screens */
    }
    .fondation h1 {
        font-weight: 500;
        font-size: 48px;      /* slightly reduced for medium screens */
        width: 100%;
        word-break: break-word;
        padding-top: 1.5rem;  /* smaller top padding so heading doesn't push content off-screen */
    }
    .fondation button{
        width: 50%;
        font-size: 20px;
        margin-top: 2rem;
    }
    
.impact {
   padding: 10px 3rem;
    min-height: 100vh;
    background: linear-gradient(#251a1ac9, #702905c2), url(Media/our\ impact.jpeg);
     background-position: center;
    background-size: cover;
}
.impact h1{
    font-size: 50px;
}
.words{
    width: 100%;
}
.words p{
     font-size: 30px;
    font-weight: 500;
    }
.words small {
    font-size: 25px;
    padding: 5rem 0;
    
}
.pics{
    display: none;
}
.vision-mission {
    padding: 10px 3rem;
    min-height: 50vh;
    
}
.vis-mis{
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    gap: 20px;
}
.vision, .mission {
    background-color: #978070;
    height: 300px;
    border-radius: 30px;
    width: 100%;
    font-size: 25px;
}
.numbers-speaks{
    display: flex;
    justify-content: space-between !important; 
    align-items: center;
    
}
.african h1, .youth h1{
    color: #6F4E37;
    font-weight: 700;
    font-size: 70px;
}
.african p, .youth p{
    font-weight: bold;
    font-size: x-large;
}
.Our-Book{
    padding: 10px 3rem;
    min-height: 40vh;
    background: linear-gradient(#978070d7,#978070d7), url(Media/book\ cover\ 2.jpg);
        background-position: center;
    color: white;
}
.Our-Book-down{
    padding: 10px 3rem;
    min-height: 50vh;
}
.book-up{
  width: 100%;
   min-height: 300px;
   font-size: 18px;
}
.book-left{
    width: 100%;
    height: 300px;
    padding-top: 20px;
    
}
.book-left p{
    padding: 10px 0;
}
.book-right{
   display: none;
}
.book-card{
    /* width: 400px; */
    /* height: 400px; */
    padding: 20px;
}
.book-card img{
    width: 100%;
    height: 100%;
}
.partner{
    min-height: 30vh;
    padding: 10px 4rem;
    text-align: center;
    background-color: #702805;
}
.question{
    padding: 10px 3rem;
    min-height: 50vh;
    background-color: #6F4E37;
    text-align: center;
}

.question h2{
    font-weight: 500;
    font-size: 60px;
    width: 100%;
}
.question button{
    /* width: 100%; */
    padding-top: 5rem;
}
}
