: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 0 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: #fc7b2e(55, 50, 50, 0.85) !important; */
  background-color: #e67e22 !important;
  border-radius: 10px;
  color: #f4f2f1;
}

.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(https://images.unsplash.com/photo-1509099836639-18ba1795216d) 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;
}

.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%
  );
  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;
  }
}
