*{
    background-color: transparent;
    scroll-behavior: smooth;
}
html, body{
    height: 100%;
}
/*-----------------navigation---------------*/
#navy{
    background-color: #fff;
}
.navbar {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}      
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
}
.logo {
    padding: 0px 0px;
}
.logo img{
    width: 150px;
    height: 50px;
}
/* Desktop menu */
.nav-menu {
    display: flex;
    list-style: none;

}
.nav-menu a{
    text-decoration: none;
}        
.nav-item {
    margin-left: 1.5rem;
}       
.nav-link {
    color: #080808;
    font-size: 16px;
    transition: color 0.3s;
    padding: 12px 0;  
    display: block;
    position: relative;
}
.nav-link:hover {
    color: #8B2F4D;
}
.nav-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Just below the text*/
    width: 0%;
    height: 2px;
    background-color: #8B2F4D;
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after{
    width: 75%; /* 100% for full underline */
}
.nav-link a{
    text-decoration: none;
}     
/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}  
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #080808;
    transition: all 0.3s ease;
}
/*donate button*/
#donbtn{
    background: #8B2F4D;
    display: block;
    margin: 0px auto;
    margin-left: 30px;
    width: fit-content;
    border: 1px solid #fff;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff ;
    transition: background 0.5s;
}
#donbtn:hover{
    background: #fff;
    color: #8B2F4D;
    border: 1px solid #8B2F4D;
}
/* Mobile menu */
@media (max-width: 768px) {
.hamburger {
    display: block;
    position: relative;
    margin-right: 5px;
}
            
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
            
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
            
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 70vh;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 100;
    padding-top: 80px;
    /* overflow-y: auto; */
}
            
.nav-menu.active {
    transform: translateY(0);
}
.nav-menu a{
    text-decoration: none;
}
#donbtn{
    background: #8B2F4D;
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #fff;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff ;
    transition: background 0.5s;
}
#donbtn:hover{
    background: #fff;
    color: #8B2F4D;
    border: 1px solid #8B2F4D;
}
.nav-item {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
}
.nav-link{
    padding: 1rem;
    font-size: 1.2rem;
  }
}
/*-------------slideshow-----------------*/
#slidesect{
    background-color: #8B2F4D;
}
#slidesect, .item{
    height: auto;
    max-height: 855px;
}
#slidesect, .item img{
    display: block;
    margin-left: auto;
    margin-right: auto ;
    object-fit: contain;
}
/*-----------------our impact---------------*/
#ourimpact{
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 2;
    font-size: 15px;
    font-weight: 60px;
    text-align: center;
}
#ourimpact img{
    max-height: 500px;
    max-width: 400px;
}
#ourimpact h1{
    text-align: center;
    color: #8B2F4D;
}
/*-----------------what we do---------------*/
#whatwedo{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #8B2F4D;
}
.thumbnail{
    min-height: 650px;
}
#whatwedo img{
    height: 100%;
    width: 100%;
}
#whatwedo h1{
    color: white;
    text-align: center;
    padding-top: 10px;
}
#whatwedo .caption h2{
    color: #8B2F4D;
    font-size: 20px;
}
#whatwedo .butn{
    background: #8B2F4D;
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #fff;
    padding: 14px 50px;
    border-radius: 6px;
    color: #fff ;
    transition: background 0.5s;
}
#whatwedo .butn:hover{
    background: #fff;
    color: black;
}
/*-----------------our numbers---------------*/
#ournumbers{
    padding-top: 100px;
    padding-bottom: 100px;
}
#ournumbers h1{
    color: #8B2F4D;
    font-weight: 100px;
}
/*-----------------partners---------------*/
#ourpartners{
    background-color: #8B2F4D;
}
#ourpartners .row,.container h1 span{
    text-align: center;
    color: #fff;
    padding: 50px;
}
.belt-wrapper {
  overflow: hidden;
  width: 100%;
}

.belt-track {
  display: flex;
  width: max-content;
  animation: scrollBelt 20s linear infinite;
}

.belt-track img {
  height: 200px;
  margin: 0 20px;
  object-fit: contain;
}

@keyframes scrollBelt {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/*-----------------support---------------*/
#support{
    padding-top: 50px;
    padding-bottom: 50px;
}
#support h1{
    color: #8B2F4D;
}
#btn2{
        background: #8B2F4D;
        display: block;
        margin: 50px auto;
        width: fit-content;
        border: 1px solid #fff;
        padding: 14px 40px;
        border-radius: 6px;
        color: #fff ;
        transition: background 0.5s;
}
#btn2:hover{
    background: #fff;
    color: #8B2F4D;
    border: 1px solid #8B2F4D;
}

/*-----------------socials---------------*/
#foot{
    background-color: #8B2F4D;
    padding-bottom: 20px;
}
#foot span h1{
    color: #fff;
    text-align: center;
    font-weight: 100;
}
#foot h4{
    color: #fff;
    text-align: center;
    padding-top: 20px;
}
.social-icons{
    width: 100%;
    margin-top: 30px;
    text-align: center;
    word-spacing: 20px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    color: #ababab;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #fff;
    transform: translateY(-5px);
}
form label{
    color: #fff;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #fff;
    padding: 15px;
    margin: 15px 0;
    font-size: 18px;
    border-radius: 6px;
}

form .btn31{
    text-align: center;
    justify-content: center;
    padding: 14px 60px;
    margin-top: 20px;
    cursor: pointer;
    border: 1px solid #8B2F4D;
    background-color: #fff;
    border-radius: 5px;
    color: #080808;
    transition: background 0.5s;
}
.btn31:hover{
    background-color: #8B2F4D;
    border: 1px solid #fff;
    color: #fff;
}
.copyright{
    background-color: #262626;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    font-weight: 300;
    color: #fff;
}
/*----------------------programs page*/
#programslogo .container{
    background-color: #8B2F4D;
    width: auto;
    margin-top: 20px;
}
#programslogo .logo{
    color: #fff;
    font-size: 40px;
    background-color: transparent;
}
#ourprograms{
    background-color: #8B2F4D;
    padding-bottom: 20px;
}
.our-programs{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
    color: #fff;
}
.our-programs div{
    background: #262626;
    padding: 20px;
    font-size: 13px;
    font-weight: 100;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    border: 1px solid #fff ;
}
#ourprograms div h1{
    color: #fff;
    text-align: center;
    margin-top: 20px;
}
.our-programs div h2{
    color:#8B2F4D;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.our-programs div a{
    text-decoration: none;
    color: #8B2F4D;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.our-programs div:hover{
    background: #ababab;
    transform: translateY(-10px);
    color: #080808;
}
#toggle-button{
    padding-bottom: 20px;
    text-align: center;
    background-color: #8B2F4D;
    width: 100%;
}
.toggle-button{
    padding: 14px 60px;
    margin-top: 10px;
    cursor: pointer;
    border: 1px solid #fff;
    background-color: #8B2F4D;
    border-radius: 5px;
    color: #fff;
}
.toggle-button:hover{
    background-color: #fff;
    color: #8B2F4D;
    border: #8B2F4D 1px solid;
}
/*-----------contacts page*/
#map{
    background-color: #8B2F4D;
    justify-content: center;
    text-align: center;
    color: #fff;
}
/*--------------------------------------DONATE PAGE---------*/
#donate-options{
    padding-top: 20px;
    padding: 10px;
    background-color: #8B2F4D;
}
#donate-options{
    color: #fff;
}
#donate-options .commet h2 b{
    text-align: center;
    color: #fff;
}
.panel-heading h4{
    color: #8B2F4D;
}
.panel-heading a{
    text-decoration: none;
}
.panel-body{
    background-color: #fff;
    color: #333;
}
#wsyd{
    padding: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
    color: #333;
}
#wsyd h1{
    color: #8B2F4D;
    text-align: center;
}
#sss{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #8B2F4D;
    color: #fff;
}
/*socials*/
#donfoot{
    background-color: #fff;
    padding-bottom: 20px;
}
#word{
    color: #8B2F4D;
    text-align: center;
    font-weight: 100;
}
#donfoot h4{
    color: #333;
    text-align: center;
    padding-top: 20px;
}
.don-social-icons{
    width: 100%;
    margin-top: 30px;
    text-align: center;
    word-spacing: 20px;
}
.don-social-icons a{
    text-decoration: none;
    font-size: 30px;
    color: #ababab;
    transition: transform 0.5s;
}
.don-social-icons a:hover{
    color: #8B2F4D;
    transform: translateY(-5px);
}
form label{
    color: #8B2F4D;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #ababab;
    padding: 15px;
    margin: 15px 0;
    font-size: 18px;
    border-radius: 6px;
}

form .don-btn3{
    text-align: center;
    justify-content: center;
    padding: 14px 60px;
    margin-top: 20px;
    cursor: pointer;
    border: 1px solid #fff;
    background-color: #ababab;
    border-radius: 5px;
    color: #333;
}
.don-btn3:hover{
    background-color: #8B2F4D;
    color: #fff;
}
/*-------------------------------------------testimonies----------------*/
#testimony{
    background-color: #fff;
    color: #333;
}
#testimony p{
    text-align: center;
}
#testimonies{
    padding: 10px;
    padding-top: 20px;
    background-color: #fff;
    color: #8B2F4D;
}
#testimonies h4{
    color: #080808;
    font-weight: 100px;
}
/*---------------------------------about us-----------------------*/
#aboutus{
    color: #080808;
    padding: 10px;
}
#aboutus h1{
    color: #8B2F4D;
    text-align: center;
}
/*----------------------------partners-----------------------------*/
#partners h1, h2, h3{
    color: #8B2F4D;
    text-align: center;
}
#partners .wpwu,.tps{
    padding: 10px;
}
.testimonial-slider {
  overflow: hidden;
  background: #8B2F4D;
  padding: 2rem 0;
  white-space: nowrap;
}

.testimonial-track {
  display: inline-flex;
  animation: scrollTestimonials 30s linear infinite;
}

.testimonial-card {
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  max-height: 200px;
  min-height: 100px;
  background: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin: 0 1rem;
  min-width: 200px;
  max-width: 300px;
  flex: 0 0 auto;
  font-family: 'Open Sans', sans-serif;
}

.testimonial-card p {
  font-style: italic;
  color: #8B2F4D;
}

.testimonial-card h4 {
  text-align: right;
  margin-top: 1rem;
  color: #777;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/*--------------------------footer----------*/
footer{
    bottom: 0;
    width: 100%;
    z-index: 999;
}
.copyright span{
    color: #8B2F4D;
}
/*----------------button to top --------------*/
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #8B2F4D;
  color: #ffffff;
  padding: 12px 16px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none; /* Hidden until scroll */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #ffffff;
  color: #8B2F4D;
}
/*----------preloader--------------*/
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #fff; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}



