:root {
   /* --primary-color: #631f06; */
   --primary-color:#f77c30;
   --secondary-color: #2c3e50;
   --light-color: #f8f9fa;
   --dark-color: #343a40;
   --success-color: #27ae60;
   --warning-color: #e67e22;
   --text-color: #7f8c8d;
 }

 .btn-charity, .btn-charity:hover, .btn-charity:visited {
    background-color: var( --primary-color);
    border-color: var( --primary-color);
    align-items: center;
}

button.btn.btn-primary.back-to-top.rounded-circle.show {
    background: var( --primary-color);
}

.btn-charity:visited{
  border: none;
}
.carousel-item{
  height: 650px;
}
 /* Hamburger Menu Styles */
 .navbar-toggler {
     border-color: rgba(255, 255, 255, 0.1);
     padding: 0.25rem 0.5rem;
 }

 .navbar-toggler-icon {
     width: 1.5em;
     height: 1.5em;
     background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
 }

 /* Make hamburger visible on mobile */
 @media (max-width: 991.98px) {
     .navbar-toggler {
         display: block !important;
     }
 }
.footer {
background-color: #2c3e50;
position: relative;
}

.hover-primary {
transition: color 0.3s ease;
}

.hover-primary:hover {
color: var( --primary-color) !important;
}


.back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.back-to-top.show {
opacity: 1;
visibility: visible;
}

.btn-primary {
background-color: var( --primary-color);
border-color: var( --primary-color);
}

.btn-primary:hover {
background-color: #c2185b;
border-color: #c2185b;
transform: translateY(-2px);
}


 /* Custom Styles */
 .top-nav {
   background-color: var( --primary-color); /* Example color, adjust as needed */
   color: white;
   top: 0;
   width: 100%;
   z-index: 1000;
 }
 .main-nav {
   background-color: white; /* Adjust as needed */
   padding: 15px 0;
   position: fixed;
   top: 40px; /* Adjust based on top-nav height */
   width: 100%;
   z-index: 999;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow */
 }
 .nav-link {
   color: black !important;
   padding: 0.5rem 1rem !important;
 }
 .nav-link:hover {
   color: var( --primary-color) !important;
 }
 .navbar-brand img {
   max-height: 64px;
 }
 .top-nav a {
   color: white;
   text-decoration: none;
 }
 .top-nav a:hover {
   color: #ccc;
 }
 
 .top-nav .social-icons i {
   font-size: 1.2em;
 }
 /* Slider / Carousel Custom Styles */
 .carousel-caption {
   background: rgba(0, 0, 0, 0.5);
   padding: 20px;
   border-radius: 10px;
 }


     /* start */

/* Impact Section Styles */
.impact-section {
 background-color: #f8f9fa;
}

.section-header .section-title {
 font-size: 2.5rem;
 font-weight: 700;
 color: #2c3e50;
 margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
 font-size: 1.1rem;
 color: #7f8c8d;
 max-width: 700px;
 margin: 0 auto;
}

.impact-card {
 border: none;
 border-radius: 15px;
 overflow: hidden;
 box-shadow: 0 5px 15px rgba(0,0,0,0.1);
 transition: all 0.3s ease;
 background: white;
}

.impact-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-icon {
 color: var( --primary-color);
}

.impact-card .card-title {
 font-weight: 600;
 color: #2c3e50;
 margin-bottom: 1rem;
}

.impact-number {
 font-weight: 700;
 color: var( --primary-color);
 margin: 1rem 0;
}

.impact-card .card-text {
 color: #7f8c8d;
 font-size: 1rem;
}

@media (max-width: 767.98px) {
 .section-header .section-title {
   font-size: 2rem;
 }
 
 .impact-number {
   font-size: 2.5rem;
 }
}

.charity-section {
padding: 80px 0;
position: relative;
}

.food-section {
background-color: #f8f9fa;
}

.health-section {
background-color: #fff5f7;
}

.section-title {
color: #2c3e50;
font-weight: 700;
margin-bottom: 30px;
position: relative;
font-size: 2.5rem;
}

.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: var( --primary-color);
margin: 15px auto 25px;
}

.section-img {
border-radius: 15px;
transition: transform 0.3s ease;
}

.section-img:hover {
transform: scale(1.02);
}

.content-block {
padding: 30px;
background: white;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.icon-box {
width: 60px;
height: 60px;
background: var( --primary-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 25px;
}

.icon-box i {
color: white;
font-size: 1.8rem;
}

.impact-list {
list-style: none;
padding-left: 0;
}

.impact-list li {
padding: 12px 0;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 30px;
}

.impact-list li::before {
content: "\f058";
font-family: "Font Awesome 5 Free";
color: var( --primary-color);
position: absolute;
left: 0;
top: 12px;
}

.btn-primary {
background-color: var( --primary-color);
border-color: var( --primary-color);
padding: 12px 30px;
border-radius: 30px;
font-weight: 600;
margin-top: 20px;
}

.btn-primary:hover {
background-color: #b91552;
border-color: #b91552;
}

@media (max-width: 992px) {
.section-title {
   font-size: 2rem;
}

.content-block {
   margin-top: 30px;
}

.section-img {
   margin-bottom: 30px;
}
}
     /* end */
 /* Adjust content margin to account for fixed navbar */
 /* body {
     padding-top: 120px;
 } */
 
 @media (max-width: 991.98px) {
     .main-nav {
         padding: 10px 0;
     }
     /* body {
         padding-top: 100px;
     } */
     .top-nav {
         padding: 5px 0;
     }
 }




.carousel-caption {
 right: 10%;
 left: auto;
 top: 50%;
 transform: translateY(-50%);
 text-align: right;
 width: 40%;
 padding: 30px;
 background-color: rgba(255, 255, 255, 0.85);
 border-radius: 10px;
 color: #333;
}

.carousel-caption h2 {
 font-size: 2.5rem;
 text-shadow: none;
 margin-bottom: 15px;
}

.carousel-caption .lead {
 font-size: 1.25rem;
 text-shadow: none;
}

.carousel-item {
 height: 600px;
}

.carousel-item img {
 object-fit: cover;
 height: 100%;
}

.text-primary {
 color: #2c3e50 !important;
}

.text-success {
 color: #27ae60 !important;
}

.text-warning {
 color: #e67e22 !important;
}

@media (max-width: 768px) {
 .carousel-caption {
   width: 80%;
   right: 10%;
   left: 10%;
 }
 
 .carousel-caption h2 {
   font-size: 1.8rem;
 }
 
 .carousel-caption .lead {
   font-size: 1rem;
 }
 
 .carousel-item {
   height: 400px;
 }
}


.vision-section {
position: relative;
background: linear-gradient(rgba(92, 58, 46, 0.9), rgb(248 112 29 / 44%)), url(img/Medical/medical5.jpg) center / cover fixed;
color: white;
padding: 8rem 0;
min-height: 80vh;
display: flex;
align-items: center;
transition: all 0.5s ease;
}

.vision-title {
font-size: 2.5rem;
font-weight: 700;
color: #fff;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 1rem;
}

.vision-title::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 3px;
background: var( --primary-color);
}

.vision-text {
font-size: 1.1rem;
line-height: 1.8;
margin-bottom: 1.5rem;
opacity: 0.9;
}

.vision-btn {
background-color: var( --primary-color);
color: white;
padding: 1rem 2.5rem;
border-radius: 30px;
font-weight: 600;
border: none;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}

.vision-btn:hover {
background-color: #b9154f;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
.vision-section {
 padding: 5rem 0;
 min-height: auto;
}

.vision-title {
 font-size: 2rem;
}

.vision-text {
 font-size: 1rem;
}
}


.newsletter-form .form-control:focus {
         box-shadow: none;
         border-color: var( --primary-color);
     }
     
     .newsletter-form .btn-primary {
         background-color: var( --primary-color);
         border-color: var( --primary-color);
         display: flex;
         align-items: center;
         padding: 0.575rem 1.5rem;
     }
     
     .newsletter-form .btn-primary:hover {
         background-color: #b91552;
         border-color: #b91552;
         transform: translateX(5px);
     }
     
     @media (max-width: 768px) {
         .newsletter-form .input-group {
             flex-direction: column;
         }
         
         .newsletter-form .form-control {
             border-radius: 25px !important;
             margin-bottom: 10px;
             border-right: 1px solid var( --primary-color) !important;
         }
         
         .newsletter-form button {
             border-radius: 25px !important;
             width: 100%;
             justify-content: center;
         }
     }


     .top-nav {
 font-size: 0.9rem;
 min-height: 40px;
}

.top-nav .nav-link {
 color: rgba(255,255,255,0.8) !important;
 transition: all 0.3s ease;
 padding: 0.25rem 0.5rem !important;
}

.top-nav .nav-link:hover {
 color: var(--primary-color) !important;
 transform: translateY(-1px);
}

.social-icons a {
 color: rgba(255,255,255,0.8);
 transition: all 0.3s ease;
 text-decoration: none;
}

.social-icons a:hover {
 color: var(--primary-color) !important;
 transform: translateY(-2px);
}

@media (max-width: 992px) {
 .top-nav {
     text-align: center;
     padding: 0.5rem 0;
 }
 
 .top-nav .nav-item {
     padding: 0.25rem 0;
 }
 
 .social-icons {
     justify-content: center;
     padding-top: 0.5rem;
 }
 
 .social-icons a {
     margin: 0 0.75rem;
 }
}


.icon-box {
 background-color: rgba(216, 27, 96, 0.1) !important; /* Primary color with 10% opacity */
 width: 70px;
 height: 70px;
 border-radius: 15px;
}

.icon-box i {
 color: var(--primary-color) !important;
 transition: all 0.3s ease;
}

.icon-box:hover i {
 transform: scale(1.1);
}

.text-primary {
 color: var(--primary-color) !important;
}


/* about us  1 April 25*/
/* Add these styles to your existing CSS */
.about-hero {
    background-color: #f8f9fa;
    padding: 100px 0;
}


.value-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(216,27,96,0.1);
}

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

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-bottom: 30px;
}

.timeline-year {
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    background: #e1d8d8;
    padding: 6px;
    border-radius: 12px;
}

.timeline-content {
    padding-left: 60px;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding: 10px 20px 10px 60px;
    }
    
    .timeline-content {
        padding-left: 20px;
    }
}


.col-lg-4.text-lg-end.cta-buttons {
    display: contents;
}

section.cta-section {
    background-color: #fc7b2e;
    color: white;
}
section.cta-section h2 {
    color: #ffffff;
}

/* banner all pages */

.contact-hero {
    padding: 100px 0;
}

.contact-card {
    background: white;
    border-radius: 15px;
}

.contact-info-card {
    border-radius: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b9154f !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #eee;
    /*padding: 12px 15px;*/
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #d81b60;
    box-shadow: none;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-card,
    .contact-info-card {
        margin-bottom: 30px;
    }
}


/* banner breadcrums 1 April 25 */
.page-banner {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.7) 100%); */
    background: linear-gradient(to right, rgb(208 228 115 / 90%) 0%, rgb(249 123 47) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-flex;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: ">";
}

@media (max-width: 768px) {
    .page-banner {
        height: 280px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}



.volunteer-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  background: #f4f8fc;
}

.volunteer-info,
.volunteer-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.volunteer-info img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.volunteer-info h2 {
  color: #1e3a5f;
  font-size: 24px;
  margin-bottom: 15px;
}

.quote-box {
  background: #eef6ff;
  padding: 15px 20px;
  border-left: 4px solid #3498db;
  font-style: italic;
  margin-bottom: 20px;
  border-radius: 6px;
  color: #333;
}

.volunteer-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.volunteer-info ul li {
  padding: 8px 0;
  font-size: 15px;
  color: #2c3e50;
}

.note-box {
  background: #f0f8f0;
  border-left: 5px solid #2ecc71;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #2f4f4f;
}

.volunteer-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #2c3e50;
}

.volunteer-form form {
  display: flex;
  flex-direction: column;
}

.volunteer-form label {
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 5px;
  color: #333;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.volunteer-form textarea {
  resize: vertical;
}

.volunteer-form button {
  margin-top: 20px;
  padding: 12px;
  background-color: #f97c31;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.volunteer-form button:hover {
  background-color: #2980b9;
}



  .form-overlay {
    display: none;
    position: absolute;
    background: rgba(236, 176, 46, 0.9);
    color: #fff;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 10;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    border-radius: 10px;
  }

  .check-icon {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  #VolunteerFormWrapper {
    position: relative;
  }

  #VolunteerForm {
    position: relative;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }



  .nav-link.active {
  background-color: #ffffff;
  color: #f77c30 !important;
  border-radius: 5px;
}

 /* Floating WhatsApp Icon */
      .whatsapp-float {
            position: fixed;
            bottom: 100px;
            right: 20px;
            z-index: 1000;
            animation: float 3s ease-in-out infinite;
        }
        .whatsapp-float img {
            width: 60px;
            height: 60px;
            border-radius: 20%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }
        .whatsapp-float img:hover {
            transform: scale(1.1);
        }

        @keyframes float {
          0%, 100% {
            transform: translateY(0);
          }
          50% {
            transform: translateY(-10px);
          }
        }

        .floating {
          animation: float 3s ease-in-out infinite;
        }
/* horizontal scrooll fixed for mobile */

      /* Prevent horizontal overflow globally */
html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Fix for container overflow */
.container {
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Fix for timeline section */
.timeline {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.timeline-item {
  width: 100%;
  box-sizing: border-box;
}

/* Fix for team cards */
.team-card img {
  max-width: 100%;
  height: auto;
}

/* Fix for value cards */
.value-card {
  max-width: 100%;
}

/* Fix for social icons in top nav */
.top-nav .social-icons {
  flex-wrap: nowrap;
  max-width: 100%;
}

.top-nav .social-icons a {
  margin: 0 5px;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .top-nav .navbar-nav.flex-row {
      flex-wrap: wrap;
  }
  
  .top-nav .social-icons a {
      margin: 0 3px;
  }
  
  .timeline-item {
      flex-direction: column;
  }
  
  .timeline-year {
      margin-bottom: 10px;
  }
}