#org-text{
    position: relative;
    background-color: black;
    padding: 7px;
    margin: auto;
    text-align: center;
}
#org-text p{
    color: #fff;
    font-size: 14px;
}

#who_weare2{
    padding: 70px 0;
}

.picture-div img{
    width: 100%;
}

#about-section{
    padding: 70px 0;
}

.btn-content{
    padding: 50px 0;
}
.btn-content a{
    text-transform: uppercase;
}

#about-section{
    background-image: url(../images/pattern.png) !important;
    background-position: center !important;

}



/* flex section */
/*flex section*/

.grid-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    flex-direction: row;
    -webkit-flex-direction: row;
    /* -webkit-flex-wrap: wrap; */
    /* -webkit-justify-content: space-around; */
    background-color: #ed2f36;
}

#why-rwanda  .condition-2 {
    background-image:url(../images/5.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 100px;
    
  
}

#why-rwanda  .condition-2-bg{
    padding: 120px 50px;
    background-color: #ed2f36;
}
.value-section h3{
    color: #ed2f36;
}
.value-section .about-one__box i{
    color: #f8b430;
}
.value-section .about-one__box:hover h4 a{
    color: #f8b430;
}
.value-section .about-one__box h4 a{
    color: #fff;
}
.value-section .about-one__box:hover i{
    color: #fff;
}

/*Flex sections */

.condition-2-value{
    background-image:url(../images/11.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 100px;
}
.condition-2-bg-value{
    padding: 100px 50px;
    background-image: url(../images/shapes/pattern-bg.png);
    background-color: #1f1f2e;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.condition-2-nyanza{
     background-image:url(../images/backgrounds/nyanza.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 100px;
}
.condition-2-rwamagana{
     background-image:url(../images/backgrounds/rwamagana.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 100px;
}
.condition-2-yagatare{
    background-image:url(../images/backgrounds/nyagatare.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 100px;
}

#why-rwanda .about-three__summery p{
    margin-bottom: 15px;
    color: #ffff;
}
#why-rwanda .condition-2-bg h3{
    color: #f5f5f5;
    font-size: 30px !important;
    line-height: 35px;
}
#why-rwanda  .block-title {
    margin-bottom: 25px;
}
#why-rwanda .about-one__icon-row{
    margin-bottom: 0;
}
#product-home .team-one__summery p{
    margin-bottom: 15px;
}
.ovalay-p{
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #fff !important;
}
#product-home .team-card__image{
    border-radius: 0;
}
.about-one__box a{
    background-color: #ed2f36 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 10px 15px;
    font-weight: 400 !important;
}

#org-sec{
    background-color: #f1f1f1;
    padding: 80px 0;
}
#org-sec h2{
    padding: 15px 0 !important;
    color: #ed2f36;
}
.div-picture img{
    width: 100%;
}

/* from index */

.hero-slider { padding: 0; }
.hero-image, .hero-image-small { width: 100%; position: relative; }
.hero-image { display: flex; align-items: center; justify-content: center; } /* Center the overlay-text both horizontally and vertically */
.ad-container { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.overlay-slider { width: 100%; position: relative; }
.overlay-text { 
    background: rgba(0, 0, 0, 0.5); 
    color: white; 
    width: 100%; 
    height: 50%; /* Reduced height */
    display: none; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
    text-align: center; 
    margin-top: 200px;
} /* Full width, reduced height, hidden by default */
.overlay-text.active { display: flex; } /* Show active slide */
.overlay-content { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    gap: 20px; 
}
.overlay-image { 
    width: 40%; 
    height: 200px; 
    background-size: cover; 
    border-radius: 5px; 
}
.overlay-text-content { 
    width: 50%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.news-label { background: red; color: white; padding: 5px 10px; font-size: 14px; margin-bottom: 15px; }
.news-label .highlight, .hero-title .highlight { color: red; }
.hero-title { font-size: 36px; margin-bottom: 15px; }
.hero-subtitle { font-size: 18px; margin-bottom: 20px; }
.learn-more { color: white; background: #a30000; padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 5px; }
.learn-more span { margin-left: 5px; }
.overlay-text-small { background: rgba(0, 0, 0, 0.8); padding: 30px; border-radius: 10px; text-align: center; }
.hero-heading { color: white; font-size: 28px; margin-bottom: 10px; }
.form-info { color: gray; font-size: 14px; margin-bottom: 10px; }
.form-toggle-buttons { margin-bottom: 20px; }
.form-toggle-btn { background: #333; color: white; border: none; padding: 10px 20px; margin: 0 5px; cursor: pointer; }
.form-toggle-btn.active { background: red; }
.contact-form { display: none; }
.contact-form.active { display: block; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; }
.contact-form textarea { height: 100px; }
.contact-form button { background: red; color: white; border: none; padding: 10px 20px; cursor: pointer; width: 100%; }
.footer-text { text-align: center; background: #1a252f; color: white; padding: 10px 0; font-size: 14px; }

/* media query */

@media only screen and  (max-width: 768px) {
    /* Styles for phones and iPads */
    .free-version-banner .section-title h2{
        line-height: unset !important;
    }
    #why-rwanda .condition-2-bg h3{
        font-size: 25px !important;
    }
    .grid-flex {
        /* height: 40em; */
        display: -webkit-flex !important;
        -webkit-flex-direction: column !important;
        flex-direction: column;
    }
    .left {
        order: 2;
    }
    .right {
        order: 1;
    }
    .condition-2-bg-value{
        padding: 50px 20px;
    }
    #sub-pro {
        padding-bottom: 100px;
        padding-top: 90px;
    }
    
    #about-section{
        padding: 70px 20px !important;
    }

    .navbar-brand img {
        width: 80px !important;
    }

    .toolbar-area{
        display: none;
    }

    .hero-slider{
        margin-top: 50px !important;
    }
  
  }
  