/* =====================================================
   HEADER — Tricolor theme (matched to the trust logo)
   Royal blue + Saffron + Green, with a pink/purple accent
   ===================================================== */
:root {
    --hs-blue: #2a3a9e;
    --hs-blue-dark: #1b2670;
    --hs-blue-deep: #121a52;
    --hs-blue-soft: #eceffb;
    --hs-saffron: #f07c1b;
    --hs-saffron-dark: #d95f0b;
    --hs-saffron-soft: #fff2e6;
    --hs-green: #1f8f3a;
    --hs-green-dark: #146d2b;
    --hs-green-soft: #e8f6ec;
    --hs-pink: #e8336d;
    --hs-purple: #7b2a8c;
    --hs-text: #1f2747;
    --hs-muted: #5b6482;

    /* legacy aliases (other pages may use these) */
    --srnt-navy: var(--hs-blue);
    --srnt-navy-dark: var(--hs-blue-dark);
    --srnt-navy-light: var(--hs-blue);
    --srnt-orange: var(--hs-saffron);
    --srnt-orange-dark: var(--hs-saffron-dark);
    --srnt-navy-soft: var(--hs-blue-soft);
    --srnt-text: var(--hs-text);
    --srnt-cream: #fffaf3;

    --hs-tricolor: linear-gradient(90deg, var(--hs-saffron) 0 33.33%, #ffffff 33.33% 66.66%, var(--hs-green) 66.66% 100%);
}

/* ========== 1. TOP INFO BAR ========== */
.srnt-topbar {
    position: relative;
    background: linear-gradient(90deg, var(--hs-blue-deep) 0%, var(--hs-blue-dark) 100%);
    color: #fff;
    height: 38px;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}
.srnt-topbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--hs-tricolor);
    z-index: 2;
}
.srnt-topbar > .container-fluid { height: 100%; }
.topbar-item {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.topbar-item i { color: var(--hs-saffron); font-size: 13px; transition: transform .25s ease; }
a.topbar-item:hover { color: #ffd9b8; }
a.topbar-item:hover i { transform: scale(1.3) rotate(-12deg); }
.topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 14px;
    display: inline-block;
}

.topbar-right { height: 100%; }
.topbar-social { gap: 14px; margin-right: 24px; }
.follow-text { font-size: 12.5px; font-weight: 500; margin-right: 2px; }
.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.topbar-social a:hover { color: #fff; transform: translateY(-2px); }
.topbar-social a:hover i {
    color: var(--brand, var(--hs-saffron));
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
}

/* Join strip — green (third colour of the tricolor) */
.topbar-join {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 26px 0 44px;
    margin-right: -1rem;
    background: linear-gradient(90deg, #27a548 0%, var(--hs-green-dark) 100%);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%);
    transition: filter 0.2s;
}
.topbar-join i {
    font-size: 13px;
    background: rgba(255,255,255,0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
a.topbar-join:hover { filter: brightness(1.08); }
.topbar-join.no-link { cursor: default; }
@media (min-width: 1200px) { .topbar-join { margin-right: -1.5rem; } }

@media (max-width: 767.98px) {
    .srnt-topbar { height: 34px; }
    .topbar-left { flex-wrap: nowrap !important; min-width: 0; overflow: hidden; }
    .topbar-item { font-size: 12px; gap: 6px; }
    .topbar-item i { font-size: 12px; }
    .topbar-right { flex-shrink: 0; }
    .topbar-social { gap: 10px; margin-right: 12px; }
    .follow-text { font-size: 11px; margin-right: 0; white-space: nowrap; }
    .topbar-social a { font-size: 12.5px; }
    .topbar-join { font-size: 12px; padding: 0 14px 0 30px; gap: 6px; clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); }
    .topbar-join i { width: 20px; height: 20px; font-size: 11px; }
}
@media (max-width: 575.98px) {
    .topbar-item { font-size: 11.5px; gap: 5px; }
    .topbar-social { gap: 8px; margin-right: 8px; }
    .topbar-social a { font-size: 12px; }
    .topbar-join { font-size: 11.5px; padding: 0 10px 0 24px; gap: 5px; clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%); }
    .topbar-join i { width: 19px; height: 19px; font-size: 10px; }
}
@media (max-width: 359.98px) {
    .topbar-social { gap: 6px; margin-right: 6px; }
    .topbar-join i { display: none; }
    .topbar-join { padding-left: 20px; }
}

/* ========== 2. BRANDING BANNER ========== */
.srnt-brand-bar {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 180px at 0% 0%, rgba(240,124,27,.10), transparent 70%),
        radial-gradient(520px 200px at 100% 100%, rgba(31,143,58,.10), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
}
/* Bottom tricolor rule */
.srnt-brand-bar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hs-saffron), var(--hs-pink), var(--hs-blue), var(--hs-green), var(--hs-saffron));
    background-size: 200% 100%;
    animation: hsFlow 6s linear infinite;
    z-index: 3;
}
.brand-inner, .srnt-mobile-action-bar { position: relative; z-index: 2; }
.brand-inner { min-height: 66px; gap: 12px; }
.brand-link { min-width: 0; padding: 6px 0; }

/* Decorative layer */
.hdr-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hdr-swoosh { position: absolute; width: 58%; height: 60%; }
.hdr-swoosh-top    { top: 0; right: 0; fill: var(--hs-saffron); opacity: .13; }
.hdr-swoosh-bottom { bottom: 0; left: 0; fill: var(--hs-green); opacity: .12; }
.hdr-glow {
    position: absolute;
    right: 18%;
    top: -60%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,124,27,.22), rgba(240,124,27,0) 65%);
    animation: hsGlow 5s ease-in-out infinite;
}
.hdr-spark {
    position: absolute;
    bottom: -10px;
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: var(--tone, var(--hs-saffron));
    opacity: 0;
    animation: hsSpark var(--d) linear var(--delay) infinite;
}

/* Logo — white disc with a slow dashed "chakra" ring */
.logo-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    box-shadow: 0 6px 18px rgba(27,38,112,.18);
    animation: hsFloat 4s ease-in-out infinite;
}
.srnt-logo {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    animation: hsPop 1s cubic-bezier(.2,1.3,.4,1) backwards;
}
.logo-wrap::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed var(--hs-blue);
    opacity: .55;
    animation: hsSpin 18s linear infinite;
}
.logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: hsHalo 2.6s ease-out infinite;
}

/* Title — condensed bold, like the logo lettering */
.srnt-title {
    font-family: 'Oswald', 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .6px;
    text-transform: uppercase;
    word-break: break-word;
    animation: hsRise .8s .25s cubic-bezier(.2,.8,.2,1) backwards;
}
.srnt-title .t-navy { color: var(--hs-blue); }
.srnt-title .t-orange {
    background: linear-gradient(90deg, var(--hs-saffron), var(--hs-pink), var(--hs-purple), var(--hs-saffron));
    background-size: 250% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hsText 5s ease-in-out infinite alternate;
}
.srnt-tagline {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hs-muted);
    animation: hsRise .8s .5s cubic-bezier(.2,.8,.2,1) backwards;
}

/* Divider: saffron line — blue chakra dot — green line */
.srnt-divider { align-items: center; margin-top: 6px; width: 100%; max-width: 300px; }
.srnt-divider .line { flex: 1; height: 2px; border-radius: 2px; animation: hsGrow 1s .9s ease backwards; }
.srnt-divider .line:first-child { background: linear-gradient(90deg, transparent, var(--hs-saffron)); transform-origin: right center; }
.srnt-divider .line:last-child  { background: linear-gradient(90deg, var(--hs-green), transparent); transform-origin: left center; }
.srnt-divider .diamond {
    width: 12px;
    height: 12px;
    margin: 0 8px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px dashed var(--hs-blue);
    background: radial-gradient(circle, var(--hs-blue) 0 2px, transparent 2.5px);
    animation: hsSpin 8s linear infinite;
}

@media (min-width: 576px) {
    .brand-inner { min-height: 74px; }
    .srnt-logo { width: 52px; height: 52px; }
    .srnt-title { font-size: 23px; }
    .srnt-tagline { font-size: 11.5px; }
}
@media (min-width: 768px) {
    .brand-inner { min-height: 92px; }
    .srnt-logo { width: 66px; height: 66px; }
    .srnt-title { font-size: 28px; }
    .srnt-tagline { font-size: 13px; }
}
@media (min-width: 1200px) {
    .brand-inner { min-height: 112px; }
    .srnt-logo { width: 80px; height: 80px; }
    .logo-wrap { margin-left: 20px; margin-right: 18px !important; }
    .srnt-title { font-size: 34px; }
    .srnt-tagline { font-size: 15px; }
}

/* Desktop: helpline chip + buttons */
.brand-actions { gap: 14px; padding-right: 16px; font-family: 'Poppins', sans-serif; }

.hdr-helpline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 40px;
    background: #fff;
    border: 1.5px dashed rgba(42,58,158,.35);
    text-decoration: none;
    animation: hsSlideR .7s .35s cubic-bezier(.2,.8,.2,1) backwards;
    transition: border-color .2s ease, transform .2s ease;
}
.hdr-helpline:hover { border-color: var(--hs-green); transform: translateY(-2px); }
.hl-ico {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #27a548, var(--hs-green-dark));
    color: #fff;
    font-size: 15px;
    animation: hsRing 2.4s ease-in-out infinite;
}
.hl-text { display: flex; flex-direction: column; line-height: 1.15; }
.hl-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--hs-green); }
.hl-text b { font-size: 14px; font-weight: 700; color: var(--hs-blue); white-space: nowrap; }

.btn-apply-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--hs-blue);
    border: 1.5px solid var(--hs-blue);
    border-radius: 12px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(42,58,158,.12);
    transition: all 0.2s ease;
    animation: hsSlideR .7s .45s cubic-bezier(.2,.8,.2,1) backwards;
}
.btn-apply-outline i { font-size: 18px; color: var(--hs-blue); }
.btn-apply-outline:hover { background: var(--hs-blue); color: #fff; transform: translateY(-2px); }
.btn-apply-outline:hover i { color: #fff; }

.btn-donate-main {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff8f2e 0%, var(--hs-saffron-dark) 100%);
    color: #fff !important;
    border-radius: 12px;
    padding: 9px 22px 9px 14px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(217,95,11,.35);
    transition: all 0.2s ease;
    animation: hsSlideR .7s .6s cubic-bezier(.2,.8,.2,1) backwards, hsPulse 2.4s 1.4s ease-in-out infinite;
}
.heart-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.heart-circle i { animation: hsBeat 1.6s ease-in-out infinite; }
.btn-donate-main:hover { transform: translateY(-2px); filter: brightness(1.07); }

/* Mobile sub-action bar */
.srnt-mobile-action-bar {
    background: rgba(255,255,255,.92);
    border-top: 1px solid #eef0f7;
    margin-bottom: 3px;
}
.mobile-sub-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.membership-pill { background: #fff; color: var(--hs-blue); border: 1.5px solid var(--hs-blue); }
.membership-pill i { color: var(--hs-blue); }
.membership-pill:active { background: var(--hs-blue-soft); transform: scale(0.97); }
.donate-pill {
    background: linear-gradient(135deg, #ff8f2e 0%, var(--hs-saffron-dark) 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 6px rgba(217,95,11,.3);
}
.donate-pill:active { transform: scale(0.97); }
.login-pill {
    background: linear-gradient(135deg, #27a548, var(--hs-green-dark));
    color: #fff !important;
    border: none;
    padding: 6px 12px;
    box-shadow: 0 2px 6px rgba(20,109,43,.28);
}
.login-pill:active { transform: scale(0.97); }

/* Mobile trigger */
.modern-menu-trigger {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: var(--hs-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(42,58,158,.3);
    transition: 0.2s ease;
    animation: hsPulseBlue 2.6s ease-in-out infinite;
}
.modern-menu-trigger:active { transform: scale(0.95); }

/* ========== 3. BOTTOM NAVBAR (desktop) ========== */
.srnt-navbar {
    position: relative;
    background: linear-gradient(90deg, var(--hs-blue-dark) 0%, var(--hs-blue) 50%, var(--hs-blue-dark) 100%) !important;
    min-height: 56px;
    height: 56px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 14px rgba(18,26,82,.25);
    transition: box-shadow .3s ease;
    animation: hsNavIn .7s .1s cubic-bezier(.2,.8,.2,1) backwards;
}
.srnt-navbar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--hs-tricolor);
}
.srnt-navbar.is-scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.35) !important; }
.srnt-navbar > .container-fluid { height: 100%; }
.nav-links-wrapper { min-width: 0; }
.main-menu { white-space: nowrap; gap: 4px; }

/* Pill-style links (pill stays inside the link, so it never overlaps neighbours) */
.nav-item-link {
    position: relative;
    isolation: isolate;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 0 12px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: color .15s ease;
}
.nav-item-link::before {
    content: '';
    position: absolute;
    top: 11px; bottom: 11px;
    left: 0; right: 0;
    border-radius: 30px;
    background: rgba(255,255,255,.14);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .2s ease, transform .2s ease;
    z-index: -1;
}
.nav-item-link:hover::before { opacity: 1; transform: none; }
.nav-item-link.active::before {
    opacity: 1;
    transform: none;
    background: linear-gradient(135deg, #ff8f2e, var(--hs-saffron-dark));
    box-shadow: 0 4px 12px rgba(217,95,11,.4);
}
.nav-item-link:hover, .nav-item-link.active { color: #fff; }
.nav-ico { color: #ffb36b; font-size: 13px; width: 15px; text-align: center; transition: color .15s; }
.nav-item-link.active .nav-ico, .nav-item-link:hover .nav-ico { color: #fff; }
.caret-icon { display: inline-block; font-size: 9px; opacity: .85; transition: transform .25s ease; }
.nav-item-dropdown:hover .caret-icon { transform: rotate(180deg); }

.main-menu > li { animation: hsRise .5s backwards; }
.main-menu > li:nth-child(1)  { animation-delay: .26s; }
.main-menu > li:nth-child(2)  { animation-delay: .32s; }
.main-menu > li:nth-child(3)  { animation-delay: .38s; }
.main-menu > li:nth-child(4)  { animation-delay: .44s; }
.main-menu > li:nth-child(5)  { animation-delay: .50s; }
.main-menu > li:nth-child(6)  { animation-delay: .56s; }
.main-menu > li:nth-child(7)  { animation-delay: .62s; }
.main-menu > li:nth-child(8)  { animation-delay: .68s; }
.main-menu > li:nth-child(9)  { animation-delay: .74s; }
.main-menu > li:nth-child(n+10) { animation-delay: .80s; }

/* Dropdowns — white card */
.nav-item-dropdown { position: relative; }
.dropdown-popover {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-radius: 0 0 14px 14px;
    border-top: 3px solid var(--hs-saffron);
    box-shadow: 0 14px 32px rgba(18,26,82,.2);
    z-index: 999;
}
.nav-item-dropdown:hover .dropdown-popover { display: block; animation: hsDrop .22s ease; }
.main-menu > .nav-item-dropdown:nth-last-child(-n+2) .dropdown-popover { left: auto; right: 0; }

.srnt-navbar .more-menu { overflow: visible; }
.srnt-navbar .more-menu > li,
.srnt-navbar .more-sub > li { list-style: none; position: relative; animation: hsDrop .3s ease backwards; }
.srnt-navbar .more-menu > li:nth-child(2) { animation-delay: .04s; }
.srnt-navbar .more-menu > li:nth-child(3) { animation-delay: .08s; }
.srnt-navbar .more-menu > li:nth-child(4) { animation-delay: .12s; }
.srnt-navbar .more-menu > li:nth-child(5) { animation-delay: .16s; }
.srnt-navbar .more-menu > li:nth-child(n+6) { animation-delay: .20s; }

.srnt-navbar .more-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--hs-text) !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.srnt-navbar .more-ico {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--hs-saffron-soft);
    color: var(--hs-saffron-dark);
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}
.srnt-navbar .more-ico i { margin: 0 !important; width: auto; }
.srnt-navbar .more-label { flex: 1; }
.srnt-navbar .more-arrow { font-size: 10px; color: var(--hs-blue); margin: 0 !important; }

.srnt-navbar .more-item:hover,
.srnt-navbar .has-sub:hover > .more-item,
.srnt-navbar .more-item.active {
    background: var(--hs-blue-soft) !important;
    color: var(--hs-blue) !important;
    padding-left: 14px;
}
.srnt-navbar .more-item:hover .more-ico,
.srnt-navbar .has-sub:hover > .more-item .more-ico,
.srnt-navbar .more-item.active .more-ico { background: var(--hs-blue); color: #fff; }

/* Side sub menu */
.srnt-navbar .more-sub {
    position: absolute;
    top: -10px;
    left: calc(100% + 6px);
    min-width: 260px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-radius: 14px;
    border-top: 3px solid var(--hs-green);
    box-shadow: 0 14px 32px rgba(18,26,82,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 5;
}
.srnt-navbar .has-sub:hover > .more-sub { opacity: 1; visibility: visible; transform: translateX(0); }
.srnt-navbar .has-sub::after {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
}

/* Login button — green, separated from the menu by a thin divider */
.srnt-navbar .container-fluid > .flex-shrink-0 {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 16px;
    margin-left: 4px;
}
.srnt-navbar .container-fluid > .flex-shrink-0::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 1px; height: 26px;
    transform: translateY(-50%);
    background: rgba(255,255,255,.25);
}
.btn-nav-login {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 25px;
    background: linear-gradient(135deg, #27a548 0%, var(--hs-green-dark) 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.25);
    transition: .2s ease;
}
.btn-nav-login:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Shine sweep on CTA buttons */
.btn-donate-main::after, .btn-nav-login::after, .topbar-join::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-20deg);
    animation: hsShine 3.4s ease-in-out infinite;
    pointer-events: none;
}

/* Fit all menu items on one line at every desktop width */
@media (min-width: 1200px) {
    .srnt-navbar > .container-fluid { gap: 0; }
    .srnt-navbar .nav-links-wrapper { flex: 1 1 auto; min-width: 0; }
    .srnt-navbar .main-menu {
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 2px !important;
        padding-right: 8px !important;
        margin: 0 !important;
    }
    .srnt-navbar .main-menu > li { flex: 0 0 auto; display: flex; align-items: center; }
}
/* 1600–1799px: slightly smaller text, icons kept */
@media (min-width: 1600px) and (max-width: 1799.98px) {
    .srnt-navbar .nav-item-link { font-size: 12.5px; padding: 0 10px; gap: 6px; }
}
/* 1400–1599px (most laptops at 125% scaling): icons hidden */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    .srnt-navbar .nav-ico { display: none; }
    .srnt-navbar .nav-item-link { font-size: 13px; padding: 0 11px; gap: 5px; }
}
/* 1200–1399px: compact */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .srnt-navbar > .container-fluid { padding-left: 10px !important; padding-right: 10px !important; }
    .srnt-navbar .nav-ico { display: none; }
    .srnt-navbar .nav-item-link { font-size: 12px; padding: 0 7px; gap: 4px; }
    .srnt-navbar .container-fluid > .flex-shrink-0 { padding-left: 10px; }
    .srnt-navbar .btn-nav-login { padding: 7px 13px; font-size: 12px; }
}

/* ========== 4. MOBILE DRAWER ========== */
.off-canvas-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 26, 82, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
}
.off-canvas-backdrop.active { display: block; }

.off-canvas-card-drawer {
    position: fixed;
    top: 12px;
    right: -105%;
    width: 86%;
    max-width: 340px;
    height: calc(100vh - 24px);
    background: #fff;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    box-shadow: -8px 0 35px rgba(0,0,0,.22);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: right 0.32s cubic-bezier(0.25, 1, 0.5, 1);
}
.off-canvas-card-drawer.active { right: 0; }

.card-modal-header {
    position: relative;
    background: linear-gradient(135deg, var(--hs-blue-dark), var(--hs-blue));
    color: #fff;
}
.card-modal-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--hs-tricolor);
}
.drawer-logo {
    width: 40px; height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    box-shadow: 0 0 0 2px var(--hs-saffron);
}
.drawer-name { color: #fff; }
.drawer-tagline { color: rgba(255,255,255,.75); font-size: 11.5px; }

.circular-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: .2s;
}
.circular-close-btn:active { background: var(--hs-saffron); }

.card-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    color: var(--hs-text);
    text-decoration: none;
    border-radius: 12px;
    transition: background .15s ease;
}
.card-menu-item:active, .card-menu-item.active { background: var(--hs-blue-soft); color: var(--hs-blue); }
.card-menu-item.active .menu-icon-pill { background: var(--hs-saffron); color: #fff; }

.menu-icon-pill {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--hs-blue-soft);
    color: var(--hs-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: .2s;
}
.menu-label { font-size: 14px; font-weight: 600; }

.card-collapse-group { display: flex; flex-direction: column; }
.card-collapse-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--hs-text);
    text-align: left;
    transition: .15s;
}
.card-collapse-trigger:active, .card-collapse-trigger.open { background: var(--hs-blue-soft); color: var(--hs-blue); }
.sub-arrow { font-size: 11px; color: #94a3b8; transition: transform .2s ease; }
.card-collapse-trigger.open .sub-arrow { transform: rotate(180deg); color: var(--hs-saffron); }

.card-collapse-panel {
    display: none;
    flex-direction: column;
    padding-left: 48px;
    padding-bottom: 6px;
    gap: 2px;
}
.card-collapse-panel.show { display: flex; max-height: none !important; }
.nested-link {
    color: var(--hs-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: .15s;
}
.nested-link i { color: var(--hs-saffron); }
.nested-link:hover, .nested-link:active, .nested-link.active { color: var(--hs-blue); background: var(--hs-blue-soft); }

/* Nested accordion */
.card-collapse-panel .card-collapse-group.is-nested { margin: 2px 0; }
.card-collapse-trigger.is-nested {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--hs-text);
    font-size: 13.5px;
    font-weight: 500;
}
.card-collapse-trigger.is-nested .nested-trigger-label i { color: var(--hs-saffron); }
.card-collapse-panel .card-collapse-panel { padding-left: 14px; }

.btn-card-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hs-blue), var(--hs-blue-dark));
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(42,58,158,.3);
    transition: transform .15s ease;
}
.btn-card-login:active { transform: scale(0.98); }
.btn-card-donate {
    background: linear-gradient(135deg, #ff8f2e 0%, var(--hs-saffron-dark) 100%);
    box-shadow: 0 4px 12px rgba(217,95,11,.3);
}
.drawer-register-link { font-size: 13px; font-weight: 700; color: var(--hs-green); text-decoration: none; }

.card-footer-info { font-size: 13px; }
.contact-pill-icon { width: 20px; color: var(--hs-saffron); font-size: 13px; flex-shrink: 0; text-align: center; }
.contact-pill-link {
    color: var(--hs-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    word-break: break-all;
    transition: color .15s ease;
}
.contact-pill-link:hover { color: var(--hs-blue); }
.contact-pill-text { color: var(--hs-muted); font-weight: 500; font-size: 13px; line-height: 1.4; }

/* Drawer items slide in one by one */
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > * { animation: hsSlideR .4s cubic-bezier(.2,.8,.2,1) backwards; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(1)  { animation-delay: .12s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(2)  { animation-delay: .17s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(3)  { animation-delay: .22s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(4)  { animation-delay: .27s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(5)  { animation-delay: .32s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(6)  { animation-delay: .37s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(7)  { animation-delay: .42s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(8)  { animation-delay: .47s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(n+9) { animation-delay: .52s; }

/* ========== ANIMATIONS ========== */
@keyframes hsRise      { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hsSlideR    { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes hsNavIn     { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes hsPop       { 0% { opacity: 0; transform: scale(.3) rotate(-120deg); } 70% { transform: scale(1.08) rotate(6deg); } 100% { opacity: 1; transform: none; } }
@keyframes hsFloat     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes hsSpin      { to { transform: rotate(360deg); } }
@keyframes hsHalo      { 0% { box-shadow: 0 0 0 0 rgba(240,124,27,.45); } 100% { box-shadow: 0 0 0 18px rgba(240,124,27,0); } }
@keyframes hsFlow      { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes hsText      { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes hsShine     { 0% { left: -80%; } 55%,100% { left: 140%; } }
@keyframes hsBeat      { 0%,100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }
@keyframes hsPulse     { 0%,100% { box-shadow: 0 4px 12px rgba(217,95,11,.35), 0 0 0 0 rgba(240,124,27,.55); } 50% { box-shadow: 0 4px 12px rgba(217,95,11,.35), 0 0 0 12px rgba(240,124,27,0); } }
@keyframes hsPulseBlue { 0%,100% { box-shadow: 0 4px 12px rgba(42,58,158,.3), 0 0 0 0 rgba(42,58,158,.35); } 50% { box-shadow: 0 4px 12px rgba(42,58,158,.3), 0 0 0 8px rgba(42,58,158,0); } }
@keyframes hsRing      { 0%,100% { transform: rotate(0); } 10% { transform: rotate(-14deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(-8deg); } 40% { transform: rotate(0); } }
@keyframes hsGlow      { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes hsSpark     { 0% { transform: translate3d(0,0,0) scale(.4); opacity: 0; } 15% { opacity: .55; } 100% { transform: translate3d(var(--dx),-150px,0) scale(1); opacity: 0; } }
@keyframes hsGrow      { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hsDrop      { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

@media (max-width: 767.98px) {
    .hdr-glow { width: 240px; height: 240px; right: 5%; }
    .hdr-swoosh { width: 80%; height: 50%; }
    .logo-wrap::before { inset: -4px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .srnt-topbar, .srnt-topbar *, .srnt-topbar *::after,
    .srnt-brand-bar, .srnt-brand-bar *, .srnt-brand-bar *::before, .srnt-brand-bar *::after, .srnt-brand-bar::after,
    .srnt-navbar, .srnt-navbar *, .srnt-navbar *::before, .srnt-navbar *::after,
    .off-canvas-card-drawer * { animation: none !important; transition: none !important; }
}