:root {
    --brand: #fe7437;
    --ink: #233a47;
    --ink-2: #44576a;
    --white: #ffffff;
    --bg: #ffffff;
    --muted: #6b7b8c;
    --ring: rgba(254, 116, 55, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    color: var(--ink);
    background: var(--bg);
}

/* Navbar */
.navbar {
    transition: background-color 0.25s ease, box-shadow 0.2s ease,
        padding 0.25s ease;
}

.navbar-solid {
    background: var(--bg);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    color: var(--ink);
}

.navbar-transparent {
    background: transparent;
    box-shadow: none;
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.navbar.shrink {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

.navbar-brand .brand-text {
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.15px;
}

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

.navbar-nav {
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    position: relative;
}

.navbar-solid .nav-link {
    color: var(--ink-2);
}

.navbar-transparent .nav-link {
    color: var(--white);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--brand) !important;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.25rem;
    height: 2px;
    background: transparent;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease, background 0.22s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    background: var(--brand);
    transform: scaleX(1);
}

/* Donate pill */
.btn-donate {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-weight: 700;
}

.btn-donate:hover {
    opacity: 0.92;
    color: #000;
    border: 1px solid var(--ink-2);
}

.navbar-transparent .btn-donate:hover {
    opacity: 0.92;
    color: #fff;
    border: 1px solid var(--white);
}

.btn-donate:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--ring);
}

/* Offcanvas */
.offcanvas-nav {
    width: 320px;
}

.offcanvas-header {
    border-bottom: 1px solid #eef2f7;
}

/* Push page content below fixed nav on non-home pages */
.page-offset {
    padding-top: 4.25rem;
}

.hero {
    margin-top: 0 !important;
}

.hero .container {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    min-height: 64vh;
    inset: 0;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.55)
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            1200px 600px at 20% -10%,
            #ffefe5 0%,
            transparent 60%
        ),
        linear-gradient(135deg, #fff7f2 0%, #ffe7d9 100%);
}

/* tweak to your nav height */

/* Dropdown */
.dropdown-menu {
    border-radius: 0.75rem;
    border-color: #eef2f7;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    font-weight: 600;
}

.dropdown-item small {
    font-weight: 500;
    color: var(--muted);
    display: block;
}

.dropdown-item:active {
    background: #fff3eb;
    color: var(--ink);
}

/* Focus ring for accessibility */
a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.25rem var(--ring);
    border-radius: 0.5rem;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    opacity: 0.9;
    color: #000;
    border: 1px solid var(--ink-2);
}

/* About section polish */
.about-gradient {
    background: linear-gradient(135deg, #fff 0%, #fff7f2 100%);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.about-card {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.25rem;
}

.icon-wrap {
    background: #fff3eb;
    /* soft brand tint */
    color: var(--brand);
    box-shadow: 0 2px 8px rgba(254, 116, 55, 0.15);
}

.object-fit-cover {
    object-fit: cover;
}

.event-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border-radius: 1rem;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.event-img {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background: linear-gradient(135deg, #fff7f2, #ffe7d9);
}

@media (min-width: 992px) {
    .event-img {
        height: 200px;
    }
}

.event-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--white);
    border-radius: 0.75rem;
    padding: 0.35rem 0.5rem;
    text-align: center;
    width: 3.1rem;
}

.event-badge-month {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: 0.04em;
}

.event-badge-day {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.event-empty {
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff, #fff7f2);
}

/* Cards / icons */
.about-intro {
    border-radius: 1.25rem;
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff3eb;
    color: var(--brand);
    box-shadow: 0 2px 8px rgba(254, 116, 55, 0.15);
}

.contact-tile {
    background: #fff;
    border: 1px solid #eef2f7;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff3eb;
    color: var(--brand);
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(254, 116, 55, 0.12);
}

.visit-card {
    background: #fff;
}

.visit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff3eb;
    color: var(--brand);
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(254, 116, 55, 0.12);
}

/* Prose formatting for body HTML */
.prose :where(h1, h2, h3) {
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.prose p {
    line-height: 1.7;
    color: #44576a;
}

.prose ul,
.prose ol {
    padding-left: 1.2rem;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.donate-card .quick-amt {
    border-radius: 999px;
}

.navbar {
    z-index: 1030;
}

/* Footer (unchanged) */
footer {
    background: #0f172a;
    color: #cbd5e1;
}

footer a {
    color: #e2e8f0;
}

footer a:hover {
    color: #fff;
}
