:root {
    /* Logo color palette */
    --srnt-navy: #14213d;        /* logo text / tagline */
    --srnt-navy-dark: #0c1529;
    --srnt-navy-light: #1f7ac4;  /* logo blue */
    --srnt-blue: #1f7ac4;
    --srnt-green: #6abf2e;       /* logo tree green */
    --srnt-green-dark: #3f9b1f;
    --srnt-orange: #f7931e;      /* logo sun orange */
    --srnt-orange-dark: #e8590c;
    --srnt-red: #d62828;         /* logo candle / "I" red */
    --srnt-cream: #fffaf1;
    --srnt-grad-orange: linear-gradient(135deg, #f7931e 0%, #e8590c 100%);
    --srnt-grad-logo: linear-gradient(90deg, #6abf2e, #f7931e, #d62828, #1f7ac4, #6abf2e);
}

/* ========== 1. TOP INFO BAR (compact) ========== */
.srnt-topbar {
    background: var(--srnt-navy);
    color: #fff;
    height: 38px;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}
.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(--srnt-orange); font-size: 13px; }
a.topbar-item:hover { color: #ffd9a8; }
.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 {
    color: #fff;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.topbar-social a:hover { color: var(--srnt-green); transform: translateY(-2px); }

.topbar-join {
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 26px 0 44px;
    margin-right: -1rem;
    background: var(--srnt-grad-orange);
    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; } }

/* Mobile top bar (compact) */
@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 (no image, logo colors) ========== */
.srnt-brand-bar {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at 92% 15%, rgba(247, 147, 30, 0.16) 0%, rgba(247, 147, 30, 0) 42%),
        radial-gradient(circle at 6% 95%, rgba(106, 191, 46, 0.16) 0%, rgba(106, 191, 46, 0) 42%),
        radial-gradient(circle at 50% 120%, rgba(31, 122, 196, 0.10) 0%, rgba(31, 122, 196, 0) 45%),
        linear-gradient(180deg, #ffffff 0%, var(--srnt-cream) 100%);
}
.brand-inner { min-height: 64px; }
.brand-link { min-width: 0; padding: 4px 0; }
.srnt-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}
.srnt-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.3px;
    word-break: break-word;
}
.srnt-title .t-navy { color: var(--srnt-navy); }
.srnt-title .t-orange { color: var(--srnt-orange); }
.srnt-tagline {
    font-size: 10px;
    font-weight: 600;
    color: var(--srnt-navy);
    margin-top: 2px;
    line-height: 1.3;
    display: block;
}

.srnt-divider { align-items: center; margin-top: 4px; width: 100%; max-width: 300px; }
.srnt-divider .line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--srnt-green));
}
.srnt-divider .line:last-child {
    background: linear-gradient(90deg, var(--srnt-blue), transparent);
}
.srnt-divider .diamond {
    width: 7px;
    height: 7px;
    background: var(--srnt-orange);
    transform: rotate(45deg);
    margin: 0 8px;
    flex-shrink: 0;
    box-shadow: -9px 0 0 -2px var(--srnt-green), 9px 0 0 -2px var(--srnt-blue);
}

@media (min-width: 576px) {
    .brand-inner { min-height: 70px; }
    .srnt-logo { height: 50px; }
    .srnt-title { font-size: 20px; }
    .srnt-tagline { font-size: 11.5px; }
}
@media (min-width: 768px) {
    .brand-inner { min-height: 90px; }
    .srnt-logo { height: 64px; }
    .srnt-title { font-size: 24px; }
    .srnt-tagline { font-size: 13px; }
}
@media (min-width: 1200px) {
    .brand-inner { min-height: 110px; }
    .srnt-logo { height: 80px; }
    .logo-wrap { margin-left: 20px; margin-right: 16px !important; }
    .srnt-title { font-size: 30px; }
    .srnt-tagline { font-size: 15px; margin-top: 3px; }
}

/* Desktop action buttons */
.brand-actions { gap: 14px; padding-right: 16px; font-family: 'Poppins', sans-serif; }
.btn-apply-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--srnt-navy);
    border: 1.5px solid var(--srnt-blue);
    border-radius: 10px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(31, 122, 196, 0.15);
    transition: all 0.2s ease;
}
.btn-apply-outline i { font-size: 18px; color: var(--srnt-blue); }
.btn-apply-outline:hover {
    background: var(--srnt-blue);
    color: #fff;
    transform: translateY(-2px);
}
.btn-apply-outline:hover i { color: #fff; }

.btn-donate-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--srnt-grad-orange);
    color: #fff !important;
    border-radius: 10px;
    padding: 9px 22px 9px 14px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(232, 89, 12, 0.35);
    transition: all 0.2s ease;
}
.heart-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.btn-donate-main:hover { transform: translateY(-2px); filter: brightness(1.07); }

/* Mobile sub-action bar */
.srnt-mobile-action-bar { border-color: #f1f5f9 !important; }
.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-color: #fff;
    color: var(--srnt-navy);
    border: 1.5px solid var(--srnt-blue);
}
.membership-pill i { color: var(--srnt-blue); }
.membership-pill:active { background-color: #eaf3fb; transform: scale(0.97); }
.donate-pill {
    background: var(--srnt-grad-orange);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 6px rgba(232, 89, 12, 0.3);
}
.donate-pill:active { transform: scale(0.97); }
.login-pill {
    background: var(--srnt-navy);
    color: #fff !important;
    border: none;
    padding: 6px 12px;
    box-shadow: 0 2px 6px rgba(20, 33, 61, 0.25);
}
.login-pill:active { transform: scale(0.97); }

/* ========== 3. BOTTOM NAVBAR ========== */
.srnt-navbar {
    background-color: var(--srnt-navy) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 56px;
    height: 56px;
    font-family: 'Poppins', sans-serif;
}
.srnt-navbar > .container-fluid { height: 100%; }
.nav-links-wrapper { min-width: 0; }
.main-menu { white-space: nowrap; gap: 2px; }
.nav-item-link {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(11px, 0.88vw, 13.5px);
    font-weight: 600;
    padding: 0 5px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}
.nav-item-link::after {
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--srnt-green), var(--srnt-orange));
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.nav-item-link:hover, .nav-item-link.active { color: var(--srnt-orange); }
.nav-item-link:hover::after, .nav-item-link.active::after { transform: scaleX(1); }
.caret-icon { font-size: 9px; margin-left: 4px; opacity: 0.85; }

.nav-item-dropdown { position: relative; }
.dropdown-popover {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    background-color: var(--srnt-navy);
    border-top: 3px solid var(--srnt-green);
    min-width: 220px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    border-radius: 0 0 5px 5px;
    z-index: 999;
}
.dropdown-popover li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding: 8px 16px;
    transition: background 0.15s;
}
.dropdown-popover li a i { color: var(--srnt-green); width: 16px; text-align: center; transition: color .15s; }
.dropdown-popover li a:hover { background: var(--srnt-orange); color: #ffffff; }
.dropdown-popover li a:hover i { color: #ffffff; }
.nav-item-dropdown:hover .dropdown-popover { display: block; }
/* Last dropdowns (Our Gallery / Our Documents) screen ke bahar na jaye */
.main-menu > .nav-item-dropdown:nth-last-child(-n+4) .dropdown-popover { left: auto; right: 0; }

.btn-nav-login {
    background: var(--srnt-grad-orange);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(232, 89, 12, 0.4);
    margin-left: 10px;
    margin-right: -20px;
    transition: 0.2s ease;
}
.btn-nav-login:hover { filter: brightness(1.08); }

/* Navbar ke andar Donate Us button */
.btn-nav-donate {
    margin: 0 0 0 6px;
    padding: 9px 20px;
    font-size: clamp(12px, 0.95vw, 14px);
}

/* Mobile trigger */
.modern-menu-trigger {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: var(--srnt-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.2s ease;
}
.modern-menu-trigger:active { background: #e2e8f0; transform: scale(0.95); }

/* ========== 4. MOBILE DRAWER ========== */
.off-canvas-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.off-canvas-backdrop.active { display: block; opacity: 1; }

.off-canvas-card-drawer {
    position: fixed;
    top: 12px;
    right: -105%;
    width: 86%;
    max-width: 340px;
    height: calc(100vh - 24px);
    background: #ffffff;
    border-radius: 20px 0 0 20px;
    box-shadow: -8px 0 35px rgba(0, 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; }

.circular-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.2s;
}
.circular-close-btn:active { background: #e2e8f0; color: #0f172a; }

.card-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    color: #1e293b;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.15s ease;
}
.card-menu-item:active, .card-menu-item.active { background: #fff3e3; color: var(--srnt-navy); }
.card-menu-item.active .menu-icon-pill { background: var(--srnt-orange); color: #ffffff; }

.menu-icon-pill {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eaf6e1;
    color: var(--srnt-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: 0.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: #1e293b;
    text-align: left;
    transition: 0.15s;
}
.card-collapse-trigger:active, .card-collapse-trigger.open { background: #fff3e3; color: var(--srnt-navy); }
.sub-arrow { font-size: 11px; color: #94a3b8; transition: transform 0.2s ease; }
.card-collapse-trigger.open .sub-arrow { transform: rotate(180deg); color: var(--srnt-orange); }

.card-collapse-panel {
    display: none;
    flex-direction: column;
    padding-left: 48px;
    padding-bottom: 6px;
    gap: 2px;
}
.card-collapse-panel.show { display: flex; }
.nested-link {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.15s;
}
.nested-link:hover, .nested-link:active { color: var(--srnt-orange-dark); background: #fff8ee; }

.btn-card-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--srnt-navy);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(20, 33, 61, 0.3);
    transition: transform 0.15s ease;
}
.btn-card-login:active { transform: scale(0.98); }
.btn-card-donate {
    background: var(--srnt-grad-orange);
    box-shadow: 0 4px 12px rgba(232, 89, 12, 0.3);
}

.card-footer-info { font-size: 13px; }
.contact-pill-icon {
    width: 20px;
    color: var(--srnt-green-dark);
    font-size: 13px;
    flex-shrink: 0;
    text-align: center;
}
.contact-pill-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    word-break: break-all;
    transition: color 0.15s ease;
}
.contact-pill-link:hover { color: var(--srnt-orange-dark); }
.contact-pill-text { color: #64748b; font-weight: 500; font-size: 13px; line-height: 1.4; }

/* =====================================================
   ✨ ANIMATIONS
   ===================================================== */
@keyframes srntRise     { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes srntSlideR   { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes srntNavIn    { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes srntPop      { 0% { opacity: 0; transform: scale(.3) rotate(-120deg); } 70% { transform: scale(1.1) rotate(8deg); } 100% { opacity: 1; transform: none; } }
@keyframes srntFloat    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes srntFlow     { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes srntText     { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes srntShine    { 0% { left: -80%; } 55%,100% { left: 140%; } }
@keyframes srntBeat     { 0%,100% { transform: scale(1); } 15% { transform: scale(1.28); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } 60% { transform: scale(1); } }
@keyframes srntPulse    { 0%,100% { box-shadow: 0 6px 18px rgba(232,89,12,.35), 0 0 0 0 rgba(247,147,30,.6); } 50% { box-shadow: 0 6px 18px rgba(232,89,12,.35), 0 0 0 14px rgba(247,147,30,0); } }
@keyframes srntPulseNavy { 0%,100% { box-shadow: 0 0 0 0 rgba(20,33,61,.35); } 50% { box-shadow: 0 0 0 8px rgba(20,33,61,0); } }
@keyframes srntGlow     { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes srntSpark    { 0% { transform: translate3d(0,0,0) scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate3d(var(--dx),-150px,0) scale(1); opacity: 0; } }
@keyframes srntGrow     { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes srntDiamond  { 0%,100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(135deg) scale(1.35); } }
@keyframes srntDrop     { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ----- Top bar ----- */
.srnt-topbar { animation: srntRise .6s ease backwards; }
.topbar-social a { display: inline-block; animation: srntRise .5s backwards; }
.topbar-social a:nth-of-type(1) { animation-delay: .25s; }
.topbar-social a:nth-of-type(2) { animation-delay: .32s; }
.topbar-social a:nth-of-type(3) { animation-delay: .39s; }
.topbar-social a:nth-of-type(4) { animation-delay: .46s; }
.topbar-social a:nth-of-type(5) { animation-delay: .53s; }
.topbar-item i { transition: transform .25s ease; }
a.topbar-item:hover i { transform: scale(1.3) rotate(-12deg); }
.topbar-join i { animation: srntBeat 1.6s ease-in-out infinite; }

/* ----- Shine sweep on all orange buttons ----- */
.btn-donate-main, .btn-nav-login, .topbar-join { position: relative; overflow: hidden; }
.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,.55), transparent);
    transform: skewX(-20deg);
    animation: srntShine 3.2s ease-in-out infinite;
    pointer-events: none;
}

/* ----- Brand banner: logo-color flowing bottom line ----- */
.srnt-brand-bar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--srnt-grad-logo);
    background-size: 200% 100%;
    animation: srntFlow 5s linear infinite;
    z-index: 3;
}
.brand-inner, .srnt-mobile-action-bar { position: relative; z-index: 2; }

/* ----- Effects layer: soft glow + floating sparks ----- */
.hdr-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hdr-glow {
    position: absolute;
    right: 8%;
    top: -40%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247,147,30,.28), rgba(247,147,30,0) 65%);
    animation: srntGlow 4.5s ease-in-out infinite;
}
.hdr-spark {
    position: absolute;
    bottom: -10px;
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: radial-gradient(circle, #ffe2a8 0%, #f7931e 45%, rgba(247,147,30,0) 72%);
    opacity: 0;
    animation: srntSpark var(--d) linear var(--delay) infinite;
}

/* ----- Logo: pop-in + float ----- */
.logo-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    animation: srntFloat 4s ease-in-out infinite;
}
.logo-wrap .srnt-logo { position: relative; z-index: 1; animation: srntPop 1s cubic-bezier(.2,1.3,.4,1) backwards; }

/* ----- Title / tagline / divider ----- */
.srnt-title { animation: srntRise .8s .25s cubic-bezier(.2,.8,.2,1) backwards; }
.srnt-title .t-orange {
    background: linear-gradient(90deg, #f7931e, #e8590c, #d62828, #f7931e);
    background-size: 250% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: srntText 4s ease-in-out infinite alternate;
}
.srnt-tagline { animation: srntRise .8s .5s cubic-bezier(.2,.8,.2,1) backwards; }
.srnt-divider .line { animation: srntGrow 1s .9s ease backwards; }
.srnt-divider .line:first-child { transform-origin: right center; }
.srnt-divider .line:last-child  { transform-origin: left center; }
.srnt-divider .diamond { animation: srntDiamond 4s ease-in-out infinite; }

/* ----- Action buttons ----- */
.btn-apply-outline { animation: srntSlideR .7s .45s cubic-bezier(.2,.8,.2,1) backwards; }
.btn-donate-main { animation: srntSlideR .7s .6s cubic-bezier(.2,.8,.2,1) backwards, srntPulse 2.4s 1.4s ease-in-out infinite; }
.heart-circle i { animation: srntBeat 1.6s ease-in-out infinite; }
.modern-menu-trigger { animation: srntPulseNavy 2.6s ease-in-out infinite; }

/* ----- Navbar ----- */
.srnt-navbar { animation: srntNavIn .7s .1s cubic-bezier(.2,.8,.2,1) backwards; transition: box-shadow .3s ease; }
.srnt-navbar.is-scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.38) !important; }
.srnt-navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--srnt-grad-logo);
    background-size: 200% 100%;
    animation: srntFlow 3.5s linear infinite;
}
.main-menu > li { animation: srntRise .5s backwards; }
.main-menu > li:nth-child(1) { animation-delay: 0.26s; }
.main-menu > li:nth-child(2) { animation-delay: 0.32s; }
.main-menu > li:nth-child(3) { animation-delay: 0.38s; }
.main-menu > li:nth-child(4) { animation-delay: 0.44s; }
.main-menu > li:nth-child(5) { animation-delay: 0.50s; }
.main-menu > li:nth-child(6) { animation-delay: 0.56s; }
.main-menu > li:nth-child(7) { animation-delay: 0.62s; }
.main-menu > li:nth-child(8) { animation-delay: 0.68s; }
.main-menu > li:nth-child(9) { animation-delay: 0.74s; }
.main-menu > li:nth-child(10) { animation-delay: 0.80s; }
.main-menu > li:nth-child(11) { animation-delay: 0.86s; }
.main-menu > li:nth-child(12) { animation-delay: 0.92s; }
.main-menu > li:nth-child(13) { animation-delay: 0.98s; }
.main-menu > li:nth-child(14) { animation-delay: 1.04s; }
.caret-icon { display: inline-block; transition: transform .25s ease; }
.nav-item-dropdown:hover .caret-icon { transform: rotate(180deg); }
.nav-item-link.active { text-shadow: 0 0 12px rgba(247,147,30,.65); }

/* ----- Dropdown open animation ----- */
.nav-item-dropdown:hover .dropdown-popover { animation: srntDrop .22s ease; }
.dropdown-popover li { animation: srntDrop .3s ease backwards; }
.dropdown-popover li:nth-child(1) { animation-delay: 0.04s; }
.dropdown-popover li:nth-child(2) { animation-delay: 0.08s; }
.dropdown-popover li:nth-child(3) { animation-delay: 0.12s; }
.dropdown-popover li:nth-child(4) { animation-delay: 0.16s; }
.dropdown-popover li:nth-child(5) { animation-delay: 0.20s; }
.dropdown-popover li:nth-child(6) { animation-delay: 0.24s; }
.dropdown-popover li:nth-child(7) { animation-delay: 0.28s; }
.dropdown-popover li a { transition: background .15s, padding-left .2s ease; }
.dropdown-popover li a:hover { padding-left: 22px; }

/* ----- Mobile drawer: items slide in one by one ----- */
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > * { animation: srntSlideR .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: 0.125s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(2) { animation-delay: 0.170s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(3) { animation-delay: 0.215s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(4) { animation-delay: 0.260s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(5) { animation-delay: 0.305s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(6) { animation-delay: 0.350s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(7) { animation-delay: 0.395s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(8) { animation-delay: 0.440s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(9) { animation-delay: 0.485s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(10) { animation-delay: 0.530s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(11) { animation-delay: 0.575s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(12) { animation-delay: 0.620s; }
.off-canvas-card-drawer.active .card-modal-body > .d-flex.flex-column > *:nth-child(13) { animation-delay: 0.665s; }

@media (max-width: 767.98px) {
    .hdr-glow { width: 260px; height: 260px; }
}

/* 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::after,
    .srnt-navbar, .srnt-navbar *, .srnt-navbar::before,
    .off-canvas-card-drawer * { animation: none !important; transition: none !important; }
}