 :root {
    --primary-color: #00a651;
    --secondary-color: #21323b;
    --accent-color: #fefee3;
    --light-color: #fefee3;
    --dark-color: #2c3e50;
}

 .top-navbar {
    background-color: var(--primary-color); /* First section background color */
    color: white;
    font-size: 0.9rem;
}
.top-navbar .nav-link {
    color: white;
    padding: 0.3rem 0.7rem;
}
.main-navbar {
    background-color: #21323b; /* Second section menu background color */
}
.main-navbar .navbar-brand {
    color: white;
    font-size: 1.5rem;
}
.main-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75); /* Link color */
    padding: 0.8rem 1rem;
}
.main-navbar .navbar-nav .nav-link:hover {
     color: white; /* Link hover color */
}
.main-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}
.main-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1); /* Makes the toggler icon white */
}

.donate-button {
background-color: var(--primary-color);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
}
.donate-button:hover {
 background-color: #008c45;
 color: white;
}

.btn-primary {
background-color: var(--primary-color);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
}
.btn-primary:hover {
 background-color: #008c45;
 color: white;
}

.btn-secondary {
background-color: var(--secondary-color);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
}
.btn-secondary:hover {
 background-color: white;
 color: var(--secondary-color);
 border-color: var(--secondary-color);
 border-width: 1px;
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

.bg-primary-custom {
    background-color: var(--primary-color);
}
.text-primary-custom {
    color: var(--primary-color);
}
/* Custom alignment for menu items */
@media (min-width: 992px) {
    .main-navbar .navbar-collapse {
        display: flex;
        justify-content: center;
    }
    .main-navbar .navbar-nav {
        flex-grow: 0; /* Prevent nav from taking full width */
    }
     .main-navbar .navbar-nav .nav-item {
        margin-right: 1rem; /* Adjust spacing between menu items */
     }
     .main-navbar .donate-container {
         margin-left: auto; /* Push donate button to the right */
     }
}

.carousel {
    position: relative; /* Needed for absolute positioning of the overlay */
}

.carousel-item {
    max-width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10; /* Ensure overlay is above the carousel images */
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    color: white; /* Adjust text color for readability */
    /* Add a background overlay if needed, e.g., rgba(0, 0, 0, 0.5); */
    background-color: rgba(33, 50, 59, 0.5);
}

.carousel-overlay h1,
.carousel-overlay p {
    color: white; /* Ensure text remains white */
}

.tab-class a {
    text-decoration: none;
}

.feature-section {
    background: url('assets/img/hero_2.jpg') no-repeat center center; /* Replace with your background image */
    background-size: cover;
    position: relative;
    padding: 80px 0; /* Adjust padding as needed */
    color: white; /* Default text color for the section */
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(33, 50, 59, 0.8); /* Semi-transparent dark overlay */
    z-index: 1;
}

.feature-section .container {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.feature-item {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */
    padding: 20px;
    margin-bottom: 30px; /* Space between feature items */
    display: flex;
    align-items: flex-start; /* Align items to the top */
    border-radius: 8px; /* Rounded corners */
}

.feature-item .number {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 20px;
    color: #00a651; /* Number color */
}

.feature-item .content {
    flex-grow: 1;
}

.feature-item h5 {
    color: white;
    margin-bottom: 10px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8); /* Slightly lighter text for description */
    font-size: 0.95rem;
}

.section-title {
 font-style: italic;
 margin-bottom: 20px;
}

footer {
    background-color: var(--secondary-color);
    color: white;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
}

.social-icon:hover {
    color: white;
}

.impact-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.bg-secondary-custom {
    background-color: var(--secondary-color);
}

.timeline {
     background-color: black;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-icon {
    position: absolute;
    left: -50px;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.75rem;
    color: var(--primary);
}

.divider {
    width: 80px;
    height: 3px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-icon {
        left: -30px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

  .founder-img {
      max-width: 200px;
      max-height: 200px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 20px;
    }