/* ===== THEME (same as header) ===== */

#qsSection, #nbSection, #nbModal {
    --srnt-navy: #211D70;
    --srnt-navy-dark: #171448;
    --srnt-navy-light: #49459D;
    --srnt-orange: #ED1C24;
    --srnt-orange-dark: #C8101C;
    --srnt-orange-soft: #FF4249;
    --srnt-cream: #FFF1F2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

.cx-hero {
    position: relative;
    width: 100%;
    height: 490px;
    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 / cover 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(237, 28, 36, .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(237, 28, 36, .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(255, 66, 73, .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(237, 28, 36, .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(33, 29, 112, .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(33, 29, 112, .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, #ED1C24, 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(237, 28, 36, .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(237, 28, 36, .10), transparent 42%),
            radial-gradient(circle at 4% 92%, rgba(73, 69, 157, .10), transparent 45%),
            linear-gradient(180deg, #F3F4FC 0%, #ffffff 100%);
}
/* dotted pattern */

.qs-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(33, 29, 112, .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(73, 69, 157, .15);
}

.qs-blob.b2 {
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: 6%;
    top: auto;
    background: rgba(237, 28, 36, .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(237, 28, 36, .5);
    background: rgba(237, 28, 36, .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, #ED1C24, #FF4249, #C8101C, #ED1C24);
    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(33, 29, 112, .10);
    box-shadow: 0 14px 34px rgba(33, 29, 112, .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(237, 28, 36, .14), transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}

.qs-card:hover,
    .qs-card:focus-visible {
    border-color: rgba(237, 28, 36, .5);
    box-shadow: 0 28px 55px rgba(33, 29, 112, .18), 0 0 0 4px rgba(237, 28, 36, .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(33, 29, 112, .14);
    transition: -webkit-text-stroke-color .35s, transform .35s;
}

.qs-card:hover .qs-no {
    -webkit-text-stroke-color: rgba(237, 28, 36, .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, #ED1C24 0%, var(--srnt-orange-dark) 100%);
    box-shadow: 0 12px 26px rgba(200, 16, 28, .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(237, 28, 36, .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(237, 28, 36, .12);
    border: 1px solid rgba(237, 28, 36, .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, #49459D -40%, var(--srnt-navy) 45%, var(--srnt-navy-dark) 100%);
    border-color: rgba(255, 66, 73, .45);
    box-shadow: 0 24px 50px rgba(33, 29, 112, .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(255, 66, 73, .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(255, 66, 73, .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, #ED1C24, 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(237, 28, 36, .6);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(237, 28, 36, 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(237, 28, 36, .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(33, 29, 112, .12);
    box-shadow: 0 14px 34px rgba(33, 29, 112, .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(33, 29, 112, .12);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: var(--srnt-navy);
    transition: background .25s;
}

.nb-item:hover {
    background: rgba(237, 28, 36, .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(237, 28, 36, .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(237, 28, 36, .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(8, 31, 69, .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: #211D70;
}

.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(237, 28, 36, .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;
    }
}
/* Ashish & Ayush homepage redesign */

.aaf-hero,.aaf-activities,#qsSection {
    --aaf-blue: #211D70;
    --aaf-red: #ED1C24;
    --aaf-dark: #171448;
    font-family: 'Plus Jakarta Sans',Arial,sans-serif;
    box-sizing: border-box;
}

.aaf-hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(120deg,#171448,#211D70 60%,#49459D);
    color: white;
    padding: clamp(24px,4vw,64px) 0 24px;
    overflow: hidden;
    touch-action: pan-y;
}

.aaf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%,#ED1C242c,transparent 40%),radial-gradient(#ffffff12 1px,transparent 1px);
    background-size: auto,24px 24px;
    animation: aafDrift 20s linear infinite;
}

@keyframes aafDrift {

    to {
        background-position: 0 0,48px 48px;
    }
}

.aaf-slides,.aaf-controls {
    width: min(1360px,90%);
    margin: auto;
}

.aaf-slides {
    display: grid;
}

.aaf-slide {
    grid-area: 1/1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: clamp(24px,5vw,76px);
    min-width: 0;
}

.aaf-slide[hidden] {
    display: grid!important;
    visibility: hidden;
    pointer-events: none;
}

.aaf-copy {
    min-width: 0;
    padding: 20px 0;
}

.aaf-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.aaf-kicker::before {
    content: '';
    width: 28px;
    height: 3px;
    background: #ED1C24;
    border-radius: 4px;
}

.aaf-copy h1,.aaf-copy h2 {
    font-family: 'Playfair Display',Georgia,serif;
    font-size: clamp(30px,4vw,62px);
    line-height: 1.12;
    margin: 16px 0;
    color: #fff;
    overflow-wrap: anywhere;
}

.aaf-copy p {
    font-size: clamp(14px,1.25vw,17px);
    line-height: 1.8;
    color: #f3f4fc;
    margin: 0 0 24px;
}

.aaf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aaf-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 10px;
    background: #fff;
    color: #211D70;
    font-weight: 800;
    text-decoration: none;
    transition: .25s;
}

.aaf-actions a:nth-child(2) {
    background: #C8101C;
    color: #fff;
}

.aaf-actions a:hover {
    transform: translateY(-3px);
    background: #ED1C24;
    color: white;
}

.aaf-photo {
    position: relative;
    min-width: 0;
    aspect-ratio: 1.45;
    border-radius: 18px 110px 18px 65px;
    background: #49459D;
    box-shadow: 12px 12px 0 #ED1C24;
    overflow: hidden;
}

.aaf-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.aaf-photo-label {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #171448e8;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.aaf-slide.active .aaf-copy {
    animation: aafEnter .65s ease both;
}

.aaf-slide.active img {
    animation: aafZoom 7s ease-out both;
}

@keyframes aafEnter {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes aafZoom {

    from {
        transform: scale(1.07);
    }

    to {
        transform: scale(1);
    }
}

.aaf-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.aaf-controls button {
    border: 1px solid #ffffff66;
    background: #ffffff14;
    color: white;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.aaf-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aaf-dots button {
    min-width: 28px;
    min-height: 44px;
    border: 0;
    background: transparent;
    position: relative;
}

.aaf-dots button::after {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    top: 20px;
    height: 4px;
    border-radius: 5px;
    background: #ffffff66;
}

.aaf-dots button[aria-pressed=true]::after {
    background: #ff4249;
}

.aaf-controls button:focus-visible,.aaf-actions a:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

#qsSection {
    padding: 60px 0;
    background: linear-gradient(135deg,#fff,#F3F4FC,#FFF1F2);
}

#qsSection .qs-head,#qsSection .qs-card {
    opacity: 1;
    transform: none;
}

#qsSection .qs-grid {
    gap: 20px;
}

#qsSection .qs-card {
    min-width: 0;
    min-height: 250px;
    padding: 26px 22px 20px;
    border-radius: 12px 32px 12px 12px;
    border: 1px solid #E1E3EF;
    border-bottom: 4px solid #211D70;
    box-shadow: 0 8px 0 #211D7009,0 15px 35px #211D7012;
    overflow: hidden;
    transition: transform .3s,box-shadow .3s;
}

#qsSection .qs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px #211D7025;
}

#qsSection .qs-card::before,#qsSection .qs-card::after,#qsSection .qs-icon::after {
    display: none;
}

#qsSection .qs-icon {
    border-radius: 12px 24px 12px 12px;
    background: #F3F4FC;
    color: #211D70;
    box-shadow: none;
    transform: none;
}

#qsSection .qs-card:hover .qs-icon {
    background: #211D70;
    color: white;
    transform: rotate(-6deg);
}

#qsSection .qs-card-title,#qsSection .qs-card-text,#qsSection .qs-open {
    transform: none;
}

#qsSection .qs-card-text {
    font-size: 13px;
    line-height: 1.7;
}

#qsSection .qs-open {
    border-top: 1px solid #E1E3EF;
    margin-top: auto;
    justify-content: space-between;
}

#qsSection .qs-card.qs-feat {
    background: linear-gradient(145deg,#211D70,#171448);
    border-bottom-color: #ED1C24;
}

#qsSection .qs-feat .qs-open {
    color: #fff;
    border-color: #ffffff33;
}

#qsSection .qs-badge {
    top: 8px;
    left: 20px;
}

#qsSection .qs-feat .qs-icon {
    margin-top: 15px;
}

.aaf-activities {
    padding: clamp(36px,5vw,80px) 0;
    background: linear-gradient(135deg,#F3F4FC,#fff 60%,#FFF1F2);
    color: #211D70;
}

.aaf-act-wrap {
    width: min(1240px,92%);
    margin: auto;
}

.aaf-activities header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 30px;
}

.aaf-activities h2 {
    font-family: 'Playfair Display',Georgia,serif;
    font-size: clamp(26px,3.5vw,42px);
    line-height: 1.2;
    margin: 14px 0;
}

.aaf-activities h2 em {
    color: #C8101C;
    font-style: normal;
}

.aaf-activities header p {
    color: #626477;
    line-height: 1.6;
}

.aaf-act-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    align-items: start;
}

.aaf-act-card {
    background: white;
    border: 1px solid #E1E3EF;
    border-radius: 18px;
    box-shadow: 0 5px 0 #211D700a,0 12px 30px #211D7010;
    overflow: hidden;
}

.aaf-act-card summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    cursor: pointer;
    list-style: none;
    min-height: 96px;
}

.aaf-act-card summary::-webkit-details-marker {
    display: none;
}

.aaf-act-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 14px;
    background: #211D70;
    color: white;
    font-size: 21px;
}

.aaf-act-card:nth-child(even) .aaf-act-icon {
    background: #C8101C;
}

.aaf-act-name {
    flex: 1;
    min-width: 0;
    font-weight: 800;
    line-height: 1.4;
}

.aaf-act-name small {
    display: block;
    font-size: 12px;
    color: #626477;
    margin-top: 4px;
    font-weight: 600;
}

.aaf-plus {
    font-size: 24px;
    color: #C8101C;
    transition: transform .3s;
}

.aaf-act-card[open] .aaf-plus {
    transform: rotate(45deg);
}

.aaf-act-card[open] summary {
    background: #F3F4FC;
}

.aaf-act-card ul {
    margin: 0;
    padding: 8px 18px 16px;
    list-style: none;
    animation: aafEnter .35s ease;
}

.aaf-act-card li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid #E1E3EF;
    font-size: 13px;
    line-height: 1.6;
    color: #202039;
    overflow-wrap: anywhere;
}

.aaf-act-card li:last-child {
    border: 0;
}

.aaf-act-card li span {
    font-weight: 800;
    color: #C8101C;
    flex: none;
}

.aaf-act-card summary:focus-visible {
    outline: 3px solid #49459D;
    outline-offset: -3px;
}

@media(max-width:1000px) {

    .aaf-act-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .aaf-slide {
        gap: 26px;
    }

    .aaf-photo {
        border-radius: 16px 65px 16px 40px;
    }
}

@media(max-width:767px) {

    .aaf-slide {
        grid-template-columns: 1fr;
        gap: 18px;
        align-content: start;
    }

    .aaf-copy {
        padding: 0;
    }

    .aaf-photo {
        aspect-ratio: 1.8;
        box-shadow: 6px 6px 0 #ED1C24;
    }

    .aaf-copy h1,.aaf-copy h2 {
        font-size: clamp(28px,7vw,40px);
    }

    .aaf-controls {
        justify-content: center;
        margin-top: 22px;
    }

    .aaf-actions a {
        font-size: 13px;
        padding: 12px 14px;
    }

    .aaf-hero {
        padding-top: 28px;
    }

    #qsSection {
        padding: 36px 0;
    }

    #qsSection .qs-card {
        min-height: 220px;
        padding: 20px 15px 16px;
    }
}

@media(max-width:520px) {

    .aaf-act-grid {
        grid-template-columns: 1fr;
    }

    .aaf-act-card summary {
        min-height: 80px;
        padding: 14px;
    }

    #qsSection .qs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #qsSection .qs-card {
        min-height: 200px;
    }

    .aaf-actions a {
        flex: 1;
    }

    .aaf-photo {
        border-radius: 12px 42px 12px 30px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .aaf-hero *,.aaf-hero::before,.aaf-activities *,#qsSection * {
        animation: none!important;
        transition: none!important;
    }
}
/* Premium motion and activities refinement */

.aaf-hero {
    background: linear-gradient(120deg,#171448,#211D70,#49459D,#30194e);
    background-size: 300% 300%;
    animation: aafGradient 18s ease-in-out infinite alternate;
}

@keyframes aafGradient {

    from {
        background-position: 0% 40%;
    }

    to {
        background-position: 100% 60%;
    }
}

.aaf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 25% 25%,#ed1c2428,transparent 45%),radial-gradient(ellipse at 80% 70%,#ffffff16,transparent 45%);
    animation: aafGlow 12s ease-in-out infinite alternate;
}

@keyframes aafGlow {

    to {
        transform: translate(5%,-4%) scale(1.15);
    }
}

.aaf-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.aaf-bubbles span {
    position: absolute;
    left: var(--x);
    bottom: calc(-1 * var(--s));
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    border: 1px solid #ffffff35;
    background: radial-gradient(circle at 30% 25%,#ffffff25,#ffffff06 65%,#ed1c2418);
    box-shadow: inset 0 0 12px #ffffff12,0 0 18px #ffffff0c;
    animation: aafBubble var(--t) var(--d) linear infinite;
}

@keyframes aafBubble {

    0% {
        transform: translate(0,0) scale(.7);
        opacity: 0;
    }

    15%,75% {
        opacity: .8;
    }

    100% {
        transform: translate(35px,-1100px) scale(1.2);
        opacity: 0;
    }
}

.aaf-activities {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 0 15%,#e8e7fa,transparent 35%),radial-gradient(circle at 100% 90%,#ffe8eb,transparent 35%),#fafafd;
}

.aaf-activities header {
    max-width: 1050px;
    margin: 0 auto 38px;
}

.aaf-activities header .aaf-kicker {
    color: #C8101C;
    background: #fff1f2;
    border: 1px solid #ed1c2440;
    border-radius: 50px;
    padding: 8px 18px;
    font-weight: 800;
}

.aaf-activities h2,.aaf-activities h2 em {
    font-family: 'Playfair Display',Georgia,serif;
    font-weight: 900;
    letter-spacing: -.5px;
}

.aaf-activities header p {
    font-weight: 500;
    font-size: clamp(14px,1.2vw,17px);
}

.aaf-activities header::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    border-radius: 10px;
    margin: 20px auto 0;
    background: linear-gradient(90deg,#211D70,#ED1C24);
}

.aaf-act-grid {
    gap: 22px;
}

.aaf-act-card {
    position: relative;
    border-radius: 22px 22px 22px 6px;
    border: 1px solid #e1e3ef;
    border-bottom: 4px solid #211D70;
    box-shadow: 0 10px 28px #211d7012;
    transition: transform .3s,box-shadow .3s;
}

.aaf-act-card:nth-child(even) {
    border-bottom-color: #ED1C24;
}

.aaf-act-card summary {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) 32px;
    gap: 14px;
    min-height: 132px;
    padding: 22px 18px;
    background: linear-gradient(135deg,#fff,#f3f4fc);
}

.aaf-act-card:nth-child(even) summary {
    background: linear-gradient(135deg,#fff,#fff1f2);
}

.aaf-act-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px 18px 18px 5px;
    box-shadow: 0 5px 0 #17144830;
    transition: transform .35s,border-radius .35s;
}

.aaf-act-name {
    font-size: clamp(15px,1.2vw,18px);
    font-weight: 800;
}

.aaf-act-name small {
    font-size: 12px;
    font-weight: 600;
    margin-top: 7px;
}

.aaf-plus {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e1e3ef;
    line-height: 1;
}

.aaf-act-card[open] .aaf-plus {
    background: #C8101C;
    color: white;
}

.aaf-act-card ul {
    padding: 12px 20px 18px;
}

.aaf-act-card li {
    font-size: 14px;
}

.aaf-act-card li span {
    background: #fff1f2;
    border-radius: 7px;
    padding: 3px 7px;
    font-size: 12px;
}

.aaf-act-card[open] {
    box-shadow: 0 15px 35px #211d7020;
}

@media(hover:hover) {

    .aaf-act-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 36px #211d7020;
    }

    .aaf-act-card:hover .aaf-act-icon {
        transform: rotate(-7deg) scale(1.06);
        border-radius: 50%;
    }
}

@media(max-width:767px) {

    .aaf-bubbles span {
        width: calc(var(--s)*.65);
        height: calc(var(--s)*.65);
    }

    .aaf-act-grid {
        gap: 14px;
    }

    .aaf-activities header {
        margin-bottom: 25px;
    }

    .aaf-act-card summary {
        min-height: 105px;
        padding: 16px 14px;
        grid-template-columns: 46px minmax(0,1fr) 30px;
        gap: 10px;
    }

    .aaf-act-icon {
        width: 46px;
        height: 46px;
        font-size: 19px;
    }

    .aaf-act-card li {
        font-size: 13px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .aaf-hero,.aaf-hero::after,.aaf-bubbles span {
        animation: none!important;
    }

    .aaf-bubbles {
        display: none;
    }
}
