/* ===== THEME (same as header) ===== */
    :root {
        --srnt-navy: #094f86;
        --srnt-navy-dark: #063b65;
        --srnt-navy-light: #4677b9;
        --srnt-orange: #2b9182;
        --srnt-orange-dark: #216f67;
        --srnt-orange-soft: #9cb76d;
        --srnt-cream: #eef5f7;
    }

    * { box-sizing: border-box; }
    body {
        margin: 0;
        overflow-x: hidden;
    }
    .cx-hero {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 1920 / 819;
        min-height: 0;
        overflow: hidden;
        background: var(--srnt-navy-dark);
        color: #fff;
        font-family: 'Plus Jakarta Sans', Arial, sans-serif;
        isolation: isolate;
        touch-action: pan-y;
        -webkit-tap-highlight-color: transparent;
    }
    /* ============ 3D CUBE (slider rotation) ============ */
    .cx-scene {
        position: absolute;
        inset: 0;
        perspective: 1800px;
        -webkit-perspective: 1800px;
        z-index: 1;
    }
    .cx-cube {
        position: absolute;
        inset: 0;
        transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
        will-change: transform;
        transition: transform 1.3s cubic-bezier(.77, 0, .18, 1);
    }
    .cx-face {
        position: absolute;
        inset: 0;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px 20px 95px;
        background: var(--img) center / contain no-repeat, var(--srnt-navy-dark);
        overflow: hidden;
    }
    /* light neutral shade (no blue) so the text stays readable */
    .cx-face::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .12) 50%, rgba(0, 0, 0, .35) 100%);
    }
    .cx-content { text-shadow: 0 2px 10px rgba(0, 0, 0, .85), 0 0 24px rgba(0, 0, 0, .6); }
    .cx-content {
        position: relative;
        z-index: 3;
        max-width: 900px;
    }
    .cx-small {
        display: inline-block;
        margin-bottom: 14px;
        padding: 6px 18px;
        font-size: 14px;
        letter-spacing: 6px;
        text-transform: uppercase;
        border: 1px solid var(--srnt-orange);
        border-radius: 30px;
        background: rgba(51, 142, 132, .35);
    }
    .cx-title {
        margin: 0 0 16px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(26px, 5.5vw, 58px);
        font-weight: 900;
        line-height: 1.1;
        text-transform: uppercase;
        overflow-wrap: anywhere;
        perspective: 800px;
    }
    .cx-sub {
        margin: 0 auto;
        max-width: 600px;
        font-size: clamp(13px, 1.8vw, 17px);
        line-height: 1.6;
        color: rgba(255, 255, 255, .9);
    }
    /* letter by letter 3D fly in */
    .ch {
        display: inline-block;
        opacity: 0;
        transform-origin: 50% 100%;
    }
    .cx-face.active .ch {
        animation: letterIn .9s cubic-bezier(.2, .9, .3, 1.2) both;
        animation-delay: calc(var(--i) * 45ms + .5s);
    }
    @keyframes letterIn {
        0%   { opacity: 0; transform: translateZ(-500px) translateY(80px) rotateX(-90deg) rotateY(40deg); filter: blur(10px); }
        100% { opacity: 1; transform: none; filter: blur(0); }
    }

    .cx-face.active .cx-small,
    .cx-face.active .cx-sub {
        animation: fadeUp .9s .3s both;
    }
    .cx-face.active .cx-sub { animation-delay: 1.1s; }
    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: none; }
    }
    .cx-title.shake { animation: titleGlow 3s ease-in-out infinite; }
    @keyframes titleGlow {
        0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, .3); }
        50%      { text-shadow: 0 0 45px rgba(255, 255, 255, .9), 0 0 90px rgba(51, 142, 132, .7); }
    }
    /* cursor spotlight */
    .cx-spot {
        position: absolute;
        inset: 0;
        z-index: 5;
        pointer-events: none;
        background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), rgba(154, 174, 103, .16), transparent 70%);
        mix-blend-mode: screen;
    }
    /* ============ UI OVERLAY ============ */
    .cx-brand {
        position: absolute;
        top: 18px;
        left: 20px;
        z-index: 20;
        display: flex;
        align-items: center;
        gap: 12px;
        animation: fadeUp 1s .2s both;
    }
    .cx-brand img {
        width: 52px;
        height: 52px;
        padding: 3px;
        object-fit: contain;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 20px rgba(51, 142, 132, .85);
    }
    .cx-brand span {
        font-weight: 800;
        font-size: 18px;
        letter-spacing: 1px;
        text-shadow: 0 2px 8px #000;
    }
    .cx-counter {
        position: absolute;
        top: 22px;
        right: 24px;
        z-index: 20;
        font-size: 22px;
        font-weight: 800;
        letter-spacing: 3px;
    }
    .cx-counter small { opacity: .6; font-size: 14px; }
    .cx-arrow {
        position: absolute;
        top: 50%;
        z-index: 20;
        width: 52px;
        height: 52px;
        margin-top: -26px;
        border-radius: 50%;
        border: 2px solid var(--srnt-orange);
        background: rgba(7, 82, 147, .55);
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        transition: .3s;
    }
    .cx-arrow:hover { background: var(--srnt-orange); color: #fff; transform: scale(1.15) rotate(8deg); }
    .cx-arrow.l { left: 16px; }
    .cx-arrow.r { right: 16px; }
    .cx-progress {
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 100%;
        z-index: 20;
        background: rgba(255, 255, 255, .15);
    }
    .cx-progress b {
        display: block;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, var(--srnt-orange), var(--srnt-orange-soft), var(--srnt-navy-light));
        box-shadow: 0 0 14px #fff;
    }
    .cx-progress b.run { animation: prog 4.5s linear forwards; }
    @keyframes prog { to { width: 100%; } }

    /* ============ AUTH / ACTION BUTTONS ============ */
    .cx-auth {
        position: absolute;
        left: 50%;
        bottom: 22px;
        transform: translateX(-50%);
        z-index: 30;
        width: min(560px, 92%);
        animation: fadeUp 1s 1s both;
    }
    .auth-buttons {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }
    .aesthetic-btn {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 170px;
        max-width: 220px;
        min-height: 43px;
        padding: 0 18px;
        border: 2px solid var(--srnt-orange);
        border-radius: 50px;
        background: rgba(7, 82, 147, .7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #fff;
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
        transition: color .4s, transform .3s, box-shadow .3s;
    }
    .aesthetic-btn::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: linear-gradient(135deg, #338E84, var(--srnt-orange-dark));
        transform: translate(-50%, -50%);
        transition: width .5s, height .5s;
        z-index: -1;
    }
    .aesthetic-btn:hover,
    .aesthetic-btn:focus-visible {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 22px rgba(51, 142, 132, .5);
    }
    .aesthetic-btn:hover::before,
    .aesthetic-btn:focus-visible::before {
        width: 400px;
        height: 400px;
    }
    .aesthetic-btn:active { transform: scale(.97); }

    /* ============ HERO RESPONSIVE ============ */
    @media (max-width: 768px) {
        .cx-spot { display: none; }
        .cx-face.active .ch { animation-name: letterInMobile; }
        @keyframes letterInMobile {
            0%   { opacity: 0; transform: translateY(40px) rotateX(-70deg); }
            100% { opacity: 1; transform: none; }
        }
    }

    @media (max-width: 576px) {
        .cx-scene { perspective: 1200px; -webkit-perspective: 1200px; }
        .cx-brand { top: 12px; left: 12px; gap: 8px; max-width: calc(100% - 96px); }
        .cx-brand img { width: 40px; height: 40px; }
        .cx-brand span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .cx-counter { top: 16px; right: 14px; font-size: 18px; }
        .cx-counter small { font-size: 12px; }
        .cx-arrow { width: 32px; height: 32px; margin-top: -16px; font-size: 13px; background: rgba(0, 0, 0, .5); }
        .cx-arrow:hover { transform: none; }
        .cx-arrow.l { left: 6px; }
        .cx-arrow.r { right: 6px; }
        .auth-buttons { flex-wrap: nowrap; gap: 8px; }
        .aesthetic-btn { flex: 1 1 0; min-width: 0; max-width: none; min-height: 42px; font-size: 12px; padding: 0 10px; }
    }

    @media (max-height: 480px) and (orientation: landscape) {
        .cx-hero { height: 420px; }
        .cx-face { padding: 70px 56px 78px; }
        .cx-sub { display: none; }
    }

    @media (prefers-reduced-motion: reduce) {
        .cx-hero *, .cx-hero *::before, .cx-hero *::after {
            animation-duration: .001s !important;
            animation-delay: 0s !important;
            transition-duration: .001s !important;
        }
    }

    /* =====================================================
       QUICK SERVICES  (same light theme as all other sections:
       white-blue bg + navy + orange accent)
       ===================================================== */
    .qs-section {
        position: relative;
        width: 100%;
        padding: 64px 0 70px;
        font-family: 'Plus Jakarta Sans', Arial, sans-serif;
        color: var(--srnt-navy);
        overflow: hidden;
        isolation: isolate;
        background:
            radial-gradient(circle at 94% 8%, rgba(51, 142, 132, .10), transparent 42%),
            radial-gradient(circle at 4% 92%, rgba(70, 119, 185, .10), transparent 45%),
            linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
    }

    /* dotted pattern */
    .qs-section::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image: radial-gradient(rgba(7, 82, 147, .08) 1.3px, transparent 1.3px);
        background-size: 28px 28px;
        mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 70%);
        -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 70%);
    }

    /* soft floating blobs */
    .qs-blob {
        position: absolute;
        z-index: -1;
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
        animation: qsBlob 13s ease-in-out infinite alternate;
    }
    .qs-blob.b1 { width: 280px; height: 280px; left: -90px; top: 18%; background: rgba(70, 119, 185, .15); }
    .qs-blob.b2 { width: 260px; height: 260px; right: -80px; bottom: 6%; top: auto; background: rgba(51, 142, 132, .15); animation-delay: -6s; }
    @keyframes qsBlob {
        from { transform: translate(0, 0) scale(1); }
        to   { transform: translate(36px, 26px) scale(1.18); }
    }

    .qs-wrap {
        width: min(1240px, 92%);
        margin: 0 auto;
    }

    /* ---- heading ---- */
    .qs-head {
        text-align: center;
        max-width: 820px;
        margin: 0 auto 34px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1);
    }
    .qs-section.in .qs-head { opacity: 1; transform: none; }

    .qs-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 18px;
        border-radius: 50px;
        border: 1px solid rgba(51, 142, 132, .5);
        background: rgba(51, 142, 132, .10);
        color: var(--srnt-orange-dark);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    .qs-pill i { animation: qsBolt 1.6s ease-in-out infinite; }
    @keyframes qsBolt { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35) rotate(-12deg); } }

    .qs-title {
        margin: 14px 0 10px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(26px, 3.6vw, 38px);
        font-weight: 900;
        line-height: 1.15;
        color: var(--srnt-navy);
    }
    .qs-title em {
        font-style: normal;
        background: linear-gradient(90deg, #338E84, #9AAE67, #075293, #338E84);
        background-size: 250% 100%;
        -webkit-background-clip: text;
                background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        animation: qsText 4s ease-in-out infinite alternate;
    }
    @keyframes qsText { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
    .qs-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 14px auto 0;
        width: 220px;
    }
    .qs-divider .line { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--srnt-orange)); }
    .qs-divider .line:last-child { background: linear-gradient(90deg, var(--srnt-orange), transparent); }
    .qs-divider .diamond {
        width: 8px; height: 8px; margin: 0 10px;
        background: var(--srnt-orange);
        transform: rotate(45deg);
        animation: qsDiamond 4s ease-in-out infinite;
    }
    @keyframes qsDiamond {
        0%,100% { transform: rotate(45deg) scale(1); }
        50%     { transform: rotate(135deg) scale(1.4); }
    }

    /* ---- grid ---- */
    .qs-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        perspective: 1200px;
    }

    /* ---- card ---- */
    .qs-card {
        --rx: 0deg;
        --ry: 0deg;
        --gx: 50%;
        --gy: 50%;
        position: relative;
        isolation: isolate;
        display: flex;
        flex-direction: column;
        padding: 20px 20px 18px;
        min-height: 215px;
        border-radius: 22px;
        color: var(--srnt-navy);
        text-decoration: none;
        background: #ffffff;
        border: 1px solid rgba(7, 82, 147, .10);
        box-shadow: 0 14px 34px rgba(7, 82, 147, .10);
        transform-style: preserve-3d;
        opacity: 0;
        transform: translateY(50px) rotateX(var(--rx)) rotateY(var(--ry));
        transition:
            opacity .7s cubic-bezier(.2, .8, .2, 1),
            transform .25s ease-out,
            box-shadow .35s,
            border-color .35s;
        -webkit-tap-highlight-color: transparent;
    }
    .qs-section.in .qs-card {
        opacity: 1;
        transform: translateY(0) rotateX(var(--rx)) rotateY(var(--ry));
        transition-delay: calc(var(--n) * 120ms), 0s, 0s, 0s;
    }
    .qs-section.in .qs-card.tilting { transition-delay: 0s; }

    /* top orange accent bar */
    .qs-card .qs-bar {
        position: absolute;
        left: 24px;
        right: 24px;
        top: 0;
        height: 4px;
        border-radius: 0 0 6px 6px;
        background: linear-gradient(90deg, var(--srnt-orange), var(--srnt-orange-soft));
        transform: scaleX(.25);
        transform-origin: left center;
        transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    }
    .qs-card:hover .qs-bar, .qs-card:focus-visible .qs-bar { transform: scaleX(1); }

    /* rotating gradient border on hover */
    .qs-card::before {
        content: "";
        position: absolute;
        inset: -1px;
        z-index: -1;
        border-radius: 25px;
        padding: 2px;
        background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, var(--srnt-orange) 75%, var(--srnt-orange-soft) 90%, transparent 100%);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        opacity: 0;
        transition: opacity .35s;
        animation: qsSpin 3s linear infinite;
    }
    @property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
    @keyframes qsSpin { to { --ang: 360deg; } }

    /* mouse-follow glow */
    .qs-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: 24px;
        background: radial-gradient(circle 190px at var(--gx) var(--gy), rgba(51, 142, 132, .14), transparent 70%);
        opacity: 0;
        transition: opacity .3s;
    }
    .qs-card:hover,
    .qs-card:focus-visible {
        border-color: rgba(51, 142, 132, .5);
        box-shadow: 0 28px 55px rgba(7, 82, 147, .18), 0 0 0 4px rgba(51, 142, 132, .10);
        outline: none;
    }
    .qs-card:hover::before, .qs-card:focus-visible::before,
    .qs-card:hover::after,  .qs-card:focus-visible::after { opacity: 1; }

    /* big outlined number */
    .qs-no {
        position: absolute;
        top: 10px;
        right: 16px;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 46px;
        font-weight: 900;
        line-height: 1;
        color: transparent;
        -webkit-text-stroke: 1.5px rgba(7, 82, 147, .14);
        transition: -webkit-text-stroke-color .35s, transform .35s;
    }
    .qs-card:hover .qs-no { -webkit-text-stroke-color: rgba(51, 142, 132, .8); transform: translateY(-4px); }

    /* icon */
    .qs-icon {
        position: relative;
        width: 58px;
        height: 58px;
        margin-bottom: 14px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #fff;
        background: linear-gradient(135deg, #338E84 0%, var(--srnt-orange-dark) 100%);
        box-shadow: 0 12px 26px rgba(33, 111, 103, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
        transform: translateZ(50px) rotate(-6deg);
        transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), border-radius .45s;
    }
    .qs-icon::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 23px;
        border: 2px dashed rgba(51, 142, 132, .45);
        animation: qsRot 14s linear infinite;
    }
    @keyframes qsRot { to { transform: rotate(360deg); } }
    .qs-card:hover .qs-icon { transform: translateZ(70px) rotate(0) scale(1.1); border-radius: 50%; }
    .qs-card:hover .qs-icon::after { border-radius: 50%; }

    .qs-card-title {
        margin: 0 0 6px;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.25;
        color: var(--srnt-navy);
        transform: translateZ(30px);
    }
    .qs-card-text {
        margin: 0;
        font-size: 12.5px;
        line-height: 1.5;
        color: #5b6b86;
        font-weight: 500;
        transform: translateZ(20px);
    }

    /* open button */
    .qs-open {
        margin-top: auto;
        padding-top: 12px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 12.5px;
        font-weight: 800;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--srnt-orange-dark);
        transform: translateZ(30px);
    }
    .qs-open span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(51, 142, 132, .12);
        border: 1px solid rgba(51, 142, 132, .5);
        transition: background .3s, color .3s, transform .3s;
    }
    .qs-card:hover .qs-open span { background: var(--srnt-orange); color: #fff; transform: translateX(6px); }

    /* featured (donate) card - navy for contrast */
    .qs-card.qs-feat {
        background: linear-gradient(155deg, #4677B9 -40%, var(--srnt-navy) 45%, var(--srnt-navy-dark) 100%);
        border-color: rgba(154, 174, 103, .45);
        box-shadow: 0 24px 50px rgba(7, 82, 147, .35);
        color: #fff;
    }
    .qs-card.qs-feat .qs-card-title { color: #fff; }
    .qs-card.qs-feat .qs-card-text { color: rgba(255, 255, 255, .82); }
    .qs-card.qs-feat .qs-open { color: var(--srnt-orange-soft); }
    .qs-card.qs-feat .qs-open span { background: rgba(255, 255, 255, .12); border-color: rgba(154, 174, 103, .7); }
    .qs-card.qs-feat .qs-icon i { animation: qsBeat 1.6s ease-in-out infinite; }
    .qs-card.qs-feat .qs-no { -webkit-text-stroke-color: rgba(255, 255, 255, .22); }
    .qs-card.qs-feat:hover .qs-open span { background: var(--srnt-orange); color: #fff; }
    .qs-card.qs-feat::after { background: radial-gradient(circle 190px at var(--gx) var(--gy), rgba(154, 174, 103, .22), transparent 70%); }
    @keyframes qsBeat {
        0%,100% { transform: scale(1); }
        15% { transform: scale(1.25); }
        30% { transform: scale(1); }
        45% { transform: scale(1.15); }
    }
    /* shine sweep on featured */
    .qs-feat .qs-shine {
        position: absolute;
        inset: 0;
        border-radius: 24px;
        overflow: hidden;
        pointer-events: none;
        z-index: -1;
    }
    .qs-feat .qs-shine::after {
        content: "";
        position: absolute;
        top: 0;
        left: -80%;
        width: 50%;
        height: 100%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
        transform: skewX(-20deg);
        animation: qsShine 3.4s ease-in-out infinite;
    }
    @keyframes qsShine { 0% { left: -80%; } 55%, 100% { left: 140%; } }

    .qs-badge {
        position: absolute;
        top: 3px;
        left: 12px;
        padding: 2px 12px;
        border-radius: 20px;
        background: linear-gradient(135deg, #338E84, var(--srnt-orange-dark));
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        animation: qsPulse 1.8s ease-in-out infinite;
    }
    @keyframes qsPulse {
        0%,100% { box-shadow: 0 0 0 0 rgba(51, 142, 132, .6); }
        50%     { box-shadow: 0 0 0 9px rgba(51, 142, 132, 0); }
    }
    .qs-card.qs-feat .qs-icon { margin-top: 14px; }

    /* click ripple */
    .qs-ripple {
        position: absolute;
        z-index: 0;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border-radius: 50%;
        background: rgba(51, 142, 132, .35);
        pointer-events: none;
        animation: qsRipple .7s ease-out forwards;
    }
    @keyframes qsRipple { to { transform: scale(18); opacity: 0; } }
    
    /* ---- responsive ---- */
    @media (max-width: 1100px) {
        .qs-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
        .qs-section { padding: 46px 0 52px; }
        .qs-head { margin-bottom: 24px; }
    }
    @media (max-width: 520px) {
        .qs-grid { gap: 12px; }
        .qs-card { min-height: 190px; padding: 16px 12px 14px; border-radius: 16px; }
        .qs-icon { width: 46px; height: 46px; font-size: 19px; border-radius: 14px; margin-bottom: 10px; }
        .qs-icon::after { inset: -5px; border-radius: 18px; }
        .qs-card-title { font-size: 15px; }
        .qs-card-text { font-size: 12px; line-height: 1.5; }
        .qs-no { font-size: 32px; top: 6px; right: 10px; }
        .qs-open { font-size: 11px; letter-spacing: 1px; }
        .qs-open span { width: 28px; height: 28px; }
        .qs-badge { top: 10px; left: 12px; font-size: 9px; }
    }
    /* touch screens: no tilt, only press effect */
    @media (hover: none) {
        .qs-card { transform: translateY(50px); }
        .qs-section.in .qs-card { transform: none; }
        .qs-card:active { transform: scale(.97); border-color: var(--srnt-orange); }
    }
    @media (prefers-reduced-motion: reduce) {
        .qs-section *, .qs-section *::before, .qs-section *::after {
            animation: none !important;
            transition-duration: .001s !important;
            transition-delay: 0s !important;
        }
        .qs-card, .qs-head{ opacity: 1; transform: none; }
    }
   
   /* ===== NEWS STRIP ===== */
#nbSection.nb-section {
    background: none;
    padding: 0;
    margin: 0 auto 30px;
    width: min(1240px, 92%);
}
#nbSection .nb-wrap { width: 100%; max-width: 1100px; margin: 0 auto; }
.qs-section { padding-top: 30px; }

.nb-box {
    display: flex;
    align-items: center;
    height: 46px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 82, 147, .12);
    box-shadow: 0 14px 34px rgba(7, 82, 147, .10);
}

.nb-label {
    flex-shrink: 0;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--srnt-navy), var(--srnt-navy-dark));
    border-right: 3px solid var(--srnt-orange);
}
.nb-label i { font-size: 15px; color: var(--srnt-orange-soft); }
.nb-label b { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }

.nb-view { position: relative; flex: 1; height: 46px; overflow: hidden; }
.nb-track {
    display: flex;
    width: max-content;
    height: 46px;
    animation: newsHorizontal 45s linear infinite;
}
.nb-track:hover { animation-play-state: paused; }
@keyframes newsHorizontal { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.nb-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 26px;
    border: 0;
    border-right: 1px solid rgba(7, 82, 147, .12);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: var(--srnt-navy);
    transition: background .25s;
}
.nb-item:hover { background: rgba(51, 142, 132, .08); }
.nb-item:hover .nb-item-title { color: var(--srnt-orange-dark); }

.nb-dot { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--srnt-orange); box-shadow: 0 0 0 4px rgba(51, 142, 132, .18); }
.nb-thumb { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--srnt-orange); box-shadow: 0 0 0 2px rgba(51, 142, 132, .15); }

.nb-item-body { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; }
.nb-item-title { font-size: 13.5px; font-weight: 800; line-height: 1; color: var(--srnt-navy); }
.nb-item-date { font-size: 11px; font-weight: 600; line-height: 1; color: #7a879f; }
.nb-item-desc, .nb-item-more { display: none; }

/* ===== NEWS MODAL ===== */
.nb-modal {
    position: fixed; inset: 0; z-index: 999999;
    display: none; align-items: center; justify-content: center;
    padding: 18px;
    background: rgba(7, 82, 147, .65);
    backdrop-filter: blur(4px);
}
.nb-modal.open { display: flex; animation: nbFade .25s ease; }
@keyframes nbFade { from { opacity: 0; } to { opacity: 1; } }

.nb-dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: 88vh;
    display: flex; flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
    animation: nbPop .35s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes nbPop { from { transform: scale(.88) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

.nb-hero-img-wrap { position: relative; flex-shrink: 0; width: 100%; height: 240px; overflow: hidden; background: #075293; }
.nb-modal-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nb-hero-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 40%, rgba(0,0,0,.55) 100%); }
.nb-hero-meta { position: absolute; left: 16px; bottom: 12px; z-index: 2; }
.nb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: rgba(51, 142, 132, .95); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }

.nb-close {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px;
    cursor: pointer; transition: .25s;
}
.nb-close:hover { background: var(--srnt-orange); transform: rotate(90deg); }

.nb-dialog-head { flex-shrink: 0; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, var(--srnt-navy), var(--srnt-navy-dark)); border-bottom: 4px solid var(--srnt-orange); }
.nb-dialog-head h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 800; line-height: 1.4; text-align: left; overflow-wrap: anywhere; }

.nb-dialog-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 22px 24px; font-size: 14.5px; line-height: 1.8; text-align: left; color: #34425e; white-space: pre-line; overflow-wrap: anywhere; }

/* ===== CONTENT VISIBILITY FIX ===== */
#qsSection .qs-head,
#qsSection .qs-card { opacity: 1 !important; transform: none !important; }

/* ===== HERO PHONE: content on image, buttons right below image ===== */
@media (max-width: 576px) {

    .cx-hero {
        --hh: 56.25vw;                    /* image height (16:9) */
        height: calc(var(--hh) + 62px);   /* image + buttons strip, bas itna */
        min-height: 0;
    }

    /* slide = sirf image wala area */
    .cx-face {
        inset: 0 0 auto 0;
        height: var(--hh);
        justify-content: flex-end;
        padding: 46px 40px 12px;
        background: var(--srnt-navy-dark);
    }

    /* image + neeche dark shade taaki text padhne me aaye */
    .cx-face::before {
        inset: 0;
        height: 100%;
        background:
            linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, rgba(0,0,0,.75) 100%),
            var(--img) center / contain no-repeat,
            var(--srnt-navy-dark);
    }
  
    /* text image ke upar */
    .cx-content {
        max-width: 100%;
        text-shadow: 0 2px 8px rgba(0,0,0,.9);
    }
    .cx-small { font-size: 8.5px; letter-spacing: 2px; padding: 3px 10px; margin-bottom: 4px; }
    .cx-title { font-size: clamp(15px, 4.8vw, 20px); line-height: 1.15; margin-bottom: 4px; }
    .cx-sub {
        font-size: 10.5px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* arrows image ke vertical center me */
    .cx-arrow { top: calc(var(--hh) / 2); }

    /* buttons image ke just niche */
    .cx-auth {
        left: 3%;
        width: 94%;
        bottom: auto;
        top: calc(var(--hh) + 12px);
        transform: none;
    }
    .auth-buttons { flex-wrap: nowrap; }
    .aesthetic-btn { min-width: 0; }
}
/* ===== ACTION BUTTONS: banner ke neeche, center ===== */
.cx-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 26px 16px 4px;
    background: #f3f8ff;
    position: relative;
    z-index: 5;
}
.cx-act-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    padding: 13px 30px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
.cx-act-btn:hover { transform: translateY(-3px); }

/* Contact Us: navy */
.cx-act-outline {
    color: #fff;
    background: linear-gradient(135deg, #4677b9, #094f86);
    box-shadow: 0 12px 26px rgba(9, 79, 134, .32);
}
.cx-act-outline:hover { color: #fff; box-shadow: 0 18px 34px rgba(9, 79, 134, .42); }

/* Donate Now: teal */
.cx-act-solid {
    color: #fff;
    background: linear-gradient(135deg, #2b9182, #216f67);
    box-shadow: 0 12px 26px rgba(33, 111, 103, .35);
}
.cx-act-solid:hover { color: #fff; box-shadow: 0 18px 34px rgba(33, 111, 103, .45); }

.cx-act-btn i { font-size: 14px; }

@media (max-width: 576px) {
    .cx-actions {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 14px 12px 0;
    }
    .cx-act-btn {
        flex: 1 1 0;
        min-width: 0;
        max-width: 170px;
        padding: 9px 10px;
        gap: 6px;
        font-size: 11px;
        letter-spacing: .6px;
        white-space: nowrap;
    }
    .cx-act-btn i { font-size: 12px; }
}