      @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif !important;
}
    body { font-family: 'Segoe UI', sans-serif; background-color: #f8f9fa; }
    .navbar-brand img { width: 60px; }
    .search-bar { width: 250px; }
    .hero-image img { width: 100%; height: auto; border-radius: 6px; }
    .filter-box input, .filter-box select { margin-bottom: 10px; }
    .volunteer-box input, .volunteer-box textarea { margin-bottom: 10px; }
    .volunteer-box label { font-size: 14px; }
    .donate-tag img { height: 150px; object-fit: cover; border-radius: 6px; }
    .beneficiary-card img { height: 80px; width: 80px; border-radius: 6px; object-fit: cover; }
    .feedback { background: #fff; padding: 20px; border-radius: 6px; box-shadow: 0 0 10px rgba(0,0,0,0.05); }
    .footer-links a { margin-right: 10px; text-decoration: none; color: #555; }
    .sidebar-section { background: #fff; padding: 15px; border-radius: 6px; margin-bottom: 15px; }
    .top-donors li, .succeeded-users li { margin-bottom: 10px; font-size: 14px; }
    .quote { font-style: italic; color: #999; text-align: center; margin: 20px 0; }

    #filled:hover {
    background-color: white !important;
    color: black !important;
}
#outlined:hover {
    background-color: #9B5DE5 !important;
    color: white !important;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid black;
  background: white;
  height: 35px;
  border-radius: 50px;
  transition: width 0.4s ease;
  width: 35px;
  overflow: hidden;
  box-sizing: border-box;
}

.search-box:hover {
  width: 180px;
}

.search-input {
  border: none;
  background: none;
  outline: none;
  color: #777;
  font-size: 14px;
  width: 100%;
  padding: 0 5px;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.search-box:hover .search-input {
  opacity: 1;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* bigger to center better */
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}



.fa-search {
  color: #777;
  font-size: 14px;
}
.navbar-toggler{
  border: none;
}
.navbar-toggler-icon {
    background-size: 70% 70%; /* optional, scales the bars inside */
  }
  .tab-pane {
  height: 450px; /* Adjust as needed */
  /* overflow-y: auto; Enable vertical scrolling if content exceeds the height */
}
#filterTabs {
  display: flex;
  justify-content: center; /* Centers the tabs */
  width: 100%; /* Make sure it takes up full width */
}

.nav-item {
  flex-grow: 1; /* Makes each tab take equal space */
  text-align: center; /* Centers the text within each tab */
}

.nav-link {
  width: 100%; /* Ensures that each tab is the same width */
  text-align: center; /* Center text inside each tab */
}
/* profile menu */
.profile {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: end;
}

.profile h4 {
  text-align: end;
  /* line-height: 1; */
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 300;
}

.profile p {
  line-height: 1;
  font-size: 11px;
  opacity: .6;
}

.profile .img-box {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
}

.profile .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* menu (the right one) */
.menu {
  position: absolute;
  top: calc(100% + 15px); /* Position the menu just below the profile */
  right: 35px;
  width: 200px;
  min-height: 100px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
  opacity: 0; /* Make menu initially invisible */
  transform: translateY(-10px); /* Start with a slight vertical shift */
  visibility: hidden; /* Hide the menu by default */
  transition: opacity 300ms, transform 300ms; /* Add smooth transition */
}

.menu::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 70px;
  width: 20px;
  height: 20px;
  background: #fff;
  transform: rotate(45deg);
  z-index: -1;
}

.menu.active {
  z-index: 1;
  opacity: 1; /* Make menu fully visible */
  transform: translateY(0); /* Reset vertical position */
  visibility: visible; /* Show the menu */
}

/* menu links */
.menu ul {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 10;
  background: #fff;
}

.menu ul li {
  list-style: none;
}

.menu ul li:hover {
  background: #eee;
}

.menu ul li a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 6px;
}

.menu ul li a i {
  font-size: 1.2em;
}
.user {
  margin-top: 10px;
}




.beneficiary-card:hover {
  transform: scale(1.01);
  transition: 0.2s ease-in-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}



/* Style for the sidebar section */
.sidebar-section {
  background-color: #f7f9fb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Style for the list of success stories */
.succeeded-users {
  list-style: none;
  padding: 0;
}

.success-story {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  background-color: #ffffff;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.success-story:hover {
  background-color: #e0f7fa;
  transform: translateX(5px);
}

.story-content {
  display: flex;
  align-items: center;
}

.story-icon {
  font-size: 24px;
  margin-right: 15px;
  color: #007bff; /* Blue color for the icons */
}

.story-text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 16px;
  }

  .success-story {
    padding: 10px;
  }

  .story-text {
    font-size: 13px;
  }
}



.title {
  text-align: center;
  margin-bottom: 4rem;
}
.underline {
  height: 0.25rem;
  width: 5rem;
  background: var(--clr-primary-5);
  margin-left: auto;
  margin-right: auto;
}
.container {
  width: 80vw;
  max-width: var(--fixed-width);
}
.review {
  background: var(--clr-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--light-shadow);
  transition: var(--transition);
  text-align: center;
}
.review:hover {
  box-shadow: var(--dark-shadow);
}
.img-container {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}
#person-img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
}
.img-container::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f10e";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(25%);
  background: var(--clr-primary-5);
  color: var(--clr-white);
}
.img-container::before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--clr-primary-5);
  position: absolute;
  top: -0.25rem;
  right: -0.5rem;
  border-radius: 50%;
}
#author {
  margin-bottom: 0.25rem;
}
#job {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--clr-primary-5);
  font-size: 0.85rem;
}
#info {
  margin-bottom: 0.75rem;
}
.prev-btn,
.next-btn {
  color: var(--clr-primary-7);
  font-size: 1.25rem;
  background: transparent;
  border-color: transparent;
  margin: 0 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.prev-btn:hover,
.next-btn:hover {
  color: var(--clr-primary-5);
}
.random-btn {
  margin-top: 0.5rem;
  background: var(--clr-primary-10);
  color: var(--clr-primary-5);
  padding: 0.25rem 0.5rem;
  text-transform: capitalize;
  border-radius: var(--radius);
  transition: var(--transition);
  border-color: var(--clr-primary-5);
  cursor: pointer;
}
.random-btn:hover {
  background: var(--clr-primary-5);
  color: var(--clr-primary-1);
}
  @media (max-width: 576px) {
    .hero-title {
      font-size: 1.5rem;
    }

    .hero-subtitle {
      font-size: 1.2rem !important;
    }

    .hero-btn {
      font-size: 0.85rem !important;
    }
  }

  