@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── NAVBAR ─────────────────────────────────── */
#navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

#navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
}

/* ─── NAV LINKS ───────────────────────────────── */
.nav-link {
    position: relative;
    font-weight: 600;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #eab308;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ─── MOBILE MENU ─────────────────────────────── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.open {
    max-height: 480px;
}

/* ─── SCROLL REVEAL ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ─── HOVER LIFT CARDS ────────────────────────── */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14) !important;
}

/* ─── GRADIENT TEXT ───────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #166534 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── SECTION LABEL ───────────────────────────── */
.section-label {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ─── YELLOW DIVIDER ──────────────────────────── */
.yellow-divider {
    height: 4px;
    width: 48px;
    background: #eab308;
    border-radius: 2px;
    margin-top: 16px;
}

/* ─── HERO PATTERN ────────────────────────────── */
.hero-pattern {
    background-color: #166534;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(234, 179, 8, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

/* ─── PAGE HERO ───────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0f2d1a 0%, #166534 50%, #15803d 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(234, 179, 8, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

/* ─── GLASS CARD ──────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

/* ─── DONATE AMOUNT BUTTONS ───────────────────── */
.amount-btn {
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: #374151;
    text-align: center;
}

.amount-btn:hover {
    border-color: #16a34a;
    color: #166534;
    background: #f0fdf4;
}

.amount-btn.selected {
    border-color: #166534;
    background: #166534;
    color: white;
    box-shadow: 0 4px 16px rgba(22, 101, 52, 0.3);
}

/* ─── FORM INPUTS ─────────────────────────────── */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: #1f2937;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: #166534;
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.12);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

/* ─── CHAPA BUTTON ────────────────────────────── */
.chapa-btn {
    background: linear-gradient(135deg, #166534 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.chapa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(22, 101, 52, 0.45);
}

.chapa-btn:active {
    transform: translateY(0);
}

.chapa-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ─── SUCCESS / ERROR MESSAGES ────────────────── */
.payment-success {
    background: #f0fdf4;
    border: 2px solid #16a34a;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.payment-error {
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

/* ─── GALLERY IMAGE ───────────────────────────── */
.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

.gallery-wrap {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ─── STAT COUNTER ────────────────────────────── */
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #eab308, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── EVENT CARD ──────────────────────────────── */
.event-featured {
    background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.event-featured::before {
    content: '★';
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 120px;
    opacity: 0.07;
    color: #0f172a;
}

/* ─── POLICY ACCORDION ────────────────────────── */
.accordion-header {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #f9fafb;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body.open {
    max-height: 800px;
}

/* ─── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

/* ─── ANIMATIONS ──────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ─── FOCUS RING ──────────────────────────────── */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 3px;
    border-radius: 6px;
}