:root {
    --blue: #004aad;
    --pink: #ff4da6;
    --beige: #d6a373;
    --dark: #101318;
    --light: #f7f8fb;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

a {
    text-decoration: none;
}

/* Top bar */
.top-bar {
    background: var(--light);
    font-size: .95rem;
}

.top-bar a {
    color: var(--dark);
}

.top-bar i {
    vertical-align: -1px;
}

.social a {
    opacity: .8;
}

.social a:hover {
    opacity: 1;
    color: var(--blue);
}

/* Navbar */
.navbar {
    background: #fff;
}

.navbar-brand span {
    color: var(--blue);
}

.navbar-brand img {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    margin-right: 10px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--blue);
}

.nav-link.active {
    color: var(--pink) !important;
}

.donate-btn {
    background: linear-gradient(135deg, var(--pink), #ff6bb7);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .55rem 1.1rem;
    box-shadow: 0 8px 20px rgba(255, 77, 166, .25);
}

.donate-btn:hover {
    filter: brightness(.95);
    color: #fff;
}

.donate-btn-primary {
    background: linear-gradient(135deg, var(--blue), #2c6de0);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .55rem 1.1rem;
    box-shadow: 0 8px 20px rgba(255, 77, 166, .25);
}

.donate-btn-primary:hover {
    filter: brightness(.95);
    color: #fff;
}

/* Carousel */
.hero .carousel-item img {
    height: 520px;
    object-fit: cover;
    filter: brightness(.85);
}

.hero .caption-wrap {
    background: linear-gradient(90deg, rgba(16, 19, 24, .85), rgba(16, 19, 24, .1));
    border-left: 4px solid var(--pink);
    border-radius: .5rem;
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
}

.section-kicker {
    text-align: center;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: .06em;
}

.divider {
    width: 86px;
    height: 4px;
    margin: 14px auto 34px;
    background:
        linear-gradient(90deg, var(--pink), var(--beige), var(--blue));
    border-radius: 8px;
}

#about img {
    object-fit: cover;
}

/* Impact */
.impact-card {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    padding: 28px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
}

.impact-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), #2c6de0);
    margin-bottom: 10px;
}

/* Testimonials */
.testi-card {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    padding: 24px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
    border-top: 4px solid var(--pink);
}

.quote {
    font-size: 2rem;
    line-height: 0;
    color: var(--beige);
}

#testimonials {
    position: relative;
}

#testimonials .testi-outside {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: var(--blue);
    opacity: .7;
    z-index: 10;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

#testimonials .testi-outside:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

#testimonials .testi-arrow svg {
    display: block;
}

@media (max-width: 992px) {
    #testimonials .testi-outside {
        display: none;
    }
}

/* Contact */
.contact-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
}

.btn-primary:hover {
    background: #003b8a;
    border-color: #003b8a;
}

/* Footer */
footer {
    background: var(--dark);
    color: #cbd1d8;
}

/* Modal */
.qr-img {
    transition: transform 0.2s ease;
}

.qr-img:hover {
    transform: scale(1.03);
}

.bank-info {
    border: 1px solid rgba(0, 123, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bank-info p {
    margin-bottom: 0.3rem;
}

/* Upcoming Events */
.event-card {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
}

.event-thumb {
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.event-meta {
    font-size: .9rem;
    color: #6c757d;
}

.event-poster {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    min-height: 350px;
}

.progress {
    height: 10px;
    background: #eef1f6;
    border-radius: 999px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--pink), var(--beige), var(--blue));
    border-radius: 999px;
}

.badge-date {
    background: var(--blue);
    color: #fff;
    font-weight: 600;
}

.btn-outline-theme {
    border-color: var(--pink);
    color: var(--pink);
}

.btn-outline-theme:hover {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
}

#event .event-card {
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

#event .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.event-card .badge {
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}

.qr-img {
    max-width: 260px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}