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

body {
    font-family: 'Inter', sans-serif;
    color: #4B5563;
}

.hero-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-21.jpg');
}

.hero-about-us-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-18.jpg');
}

.hero-programs-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-10.jpg');
}

.hero-contact-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-1.jpg');
}

.hero-donate-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-19.jpg');
}

.hero-blog-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-17.jpg');
}

.hero-where-bg {
    background-image: url('https://yupaychay.org/img/yupaychay-15.jpg');
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

/* Custom styles for the carousel */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    flex-shrink: 0;
    width: 100%;
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #10B981, #059669);
    background: linear-gradient(to right, #10B981, #059669);
    -webkit-text-fill-color: transparent;
}

.loader {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #10B981;
    /* Green */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.donation-option {
    transition: all 0.2s ease-in-out;
}

.donation-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.donation-option.selected {
    border-color: #10B981;
    background-color: #D1FAE5;
}

/* Style for the custom message box */
#messageBox {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #10B981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#messageBox.show {
    opacity: 1;
}
