/* Demo CTA — contrast with header background
   Orange header  → blue button (#3399ff)
   White header   → coral button (#fd746c)
*/

.btn-demo-cta {
    --demo-cta-from: #3399ff;
    --demo-cta-mid: #5aadff;
    --demo-cta-border: #66b3ff;
    --demo-cta-shadow: rgba(51, 153, 255, 0.45);
    --demo-cta-shadow-strong: rgba(51, 153, 255, 0.65);

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--demo-cta-border) !important;
    border-radius: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(
        135deg,
        var(--demo-cta-from) 0%,
        var(--demo-cta-mid) 55%,
        var(--demo-cta-from) 100%
    ) !important;
    box-shadow: 0 4px 14px var(--demo-cta-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.25s ease, border-color 0.25s ease;
    animation: demo-cta-glow 2.8s ease-in-out infinite;
    z-index: 1;
}

/* White / light header → coral/orange button */
#site-header.nav-fixed .btn-demo-cta,
body.index-page #site-header .btn-demo-cta,
.btn-demo-cta--on-white {
    --demo-cta-from: #fd746c;
    --demo-cta-mid: #ff8f70;
    --demo-cta-border: #ff8a7a;
    --demo-cta-shadow: rgba(253, 116, 108, 0.45);
    --demo-cta-shadow-strong: rgba(253, 116, 108, 0.65);
}

/* Free Trial: Sign In box size, green, and the Demo motion stays after click */
#site-header .btn-demo-cta.btn-free-trial,
#site-header.nav-fixed .btn-demo-cta.btn-free-trial,
body.index-page #site-header .btn-demo-cta.btn-free-trial,
.btn.btn-style.btn-free-trial,
.btn-free-trial {
    --demo-cta-from: #1cc88a;
    --demo-cta-mid: #3dd598;
    --demo-cta-border: #193584;
    --demo-cta-shadow: rgba(28, 200, 138, 0.45);
    --demo-cta-shadow-strong: rgba(28, 200, 138, 0.65);
    margin: 0 8px;
    padding: 6px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    border: 2px solid #193584 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    animation: none !important;
    cursor: pointer;
    vertical-align: middle;
}
.btn-free-trial:hover,
.btn-free-trial:focus,
.btn-free-trial:active,
.btn-free-trial:focus:active {
    color: #fff !important;
    background: linear-gradient(135deg, #1cc88a 0%, #3dd598 55%, #1cc88a 100%) !important;
    border-color: #193584 !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none;
}
.btn-free-trial .btn-demo-cta-label,
.btn-free-trial:focus .btn-demo-cta-label,
.btn-free-trial:active .btn-demo-cta-label {
    animation: demo-cta-text-shake 4s ease-in-out infinite !important;
}
@media (min-width: 992px) {
    #site-header .navbar-nav {
        align-items: center;
    }
    /* Match the index-page Sign In size (padding 4px 12px, 0.9rem). */
    #site-header .btn-sign-in.btn-brand-blue,
    #site-header .btn-demo-cta.btn-free-trial,
    #site-header.nav-fixed .btn-demo-cta.btn-free-trial,
    body.index-page #site-header .btn-demo-cta.btn-free-trial {
        padding: 4px 12px !important;
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 4px !important;
    }
    /* Demo / RoadMap: same rectangle and height as Sign In, dark-blue frame */
    #site-header .btn-demo-cta.btn-demo-cta--desktop,
    #site-header.nav-fixed .btn-demo-cta.btn-demo-cta--desktop {
        border: 2px solid #193584 !important;
        border-radius: 4px !important;
        padding: 4px 12px !important;
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        box-sizing: border-box;
    }
}
#freeTrialModal {
    z-index: 5200 !important;
}
#freeTrialModal.is-open {
    display: block !important;
    opacity: 1 !important;
    position: fixed !important;
    inset: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
}
.ft-backdrop {
    position: fixed;
    inset: 0;
    z-index: 5100;
    background: rgba(0, 0, 0, 0.5);
}
#freeTrialModal .modal-title,
#freeTrialModal label,
#freeTrialModal .form-control,
#freeTrialModal .ft-copy,
#freeTrialModal .ft-eye {
    color: #000;
}
#freeTrialModal .form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
#freeTrialModal .ft-copy,
#freeTrialModal .alert {
    white-space: pre-line;
}
.ft-pass {
    position: relative;
}
.ft-pass .form-control {
    padding-right: 42px;
}
.ft-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0 4px;
    line-height: 1;
    cursor: pointer;
}
.ft-match {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
}
.ft-match.is-bad { color: #e74a3b; }
.ft-match.is-ok { color: #1cc88a; }
#freeTrialModal .modal-dialog {
    pointer-events: auto;
    width: auto;
    max-width: 500px;
}
#freeTrialModal .modal-header {
    padding: 0.55rem 2.4rem 0.55rem 0.85rem;
}
#freeTrialModal .modal-body {
    padding: 0.7rem 0.85rem 0.5rem;
}
#freeTrialModal .modal-footer {
    padding: 0.45rem 0.85rem;
}
#freeTrialModal .form-group {
    margin-bottom: 0.55rem;
}
#freeTrialModal label {
    margin-bottom: 0.1rem;
    line-height: 1.2;
    font-size: 0.9rem;
}
#freeTrialModal .form-control {
    height: calc(1.5em + 0.55rem + 2px);
    padding: 0.28rem 0.5rem;
    font-size: 0.95rem;
}
#freeTrialModal .ft-pass .form-control {
    padding-right: 42px;
}
#freeTrialModal .modal-title {
    width: 100%;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: center;
    color: #1cc88a;
}
#freeTrialModal .ft-email-note {
    font-size: 0.85em;
    font-weight: 400;
    margin-left: 0.3rem;
}
#freeTrialModal .ft-copy {
    font-size: 0.85rem;
    line-height: 1.35;
}
#freeTrialModal .modal-footer .btn {
    padding: 0.3rem 0.85rem;
    font-size: 0.95rem;
}
#freeTrialModal .modal-content,
#freeTrialNotice .modal-content {
    position: relative;
}
#freeTrialModal .modal-header {
    position: relative;
    justify-content: center;
    text-align: center;
    padding-left: 42px;
    padding-right: 42px;
}
#freeTrialModal .modal-header .close,
#freeTrialNotice .close {
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    opacity: 1;
    color: #000;
    font-size: 26px;
    line-height: 28px;
    z-index: 6;
    float: none;
}
#freeTrialModal .modal-header .close::before,
#freeTrialModal .modal-header .close::after,
#freeTrialNotice .close::before,
#freeTrialNotice .close::after {
    content: none;
    display: none;
}
#freeTrialModal select.ft-country {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
    padding-right: 28px;
}
#freeTrialNotice {
    z-index: 5300 !important;
}
.ft-notice-dialog {
    width: calc(100% - 48px);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.ft-notice .modal-body {
    padding: 1.35rem 1rem 1.1rem;
    text-align: center;
    color: #000;
    font-size: 15px;
}
.ft-notice.is-ok {
    border-top: 4px solid #1cc88a;
}
.ft-notice.is-bad {
    border-top: 4px solid #e74a3b;
}
body.modal-open .modal-backdrop {
    z-index: 5100 !important;
}
@media (max-width: 991.98px) {
    #freeTrialModal .modal-dialog {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-left: 12px;
        margin-right: 12px;
    }
    #freeTrialModal .modal-header .close {
        top: 4px;
        right: 6px;
    }
    #freeTrialModal .form-row {
        display: flex;
        flex-wrap: nowrap;
    }
    #freeTrialModal .form-row > .form-group {
        min-width: 0;
    }
    #navbarResponsive.index-menu-portaled .nav-item.d-none,
    #navbarResponsive.index-menu-portaled .nav-item.d-lg-block {
        display: none !important;
    }
}

.btn-demo-cta-label {
    position: relative;
    display: inline-block;
    color: #fff;
    animation: demo-cta-text-shake 4s ease-in-out infinite;
    z-index: 1;
}

.btn-demo-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: demo-cta-shine 3.6s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.btn-demo-cta:hover,
.btn-demo-cta:focus {
    color: #fff !important;
    filter: brightness(1.1);
    transform: scale(1.06);
    box-shadow: 0 6px 18px var(--demo-cta-shadow-strong);
}

.btn-demo-cta:hover .btn-demo-cta-label,
.btn-demo-cta:focus .btn-demo-cta-label {
    animation-play-state: paused;
}

.btn-demo-cta:hover::after,
.btn-demo-cta:focus::after {
    animation-play-state: paused;
}

.btn-demo-cta--desktop {
    padding: 0.35rem 1.1rem !important;
    font-size: 0.95rem !important;
    line-height: 1.2;
    margin-top: 0;
}

.btn-demo-cta--mobile {
    padding: 0.35rem 0.9rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2;
    margin-right: 0.35rem;
}

@keyframes demo-cta-glow {
    0%,
    100% {
        box-shadow: 0 4px 14px var(--demo-cta-shadow);
    }
    50% {
        box-shadow: 0 6px 20px var(--demo-cta-shadow-strong);
    }
}

@keyframes demo-cta-shine {
    0%,
    35% {
        left: -120%;
    }
    55% {
        left: 140%;
    }
    100% {
        left: 140%;
    }
}

/* Very light text shake: ~0.5s every 4s */
@keyframes demo-cta-text-shake {
    0%,
    87.5% {
        transform: translateX(0);
    }
    90% {
        transform: translateX(-1px);
    }
    92% {
        transform: translateX(1px);
    }
    94% {
        transform: translateX(-1px);
    }
    96% {
        transform: translateX(1px);
    }
    98%,
    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-demo-cta,
    .btn-demo-cta::after,
    .btn-demo-cta-label {
        animation: none !important;
    }
    .btn-demo-cta:hover,
    .btn-demo-cta:focus {
        transform: none;
    }
}

/* Home banner — desktop: fixed title + rotating stats line */
@media (min-width: 992px) {
    .banner-info h3.banner-title-fixed {
        margin-bottom: 30px !important;
        line-height: 1.15;
    }

    .banner-info h3.banner-rotate-line {
        font-size: calc(0.6 * 60px);
        line-height: 1.2;
        font-family: inherit;
        font-weight: bold;
        margin-top: 0;
        color: #193584;
    }

    /* Same scroll shape as original; 15% of 12s = 1.8s per phrase */
    .banner-info .banner-rotate-line .scroller > span {
        animation: slide 12s infinite;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .banner-info h3.banner-rotate-line {
        font-size: calc(0.6 * 52px);
    }
}

@media (max-width: 991.98px) {
    .banner-info h3.banner-title-fixed {
        margin-bottom: 0.75rem;
        white-space: nowrap;
        /* Fits "English Self Learning" on one line at every phone width */
        font-size: min(38px, calc((100vw - 40px) / 11.2)) !important;
        line-height: 1.15 !important;
    }

    /* Same blue + same slide timing as desktop (no white chip) */
    .banner-info h3.banner-rotate-line {
        font-size: min(calc(0.6 * 45px), calc((100vw - 48px) / 15.5));
        /* Must be 1.2em so @keyframes slide steps match (theme h3 line-height breaks it) */
        line-height: 1.2em !important;
        font-family: inherit;
        font-weight: bold;
        margin-top: 0;
        color: #193584;
    }

    .banner-info .banner-rotate-line .scroller {
        height: 1.2em;
        line-height: 1.2em;
        overflow: hidden;
    }

    .banner-info .banner-rotate-line .scroller > span {
        animation: slide 12s infinite;
    }
}

@media (max-width: 400px) {
    .banner-info h3.banner-rotate-line {
        font-size: min(calc(0.6 * 40px), calc((100vw - 40px) / 15.5));
    }
}

/* Header menu icons: mobile dropdown only */
#navbarResponsive .nav-ico {
    display: none;
}

@media (max-width: 991.98px) {
    #navbarResponsive .nav-ico {
        display: inline-block;
        margin-left: 0 !important;
        margin-right: 8px;
        text-align: center;
        /* style-starter remaps .fa to Font Awesome 5, which lacks fa-sign-out / fa-diamond */
        font-family: FontAwesome !important;
        font-weight: normal !important;
    }

    /* Link icons share one column 30px from the card edge (12px card + 18px link padding); title 20px after */
    #navbarResponsive .nav-link .nav-ico {
        width: 20px;
        margin-right: 20px;
    }

    /* Demo / RoadMap already sit next to the menu button */
    #site-header #navbarResponsive .nav-item.d-lg-block {
        display: none !important;
    }

    /* Buttons = icon + text + 8px each side; all buttons share the card's inner width */
    #site-header #navbarResponsive .btn-style,
    #navbarResponsive .btn-free-trial {
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        text-align: center;
        white-space: nowrap;
    }
    #navbarResponsive .btn-free-trial,
    #site-header #navbarResponsive .btn-free-trial {
        padding: 6px 20px !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        border-radius: 4px !important;
        box-shadow: none !important;
        animation: none !important;
    }
}

/* Sign In / Change Password: logo blue (also when menu is portaled outside header) */
#site-header .btn-style.btn-brand-blue,
#navbarResponsive .btn-style.btn-brand-blue,
#navbarResponsive .btn-sign-in.btn-brand-blue {
    background: #193584 !important;
    border-color: #193584 !important;
    color: #fff !important;
}

#site-header .btn-style.btn-brand-blue:hover,
#site-header .btn-style.btn-brand-blue:focus,
#navbarResponsive .btn-style.btn-brand-blue:hover,
#navbarResponsive .btn-style.btn-brand-blue:focus,
#navbarResponsive .btn-sign-in.btn-brand-blue:hover,
#navbarResponsive .btn-sign-in.btn-brand-blue:focus {
    background: #12275f !important;
    border-color: #12275f !important;
    color: #fff !important;
}

/* Numbered lists on text pages (theme sets li { list-style: none }) */
.page-list {
    list-style: decimal;
    padding-left: 1.25rem;
}

.page-list > li {
    list-style: inherit;
    margin-bottom: 8px;
}

/* Inline WhatsApp link (whatsapp_inline_link helper) */
.wa-inline {
    color: #25D366 !important;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

a.wa-inline:hover,
a.wa-inline:focus {
    color: #1da851 !important;
    text-decoration: underline;
}

.wa-inline .fa-whatsapp {
    margin-right: 4px;
    font-size: 1.15em;
    vertical-align: -1px;
}

@media (prefers-reduced-motion: reduce) {
    .banner-info .banner-rotate-line .scroller > span {
        animation: none !important;
        position: static;
    }
    .banner-info .banner-rotate-line .scroller {
        height: auto;
        overflow: visible;
    }
}

/* Homepage Index cards */
#projects .home-index-card.card {
    border: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
#projects .home-index-photo-link,
#projects .home-index-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
#projects .home-index-lock {
    display: block;
    width: auto;
    max-width: 100%;
    height: 81px;
    object-fit: contain;
}
#projects .home-index-stat {
    width: 150px;
}
#projects .home-index-stat--videos {
    background-color: #fff !important;
    color: #fd746c !important;
}
#projects .home-index-title {
    display: flex;
    align-items: center;
    gap: 0.45em;
    min-width: 0;
}
#projects .home-index-title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#projects .home-index-heading {
    margin-bottom: 0;
}
#projects .home-index-meta {
    margin-top: 0.35rem;
}

/* Mobile / tablet: compact horizontal rows */
@media (max-width: 991.98px) {
    #projects.project-sec {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    #projects.project-sec > .container {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    #projects .title-heading-w3 {
        margin-bottom: 0.85rem !important;
    }
    #projects .home-index-grid.row {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        margin-left: 0;
        margin-right: 0;
    }
    #projects .home-index-col {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
    #projects .home-index-card.card {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr) 28px;
        grid-template-areas: "photo body lock";
        align-items: center;
        column-gap: 12px;
        row-gap: 0;
        margin-top: 0 !important;
        padding: 10px !important;
        border-radius: 12px;
        border-color: rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 10px rgba(36, 41, 82, 0.07);
        min-height: 96px;
    }
    #projects .home-index-photo-link {
        grid-area: photo;
        width: 76px;
        height: 76px;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
        background: #f3f4f8;
    }
    #projects .home-index-photo-link picture,
    #projects .home-index-photo-link img,
    #projects .home-index-photo {
        display: block;
        width: 76px !important;
        height: 76px !important;
        max-width: none;
        object-fit: cover;
        border-radius: 10px;
    }
    #projects .home-index-body {
        grid-area: body;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    #projects .home-index-heading.mt-3 {
        margin-top: 0 !important;
        font-size: inherit;
    }
    #projects .home-index-title.topic_titles {
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.25;
        color: #242952;
    }
    #projects .home-index-title .numberCircle {
        flex: 0 0 auto;
        font-size: 12px;
        padding: 4px;
        border-width: 1.5px;
        line-height: 1;
    }
    #projects .home-index-title .numberCircle:before {
        padding-left: 4px;
    }
    #projects .home-index-title .numberCircle:after {
        padding-right: 4px;
    }
    #projects .home-index-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin: 0;
    }
    #projects .home-index-stat.btn {
        width: auto !important;
        margin: 0;
        padding: 0.2rem 0.55rem;
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1.2;
        border-radius: 999px;
        box-shadow: none;
    }
    #projects .home-index-stat--hours {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
    #projects .home-index-lock-wrap {
        grid-area: lock;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;
    }
    #projects .home-index-lock {
        width: 26px;
        height: 26px;
    }
    #projects .home-index-card:active {
        transform: scale(0.985);
    }
}

/* Desktop: 4 per row, 75% size, 15px gaps, 20px screen edge */
@media (min-width: 992px) {
    #projects.project-sec > .container {
        max-width: none;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    #projects .home-index-grid.row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        /* padding (not margin) so it does not collapse with the title's mb-md-5 */
        padding-top: 1.5rem;
    }
    #projects .home-index-col {
        width: auto;
        max-width: none;
        flex: none;
        padding-left: 0;
        padding-right: 0;
    }
    #projects .home-index-card.card {
        margin-top: 0 !important;
        height: 100%;
        padding: 1.125rem !important; /* 75% of Bootstrap p-4 (1.5rem) */
        border-color: #000;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "photo photo"
            "title title"
            "meta lock";
        align-content: start;
    }
    #projects .home-index-body {
        display: contents;
    }
    #projects .home-index-photo-link {
        grid-area: photo;
        display: block;
        aspect-ratio: 3 / 2;
        overflow: hidden;
        border-radius: 8px;
    }
    #projects .home-index-photo-link picture,
    #projects .home-index-photo-link img,
    #projects .home-index-photo {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
    }
    #projects .home-index-link {
        grid-area: title;
    }
    #projects .home-index-meta {
        grid-area: meta;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.5rem;
        min-width: 0;
    }
    #projects .home-index-lock-wrap {
        grid-area: lock;
        align-self: end;
        margin-top: 0.5rem;
        padding-bottom: 0;
    }
    #projects .home-index-heading.mt-3 {
        margin-top: 0.55rem !important;
        margin-bottom: 0 !important;
        line-height: 1 !important;
        font-size: 1.125rem;
    }
    #projects .home-index-title.topic_titles {
        font-size: 1.125rem; /* 75% of 1.5rem */
        line-height: 1.25;
        white-space: nowrap;
        height: 34px;
        overflow: hidden;
        align-items: center;
    }
    #projects .home-index-title .numberCircle {
        flex: 0 0 auto;
        font-size: 16.5px;
        padding: 6px;
        border-width: 1.5px;
        line-height: 1;
    }
    #projects .home-index-title .numberCircle:before {
        padding-left: 6px;
    }
    #projects .home-index-title .numberCircle:after {
        padding-right: 6px;
    }
    #projects .home-index-stat.btn {
        width: auto !important;
        margin: 0;
        padding: 0.2rem 0.45rem;
        font-size: 0.72rem;
        line-height: 1.2;
        white-space: nowrap;
    }
    #projects .home-index-lock {
        height: 32px;
        width: auto;
    }
}

/* ==========================================================================
   Mobile UI/UX — P0 batch (≤991.98px only; desktop untouched, except where noted)
   Brand coral unified on mobile: #fd746c
   ========================================================================== */

/* Stat numbers: no width jitter while counting (all sizes) */
.w3_stats .timer {
    font-variant-numeric: tabular-nums;
}

/* Desktop: these helpers do not exist visually */
.testi-dots,
#testimonials .t-initial {
    display: none;
}
.hero-cta,
.hero-trust {
    display: none;
}

@media (max-width: 991.98px) {
    /* Demo / RoadMap: same outer height as the burger icon (34px), not the 44px hit area. */
    #site-header .btn-demo-cta.btn-demo-cta--mobile {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 12px !important;
        font-size: 0.95rem !important;
        line-height: 30px !important;
        border: 2px solid #193584 !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }
    #site-header #mainNav .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    #site-header .navbar-toggler-icon.fa {
        background: #fd746c;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
    }

    /* ---- Hero: brand coral; compact text so the photo fits in the first viewport ---- */
    .banner-wrap {
        background: #fd746c;
        min-height: 0;
    }
    .banner-left {
        margin-top: 0;
        /* 1.5× previous gap above the title (was 4.75rem) */
        padding-top: 7.125rem !important;
        padding-bottom: 0.35rem !important;
    }
    .banner-left > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .banner-info {
        padding-top: 0.15rem !important;
        padding-bottom: 0 !important;
    }
    /* 1.5× former gap after ticker (was margin-top 14px + 48px CTA row) */
    .banner-info h3.banner-rotate-line {
        margin-bottom: calc(1.5 * (14px + 48px)) !important;
    }
    .banner-info .banner-rotate-line .scroller {
        width: 15em;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }
    /* Guest Free Trial / Try Demo live only in the sticky bar; RoadMap stays for members */
    .hero-cta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 0;
        max-width: 380px;
    }
    .hero-cta .btn {
        flex: 1 1 120px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        margin: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        text-decoration: none !important;
    }
    .hero-cta .hero-cta-secondary {
        padding: 0 18px;
        color: #193584 !important;
        background: #fff !important;
        border: 2px solid #fff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }
    .hero-trust {
        display: none !important;
    }

    /* ---- Services: coral cards + Hindi button text ---- */
    .home-about-w3l .grids-1.grids-coral,
    .home-about-w3l .grids-1.grids-coral:hover {
        background-color: #fd746c !important;
    }
    .home-about-w3l .grids-1.grids-coral .title-head,
    .home-about-w3l .grids-1.grids-coral .title-head span {
        color: #fff;
    }
    .btn-coral-text,
    .btn-coral-text:hover,
    .btn-coral-text:focus {
        color: #fd746c !important;
        border-color: #fd746c !important;
    }

    /* ---- Scroll-to-top: small, translucent, only after 600px while scrolling up ---- */
    #movetop {
        display: block !important;
        width: 44px;
        height: 44px;
        right: 12px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        margin: 0 !important;
        background: #fd746c;
        color: #fff;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    #movetop.is-visible {
        opacity: 0.85;
        pointer-events: auto;
        transform: none;
    }

    /* ---- Testimonials: horizontal scroll-snap cards ---- */
    #testimonials .testi-wrap {
        display: flex;
        gap: 12px;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 -15px !important;
        padding: 4px 15px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #testimonials .testi-wrap::-webkit-scrollbar {
        display: none;
    }
    #testimonials .testi-wrap .client-single {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        transition: none !important;
        flex: 0 0 84%;
        max-width: 340px;
        width: auto !important;
        margin: 0 !important;
        padding: 16px 16px 18px;
        display: flex;
        flex-direction: column;
        text-align: left;
        background: #fff;
        border: 1px solid #eceef5;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(36, 41, 82, 0.08);
        scroll-snap-align: center;
        cursor: default;
    }
    #testimonials .client-single .client-img {
        order: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto !important;
        height: auto !important;
        margin: 0 0 10px !important;
    }
    #testimonials .client-single .client-img::before {
        display: none !important;
    }
    #testimonials .t-initial {
        display: inline-flex;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fd746c;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        line-height: 1;
    }
    #testimonials .client-img h3#test,
    #testimonials .client-img h3#test:hover {
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        color: #242952;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
        text-align: left !important;
    }
    #testimonials .client-single .client-info {
        display: none;
    }
    #testimonials .client-single .client-comment {
        order: 2;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
        transition: none;
    }
    #testimonials .client-comment::before {
        content: "\201C";
        display: block;
        height: 22px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 44px;
        font-style: normal;
        line-height: 0.9;
        font-weight: 700;
        color: #fd746c;
    }
    #testimonials .client-comment span {
        font-size: 15px;
        line-height: 1.6;
        color: #3b3f58;
    }
    #testimonials {
        padding-bottom: 28px;
    }
    #testimonials .testi-dots {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin-top: 4px;
    }
    #testimonials .testi-dots button {
        position: relative;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: none;
    }
    #testimonials .testi-dots button::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 8px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #cfd3e6;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    #testimonials .testi-dots button.is-active::before {
        background: #fd746c;
        transform: scale(1.4);
    }

    /* ---- Pricing: readable price row, solid contrast, full-width 48px CTA ---- */
    .pricing-w3l h5 {
        line-height: 1.5;
    }
    .pricing-w3l h5 del {
        display: inline-block;
        margin-right: 0.45em;
        text-decoration-thickness: 2px;
        opacity: 0.85;
    }
    .pricing-w3l h4.plan-price-line {
        font-size: 40px;
        white-space: normal;
    }
    .pricing-w3l .featured {
        background: linear-gradient(135deg, #fd746c 0%, #ff9068 100%);
    }
    .pricing-w3l .featured h4.plan-price-line .plan-price-usd,
    .pricing-w3l h4.plan-price-line .plan-price-usd {
        display: inline-block;
        margin-left: 0.3em;
        padding: 0;
        color: #193584 !important;
        background: none;
        border-radius: 0;
    }
    .pricing-w3l .featured ul li.na span i,
    .pricing-w3l .featured ul .na span {
        color: #f3d9d6;
    }
    .pricing-w3l .btn-plan-cta {
        display: block;
        width: 100%;
        min-height: 48px;
        padding: 8px 20px;
        font-size: 17px;
        line-height: 30px;
        border-radius: 10px;
    }
    .pricing-w3l .box-pricing:not(.featured) .btn-plan-cta,
    .pricing-w3l .box-pricing:not(.featured) .btn-plan-cta:hover,
    .pricing-w3l .box-pricing:not(.featured) .btn-plan-cta:focus {
        color: #fff !important;
        background-color: #fd746c !important;
        border-color: #fd746c !important;
    }
    .pricing-w3l .featured .btn-plan-cta:hover,
    .pricing-w3l .featured .btn-plan-cta:focus {
        color: #000 !important;
        background-color: #fff !important;
        border-color: #fff !important;
    }

    /* ---- Footer: bigger touch targets, accessible coral ---- */
    .w3l-footer-16 ul.social li {
        margin-right: 8px;
    }
    .w3l-footer-16 ul.social li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: 0;
        font-size: 18px;
        border: 1px solid rgba(255, 255, 255, 0.35);
    }
    .w3l-footer-16 .footer-gd-16 li {
        margin: 2px 0;
    }
    .w3l-footer-16 .footer-gd-16 li a {
        display: inline-block;
        padding: 9px 0;
    }
    .w3l-footer-16 .subscribe input[type="email"],
    .w3l-footer-16 .subscribe button {
        min-height: 48px;
    }
    .w3l-footer-16 .subscribe button {
        background: #fd746c;
    }
}
/* ==========================================================================
   Mobile UI/UX — P1 batch (≤991.98px only; desktop untouched)
   Brand font, navy headings, type scale, unified cards/buttons, spacing,
   light FAQ, horizontal pricing with "Best value" badge.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-latin-var.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

.plan-badge,
.plan-dots {
    display: none;
}

@media (max-width: 991.98px) {
    /* ---- 11. One brand font ---- */
    html body,
    h1, h2, h3, h4, h5, h6,
    p, li, a, label,
    button, input, textarea, select {
        font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    }
    .hindi,
    .hindi * {
        font-family: DV-TTSurekh, "Inter", sans-serif;
    }

    /* ---- 10 + 11. Navy headings and a clear scale ---- */
    .banner-info h3.banner-title-fixed {
        white-space: nowrap;
        font-size: min(38px, calc((100vw - 40px) / 11.2)) !important;
        line-height: 1.15 !important;
        font-weight: 800;
        letter-spacing: -0.01em;
    }
    h3.title-style {
        color: #242952;
        font-size: 26px !important;
        line-height: 1.25 !important;
        font-weight: 800;
        letter-spacing: -0.01em;
    }
    .title-heading-w3 {
        margin-bottom: 20px !important;
    }
    .title-head,
    .title-head span,
    .title-head a,
    h4.title-head a {
        font-size: 18px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }
    .home-about-w3l .grids-1:not(.grids-coral) .title-head,
    .home-about-w3l .grids-1:not(.grids-coral) .title-head span,
    #benefit .title-head {
        color: #242952;
    }
    .home-about-w3l p.servic,
    #benefit .grids-1 p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 0;
    }
    .home-about-w3l .grids-1:not(.grids-coral) p {
        color: #3b3f58 !important;
    }
    #benefit > .container > h4 {
        font-size: 17px;
        line-height: 1.5;
        font-weight: 600;
        color: #242952;
        text-align: left;
    }
    .contact .main-grid-contact h5 {
        font-size: 15px;
        line-height: 1.6;
        font-weight: 400;
        color: #3b3f58;
    }

    /* ---- 16. Vertical rhythm: ~40px between sections, no doubled padding ---- */
    section.home-about-w3l,
    section.w3_stats,
    section.project-sec,
    section.w3l-text-6,
    section.testimonial-area,
    section.pricing-w3l,
    section.contact {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    section.home-about-w3l > .container,
    section.w3_stats > .container,
    section.project-sec > .container,
    section.w3l-text-6 > .container,
    section.testimonial-area > .container,
    section.pricing-w3l > .container,
    section.contact > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #benefit > .container > br,
    #services .col-xl-5 > br {
        display: none;
    }
    #benefit .top-cont-grid.top-space {
        margin-top: 24px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #benefit,
    #testimonials {
        background: #F7F8FC;
    }

    /* ---- 12. Services + Benefits use one card language (like Index) ---- */
    .home-about-w3l .grids-1,
    #benefit .grids-1 {
        padding: 14px 16px;
        background: #fff;
        border: 1px solid #E6E8F0;
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(36, 41, 82, 0.07) !important;
    }
    .home-about-w3l .grids-1:not(.grids-coral):hover {
        background: #fff;
    }
    .home-about-w3l .grids-1.grids-coral {
        border-color: #fd746c;
    }
    .home-about-w3l .icon-style i {
        font-size: 22px;
        margin-bottom: 0;
        vertical-align: -2px;
    }
    #services .services-photo {
        display: block;
        width: 100%;
        height: 220px !important;
        object-fit: cover;
        margin-top: 16px;
        border-radius: 14px !important;
        box-shadow: 6px 6px 0 #fd746c !important;
    }
    #services .grids-1 .title-style {
        font-size: 22px !important;
        margin-bottom: 0 !important;
    }
    #benefit .left-cont {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    #benefit .left-cont > br {
        display: none;
    }
    #benefit .grids-1 {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 12px;
        align-items: center;
    }
    #benefit .grids-1 .title-head {
        display: contents;
    }
    #benefit .grids-1 .title-head i {
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        border-radius: 50%;
        background: rgba(253, 116, 108, 0.14);
        color: #fd746c !important;
        font-size: 20px !important;
    }
    #benefit .grids-1 p {
        margin-top: 2px;
    }
    #benefit .right-img {
        margin-top: 8px;
    }

    /* ---- 13. FAQ: light accordion ---- */
    .accordion .accordion-item {
        margin: 0 0 10px !important;
    }
    .accordion button {
        min-height: 52px;
        padding: 14px 48px 14px 16px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        color: #242952;
        background: #fff;
        border: 1px solid #E6E8F0;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(36, 41, 82, 0.05);
    }
    .accordion button:hover,
    .accordion button:focus {
        color: #242952;
    }
    .accordion button a {
        color: inherit !important;
        text-decoration: none;
    }
    .accordion button .accordion-title {
        display: block;
        padding: 0;
    }
    .accordion button .icon {
        top: 50%;
        right: 14px;
        width: 24px;
        height: 24px;
        margin-top: -12px;
        color: #fd746c;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
    }
    .accordion button .icon i {
        transition: transform 0.2s ease;
    }
    .accordion button[aria-expanded="true"] {
        color: #242952;
        background: #FFF4F3;
        border-color: #fd746c;
    }
    .accordion button[aria-expanded="true"] .icon i {
        transform: rotate(180deg);
    }
    .accordion .accordion-content ul {
        margin: 0;
        padding: 8px 4px 2px;
        list-style: none;
    }
    .accordion .accordion-content li {
        padding: 6px 0;
        font-size: 15px;
        line-height: 1.55;
        color: #3b3f58;
    }
    .accordion .accordion-content .circle {
        width: 22px;
        height: 22px;
        margin-right: 6px;
        background: #fd746c;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        line-height: 22px;
    }

    /* ---- 14. Pricing: horizontal plans + "Best value" ---- */
    #membership .plan-row {
        flex-wrap: nowrap !important;
        gap: 12px;
        margin: 0 -15px !important;
        padding: 16px 15px 8px !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #membership .plan-row::-webkit-scrollbar {
        display: none;
    }
    #membership .plan-row .box-pricing {
        position: relative;
        flex: 0 0 82% !important;
        width: auto;
        max-width: 320px !important;
        margin: 0 !important;
        padding: 28px 20px 24px !important;
        scroll-snap-align: center;
        box-shadow: 0 4px 16px rgba(36, 41, 82, 0.1);
    }
    #membership .plan-row .box-pricing:not(.featured) {
        border: 1px solid #E6E8F0;
    }
    .pricing-w3l .box-pricing:not(.featured) h3.text-price {
        color: #242952;
    }
    .pricing-w3l .box-pricing:not(.featured) h4,
    .pricing-w3l .box-pricing:not(.featured) h4 span {
        color: #fd746c;
    }
    .pricing-w3l .box-pricing:not(.featured) h5 {
        color: #3b3f58;
    }
    .pricing-w3l .box-pricing:not(.featured) h4.plan-price-line .plan-price-usd {
        color: #193584 !important;
    }
    .pricing-w3l .box-pricing:not(.featured) ul li:not(.na) i {
        color: #fd746c;
    }
    .pricing-w3l .box-pricing h3.text-price {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .pricing-w3l .box-pricing ul li {
        font-size: 15px;
    }
    .plan-badge {
        display: inline-block;
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 3px 10px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 0.02em;
        border-radius: 999px;
        color: #fd746c;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    .box-pricing:not(.featured) .plan-badge {
        color: #fff;
        background: #fd746c;
    }
    #testimonials .testi-dots,
    #membership .plan-dots {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin-top: 4px;
    }
    #membership .plan-dots button {
        position: relative;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: none;
    }
    #membership .plan-dots button::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 8px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #cfd3e6;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    #membership .plan-dots button.is-active::before {
        background: #fd746c;
        transform: scale(1.4);
    }

    /* ---- 15. Buttons by role: shape/height shared, colour = role ---- */
    .home-about-w3l .btn-style,
    .contact .btn-style,
    #membership .btn-style {
        min-height: 44px;
        border-radius: 10px;
        font-weight: 700;
    }
}
/* P1 follow-ups (mobile) */
@media (max-width: 991.98px) {
    #services .col-xl-7 {
        margin-top: 20px !important;
    }
    #benefit > .container > h4 {
        margin-bottom: 20px;
    }
    .pricing-w3l h4.plan-price-line {
        font-size: 34px;
    }
    .contact .image-responsive {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 180px;
        margin: 0 auto;
    }
    .contact .form-w3ls {
        padding: 16px !important;
    }
}
/* ==========================================================================
   P2 — polish: WebP hero, sticky CTA, floating labels, focus + reduced motion
   ========================================================================== */

/* Hero image: WebP where supported (same picture, ~60% lighter) */
.banner-right {
    background-image: url("../images/banner.jpg");
    background-image: image-set(url("../images/banner.webp") type("image/webp"), url("../images/banner.jpg") type("image/jpeg"));
}

/* Keyboard focus: clear ring for keyboard users only */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #193584 !important;
    outline-offset: 2px !important;
}
.w3l-footer-16 a:focus-visible,
.w3l-footer-16 button:focus-visible,
.w3l-footer-16 input:focus-visible,
.banner-wrap a:focus-visible,
.banner-wrap button:focus-visible,
.w3_stats a:focus-visible {
    outline-color: #fff !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .btn-demo-cta,
    .btn-free-trial {
        animation: none !important;
    }
}

/* Contact labels: visually hidden on desktop (still read by screen readers) */
.contact .float-field {
    position: relative;
}
.contact .float-field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sticky-cta {
    display: none;
}

@media (max-width: 991.98px) {
    /* ---- Hero photo: show the full scene in the first viewport ---- */
    .banner-wrap {
        min-height: 0 !important;
    }
    .banner-right {
        min-height: min(42vh, 340px) !important;
        height: min(42vh, 340px);
        margin-bottom: 0 !important;
        /* Frame the office/house scene (was clipping the building at top) */
        background-position: 48% 28%;
        background-size: cover;
        border-radius: 100% 100% 0 0 / 36% 36% 0 0;
        outline-width: 10px;
    }
    .banner-wrap > .row {
        align-items: stretch;
    }
    .banner-wrap .shape {
        bottom: -6px;
    }

    /* ---- Sticky bottom CTA (always on when rendered; guests + trial ON only) ---- */
    .sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: flex;
        gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        box-shadow: 0 -4px 18px rgba(36, 41, 82, 0.14);
        transform: translateY(110%);
        transition: transform 0.25s ease;
        visibility: hidden;
    }
    .sticky-cta.is-visible,
    .sticky-cta.sticky-cta--always {
        transform: none;
        visibility: visible;
    }
    .sticky-cta .btn {
        flex: 1 1 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 30px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }
    .sticky-cta .btn.btn-style.btn-free-trial.sticky-cta-primary {
        flex: 1.4 1 0;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 12px !important;
        font-size: 15px !important;
        line-height: 30px !important;
        border: 2px solid #193584 !important;
        border-radius: 4px !important;
        box-shadow: none !important;
        animation: none !important;
        box-sizing: border-box !important;
    }
    .sticky-cta .sticky-cta-secondary {
        color: #fd746c !important;
        background: #fff !important;
        border: 2px solid #fd746c !important;
    }
    body.index-nav-open .sticky-cta,
    body.modal-open .sticky-cta {
        visibility: hidden;
    }
    /* Keep the back-to-top button above the bar */
    body.has-sticky-cta #movetop {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    body.has-sticky-cta .w3l-footer-16 {
        padding-bottom: 72px;
    }

    /* ---- Contact: floating labels, stronger field borders ---- */
    .contact .float-field > label {
        position: absolute;
        top: 15px;
        left: 12px;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0 5px;
        overflow: visible;
        clip: auto;
        font-size: 16px;
        line-height: 1.2;
        color: #5c6188;
        background: #fff;
        pointer-events: none;
        transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
    }
    .contact .float-field.has-value > label,
    .contact .float-field:focus-within > label {
        top: -8px;
        font-size: 12px;
        font-weight: 600;
        color: #fd746c;
    }
    .contact .float-field .form-control::placeholder {
        color: transparent;
    }
    .contact .content-form-right input,
    .contact .content-form-right textarea {
        min-height: 48px;
        background: #fff;
        border-color: #9aa0c0;
        border-radius: 10px;
    }
    .contact .content-form-right input:focus,
    .contact .content-form-right textarea:focus {
        border-color: #fd746c;
    }
    .contact .form-w3ls img[alt="captcha code"] {
        border: 1px solid #E6E8F0;
        border-radius: 10px;
        max-width: 100%;
    }
}
/* P2 follow-up: benefits photo offset no longer overlaps the cards (mobile) */
@media (max-width: 991.98px) {
    #benefit .right-img,
    #benefit .right-img.sec-img-ab {
        margin-top: 28px;
        padding: 0;
    }
    #benefit .right-img img,
    #benefit .right-img.sec-img-ab img {
        width: calc(100% + 14px);
        max-width: none;
        margin: -14px 0 14px -14px;
    }
}
@media (max-width: 991.98px) {
    .contact .row .float-field > label {
        left: 27px;
    }
}