/* ================= HEADER / NAVBAR ================= */

:root {
    --header-height: 96px;
}

/* Logo */
.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-title img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-heading {
    margin-top: 10px;
    color: rgba(13, 45, 86, 0.85);
    font-weight: 700;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98),
        rgba(255, 255, 255, 0.95)
    );
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: var(--header-height);
    z-index: 9999;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar-scrolled {
    box-shadow: 0 8px 24px rgba(13, 37, 77, 0.08);
    background: #fff;
}

.navbar-brand img {
    height: 48px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Nav Links */
.nav-link {
    font-weight: 500;
    color: #1e293b !important;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.has-scrollspy .nav-link.active {
    color: #2563eb !important;
    font-weight: 600;
}

.nav-link:hover::after {
    width: 100%;
}

/* Donate Button */
.donate-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

/* Push full page below fixed navbar */
body {
    padding-top: var(--header-height);
}

/* Anchor offset for fixed navbar */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

@media (max-width: 991px) {
    :root {
        --header-height: 82px;
    }

    .navbar {
        min-height: var(--header-height);
        padding: 0.75rem 0;
    }

    .nav-link {
        margin: 0.35rem 0;
    }

    .donate-btn {
        margin-left: 0;
        margin-top: 0.75rem;
        display: inline-block;
    }
}

@media (max-width: 575px) {
    :root {
        --header-height: 76px;
    }
}