:root {
    --fn-offcanvas-height:150px
}

/* Partner institutions dropdown — small screens only */
@media (max-width: 991.98px) {
    .partner-institutions-menu {
        min-width: 280px;
        max-width: 320px;
    }
    .partner-institutions-menu .dropdown-item {
        white-space: normal;
        word-break: break-word;
        align-items: flex-start;
    }
}
.offcanvas.offcanvas-bottom, .offcanvas.offcanvas-top {
    height: 0px!important;
}
.bucabuma-primary {
    background-color: #7B8E3C;
    color: white;
}

.bg-cream {
    background-color: #f5f0e8;
}

.bg-sand {
    background-color: #e6dcc8;
}

.badge-accent {
    background-color: #e6dcc8;
    color: #315120;

}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(to top, #f5f0e8, transparent);
}

.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-circle-forest {
    background-color: rgba(45, 106, 79, 0.1);
    color: #315120;
}

.icon-circle-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #315120;
    color: #fff;
}

 .icon-circle {
     width: 48px;
     height: 48px;
     border-radius: 0.75rem;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

.bucabuma-primary-dark {
    background-color: #315120;
    color: white;
}

.research-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

.bucabuma-primary-subtle {
    background-color: #F7FBE0;
}

.bucabuma-text-subtle {
    color: #F7FBE0;
}

.bucabuma-card-view {
    background-color: #315120;
}

.gradient {
    color: #fff;
    background-image: linear-gradient(to bottom right, rgb(62, 80, 0), rgb(90, 117, 0 ,0.85), rgb(119, 165, 62, 0.95)), url(../img/slider/home-slider-01.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-grow: 1;
    padding: 1.25rem 10rem 2rem 5rem !important;
    border: 10px solid #fff;
    border-radius: 30px;
    min-height: 100vh;
}

@media (max-width: 575.98px) {
    .gradient {
        padding: 3rem !important;
    }
}

.w-30 {
    width: 30%!important;
}
.w-40 {
    width: 40%!important;
}
.w-60 {
    width: 60%!important;
}
.w-70 {
    width: 70%!important;
}

.main-logo {
    max-width: 220px;
}
/* =========================
   Parallax Section
========================= */
.bg-parallax {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

/* Background layer */
.bg-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--parallax-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
    z-index: 1;
}

/* Dark overlay */
.bg-parallax::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

/* Content above background */
.bg-parallax > .container,
.bg-parallax > .container-fluid {
    position: relative;
    z-index: 3;
}

.notify {
    z-index: 1900;
}


@media (max-width: 991.98px) { /* lg and below */
    .main-logo {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .bg-parallax {
        background-attachment: scroll;
    }
}



:root {
    --bg: #315120;
    --surface: #315120;
    --surface-2: #F7FBE0;
    --border: rgba(255,255,255,0.07);
    --accent: #4A5525;
    --accent-2: #7C8E3D;
    --accent-3: #43e89c;
    --text: #e8eaf0;
    --muted: #8f8f8f;
    --radius: 16px;
}




/* ── Section header ── */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.section-header .dot-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.section-header .dot-stack span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.section-header .dot-stack span:nth-child(2) { background: var(--accent-3); opacity: .6; }
.section-header .dot-stack span:nth-child(3) { background: var(--accent); opacity: .3; }
.section-label {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
}

/* ── Cards grid ── */
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } }

.help-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .25s, transform .25s;
    text-decoration: none;
    display: block;
    color: inherit;
}
.help-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, var(--card-glow, rgba(79,142,255,.08)) 0%, transparent 65%);
    pointer-events: none;
    transition: opacity .3s;
}
.help-card:hover {
    border-color: var(--card-accent, var(--accent));
    transform: translateY(-3px);
}
.help-card:hover::before { opacity: 1.6; }

/* accent variants */
/*.help-card.social { --card-glow: rgba(255,107,107,.08); --card-accent: #ff6b6b; }*/
/*.help-card.chat   { --card-glow: rgb(5, 98, 58);  --card-accent: #315120; }*/

/* icon pill */
.icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    margin-bottom: 18px;
    font-size: 20px;
}
.help-card.social .icon-pill { color: #ff6b6b; }
.help-card.chat   .icon-pill { color: #43e89c; }

.card-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.card-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* social handles row */
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 100px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.social-chip:hover { border-color: #ff6b6b; color: #ff6b6b; }
.social-chip svg { width: 13px; height: 13px; flex-shrink: 0; }

/* chat CTA */
.chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, #43e89c22, #43e89c11);
    border: 1px solid rgba(67,232,156,.3);
    font-size: 12.5px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    color: #43e89c;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, box-shadow .2s;
}
.chat-btn:hover {
    background: linear-gradient(135deg, #43e89c33, #43e89c18);
    box-shadow: 0 0 16px rgba(67,232,156,.18);
}
.chat-btn .pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #43e89c;
    box-shadow: 0 0 0 0 rgba(67,232,156,.5);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(67,232,156,.5); }
    70%  { box-shadow: 0 0 0 7px rgba(67,232,156,0); }
    100% { box-shadow: 0 0 0 0 rgba(67,232,156,0); }
}

/* corner badge */
.corner-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    letter-spacing: .07em;
    color: var(--muted);
    opacity: .5;
}

/* fade-up animation */
.help-card {
    animation: fadeUp .45s ease both;
}
.help-card:nth-child(2) { animation-delay: .1s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Banner ── */
#disclaimer-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -6px 32px rgba(0,0,0,0.07);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}
#disclaimer-banner.visible { transform: translateY(0); }

.banner-accent {
    height: 3px;
    background: linear-gradient(90deg, #1D9E75 0%, #378ADD 55%, #7F77DD 100%);
}

.banner-inner {
    margin: 0 auto;
    padding: 20px 28px 22px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.banner-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 9px;
    background: #e1f5ee;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}

.banner-content { flex: 1; min-width: 0; }

.banner-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #0F6E56;
    margin-bottom: 4px;
}

.banner-title {
    font-size: 17px;
    font-weight: 400;
    color: #111;
    margin-bottom: 9px;
    line-height: 1.3;
}

.banner-body {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.banner-fraud {
    font-size: 12.5px;
    color: #5a4a1a;
    line-height: 1.65;
    padding: 10px 14px;
    background: #fef9ec;
    border-left: 2.5px solid #EF9F27;
    border-radius: 0 6px 6px 0;
}
.banner-fraud strong {
    display: block;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #85570B;
    margin-bottom: 4px;
}

.banner-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 2px;
}

.btn-accept {
    font-size: 13px;
    font-weight: 500;
    color: #085041;
    background: #9FE1CB;
    border: none;
    border-radius: 7px;
    padding: 10px 22px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, transform 0.12s;
}
.btn-accept:hover { background: #5DCAA5; transform: translateY(-1px); }
.btn-accept:active { transform: scale(0.97); }

.btn-dismiss {
    font-size: 12px;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}
.btn-dismiss:hover { color: #666; }

.banner-close {
    flex-shrink: 0;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    width: 30px; height: 30px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #bbb;
    transition: background 0.15s, color 0.15s;
    align-self: flex-start;
    margin-top: 2px;
}
.banner-close:hover { background: #f5f5f5; color: #444; }

/* Toast */
.accepted-toast {
    position: fixed;
    bottom: 24px; right: 24px;
    background: #e1f5ee;
    border: 1px solid #9FE1CB;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #0F6E56;
    display: flex; align-items: center; gap: 8px;
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10000;
}
.accepted-toast.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Reset notice */
.reset-notice {
    position: fixed;
    top: 16px; right: 16px;
    font-size: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 8px 12px;
    color: #999;
    cursor: pointer;
    transition: background 0.15s;
    z-index: 10000;
}
.reset-notice:hover { background: #f5f5f5; color: #555; }

@media (max-width: 640px) {
    .banner-inner { flex-direction: column; padding: 16px 18px 20px; position: relative; }
    .banner-actions { flex-direction: row; align-items: center; width: 100%; justify-content: flex-end; }
    .banner-close { position: absolute; top: 12px; right: 14px; }
}
