.header-item:hover {
    color: var(--theme-color);
    cursor: pointer;
}

.header-item:hover svg path {
    fill: var(--theme-color);
}

.category-header-parent {
    background: #F3F3F3 !important;
}

.category-header {
    background: #F3F3F3 !important;
}

.category-header ul {
    background: #F3F3F3 !important;
}

.donation-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.donation-image {
    height: 400px;
    object-fit: cover;
}

.btn-primary {
    background-color: var(--theme-color) !important;
    color: white;
}

.btn-selected {
    background-color: var(--theme-color);
    color: white;
}

.most-need-btn {
    background-color: #DF3B2C;
    color: white;
    transition: background-color 0.3s ease-in-out;
}

.most-need-btn:hover {
    background-color: #C63226; /* Darker shade for hover */
}

.wishlist-option {
    box-shadow: 0 0 2px var(--theme-color), 0 0 4px var(--theme-color);
}

/* Glowing effect on hover */
.wishlist-option:hover {
    box-shadow: 0 0 3px var(--theme-color), 0 0 6px var(--theme-color) !important;
}

.tab-container {
    background-color: #f5f5f5;
    border-radius: 9999px;
    padding: 0;
    overflow: hidden;
}

.tab-button {
    border-radius: 9999px;
    border: none;
    transition: all 0.15s ease;
}

.tab-button.active {
    background-color: var(--theme-color);
    color: white;
    font-weight: 500;
}

.text-education {
    color: var(--theme-color);
}

.text-health {
    color: #4361ee;
}

.text-construction {
    color: #7209b7;
}

.progress-bar-success {
    background-color: var(--theme-color);
}

.card-container {
    position: relative;
    /*width: 350px;*/
}

.card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 80%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 90%;
}

.progress-bar {
    height: 5px;
    background: lightgray;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    width: 60%;
    height: 100%;
    background: var(--theme-color);
}

.swiper-slide-2 {
    height: 500px; /* Increase height to accommodate the card */
}

/* Container to hold navigation buttons below slider */
.swiper-nav-buttons {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin-top: 20px; /* Add spacing below the slider */
}

/* Circular button styles */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: white; /* Light gray background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: static !important; /* Remove absolute positioning */
    margin: 0 10px; /* Space between buttons */
}

/* Default icon color */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    color: gray; /* Default gray arrow */
}

/* Hover effect */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: var(--theme-color); /* Green arrow on hover */
}

.success-section-badge {
    background-color: #ebf7ee;
    color: var(--theme-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.success-info-card {
    background-color: white;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.success-story-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.success-story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.success-arrow-icon {
    color: #f05656;
    margin-left: 8px;
}

.success-know-more {
    color: #f05656;
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.success-know-more:hover {
    opacity: 0.8;
}

.success-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

@media (min-width: 768px) {
    .success-grid-layout {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }

    .success-info-section {
        grid-column: 1;
        grid-row: 1;
        background: #F3F3F3 !important;
    }

    .success-card-top-right-1 {
        grid-column: 2;
        grid-row: 1;
    }

    .success-card-top-right-2 {
        grid-column: 3;
        grid-row: 1;
    }

    .success-card-bottom-1 {
        grid-column: 1;
        grid-row: 2;
    }

    .success-card-bottom-2 {
        grid-column: 2;
        grid-row: 2;
    }

    .success-card-bottom-3 {
        grid-column: 3;
        grid-row: 2;
    }
}

.donation-amount-input {
    color: var(--theme-color)
}

.donation-amount-input:focus {
    border-color: var(--theme-color)
}
