:root {
    --primary: #1d4fa3;
    --primary-dark: #153b7c;
    --sky: #f2b134;
    --bg: #f5f8fd;
    --tint: #e9f0fa;
    --card: #ffffff;
    --line: #d5e1f2;
    --head: #12233d;
    --text: #51627c;
    --footer: #12233d;
    --gold: #f2b134;
    --gold-dark: #e5a21f;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6
}

h1,
h2,
h3 {
    color: var(--head);
    margin: 0;
    line-height: 1.2
}

.wrap {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px
}

section {
    padding: 56px 0
}

.tint {
    background: var(--tint)
}

.center {
    text-align: center
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    border-bottom: 1px solid var(--line)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px
}

.logo {
    font-weight: 800;
    color: var(--head);
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none
}

.logo b {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: inline-block
}

.logo span {
    font-weight: 400;
    color: var(--text)
}

nav ul {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500
}

nav ul a:hover {
    color: var(--primary)
}

/* buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    border: 0;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit
}

.btn:hover {
    background: var(--primary-dark)
}

.btn.o {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary)
}

.btn.o:hover {
    background: var(--tint)
}

.btn.full {
    width: 100%;
    margin-top: 16px
}

.btns {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap
}

/* hero */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 56px 20px
}

.eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px
}

.hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin: 10px 0 14px
}

/* Typing animation */
.hero h1 {
    min-height: 2.5em;
}

/* stops the page jumping while text types */
.hero h1 .hl {
    color: #f5a800;
}

/* yellow highlight */

.art {
    background: linear-gradient(135deg, #dff0ff, #b9dcfb);
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center
}

/* cards & grids */
h2 {
    font-size: 30px;
    margin-bottom: 8px
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 26px
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px
}

.tint .card {
    background: #fff
}

.card h3 {
    font-size: 17px;
    margin: 10px 0 6px
}

.card p {
    margin: 0;
    font-size: 14px
}

.ic {
    font-size: 26px
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center
}

/* forms */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 4px;
    color: var(--head)
}

input,
select {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--head);
    font-size: 15px;
    font-family: inherit
}

input:focus,
select:focus {
    outline: 2px solid var(--sky);
    border-color: var(--primary)
}

.res {
    margin-top: 16px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
    padding: 14px;
    background: var(--tint)
}

.res strong {
    display: block;
    font-size: 26px;
    color: var(--primary)
}

.res small {
    font-size: 12px
}

/* steps */
/* ===== How it works – accordion gallery ===== */
.accordion-gallery {
    --ag-accent: #f5a800;
    --ag-gap: 10px;
    --ag-radius: 16px;
    display: flex;
    flex-direction: row;
    gap: var(--ag-gap);
    width: 100%;
    height: 440px;
    margin-top: 32px;
    perspective: 1400px;
    perspective-origin: 50% 50%;
    text-align: left;
}

.ag-panel {
    --ag-gray: .7;
    --ag-dim: .3;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--ag-radius);
    cursor: pointer;
    outline: none;
    transform-style: preserve-3d;
    transform-origin: center;
    background: #12305c;
    box-shadow: 0 12px 30px -16px rgba(18, 48, 92, .55);
    will-change: flex-grow, transform;
    -webkit-tap-highlight-color: transparent;
}

.ag-panel:focus-visible {
    box-shadow: 0 0 0 2px var(--ag-accent), 0 12px 30px -16px rgba(18, 48, 92, .55)
}

.ag-frame {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit
}

.ag-media {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--bg);
    filter: grayscale(var(--ag-gray));
}

.ag-art {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform
}

.ag-art b {
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1;
    color: #fff;
    font-weight: 800;
    letter-spacing: -.02em
}

.ag-art i {
    font-style: normal;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1
}

.ag-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 40%, rgba(11, 38, 84, .6) 100%),
        rgba(11, 38, 84, var(--ag-dim));
}

.ag-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: stretch;
    gap: 12px;
    pointer-events: none;
}

.ag-bar {
    flex: none;
    width: 3px;
    border-radius: 3px;
    background: var(--ag-accent);
    opacity: 0;
    box-shadow: 0 0 12px rgba(245, 168, 0, .6)
}

.ag-text {
    display: block;
    color: #fff;
    opacity: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4)
}

.ag-text strong {
    display: block;
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.25
}

.ag-text small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.45;
    opacity: .92;
    max-width: 34ch
}

/* Mobile: stacked column, tapped panel opens taller */
@media (max-width:520px) {
    .accordion-gallery {
        flex-direction: column;
        perspective: none;
        height: auto
    }

    .ag-panel {
        flex: 0 0 auto;
        height: 84px;
        transform: none !important
    }

    .ag-art {
        flex-direction: row;
        align-items: center;
        top: 18px
    }
}

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

    .ag-panel,
    .ag-art {
        will-change: auto
    }
}

/* advisor */
.who {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px
}

.who h3 {
    font-size: 18px;
    margin: 0
}

.av {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: none
}

/* footer */
footer {
    background: var(--footer);
    color: #c4d6f2;
    padding: 36px 0;
    font-size: 14px
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

footer b {
    color: #fff;
    font-size: 18px
}

footer a {
    color: #c4d6f2;
    display: block;
    text-decoration: none
}

footer a:hover {
    color: #fff
}

.note {
    font-size: 12px;
    margin-top: 18px;
    opacity: .85
}

footer .full {
    flex-basis: 100%
}

/* responsive */
@media(max-width:820px) {
    nav ul {
        display: none
    }

    .hero,
    .two {
        grid-template-columns: 1fr
    }

    .grid4 {
        grid-template-columns: 1fr 1fr
    }

    .grid3 {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }
}

.logo {
    white-space: nowrap;
}

.logo b {
    flex: none;
}

nav .btn {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .logo span {
        display: none;
    }

    /* hides "· LIC Advisor" on phones */
    nav .btn {
        padding: 9px 14px;
        font-size: 14px;
    }
}

/* Plans section */
.plans-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 36px;
}

.plans-head h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.15;
    margin: 0
}

.plans-head em {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
}

.plans-head p {
    margin: 0;
    font-size: 17px
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.plan:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 26px rgba(43, 125, 233, .14);
}

.num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--sky)
}

.pic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 28px;
}

.plan h3 {
    font-size: 22px;
    margin: 0 0 10px
}

.plan p {
    margin: 0 0 28px;
    font-size: 15px;
    flex: 1
}

.more {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--head);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.more:hover {
    color: var(--primary)
}

/* makes the whole plan card clickable */
.more::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
}

@media (max-width:820px) {
    .plans-head {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .plan-grid {
        grid-template-columns: 1fr
    }
}



/* ===== Theme 1: Royal blue and gold ===== */
.btn {
    background: var(--gold);
    color: var(--head);
}

.btn:hover {
    background: var(--gold-dark);
}

.btn.o {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn.o:hover {
    background: var(--primary);
    color: #fff;
}

.card,
.plan {
    border-top: 3px solid var(--gold);
}

.plan:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 26px rgba(29, 79, 163, .16);
}

.art {
    background: linear-gradient(135deg, #d9e6f8, #f8ebcb);
}

.num {
    color: var(--gold-dark);
}

.steps i {
    box-shadow: 0 0 0 2px var(--gold);
}

.plans-head em {
    color: var(--primary);
}

.hero h1 .hl {
    color: var(--primary);
}



/* ===== New hero: sunset background ===== */
.hero-bg {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    /* background: #0b2a6b url('images/hero.jpg') right center / cover no-repeat; */
    overflow: hidden;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 38, 102, .92) 0%, rgba(12, 38, 102, .72) 38%, rgba(12, 38, 102, 0) 68%);
}

.hero-in {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-text {
    max-width: 520px;
}

.hero-bg h1 {
    color: #fff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1;
    margin: 0 0 18px;
    min-height: 3.3em;
}

.hero-bg h1 span {
    display: block;
}

.hero-bg h1 .hl {
    color: #ffd21f;
}

.cursor::after {
    content: "|";
    color: #ffd21f;
    margin-left: 2px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-bg .sub {
    color: #e6eefc;
    font-size: 18px;
    max-width: 420px;
    margin: 0 0 24px;
    opacity: 0;
    transform: translateY(14px);
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(14px);
}

.hero-bg .btn {
    background: #ffc928;
    color: #12233d;
    border-radius: 999px;
    padding: 13px 26px;
}

.hero-bg .btn:hover {
    background: #ffd95c;
}

.hero-bg .btn.ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
}

.hero-bg .btn.ghost:hover {
    background: rgba(255, 255, 255, .15);
}

.quote {
    position: absolute;
    top: 18%;
    right: 6%;
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-size: 42px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    transform: rotate(-4deg);
}

.quote span {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
}

.quote::after {
    content: "";
    display: block;
    height: 3px;
    width: 0;
    background: #fff;
    border-radius: 3px;
    margin-top: 4px;
}

/* animations start after the typing finishes */
.hero-bg.ready .sub {
    animation: fadeUp .8s ease forwards;
}

.hero-bg.ready .hero-btns {
    animation: fadeUp .8s .3s ease forwards;
}

.hero-bg.ready .quote span {
    animation: write 2.4s .6s ease forwards;
}

.hero-bg.ready .quote::after {
    animation: line 1s 3s ease forwards;
}

.hero-bg.ready .quote {
    animation: floaty 5s 4s ease-in-out infinite;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes write {
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes line {
    to {
        width: 100%;
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: rotate(-4deg) translateY(0);
    }

    50% {
        transform: rotate(-4deg) translateY(-6px);
    }
}

@media (max-width: 700px) {
    .hero-bg {
        min-height: 560px;
        background-position: 72% center;
    }

    .hero-bg::before {
        background: linear-gradient(180deg, rgba(12, 38, 102, .9), rgba(12, 38, 102, .55));
    }

    .quote {
        top: auto;
        bottom: 22px;
        right: auto;
        left: 20px;
        font-size: 30px;
    }
}



/* ===== PLANS SECTION ===== */
.plans {
    padding: 90px 20px;
    background: #f4f8ff;
}

.plans__panel {
    max-width: 1150px;
    margin: 0 auto;
    padding: 56px 40px 60px;
    text-align: center;
    border-radius: 32px;
    background: linear-gradient(160deg, #eef4ff 0%, #dfeaff 100%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 30px 80px rgba(40, 80, 170, .15);
    overflow: hidden;
    /* keeps the swing-in animation inside the panel */
}

.plans__pill {
    display: inline-block;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #3563c9;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(53, 99, 201, .15);
}

.plans__title {
    font-size: clamp(30px, 4vw, 46px);
    margin: 18px 0 8px;
    color: #0f1f4b;
}

.plans__title em {
    font-family: Georgia, serif;
    font-style: italic;
    color: #2f5fd0;
}

.plans__sub {
    color: #5b6b8c;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* perspective makes the 3D swing visible */
.plans__stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    perspective: 1400px;
}

.plan-card {
    position: relative;
    padding: 34px 26px 30px;
    text-align: center;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(10px);
    border: 1px solid #fff;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(40, 80, 170, .12);
    transition: transform .35s ease, box-shadow .35s ease;

    /* starting state (before scroll) – the "bent" position like in the video */
    opacity: 0;
    transform-origin: center bottom;
}

.plan-card:nth-child(1) {
    transform: translateX(-160px) rotateY(55deg) skewY(6deg);
}

.plan-card:nth-child(2) {
    transform: translateY(120px) rotateX(-35deg) scale(.85);
}

.plan-card:nth-child(3) {
    transform: translateX(160px) rotateY(-55deg) skewY(-6deg);
}

/* final state */
.plans.is-visible .plan-card {
    opacity: 1;
    transform: none;
    transition: opacity .9s ease, transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.plans.is-visible .plan-card:nth-child(1) {
    transition-delay: .05s;
}

.plans.is-visible .plan-card:nth-child(2) {
    transition-delay: .25s;
}

.plans.is-visible .plan-card:nth-child(3) {
    transition-delay: .45s;
}

/* hover after the animation finishes */
.plans.is-done .plan-card {
    transition-delay: 0s;
    transition: transform .35s ease, box-shadow .35s ease;
}

.plans.is-done .plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(40, 80, 170, .22);
}

.plan-card__num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 12px;
    font-weight: 600;
    color: #4a78e0;
    background: #fff;
    padding: 3px 8px;
    border-radius: 8px;
}

.plan-card__icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 14px rgba(40, 80, 170, .25));
}

.plan-card h3 {
    font-size: 20px;
    color: #0f1f4b;
    margin: 8px 0 10px;
}

.plan-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #5b6b8c;
    min-height: 70px;
}

.plan-card__btn {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 18px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1f3fa0;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(53, 99, 201, .18);
    transition: .25s;
}

.plan-card__btn:hover {
    background: #2f5fd0;
    color: #fff;
}

.plan-card__btn:hover span {
    transform: translateX(4px);
}

.plan-card__btn span {
    transition: transform .25s;
}

@media (max-width: 860px) {
    .plans__stage {
        grid-template-columns: 1fr;
    }

    .plan-card:nth-child(n) {
        transform: translateY(80px) rotateX(-25deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .plan-card:nth-child(n) {
        opacity: 1;
        transform: none;
    }
}


.plans .plan-card .plan-card__emoji {
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    font-size: 72px;
    line-height: 1;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(53, 99, 201, .22);
}




/* ===== ADVISOR BANNER ===== */
.advisor-banner {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    margin-top: 28px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(120deg, #ffffff 0%, #eaf1ff 100%);
    border: 1px solid #dbe6fb;
    box-shadow: 0 24px 60px rgba(40, 80, 170, .15);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .9s ease, transform 1s cubic-bezier(.22, 1, .36, 1);
}

.advisor-banner.is-in {
    opacity: 1;
    transform: none;
}

/* photo side */
.advisor-photo {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: linear-gradient(160deg, #14316b, #0b1d45);
    border-radius: 0 150px 150px 0 / 0 120px 120px 0;
    border-right: 5px solid #e8b84a;
}

.advisor-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.advisor-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 90px;
    font-weight: 700;
    color: rgba(255, 255, 255, .15);
}

.advisor-tag {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    font-family: 'Caveat', cursive;
    font-size: 30px;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    transform: rotate(-8deg);
}

/* text side */
.advisor-body {
    padding: 40px 44px;
    align-self: center;
}

.advisor-body h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.15;
    color: #0f1f4b;
    margin: 0 0 14px;
}

.advisor-body h2 em {
    font-style: italic;
    color: #2152b8;
}

.advisor-body p {
    color: #3b4a6b;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 22px;
}

.advisor-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e3ebfa;
    max-width: 520px;
    margin-bottom: 24px;
}

.advisor-badge {
    padding: 14px 10px;
    text-align: center;
    font-size: 13px;
    color: #0f1f4b;
}

.advisor-badge+.advisor-badge {
    border-left: 1px solid #e3ebfa;
}

.advisor-badge svg {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
    fill: none;
    stroke: #1e3f9a;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advisor-badge b {
    display: block;
    font-weight: 600;
}

.advisor-badge small {
    color: #5b6b8c;
    font-size: 12px;
}

.advisor-cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #0f2a63;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
}

.advisor-cta:hover {
    background: #2152b8;
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .advisor-banner {
        grid-template-columns: 1fr;
    }

    .advisor-photo {
        min-height: 300px;
        border-radius: 0 0 120px 120px / 0 0 60px 60px;
        border-right: 0;
        border-bottom: 5px solid #e8b84a;
    }

    .advisor-body {
        padding: 28px 22px;
    }

    .advisor-badges {
        grid-template-columns: 1fr;
    }

    .advisor-badge+.advisor-badge {
        border-left: 0;
        border-top: 1px solid #e3ebfa;
    }
}


/* How it works: step images (fixed) */
.ag-media .ag-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.ag-media .ag-art {
    z-index: 1;
}

/* Centered card look + slower loop for 8 cards */
.mq-track {
    animation-duration: 30s
}

.mq-card {
    text-align: center;
    align-items: center
}

.mq-ic {
    width: 72px;
    height: 72px;
    font-size: 34px;
    border-radius: 20px;
    background: #fff;
    border: 0;
    box-shadow: 0 8px 20px rgba(29, 79, 163, .14)
}

.mq-card a {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    width: 100%
}

/* ===== Looping cards (left to right) ===== */
.mq-sec {
    padding: 56px 0;
    background: var(--tint)
}

.mq-head {
    text-align: center;
    margin-bottom: 32px
}

.mq-head h2 {
    font-size: clamp(28px, 4vw, 40px)
}

.mq-head em {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--primary)
}

.mq-head p {
    margin: 8px 0 0;
    font-size: 16px
}

.mq {
    overflow: hidden;
    padding: 10px 0 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent)
}

.mq-track {
    display: flex;
    width: max-content;
    animation:
        mq-right 8s linear 1,
        mq-right 30s linear 8s infinite;
}

.mq-track {
    display: flex;
    width: max-content;
    animation: mq-right 50s linear infinite
}

@keyframes mq-right {
    from {
        transform: translateX(-50%)
    }

    to {
        transform: translateX(0)
    }
}

.mq-card {
    flex: 0 0 300px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 20px;
    padding: 26px;
    transition: transform .2s, box-shadow .2s
}

.mq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(29, 79, 163, .18)
}

.mq-ic {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    font-size: 34px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(29, 79, 163, .14);
    margin-bottom: 18px
}

.mq-card h3 {
    font-size: 20px;
    margin: 0 0 8px
}

.mq-card p {
    margin: 0 0 18px;
    font-size: 14.5px;
    flex: 1
}

.mq-card a {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    width: 100%
}

.mq-card a:hover {
    color: var(--gold-dark)
}

@media(max-width:600px) {
    .mq-card {
        flex-basis: 260px
    }
}

@media(prefers-reduced-motion:reduce) {
    .mq {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none
    }

    .mq-track {
        animation: none
    }
}

/* ===== Mobile: static cards, no loop ===== */
@media (max-width: 700px) {
    .mq {
        overflow: visible;
        padding: 0 20px 10px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .mq-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
        width: 100%;
        animation: none;
        transform: none;
    }

    .mq-card {
        flex: none;
        margin-right: 0;
    }

    /* hide the duplicate cards that the script adds for the loop */
    .mq-card[aria-hidden="true"] {
        display: none;
    }
}

.mq-card {
    cursor: pointer;
}

.pcard {
    scroll-margin-top: 90px;
}

.pcard.flash {
    box-shadow: 0 0 0 3px var(--gold), 0 14px 30px rgba(29, 79, 163, .22);
}

/* Mobile header spacing – works whatever the class names are */
@media (max-width: 600px) {

    header nav,
    header>div,
    header .wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
    }

    header .wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* the logo / brand name */
    header nav>a:first-child,
    header .logo {
        min-width: 0 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        flex: 1 1 auto !important;
    }

    /* the Get a Quote button */
    header nav>a:last-child,
    header .btn {
        flex: none !important;
        padding: 9px 14px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
}

/* ===== About – text + sliding images ===== */
.ab {
    padding: 64px 0
}

.ab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #fff, #eef3fd);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 24px 60px -30px rgba(29, 79, 163, .35)
}

.ab-brand {
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: .02em
}

.ab h2 {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.1;
    margin: 28px 0 18px
}

.ab h2 em {
    color: var(--primary);
    font-weight: 800
}

.ab-text p {
    margin: 0 0 10px;
    font-size: 16px;
    max-width: 46ch
}

.ab-text strong {
    color: var(--head)
}

.ab-tag {
    font-weight: 700;
    color: var(--head)
}

.ab-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 30px 0
}

.ab-info span {
    display: block;
    font-size: 13px;
    color: #8a97ae
}

.ab-info span.gap {
    margin-top: 14px
}

.ab-info b {
    display: block;
    font-weight: 600;
    color: var(--head);
    font-size: 15px;
    line-height: 1.5
}

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

.ab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s
}

.ab-btn:hover {
    transform: translateY(-2px)
}

.ab-btn small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: .8
}

.ab-btn i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-style: normal;
    flex: none
}

.ab-btn--solid {
    background: var(--head);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(18, 35, 61, .6)
}

.ab-btn--line {
    background: #fff;
    color: var(--head);
    border: 1px solid var(--line)
}

.ab-btn--line:hover {
    border-color: var(--gold)
}

/* slider */
.ab-media {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, #1d4fa3, #12233d);
    box-shadow: 0 20px 50px -25px rgba(18, 35, 61, .7)
}

.ab-track {
    display: flex;
    height: 100%;
    transition: transform .8s cubic-bezier(.65, 0, .25, 1)
}

.ab-slide {
    flex: 0 0 100%;
    height: 100%
}

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

.ab-bars {
    position: absolute;
    top: 18px;
    right: 18px;
    left: 18px;
    z-index: 3;
    display: flex;
    gap: 8px;
    justify-content: flex-end
}

.ab-bar {
    position: relative;
    width: 44px;
    height: 14px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer
}

.ab-bar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45)
}

.ab-bar i {
    position: absolute;
    left: 0;
    top: 6px;
    height: 2px;
    width: 0;
    border-radius: 2px;
    background: var(--gold)
}

.ab-bar.done i {
    width: 100%
}

.ab-bar.on i {
    animation: ab-fill var(--ab-time, 4500ms) linear forwards
}

@keyframes ab-fill {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

.ab-chip {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    background: rgba(18, 35, 61, .55);
    border: 1px solid rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.ab-chip b {
    color: var(--gold);
    font-size: 17px
}

@media(max-width:900px) {
    .ab-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 28px
    }

    .ab-media {
        aspect-ratio: 4/3
    }
}

@media(max-width:520px) {
    .ab-info {
        grid-template-columns: 1fr
    }

    .ab-btn {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    .ab-track {
        transition: none
    }

    .ab-bar.on i {
        animation: none;
        width: 100%
    }
}

/* ===== Smooth page transitions ===== */
/* Chrome, Edge and Safari: native cross-fade between pages */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: pt-out .35s ease both;
}

::view-transition-new(root) {
    animation: pt-in .45s ease both;
}

@keyframes pt-out {
    to {
        opacity: 0;
    }
}

@keyframes pt-in {
    from {
        opacity: 0;
    }
}

/* Other browsers (e.g. Firefox): fallback fade, switched on by transition.js */
body.pt-fallback-in {
    animation: pt-in .45s ease both;
}

body.pt-fallback-out {
    opacity: 0;
    transition: opacity .3s ease;
}

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

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }

    body.pt-fallback-in {
        animation: none;
    }

    body.pt-fallback-out {
        transition: none;
        opacity: 1;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    /* always square, so the ratio never changes */
    flex: none;
    /* stops the logo shrinking next to long text */
    display: block;
}

@media (max-width: 600px) {
    .logo img {
        width: 32px;
        height: 32px;
    }
}

/* Logo text */
.logo-name {
    display: block;
    min-width: 0;
    font-weight: 800;
    line-height: 1.2;
    color: #072251;
    white-space: nowrap;
}

.logo-name span {
    /* "· LIC Advisor" part */
    font-weight: 400;
    color: var(--text);
}

@media (max-width: 600px) {
    .logo-name {
        font-size: 15px;
    }

    .logo-name span {
        display: none;
    }

    /* hide only "· LIC Advisor" on phones */
}

/* ===== Business card (shared look) ===== */
.bcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(160deg, #fff, #eaf1fc);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: 18px;
    padding: 30px 20px 0;
    box-shadow: 0 18px 40px -18px rgba(18, 35, 61, .5)
}

.bc-slot {
    display: none;
    position: absolute;
    top: 10px;
    left: 50%;
    width: 44px;
    height: 8px;
    transform: translateX(-50%);
    border-radius: 8px;
    background: #12233d;
    opacity: .85
}

.bc-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary);
    font-size: .95em
}

.bc-body {
    margin: 1.4em 0 1em
}

.bc-body h3 {
    font-size: 1.55em;
    margin: 0
}

.bc-role {
    margin: 2px 0 8px;
    color: var(--text);
    font-weight: 600
}

.bc-exp {
    margin: 0;
    font-size: .9em
}

.bc-exp b {
    color: var(--gold-dark);
    font-size: 1.25em
}

.bc-list {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    font-size: .88em;
    line-height: 1.9;
    color: var(--head)
}

.bc-foot {
    margin: auto -20px 0;
    padding: 11px 20px;
    background: var(--head);
    color: #f5d68a;
    font-size: .78em;
    font-weight: 600;
    text-align: center
}

/* ===== Hanging badge (desktop) – fixed to the screen ===== */
.lny {
    position: fixed;
    top: 0;
    right: 3vw;
    width: 220px;
    height: 0;
    z-index: 8;
    pointer-events: none;
    font-size: 13px
}

.lny-swing {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    transform-origin: 0 0
}

.lny-strap {
    position: absolute;
    top: -80px;
    left: -13px;
    width: 26px;
    height: 380px;
    background: linear-gradient(#12233d, #1d4fa3);
    box-shadow: inset 3px 0 0 var(--gold), inset -3px 0 0 var(--gold)
}

.lny-hang {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0
}

.lny-clip {
    position: absolute;
    top: -14px;
    left: -12px;
    width: 24px;
    height: 34px;
    border-radius: 5px;
    background: linear-gradient(#cfd6e2, #8e99ab);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3)
}

.lny-card {
    position: absolute;
    top: 18px;
    left: -110px;
    width: 220px;
    height: 330px;
    transform-origin: 50% -18px;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
    user-select: none
}

.lny-card.grabbing {
    cursor: grabbing
}

.lny .bc-slot {
    display: block
}

.lny-hint {
    position: absolute;
    top: calc(100vh - 56px);
    right: 0;
    left: 0;
    text-align: center;
    font-size: 13px;
    color: var(--head);
    opacity: .75;
    transition: opacity .4s
}

.lny-hint.gone {
    opacity: 0
}

/* ===== Digital card (mobile / tablet) ===== */
.dcard-sec {
    display: none;
    padding: 40px 0;
    background: var(--tint)
}

.dcard {
    max-width: 340px;
    margin: 22px auto 0;
    font-size: 15px
}

.dcard .bcard {
    height: auto;
    padding-bottom: 0
}

.dcard-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px
}

.dcard-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 8px
}

@media (max-width:1199px) {
    .lny {
        display: none
    }

    .dcard-sec {
        display: block
    }
}

/* Remove yellow borders from the badge */
.bcard {
    border: 1px solid var(--line);
    /* plain thin border, no gold top line */
}

.lny-strap {
    box-shadow: none;
    /* no gold edges on the strap */
}

/* About slider – previous / next arrows */
.ab-media {
    position: relative;
}

.ab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(18, 35, 61, .55);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background .2s, color .2s, border-color .2s;
}

.ab-prev {
    left: 14px;
}

.ab-next {
    right: 14px;
}

.ab-arrow:hover {
    background: #f2b134;
    border-color: #f2b134;
    color: #12233d;
}

.ab-arrow:focus-visible {
    outline: 2px solid #f2b134;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .ab-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .ab-prev {
        left: 8px;
    }

    .ab-next {
        right: 8px;
    }
}

.ab-slide img {
    object-position: center 20%;
}

/* ===== Clickable email / phone links (keep the same look as plain text) ===== */
.ab-info a,
.bc-list a {
    color: inherit;
    text-decoration: none;
}

.ab-info a:hover,
.bc-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* =====================================================
   MOBILE FIXES (added at the very end so they win)
   ===================================================== */

/* stops any wide element from making the page scroll sideways */
body {
    overflow-x: hidden;
}

/* long email / address text wraps instead of running off the card */
.ab-info b,
.bc-list li,
#contact p {
    overflow-wrap: anywhere;
}

/* ---- Phones and small tablets ---- */
@media (max-width: 700px) {

    /* hero: the inline background-position needs !important to be overridden */
    .hero-bg {
        background-position: 72% center !important;
    }

    .hero-in {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-bg h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    /* "Because They Matter…" no longer floats over the buttons */
    .quote {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: inline-block;
        margin-top: 28px;
        font-size: 30px;
    }

    .hero-bg .btn {
        padding: 12px 20px;
    }
}

@media (max-width: 600px) {

    /* header: logo text no longer runs under the Get a Quote button */
    .logo {
        overflow: hidden;
    }

    .logo-name {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section {
        padding: 40px 0;
    }

    h2 {
        font-size: 26px;
    }

    /* about section */
    .ab {
        padding: 32px 0;
    }

    .ab-grid {
        padding: 20px;
        gap: 24px;
        border-radius: 20px;
    }

    .ab h2 {
        font-size: 32px;
        margin: 18px 0 14px;
    }

    .ab-info {
        gap: 18px;
        margin: 22px 0;
    }

    .ab-chip {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* cards and forms */
    .card {
        padding: 16px;
    }

    input,
    select {
        font-size: 16px;
    }

    /* stops iPhone zooming into fields */

    /* digital card buttons (Save contact / Call / WhatsApp) */
    .dcard-actions {
        flex-wrap: wrap;
    }

    .dcard-actions .btn {
        flex: 1 1 30%;
        font-size: 14px;
        padding: 11px 6px;
    }

    /* footer stacks neatly */
    footer .wrap {
        flex-direction: column;
    }
}

/* =====================================================
   PHONE HEADER + ABOUT PHOTO FIX (very end of file)
   ===================================================== */

/* ---- Header on phones/tablets: full width, 2 rows ----
   row 1: logo + name + Get a Quote
   row 2: Plans / Calculator / About / How it works / Contact */
@media (max-width: 820px) {
    html {
        scroll-padding-top: 110px;
    }

    header nav {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        row-gap: 2px !important;
        padding: 8px 0 4px;
    }

    header nav ul {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 4px 0 8px;
        font-size: 14px;
        scrollbar-width: none;
    }

    header nav ul::-webkit-scrollbar {
        display: none;
    }
}

/* ---- Show "MALVIYA CONSULTANCY" next to the logo on phones ---- */
@media (max-width: 600px) {
    .logo .logo-name {
        display: block;
        font-size: 13px;
    }

    .logo .logo-name span {
        display: none;
    }

    /* keeps "· Financial Advisor" hidden so it fits */
}

/* ---- About photo: taller on phones so the face is fully visible ---- */
@media (max-width: 900px) {
    .ab-media {
        aspect-ratio: 3 / 4;
    }
}

.ab-slide img {
    object-position: center 12%;
}

/* =====================================================
   Digital card – flip to show all insurance plans
   ===================================================== */
.flip {
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent
}

.lny-card .flip {
    cursor: inherit
}

.flip-inner {
    display: grid;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.4, .2, .2, 1)
}

.flip.is-flipped .flip-inner {
    transform: rotateY(180deg)
}

.flip-face {
    grid-area: 1 / 1;
    min-height: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.flip-back {
    transform: rotateY(180deg)
}

.flip:focus-visible .flip-front .bcard,
.flip:focus-visible .flip-back .bcard {
    box-shadow: 0 0 0 3px var(--gold), 0 18px 40px -18px rgba(18, 35, 61, .5)
}

/* hint on the front */
.bc-flip {
    margin: 8px 0 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(242, 177, 52, .18);
    color: var(--head);
    font-size: .78em;
    font-weight: 700;
    text-align: center;
    animation: bcPulse 2.4s ease-in-out infinite
}

@keyframes bcPulse {

    0%,
    100% {
        background: rgba(242, 177, 52, .14)
    }

    50% {
        background: rgba(242, 177, 52, .38)
    }
}

/* back face */
.bcard-back {
    padding-top: 22px
}

.bcard-back h4 {
    margin: 0 0 8px;
    color: var(--head);
    font-size: 1.05em
}

.bc-plans {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 0 2px 8px 0;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain
}

.bc-plans a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--head);
    font-size: .86em;
    font-weight: 600;
    text-decoration: none
}

.bc-plans a:hover {
    color: var(--primary)
}

.bc-plans a i {
    font-style: normal;
    width: 1.4em;
    text-align: center
}

.bc-plans a::after {
    content: "→";
    margin-left: auto;
    color: var(--gold-dark)
}

/* desktop hanging card is a fixed 220x330 – keep things compact there */
.lny-card .bcard {
    padding-top: 24px
}

.lny-card .bc-body {
    margin: .9em 0 .6em
}

.lny-card .bc-list {
    line-height: 1.65;
    padding-top: 8px
}

.lny-card .bc-flip {
    margin: 2px 0 8px;
    padding: 3px 8px;
    font-size: .7em
}

.lny-card .bc-foot {
    padding: 8px 12px;
    font-size: .7em
}

.lny-card .bcard-back {
    padding-top: 20px
}

.lny-card .bcard-back h4 {
    margin-bottom: 4px;
    font-size: .95em
}

.lny-card .bc-plans {
    padding-bottom: 4px
}

.lny-card .bc-plans a {
    padding: 2px 4px;
    font-size: .76em
}

@media (prefers-reduced-motion: reduce) {
    .flip-inner {
        transition-duration: .01s
    }

    .bc-flip {
        animation: none
    }
}