/* =========================================================
   TravoByte website — feature showcase, comparison table and
   the multi-step demo popup. Loaded after site.css.
   ========================================================= */

/* ---------- Feature showcase (accordion + looping preview) ---------- */
.tbx-acc { display: flex; flex-direction: column; }
.tbx-acc-item {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid var(--tbx-line);
    padding: 20px 4px 22px;
    font-family: var(--tbx-font-body);
    color: var(--tbx-ink);
    cursor: pointer;
}
.tbx-acc-item:last-child { border-bottom: 1px solid var(--tbx-line); }
.tbx-acc-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tbx-acc-title { font-family: var(--tbx-font-head); font-size: 20px; font-weight: 600; color: var(--tbx-navy); }
.tbx-acc-sign {
    flex: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef3fa;
    transition: background .2s;
}
.tbx-acc-sign::before, .tbx-acc-sign::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: var(--tbx-navy);
    border-radius: 2px;
    transition: transform .25s;
}
.tbx-acc-sign::after { transform: rotate(90deg); }
.tbx-acc-item.is-active .tbx-acc-sign { background: var(--tbx-blue); }
.tbx-acc-item.is-active .tbx-acc-sign::before, .tbx-acc-item.is-active .tbx-acc-sign::after { background: #fff; }
.tbx-acc-item.is-active .tbx-acc-sign::after { transform: rotate(0); }
.tbx-acc-text {
    display: block;
    max-height: 0;
    overflow: hidden;
    color: var(--tbx-muted);
    font-size: 15px;
    transition: max-height .35s ease, margin .35s ease;
}
.tbx-acc-item.is-active .tbx-acc-text { max-height: 90px; margin-top: 8px; }
.tbx-acc-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.tbx-acc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tbx-blue), var(--tbx-red)); }
.tbx-acc-item.is-active .tbx-acc-bar i { animation: tbx-progress var(--tbx-dur, 7s) linear forwards; }
.tbx-showcase.is-paused .tbx-acc-item.is-active .tbx-acc-bar i { animation-play-state: paused; }
@keyframes tbx-progress { to { width: 100%; } }

.tbx-stage {
    position: relative;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(58, 160, 255, .22), transparent 60%),
        radial-gradient(380px 240px at 0% 100%, rgba(238, 34, 57, .12), transparent 60%),
        #eef3fa;
}
/* Close-up clip in a soft frame (like a short product video), with floating feature tags. */
.tbx-showcase .tbx-stage { max-width: 640px; margin-left: auto; padding: 18px; }
.tbx-clip {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 50px rgba(9, 41, 87, .16);
    outline: 6px solid rgba(255, 255, 255, .65);
}
.tbx-clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #f4f8fd; }
.tbx-chips-float { position: absolute; right: -14px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.tbx-fchip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px 7px 9px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(9, 41, 87, .16);
    font-size: 13px;
    font-weight: 700;
    color: var(--tbx-navy);
    opacity: 0;
    transform: translateX(16px);
}
.tbx-fchip .mdi { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; }
.tbx-fchip-wa .mdi { background: #e6f8ef; color: #1fa855; }
.tbx-fchip-blue .mdi { background: #e7f1fd; color: var(--tbx-blue); }
.tbx-fchip-green .mdi { background: #e6f8ef; color: #0f9d58; }
.tbx-fchip-red .mdi { background: #fde8eb; color: var(--tbx-red); }
.tbx-fchip-amber .mdi { background: #fff4de; color: #d98a00; }
.tbx-fchip-purple .mdi { background: #f0e9ff; color: #7b3fe4; }
.tbx-play .tbx-fchip { animation: tbx-chip-in .5s cubic-bezier(.2, .8, .3, 1.2) forwards, tbx-chip-float 3.6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + .5s); }
@keyframes tbx-chip-in { to { opacity: 1; transform: none; } }
@keyframes tbx-chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .tbx-fchip { opacity: 1; transform: none; animation: none !important; } }
@media (max-width: 575.98px) {
    .tbx-chips-float { right: 6px; bottom: 10px; gap: 5px; }
    .tbx-fchip { font-size: 11px; padding: 4px 9px 4px 5px; }
    .tbx-fchip .mdi { width: 20px; height: 20px; font-size: 13px; }
    .tbx-clip { outline-width: 4px; }
}

.tbx-stage-sm { padding: 14px; border-radius: 24px; }
.tbx-hero-shot .tbx-stage-sm { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }
@media (max-width: 991.98px) { .tbx-hero-shot .tbx-stage-sm { transform: none; } }

.tbx-pane { display: none; position: relative; }
.tbx-pane.is-active { display: block; animation: tbx-fade .35s ease; }
@keyframes tbx-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Browser frame around real screen recordings and screenshots */
.tbx-browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(9, 41, 87, .18); }
.tbx-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f6fa; border-bottom: 1px solid var(--tbx-line); }
.tbx-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dfea; }
.tbx-browser-bar i:first-child { background: #ff6b6b; }
.tbx-browser-bar i:nth-child(2) { background: #ffd166; }
.tbx-browser-bar i:nth-child(3) { background: #06d6a0; }
.tbx-browser-bar span { margin-left: 10px; padding: 2px 12px; border-radius: 999px; background: #fff; font-size: 11.5px; color: var(--tbx-muted); }
.tbx-pane-video, .tbx-browser img, .tbx-browser video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #f4f8fd; }

/* ---------- HTML "mini app" previews (used when no recording exists) ---------- */
.tbx-app {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(9, 41, 87, .18);
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--tbx-ink);
}
.tbx-app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--tbx-line); }
.tbx-app-top b { font-family: var(--tbx-font-head); font-size: 15px; color: var(--tbx-navy); }
.tbx-app-search { padding: 5px 12px; border: 1px solid var(--tbx-line); border-radius: 999px; color: var(--tbx-muted); font-size: 11.5px; }
.tbx-app-body { padding: 12px 16px; }
.tbx-app-split { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-left: 0; }
.tbx-app-side { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 0 10px; border-right: 1px solid var(--tbx-line); }
.tbx-app-side > span { padding: 7px 8px; border-radius: 8px; color: var(--tbx-muted); font-size: 12px; }
.tbx-app-side > span.is-on { background: #e7f1fd; color: var(--tbx-blue); font-weight: 700; }
.tbx-app-side small { display: block; font-size: 10.5px; color: var(--tbx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbx-app-side b { display: block; color: var(--tbx-navy); font-size: 12px; }
.tbx-app-thead, .tbx-app-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr .9fr; gap: 8px; align-items: center; }
.tbx-app-thead { padding: 6px 10px; font-size: 11px; font-weight: 700; color: var(--tbx-muted); text-transform: uppercase; letter-spacing: .04em; }
.tbx-app-row { padding: 9px 10px; margin-bottom: 7px; border: 1px solid var(--tbx-line); border-radius: 10px; background: #fff; }
.tbx-app-row small { display: block; color: var(--tbx-muted); font-size: 10.5px; }
.tbx-src { display: inline-flex; align-items: center; gap: 4px; color: var(--tbx-muted); }
.tbx-src .mdi { font-size: 15px; color: var(--tbx-blue); }
.tbx-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e7f1fd; color: var(--tbx-blue); font-size: 10.5px; font-weight: 700; font-style: normal; white-space: nowrap; }
.tbx-tag-green { background: #e6f8ef; color: #0f9d58; }
.tbx-tag-red { background: #fde8eb; color: var(--tbx-red); }
.tbx-app-toast {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--tbx-navy);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(9, 41, 87, .3);
}
.tbx-app-toast .mdi { font-size: 18px; color: #7cc4ff; }
.tbx-prompt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid #b9d7f7; border-radius: 12px; background: #f6faff; margin-bottom: 12px; }
.tbx-prompt .mdi { color: var(--tbx-red); font-size: 17px; }
.tbx-typing { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 2px solid var(--tbx-blue); font-weight: 600; }
.tbx-days { display: grid; gap: 7px; }
.tbx-day { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--tbx-line); border-radius: 10px; }
.tbx-day em { font-style: normal; font-weight: 800; color: var(--tbx-blue); font-size: 11.5px; }
.tbx-day small { display: block; color: var(--tbx-muted); font-size: 10.5px; }
.tbx-ok { color: #0f9d58; font-size: 17px; }
.tbx-ok-blue { color: var(--tbx-blue); font-size: 20px; }
.tbx-chat { display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.tbx-msg { max-width: 78%; padding: 8px 11px; border-radius: 12px; font-size: 12px; }
.tbx-msg.in { background: #f1f4f8; align-self: flex-start; border-bottom-left-radius: 4px; }
.tbx-msg.out { background: #dcf8c6; align-self: flex-end; border-bottom-right-radius: 4px; }
.tbx-file { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.tbx-file .mdi { color: var(--tbx-red); font-size: 18px; }
.tbx-chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tbx-chips-row > span { padding: 4px 9px; border-radius: 999px; background: #fff4de; color: #9a6200; font-size: 10.5px; font-weight: 700; }
.tbx-btn-mini { padding: 5px 12px; border-radius: 999px; background: var(--tbx-blue); color: #fff; font-size: 11.5px; font-weight: 700; }
.tbx-pay-grid { grid-template-columns: 24px 1.2fr 1fr .8fr .9fr; }
.tbx-box { width: 18px; height: 18px; border: 1.5px solid #b8c6da; border-radius: 5px; display: grid; place-items: center; color: #fff; }
.tbx-box .mdi { width: 18px; height: 18px; border-radius: 5px; background: var(--tbx-blue); display: grid; place-items: center; font-size: 13px; }
.tbx-proof { display: inline-flex; align-items: center; gap: 4px; color: var(--tbx-blue); font-weight: 600; }
.tbx-bar-ph { display: block; height: 8px; width: 70%; border-radius: 4px; background: #e8eef6; }
.tbx-status { position: relative; display: inline-block; }
.tbx-status .a-swap { position: absolute; left: 0; top: 0; }
.tbx-seg { display: inline-flex; border: 1px solid var(--tbx-line); border-radius: 8px; overflow: hidden; }
.tbx-seg > span { padding: 4px 10px; font-size: 11px; color: var(--tbx-muted); border-left: 1px solid var(--tbx-line); }
.tbx-seg > span:first-child { border-left: 0; }
.tbx-seg > span.is-on { background: #e7f1fd; color: var(--tbx-blue); font-weight: 700; }
.tbx-cal { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 10px; }
.tbx-cal-h { font-size: 10.5px; font-weight: 700; color: var(--tbx-muted); text-align: center; }
.tbx-cal-d { height: 52px; padding: 3px 5px; border-radius: 7px; background: #f6f8fb; font-size: 10px; color: var(--tbx-muted); }
.tbx-trip { position: absolute; height: 18px; padding: 1px 8px; border-radius: 5px; color: #fff; font-size: 10px; font-weight: 700; font-style: normal; white-space: nowrap; overflow: hidden; transform-origin: left; }
.tbx-trip.t1 { left: 14.6%; width: 41%; top: 40px; background: var(--tbx-blue); }
.tbx-trip.t2 { left: 43%; width: 28%; top: 96px; background: var(--tbx-red); }
.tbx-trip.t3 { left: .5%; width: 40%; top: 118px; background: #0f9d58; }
.tbx-trip.t4 { left: 57.5%; width: 27%; top: 152px; background: #d98a00; }
.tbx-duty { grid-template-columns: 26px 1fr auto; }
.tbx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tbx-kpis > div { padding: 10px; border-radius: 10px; background: var(--tbx-soft); }
.tbx-kpis small { display: block; color: var(--tbx-muted); font-size: 10.5px; }
.tbx-kpis b { font-family: var(--tbx-font-head); font-size: 13px; color: var(--tbx-navy); }
.tbx-chart { display: flex; align-items: flex-end; gap: 12px; height: 190px; padding: 0 6px; border-bottom: 1px solid var(--tbx-line); }
.tbx-chart-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.tbx-chart-col small { font-size: 10px; color: var(--tbx-muted); white-space: nowrap; }
.tbx-chart-bar { display: block; width: 100%; max-width: 46px; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #3aa0ff, var(--tbx-blue)); transform-origin: bottom; }

/* Animation states: hidden first, then played when the pane gets .tbx-play */
.tbx-pane .a, .tbx-pane .a-pop, .tbx-pane .a-swap { opacity: 0; }
.tbx-pane .a-slide { transform: scaleX(0); }
.tbx-pane .a-grow { transform: scaleY(0); }
.tbx-play .a { animation: tbx-in .5s ease forwards; animation-delay: var(--d, 0s); }
.tbx-play .a-pop, .tbx-play .a-swap { animation: tbx-pop .35s ease forwards; animation-delay: var(--d, 0s); }
.tbx-play .a-slide { animation: tbx-slide .6s ease forwards; animation-delay: var(--d, 0s); }
.tbx-play .a-grow { animation: tbx-grow .7s ease forwards; animation-delay: var(--d, 0s); }
.tbx-play .a-press { animation: tbx-press .4s ease; animation-delay: var(--d, 0s); }
.tbx-play .tbx-typing { animation: tbx-type 1.6s steps(var(--chars)) .4s forwards, tbx-caret .7s step-end infinite; }
@keyframes tbx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tbx-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes tbx-slide { to { transform: scaleX(1); } }
@keyframes tbx-grow { to { transform: scaleY(1); } }
@keyframes tbx-press { 50% { transform: scale(.9); box-shadow: 0 0 0 6px rgba(2, 107, 203, .2); } }
@keyframes tbx-type { to { width: 100%; } }
@keyframes tbx-caret { 50% { border-color: transparent; } }
@media (prefers-reduced-motion: reduce) {
    .tbx-pane .a, .tbx-pane .a-pop, .tbx-pane .a-swap { opacity: 1; animation: none !important; }
    .tbx-pane .a-slide, .tbx-pane .a-grow { transform: none; animation: none !important; }
    .tbx-typing { width: auto; animation: none !important; }
}
@media (max-width: 575.98px) {
    .tbx-stage { padding: 10px; border-radius: 18px; }
    .tbx-app { height: 380px; font-size: 11px; }
    .tbx-app-split { grid-template-columns: 1fr; padding-left: 16px; }
    .tbx-app-side { display: none; }
    .tbx-app-thead > span:nth-child(3), .tbx-app-row > span:nth-child(3) { display: none; }
    .tbx-app-thead, .tbx-app-row { grid-template-columns: 1.2fr 1.2fr .9fr; }
    .tbx-pay-grid { grid-template-columns: 22px 1.3fr .9fr .9fr; }
    .tbx-acc-title { font-size: 17px; }
    .tbx-acc-sign { width: 36px; height: 36px; }
    .tbx-browser-bar span { display: none; }
}

/* ---------- Product screen on the Travel CRM hero ---------- */
.tbx-hero-shot { position: relative; }
.tbx-hero-shot .tbx-browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.tbx-hero-shot .tbx-float-1 { left: -24px; bottom: -18px; }
.tbx-hero-shot .tbx-float-2 { right: -14px; top: -18px; }
@media (max-width: 991.98px) {
    .tbx-hero-shot { margin-top: 30px; }
    .tbx-hero-shot .tbx-browser { transform: none; }
    .tbx-hero-shot .tbx-float-1 { left: 8px; }
    .tbx-hero-shot .tbx-float-2 { right: 8px; }
}

/* ---------- Comparison table ---------- */
/* position: relative keeps the screen-reader labels inside the scroll box (else they widen the page on phones). */
.tbx-compare-wrap { position: relative; overflow-x: auto;border-radius: 22px; background: #fff; border: 1px solid var(--tbx-line); box-shadow: var(--tbx-shadow); }
.tbx-compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.tbx-compare th, .tbx-compare td { padding: 15px 18px; border-bottom: 1px solid var(--tbx-line); vertical-align: middle; }
.tbx-compare tbody tr:last-child th, .tbx-compare tbody tr:last-child td { border-bottom: 0; }
.tbx-compare thead th { font-family: var(--tbx-font-head); font-size: 16px; color: var(--tbx-navy); background: #f7f9fc; text-align: center; padding-top: 22px; }
.tbx-compare thead th:first-child { text-align: left; }
.tbx-compare tbody th { font-weight: 600; color: var(--tbx-ink); }
.tbx-compare td { position: relative; text-align: center; font-size: 22px; }

/* Bootstrap's g-5 gutter is wider than the container padding on phones and causes sideways scroll. */
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}
.tbx-compare .is-us { background: #eef6ff; }
.tbx-compare thead .is-us { background: linear-gradient(135deg, var(--tbx-blue), #1f8bff); color: #fff; }
.tbx-us-badge { display: block; width: max-content; margin: 0 auto 4px; padding: 2px 10px; border-radius: 999px; background: var(--tbx-red); color: #fff; font-family: var(--tbx-font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tbx-cmp-yes { color: #0f9d58; }
.tbx-cmp-part { color: #d98a00; }
.tbx-cmp-no { color: #c3cbd8; }
.tbx-compare-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 16px 0 0; font-size: 13.5px; color: var(--tbx-muted); }
.tbx-compare-legend .mdi { font-size: 17px; vertical-align: -2px; }
@media (max-width: 767.98px) {
    .tbx-compare { font-size: 13.5px; }
    .tbx-compare th, .tbx-compare td { padding: 12px 10px; }
    .tbx-compare tbody th { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 190px; }
}

/* ---------- Demo popup (multi-step) ---------- */
.tbx-modal .modal-xl { max-width: 1040px; }
.tbx-demo { display: grid; grid-template-columns: 330px 1fr; min-height: 560px; }
.tbx-demo-side {
    padding: 34px 28px;
    color: #dce8fb;
    background:
        radial-gradient(360px 220px at 0% 0%, rgba(238, 34, 57, .35), transparent 60%),
        linear-gradient(160deg, var(--tbx-blue), var(--tbx-blue-dark) 70%, var(--tbx-navy));
    border-radius: 22px 0 0 22px;
}
.tbx-demo-side .tbx-eyebrow { background: rgba(255, 255, 255, .15); color: #fff; font-size: 11px; }
.tbx-demo-side-title { font-family: var(--tbx-font-head); font-size: 26px; font-weight: 700; line-height: 1.2; color: #fff; margin: 16px 0 18px; }
.tbx-demo-gets { list-style: none; padding: 0; margin: 0 0 26px; }
.tbx-demo-gets li { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; font-size: 14.5px; }
.tbx-demo-gets .mdi { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .14); font-size: 18px; color: #fff; }
.tbx-demo-help { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 6px; }
.tbx-demo-help small { color: #a9c3e6; }
.tbx-demo-help a { color: #fff; text-decoration: none; font-weight: 700; }
.tbx-demo-main { padding: 26px 30px 24px; display: flex; flex-direction: column; min-width: 0; }
.tbx-demo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tbx-steps-nav { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--tbx-muted); }
.tbx-steps-nav li { display: flex; align-items: center; gap: 7px; flex: 1; }
.tbx-steps-nav li span { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #eef3fa; color: var(--tbx-muted); font-size: 12.5px; }
.tbx-steps-nav li.is-on { color: var(--tbx-navy); }
.tbx-steps-nav li.is-on span { background: var(--tbx-blue); color: #fff; }
.tbx-steps-nav li.is-done span { background: #0f9d58; color: #fff; }
.tbx-progress { height: 5px; border-radius: 5px; background: #eef3fa; margin-bottom: 20px; overflow: hidden; }
.tbx-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--tbx-blue), var(--tbx-red)); transition: width .35s ease; }
.tbx-demo-form { flex: 1; display: flex; flex-direction: column; }
.tbx-step-pane { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.tbx-step-pane.is-on { display: block; animation: tbx-fade .3s ease; }
.tbx-input { position: relative; display: flex; align-items: center; }
.tbx-input > .mdi, .tbx-input > .tbx-prefix { position: absolute; left: 12px; z-index: 1; color: var(--tbx-muted); font-size: 18px; pointer-events: none; }
.tbx-input > .tbx-prefix { font-size: 14px; font-weight: 700; color: var(--tbx-navy); }
.tbx-input .form-control { padding-left: 42px; }
.tbx-modal .form-control.is-invalid, .tbx-modal .form-select.is-invalid { border-color: var(--tbx-red); background-image: none; }
.tbx-q { font-weight: 700; color: var(--tbx-navy); font-size: 14.5px; margin: 16px 0 8px; }
.tbx-step-pane > .tbx-q:first-of-type { margin-top: 0; }
.tbx-q small { font-weight: 500; color: var(--tbx-muted); }
.tbx-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tbx-pick label { position: relative; cursor: pointer; margin: 0; }
.tbx-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tbx-pick label > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--tbx-line);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--tbx-ink);
    transition: border-color .15s, background .15s, color .15s;
}
.tbx-pick label > span .mdi { font-size: 17px; color: var(--tbx-blue); }
.tbx-pick label:hover > span { border-color: #9cc6f2; }
.tbx-pick input:checked + span { border-color: var(--tbx-blue); background: #eaf3fe; color: var(--tbx-blue); box-shadow: 0 0 0 3px rgba(2, 107, 203, .12); }
.tbx-pick input:focus-visible + span { outline: 2px solid var(--tbx-blue); outline-offset: 2px; }
.tbx-pick.is-invalid label > span { border-color: rgba(238, 34, 57, .55); }
.tbx-pick-days label > span { flex-direction: column; gap: 0; min-width: 64px; padding: 8px 10px; line-height: 1.2; }
.tbx-pick-days small { font-size: 11px; color: var(--tbx-muted); font-weight: 600; }
.tbx-pick-days b { font-family: var(--tbx-font-head); font-size: 20px; }
.tbx-form-error { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fde8eb; color: #b3182b; font-size: 14px; font-weight: 600; }
.tbx-demo-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; }
.tbx-demo-note { flex: 1; font-size: 12.5px; color: var(--tbx-muted); }
.tbx-demo-actions [hidden] { display: none !important; }
.tbx-done { text-align: center; padding: 30px 10px; }
.tbx-done-icon { font-size: 64px; color: #0f9d58; }
.tbx-done-summary { font-weight: 600; color: var(--tbx-navy); }
.tbx-demo-form.is-done .tbx-demo-actions { display: none; }
@media (max-width: 991.98px) {
    .tbx-demo { grid-template-columns: 1fr; min-height: 0; }
    .tbx-demo-side { display: none; }
}
@media (max-width: 767.98px) {
    .tbx-demo-main { padding: 20px 16px 16px; }
    .tbx-steps-nav { font-size: 12px; gap: 4px; }
    .tbx-steps-nav li { gap: 5px; }
    .tbx-demo-note { display: none; }
    .tbx-demo-actions { position: sticky; bottom: 0; background: #fff; padding-bottom: 4px; }
    .tbx-demo-actions .tbx-btn { flex: 1; justify-content: center; }
}

/* ---------- Free trial registration (/registration-page) ---------- */
.tbx-signup { padding: 72px 0 90px; background: radial-gradient(1200px 500px at 85% -10%, rgba(2, 107, 203, .10), transparent 60%), var(--tbx-soft); }
.tbx-signup h1 { font-family: var(--tbx-font-head); color: var(--tbx-navy); font-weight: 800; font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -0.02em; margin: 16px 0; }
.tbx-signup h1 span { background: linear-gradient(120deg, var(--tbx-blue), #3aa0ff 55%, var(--tbx-red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tbx-signup-lead { color: var(--tbx-muted); font-size: 18px; }
.tbx-signup-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.tbx-signup-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--tbx-ink); font-weight: 600; }
.tbx-signup-list .mdi { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e7f1fd; color: var(--tbx-blue); font-size: 17px; }
.tbx-signup-help { color: var(--tbx-muted); font-size: 15px; }
.tbx-link-btn { border: 0; background: none; padding: 0; color: var(--tbx-blue); font-weight: 700; text-decoration: underline; }
.tbx-signup-card { background: #fff; border: 1px solid var(--tbx-line); border-radius: 24px; box-shadow: var(--tbx-shadow); padding: 32px; }
.tbx-signup-card .h4 { font-family: var(--tbx-font-head); color: var(--tbx-navy); font-weight: 800; }
.tbx-signup-sub { color: var(--tbx-muted); font-size: 14px; margin-bottom: 18px; }
.tbx-signup-card .form-label { font-weight: 600; font-size: 14px; color: var(--tbx-navy); }
.tbx-signup-card .form-control, .tbx-signup-card .form-select { border-radius: 12px; padding: 10px 12px; border-color: var(--tbx-line); }
.tbx-signup-card .tbx-input .form-control { padding-left: 42px; }
.tbx-signup-card .form-control.is-invalid, .tbx-signup-card .form-select.is-invalid { border-color: var(--tbx-red); background-image: none; }
.tbx-field-error { color: #b3182b; font-size: 13px; font-weight: 600; margin-top: 4px; }
.tbx-field-error:empty { display: none; }
.tbx-field-error a { color: var(--tbx-blue); }
.tbx-signup-note { font-size: 13px; color: var(--tbx-muted); text-align: center; margin: 14px 0 0; }
.tbx-signup-pane { display: none; }
.tbx-signup-pane.is-on { display: block; }
[data-state-box][hidden] { display: none !important; }
@media (max-width: 575.98px) {
    .tbx-signup { padding: 40px 0 60px; }
    .tbx-signup-card { padding: 22px 16px; border-radius: 18px; }
}
.tbx-nav-login { font-weight: 700; color: var(--tbx-navy) !important; text-decoration: none; padding: 0 6px; }
.tbx-nav-login:hover { color: var(--tbx-blue) !important; }
@media (max-width: 991.98px) { .tbx-nav-actions { flex-wrap: wrap; } .tbx-nav-login { flex-basis: 100%; padding: 6px 0; } }
/* Header with Login + Start free trial + Demo: a little tighter on small laptops so it fits in one row. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .tbx-header .navbar-nav .nav-link { padding-left: 9px !important; padding-right: 9px !important; }
    .tbx-nav-actions { gap: 6px; }
    .tbx-nav-actions .tbx-btn { padding-left: 14px; padding-right: 14px; font-size: 14px; }
    .tbx-header .navbar-brand img { width: 150px; height: auto; }
}

/* Header actions: Login link | divider | soft "Start free trial" + solid "Get a Free Demo", same size. */
.tbx-btn-soft { background: #e9f2fd; color: var(--tbx-blue) !important; border-color: transparent; }
.tbx-btn-soft:hover { background: #dbe9fb; }
.tbx-nav-actions .tbx-btn { padding: 10px 20px; font-size: 14.5px; }
.tbx-nav-actions .tbx-btn-primary { box-shadow: 0 6px 16px rgba(2, 107, 203, .22); }
.tbx-nav-login { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.tbx-nav-login .mdi { font-size: 20px; color: var(--tbx-blue); }
@media (min-width: 992px) {
    .tbx-nav-login { padding: 0 16px 0 4px; margin-right: 4px; border-right: 1px solid var(--tbx-line); line-height: 28px; }
}
@media (max-width: 991.98px) { .tbx-nav-login { justify-content: center; } }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .tbx-nav-actions .tbx-btn { padding: 9px 14px; font-size: 14px; }
    .tbx-nav-login { padding-right: 10px; }
}
.tbx-logo-white { filter: brightness(0) invert(1); }

/* =====================================================================
   Design refresh (Nov 2026): section tags, two-colour headings, hero player,
   logo strip, coloured sections, workflow hover, classy demo section.
   ===================================================================== */

/* ---------- 2. Every section tag looks like "NEW: TRAVOBYTE CRM 3.0" ---------- */
.tbx-eyebrow { background: rgba(238, 34, 57, .1); color: var(--tbx-red); }
.tbx-eyebrow:not(:has(.mdi))::before {
    content: "\F0674";               /* mdi-creation (sparkles) */
    font: normal normal normal 15px/1 "Material Design Icons";
}
.tbx-dark .tbx-eyebrow, .tbx-cta .tbx-eyebrow, .tbx-demo-info .tbx-eyebrow { background: rgba(255, 255, 255, .14); color: #ffd3d9; }
body.is-legacy main .top-tab { background: rgba(238, 34, 57, .1) !important; color: var(--tbx-red) !important; }
body.is-legacy main .top-tab span { background: var(--tbx-red) !important; }
body.is-legacy .our_missions .top-tab { background: none !important; }

/* ---------- 3. Two-colour headings ---------- */
.tbx-hl-light { color: #8cc6ff; }
.tbx-section h2 .tbx-grad-text, .tbx-logos h2 .tbx-grad-text { font-weight: inherit; }

/* ---------- 1. Home hero: moving background + real CRM player ---------- */
.tbx-hero-home { isolation: isolate; }
.tbx-hero-home::before {                      /* soft dot grid */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(2, 107, 203, .13) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.tbx-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.tbx-blob-1 { width: 420px; height: 420px; background: #9cc9ff; top: -120px; right: 4%; animation: tbx-drift 16s ease-in-out infinite; }
.tbx-blob-2 { width: 320px; height: 320px; background: #ffc2cb; bottom: -140px; left: -60px; animation: tbx-drift 20s ease-in-out infinite reverse; }
.tbx-blob-3 { width: 260px; height: 260px; background: #c8b8ff; top: 40%; right: 38%; opacity: .35; animation: tbx-drift 24s ease-in-out infinite; }
@keyframes tbx-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.08); }
    66% { transform: translate(-30px, 20px) scale(.95); }
}

.tbx-player { position: relative; }
.tbx-player-frame {
    position: relative; background: #fff; border: 1px solid var(--tbx-line); border-radius: 22px;
    padding: 12px; box-shadow: 0 30px 80px rgba(9, 41, 87, .18);
}
.tbx-player-frame::after {                    /* glowing border */
    content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 24px;
    background: linear-gradient(120deg, #3aa0ff, #8f7dff, var(--tbx-red), #3aa0ff);
    background-size: 300% 300%; animation: tbx-glow 8s linear infinite; opacity: .55; filter: blur(10px);
}
@keyframes tbx-glow { to { background-position: 300% 0; } }
.tbx-player-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; }
.tbx-player-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.tbx-player-bar i:nth-child(2) { background: #ffd166; }
.tbx-player-bar i:nth-child(3) { background: #06d6a0; }
.tbx-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--tbx-muted); }
.tbx-live b { width: 8px; height: 8px; border-radius: 50%; background: #16c172; box-shadow: 0 0 0 0 rgba(22, 193, 114, .6); animation: tbx-pulse 1.6s infinite; }
@keyframes tbx-pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 193, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 193, 114, 0); } }
.tbx-player-screen { position: relative; border-radius: 14px; overflow: hidden; background: #eef4fb; aspect-ratio: 1120 / 700; }
.tbx-player-screen video { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.tbx-player-screen video.is-fading { opacity: 0; }
.tbx-player-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(2, 107, 203, .12); }
.tbx-player-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tbx-blue), var(--tbx-red)); }
.tbx-player-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.tbx-player-tabs button {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
    border: 1px solid var(--tbx-line); background: rgba(255, 255, 255, .85); color: var(--tbx-navy);
    font-size: 13px; font-weight: 700; transition: .2s; backdrop-filter: blur(6px);
}
.tbx-player-tabs button .mdi { font-size: 16px; color: var(--tbx-blue); }
.tbx-player-tabs button:hover { border-color: var(--tbx-blue); transform: translateY(-1px); }
.tbx-player-tabs button.is-on { background: linear-gradient(135deg, var(--tbx-blue), #1f8bff); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(2, 107, 203, .28); }
.tbx-player-tabs button.is-on .mdi { color: #fff; }
.tbx-player .tbx-float { z-index: 2; animation: tbx-bob 5s ease-in-out infinite; }
.tbx-player .tbx-float-1 { left: -30px; bottom: 90px; top: auto; }
.tbx-player .tbx-float-2 { right: -20px; top: -22px; animation-delay: -2.5s; }
@keyframes tbx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) {
    .tbx-player { margin-top: 30px; }
    .tbx-player .tbx-float-1 { left: 6px; bottom: 70px; }
    .tbx-player .tbx-float-2 { right: 6px; }
}
@media (max-width: 575.98px) {
    .tbx-player .tbx-float { display: none; }
    .tbx-player-tabs button { padding: 6px 10px; font-size: 12px; }
}

/* ---------- 4. Client logos: highlighted ---------- */
.tbx-logos {
    padding: 64px 0 56px; border-bottom: 0;
    background: linear-gradient(180deg, #fff, #f3f8ff);
}
.tbx-logos h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.tbx-logos p { margin-bottom: 30px; }
.tbx-marquee { padding: 10px 0 14px; }
.tbx-marquee-track { gap: 18px; }
.tbx-marquee-track img {
    box-sizing: content-box; height: 44px; padding: 16px 26px; background: #fff;
    border: 1px solid var(--tbx-line); border-radius: 16px; box-shadow: 0 8px 22px rgba(9, 41, 87, .06);
    filter: none; opacity: 1; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tbx-marquee-track img:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 30px rgba(2, 107, 203, .16); border-color: rgba(2, 107, 203, .35); }
@media (max-width: 575.98px) { .tbx-marquee-track img { height: 34px; padding: 12px 18px; } }

/* ---------- 5. "Travel CRM's that runs every trip": peach background ---------- */
.tbx-section-peach { background: #fff0e5; }
.tbx-section-peach .tbx-card { border-color: #f6dcc9; box-shadow: 0 8px 22px rgba(170, 90, 30, .06); }
.tbx-section-peach .tbx-card:hover { box-shadow: 0 20px 40px rgba(170, 90, 30, .14); }

/* ---------- 6. Workflow: sky background + hover on the step cards ---------- */
.tbx-section-sky { background: #d9e8fa; }
.tbx-section-sky .tbx-step {
    border-color: transparent; box-shadow: 0 8px 20px rgba(9, 41, 87, .06); overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.tbx-section-sky .tbx-step::after {          /* colour line that grows on hover */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, var(--tbx-blue), var(--tbx-red)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.tbx-section-sky .tbx-step .tbx-icon { transition: transform .3s ease; }
.tbx-section-sky .tbx-step:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(2, 107, 203, .18); }
.tbx-section-sky .tbx-step:hover::after { transform: scaleX(1); }
.tbx-section-sky .tbx-step:hover .tbx-icon { transform: scale(1.12) rotate(-6deg); }
.tbx-section-sky .tbx-step:hover::before { color: var(--tbx-blue); }

/* ---------- 7. Free demo section: classy ---------- */
.tbx-demo-sec { background: linear-gradient(180deg, #fff, #f4f8fd); }
.tbx-demo-box { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(9, 41, 87, .14); background: #fff; }
.tbx-demo-info {
    position: relative; padding: 48px 42px; color: #dce8f7;
    background: radial-gradient(500px 260px at 100% 0%, rgba(58, 160, 255, .35), transparent 60%),
                radial-gradient(400px 260px at 0% 100%, rgba(238, 34, 57, .25), transparent 60%),
                linear-gradient(150deg, #0b1b33, #0a3d7a);
}
.tbx-demo-info .h2 { font-family: var(--tbx-font-head); font-weight: 800; color: #fff; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.tbx-demo-info > p { color: #b9cbe2; }
.tbx-demo-info .tbx-list li { color: #e8f0fa; }
.tbx-demo-info .tbx-list li::before { color: #6fd39a; }
.tbx-demo-info a { color: #fff; font-weight: 700; }
.tbx-demo-formwrap { padding: 34px; display: flex; align-items: center; }
.tbx-demo-formwrap .tbx-enquiry { border: 0; padding: 8px; width: 100%; }
.tbx-demo-formwrap .tbx-enquiry:hover { transform: none; box-shadow: none; }
@media (max-width: 991.98px) { .tbx-demo-info { padding: 36px 26px; } .tbx-demo-formwrap { padding: 22px 16px; } }

/* Enquiry form (also used in page heroes) */
.tbx-enquiry .h4 { font-family: var(--tbx-font-head); font-weight: 800; color: var(--tbx-navy); }
.tbx-enquiry .form-control, .tbx-enquiry .form-select { border-radius: 12px; padding: 11px 12px; border-color: var(--tbx-line); background-color: #f8fbff; }
.tbx-enquiry .tbx-input .form-control, .tbx-enquiry .tbx-input .form-select { padding-left: 42px; }
.tbx-enquiry .form-control:focus, .tbx-enquiry .form-select:focus { background-color: #fff; border-color: var(--tbx-blue); box-shadow: 0 0 0 4px rgba(2, 107, 203, .12); }
.tbx-enquiry-note { margin: 2px 0 0; font-size: 12.5px; color: var(--tbx-muted); text-align: center; }
.tbx-enquiry-note .mdi { color: #16a34a; }

@media (prefers-reduced-motion: reduce) {
    .tbx-blob, .tbx-player-frame::after, .tbx-live b, .tbx-player .tbx-float { animation: none; }
}
@media (min-width: 576px) {
    .tbx-player-tabs { flex-wrap: nowrap; gap: 6px; }
    .tbx-player-tabs button { padding: 7px 11px; font-size: 12.5px; white-space: nowrap; }
}

/* =====================================================================
   Byte changes (29 Nov 2026): forms, marquee, tags, old-page fixes,
   showcase on mobile, contact header.
   ===================================================================== */

/* ---------- Enquiry form: more space, better button ---------- */
.tbx-enquiry form.row { --bs-gutter-x: 1rem; --bs-gutter-y: 1.05rem; }
.tbx-enquiry .form-control, .tbx-enquiry .form-select { min-height: 50px; }
.tbx-enquiry textarea.form-control { min-height: 110px; }
.tbx-enquiry .tbx-btn-primary {
    min-height: 54px; margin-top: 4px; font-size: 16px; letter-spacing: .01em;
    background: linear-gradient(135deg, #0b5fb8, var(--tbx-blue) 45%, #2f9bff);
    background-size: 160% 160%; background-position: 0 50%;
    box-shadow: 0 14px 30px rgba(2, 107, 203, .32);
    transition: background-position .35s ease, transform .2s ease, box-shadow .2s ease;
}
.tbx-enquiry .tbx-btn-primary:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(2, 107, 203, .4); }
.tbx-enquiry .tbx-btn-primary .mdi { transition: transform .2s ease; }
.tbx-enquiry .tbx-btn-primary:hover .mdi { transform: translateX(4px); }
.tbx-enquiry-note { margin-top: 6px !important; }

/* ---------- Service marquee under the hero: coloured on every page ---------- */
body.is-legacy .services-marquee, body.is-legacy .marquee-row {
    background: linear-gradient(90deg, #0a3d7a, var(--tbx-blue) 55%, #2f9bff) !important;
    border: 0 !important;
}
body.is-legacy .services-marquee *, body.is-legacy .marquee-row * { color: #fff !important; }
body.is-legacy .services-marquee img, body.is-legacy .marquee-row img { opacity: 1 !important; filter: none !important; }

/* ---------- Section tags on old pages: same sparkle pill as the new pages ---------- */
body.is-legacy main .top-tab > span:first-child:empty { display: none !important; }
body.is-legacy main .top-tab::before {
    content: "\F0674"; font: normal normal normal 15px/1 "Material Design Icons"; color: var(--tbx-red);
}
body.is-legacy .our_missions .top-tab::before { content: none; }
body.is-legacy .tb-label { background: rgba(238, 34, 57, .1) !important; color: var(--tbx-red) !important; }
body.is-legacy .tb-label-icon { color: var(--tbx-red) !important; }

/* ---------- Headings on old pages: one size, gradient words never clipped ---------- */
body.is-legacy main > section:not([class*="tbx-"]) h2:not(:is(.main-stat-content, [class*="card"], [class*="box"], [class*="item"], .founder-name) h2) {
    font-size: clamp(30px, 4vw, 46px) !important; font-weight: 800 !important; line-height: 1.15 !important;
}
body.is-legacy main :is(h1, h2, h3) span { font-size: inherit !important; }
body.is-legacy main :is(h1, h2) span, .tbx-grad-text { padding: 0 .07em .06em; margin: 0 -.07em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
body.is-legacy .about-inn h2 br { display: none; }

/* ---------- Tabs (Flight / Hotel / White Label / Travel CRM pages) ---------- */
body.is-legacy .tb-tab { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
body.is-legacy .tb-tab:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(2, 107, 203, .12) !important; }
body.is-legacy .tb-image-box img { transition: opacity .25s ease; }
body.is-legacy .tb-image-box img.is-fading { opacity: 0; }

/* ---------- White Label: benefit cards ---------- */
body.is-legacy .tb-benefits .tb-card .tb-card-top {
    display: flex !important; align-items: center; justify-content: space-between;
    background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 18px;
}
body.is-legacy .tb-card .tb-icon {
    width: 64px !important; height: 64px !important; border-radius: 18px !important; display: grid !important; place-items: center;
    font-size: 28px; background: #e7f1fd !important; box-shadow: none !important; border: 0 !important;
}
body.is-legacy .tb-card .tb-icon span { color: var(--tbx-blue) !important; -webkit-text-fill-color: currentColor !important; }
body.is-legacy .tb-number {
    background: linear-gradient(120deg, var(--tbx-blue), var(--tbx-red)) !important;
    -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
    -webkit-text-fill-color: transparent !important; border: 0 !important; box-shadow: none !important;
    font-family: var(--tbx-font-head); font-size: 44px !important; font-weight: 800; line-height: 1; opacity: .35; padding: 0 !important;
}
body.is-legacy .tb-card:hover .tb-number { opacity: .8; }
body.is-legacy .tb-card { transition: transform .25s ease, box-shadow .25s ease; }
body.is-legacy .tb-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(2, 107, 203, .14) !important; }

/* White Label "A smarter way" block: normal line height */
body.is-legacy .about-inn h2 { line-height: 1.15 !important; }
body.is-legacy .about_btn .ico-box p { font-size: 14px; line-height: 1.35; color: var(--tbx-ink) !important; }

/* ---------- API page: stats icons visible ---------- */
body.is-legacy .main-stat-icon {
    width: 52px; height: 52px; border-radius: 14px !important; display: grid !important; place-items: center; flex: none;
}
body.is-legacy .main-stat-icon .mdi { -webkit-text-fill-color: currentColor !important; color: var(--tbx-blue) !important; font-size: 26px !important; line-height: 1 !important; }

/* ---------- Digital Marketing: white icons on the blue circles ---------- */
body.is-legacy .result-card .icon { background: linear-gradient(135deg, var(--tbx-blue), #2f9bff) !important; }
body.is-legacy .result-card .icon .mdi { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ---------- Lead Generation: card padding and heading like other sections ---------- */
body.is-legacy .blog-card {
    padding: 28px 26px !important; height: 100%; background: #fff !important; border: 1px solid var(--tbx-line) !important;
    border-radius: var(--tbx-radius) !important; box-shadow: 0 6px 18px rgba(9, 41, 87, .06) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
body.is-legacy .blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(2, 107, 203, .14) !important; }
body.is-legacy .blog-card h3 { font-family: var(--tbx-font-head); font-size: 20px !important; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
body.is-legacy .blog-card p { font-size: 15px; line-height: 1.65; }

/* ---------- AI Technologies: line icons (not filled blobs) ---------- */
body.is-legacy :is(.icon-container, .feature-icon) svg[fill="none"] { fill: none !important; stroke: var(--tbx-blue) !important; }
body.is-legacy :is(.icon-container, .feature-icon) svg { width: 28px; height: 28px; }
body.is-legacy .icon-container { width: 56px; height: 56px; border-radius: 14px !important; display: grid !important; place-items: center; flex: none; }

/* ---------- About: mission, core values spacing, round icons ---------- */
body.is-legacy .our_missions .top-tab h2 { overflow: visible; padding: 0 .1em; }
body.is-legacy .values_header { margin-bottom: 44px !important; }
body.is-legacy .choose_icon { width: 60px !important; height: 60px !important; border-radius: 50% !important; display: grid !important; place-items: center; flex: none; }
body.is-legacy .choose_icon svg { width: 28px; height: 28px; }
body.is-legacy .value_icon_box { border-radius: 50% !important; }

/* ---------- Contact page header: contact card on the right ---------- */
.tbx-contact-card {
    background: #fff; border: 1px solid var(--tbx-line); border-radius: 22px; padding: 22px;
    box-shadow: 0 24px 60px rgba(9, 41, 87, .12); display: grid; gap: 12px;
}
.tbx-contact-card a, .tbx-contact-card div.tbx-cc-row {
    display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
    background: var(--tbx-soft); color: var(--tbx-navy) !important; text-decoration: none; transition: transform .2s ease, background .2s ease;
}
.tbx-contact-card a:hover { background: #e7f1fd; transform: translateX(4px); }
.tbx-contact-card .mdi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; }
.tbx-contact-card small { display: block; font-size: 12px; color: var(--tbx-muted); font-weight: 600; }
.tbx-contact-card b { font-size: 15px; }

/* ---------- Showcase (accordion + video) on phones and tablets ---------- */
.tbx-acc-item.is-active .tbx-acc-text { max-height: 220px; }
@media (max-width: 991.98px) {
    .tbx-showcase .tbx-acc .tbx-stage { max-width: none; margin: 4px 0 16px; padding: 0; }
    .tbx-showcase .tbx-acc .tbx-chips-float { display: none; }
    .tbx-showcase .tbx-acc-title { font-size: 17px; }
}

/* =====================================================================
   Icon visibility pass (29 Nov 2026): every icon readable on its background.
   ===================================================================== */
/* Comparison table: "not available" mark visible */
.tbx-cmp-no { color: #d64550; }

/* Rating stars: a deeper amber so they read on light backgrounds */
.tbx-stars, body.is-legacy .mdi-star, body.is-legacy .mdi-star-half-full, body.is-legacy .mdi-star-outline { color: #e8900c !important; }

/* Contact: big icons on the blue boxes are white */
body.is-legacy .bottom-card .big-icon { background: linear-gradient(135deg, var(--tbx-blue), #2f9bff) !important; box-shadow: 0 14px 30px rgba(2, 107, 203, .25) !important; }
body.is-legacy .bottom-card .big-icon .mdi { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.is-legacy .bottom-card .small-btn.fill { background: linear-gradient(135deg, var(--tbx-blue), #1f8bff) !important; color: #fff !important; }

/* Digital Marketing service cards: same soft-blue icon box for every card */
body.is-legacy .card-icon-box { background: #e7f1fd !important; background-image: none !important; box-shadow: none !important; border: 0 !important; }
body.is-legacy .card-icon-box .mdi, body.is-legacy .card-icon-box i { color: var(--tbx-blue) !important; -webkit-text-fill-color: currentColor !important; }
body.is-legacy .card-icon-box.icon-whatsapp { background: #e6f8ef !important; }
body.is-legacy .card-icon-box.icon-whatsapp .mdi { color: #1a9c4b !important; }
.tbx-contact-card > * { min-width: 0; }
.tbx-contact-card a > span:last-child, .tbx-contact-card .tbx-cc-row > span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 991.98px) { .tbx-contact-card { margin-top: 8px; } }
