/* ============================================
                   MOTION INTELLIGENCE STATS — LIGHT MODE
                   ============================================ */
.motion-stats {
    position: relative;
    padding: 100px 0 120px;
    background: #f8faff;
    overflow: hidden;
    color: #0f172a;
}

.motion-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.motion-stats .container {
    position: relative;
    z-index: 2;
}

/* Header */
.motion-header {
    text-align: center;
    margin-bottom: 70px;
}

.motion-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #6366f1;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.motion-header h2 {
    font-size: clamp(28px, 6vw, 42px) !important;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    line-height: 1.15;
}

.motion-header h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.motion-header p {
    color: #64748b;
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards */
.motion-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.motion-card {
    position: relative;
    border-radius: 24px;
    padding: 48px 32px 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
    transition: opacity .6s ease, transform .6s ease, box-shadow .4s ease;
}

.motion-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-card:nth-child(1) {
    transition-delay: 0s;
}

.motion-card:nth-child(2) {
    transition-delay: .12s;
}

.motion-card:nth-child(3) {
    transition-delay: .24s;
}

.motion-card:nth-child(4) {
    transition-delay: .36s;
}

/* Gradient border */
.motion-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #6366f1);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity .4s;
}

.motion-card:hover::before {
    opacity: 1;
}

@keyframes rotateBorder {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* Scan line */
.motion-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, .06), transparent);
    transition: top 0s;
}

.motion-card:hover::after {
    top: 150%;
    transition: top .6s ease;
}

/* Icon */
.mc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(168, 85, 247, .12));
    color: #7c3aed;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.motion-card:hover .mc-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Counter */
.mc-number {
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mc-label {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Glow on hover */
.motion-card:hover {
    box-shadow: 0 0 40px rgba(99, 102, 241, .15), 0 20px 50px rgba(99, 102, 241, .08);
    transform: translateY(-6px) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .motion-cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .motion-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mc-number {
        font-size: 32px;
    }

    .motion-card {
        padding: 24px 16px 20px;
        border-radius: 16px;
    }

    .mc-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .mc-label {
        font-size: 11px;
    }
}

/* ============================================
                   SERVICES — INTERACTIVE TAB LAYOUT
                   ============================================ */
.sv-motion {
    padding: 100px 0;
    background: #fff;
}

.sv-header {
    text-align: center;
    margin-bottom: 60px;
}

.sv-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #6366f1;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sv-title em {
    font-style: normal;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sv-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

/* --- LEFT TABS --- */
.sv-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sv-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    background: #fff;
}

.sv-tab:hover {
    border-color: #c7d2fe;
    background: #f8f7ff;
}

.sv-tab.active {
    border-color: var(--c, #6366f1);
    background: #f8f7ff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #6366f1) 10%, transparent);
}

.sv-tab-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--c, #6366f1) 12%, transparent);
    color: var(--c, #6366f1);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.sv-tab.active .sv-tab-icon {
    transform: scale(1.12) rotate(-5deg);
}

.sv-tab-text {
    flex: 1;
}

.sv-tab-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 4px;
}

.sv-tab-text strong {
    font-size: 15px;
    color: #0f172a;
}

.sv-tab.active .sv-tab-text strong {
    color: var(--c, #6366f1);
}

.sv-tab-arrow {
    color: #cbd5e1;
    transition: all .3s ease;
}

.sv-tab.active .sv-tab-arrow {
    color: var(--c, #6366f1);
    transform: translateX(4px);
}

/* --- RIGHT PANEL --- */
.sv-panel {
    position: relative;
}

.sv-panel-item {
    display: none;
    padding: 48px;
    background: #f8faff;
    border-radius: 28px;
    border: 1.5px solid #e2e8f0;
    animation: svFadeIn .4s ease;
}

.sv-panel-item.active {
    display: block;
}

@keyframes svFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sv-panel-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--accent, #6366f1) 12%, transparent);
    color: var(--accent, #6366f1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.sv-panel-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sv-panel-item h3 span {
    color: var(--accent, #6366f1);
}

.sv-panel-item>p {
    font-size: 17px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
}

.sv-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sv-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #334155;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-12px);
    animation: svListIn .4s ease forwards;
}

.sv-list li:nth-child(1) {
    animation-delay: .1s;
}

.sv-list li:nth-child(2) {
    animation-delay: .2s;
}

.sv-list li:nth-child(3) {
    animation-delay: .3s;
}

@keyframes svListIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sv-list li i {
    width: 26px;
    height: 26px;
    background: color-mix(in srgb, var(--accent, #6366f1) 12%, transparent);
    color: var(--accent, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.sv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background: var(--accent, #6366f1);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent, #6366f1) 30%, transparent);
}

.sv-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px color-mix(in srgb, var(--accent, #6366f1) 40%, transparent);
    color: #fff;
}

.sv-btn i {
    transition: transform .3s ease;
}

.sv-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .sv-body {
        grid-template-columns: 1fr;
    }
}

/* ============================================
                   INFINITE TICKER — Partners (updated)
                   ============================================ */
.ticker-section {
    padding: 60px 0 70px;
    background: #fff;
    overflow: hidden;
}

.ticker-section .container {
    text-align: center;
    margin-bottom: 40px;
}

.ticker-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 70px;
    box-sizing: border-box;
}

.ticker-fade-left,
.ticker-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.ticker-fade-left {
    left: 70px;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.ticker-fade-right {
    right: 70px;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

/* Arrow buttons */
.ticker-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #475569;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    transition: all .3s ease;
}

.ticker-arrow:hover {
    border-color: #6366f1;
    color: #6366f1;
    box-shadow: 0 6px 20px rgba(99, 102, 241, .2);
}

.ticker-prev {
    left: 10px;
}

.ticker-next {
    right: 10px;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: tickerScroll 45s linear infinite;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track.manual-pause {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-logo {
    flex: 0 0 auto;
    width: 190px;
    height: 110px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f1f5f9;
}

.ticker-logo img {
    max-height: 70px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    transition: transform .4s ease, filter .4s ease;
}

.ticker-logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .1));
}

/* Adjust specific logos to ensure uniform visual sizes */
.ticker-logo img[src*="ocb.png"] {
    max-height: 90px;
}

.ticker-logo img[src*="scb.png"] {
    max-height: 72px;
}

.ticker-logo img[src*="vib.webp"] {
    max-height: 64px;
}

.ticker-logo img[src*="hdbank.webp"] {
    max-height: 64px;
}

.ticker-logo img[src*="medlatec.webp"] {
    max-height: 62px;
}

.ticker-logo img[src*="yola.webp"] {
    max-height: 54px;
}

.ticker-logo img[src*="hlg.webp"] {
    max-height: 62px;
}

.ticker-logo img[src*="daikin.webp"] {
    max-height: 46px;
}

.ticker-logo img[src*="toto.png"] {
    max-height: 36px;
}

.ticker-logo img[src*="milo.png"] {
    max-height: 70px;
}

/* ============================================
                   PROCESS — Vertical Zigzag Drawing Timeline
                   ============================================ */
.zz-section {
    position: relative;
    padding: 100px 0;
    background: #f8faff;
    overflow: hidden;
    color: #1e293b;
}

.zz-header {
    text-align: center;
    margin-bottom: 80px;
}

.zz-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #6366f1;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zz-header h2 {
    font-size: clamp(26px, 6vw, 40px) !important;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    line-height: 1.2;
}

.zz-header h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zz-header p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

/* Timeline Wrapper */
.zz-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Central Vertical Jagged SVG Track Line */
.zz-svg-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 60px;
    transform: translateX(-50%);
    z-index: 1;
    overflow: visible;
}

.zz-bg-path {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zz-crack-path {
    fill: none;
    stroke: url(#crack-grad);
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.8));
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 2.5s ease-in-out;
}

.is-drawn .zz-crack-path {
    stroke-dashoffset: 0;
}

/* Timeline rows */
.zz-row {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 80px;
    z-index: 2;
}

.zz-row:last-child {
    margin-bottom: 0;
}

/* 3 column grid structure */
.zz-col {
    width: 50%;
    box-sizing: border-box;
}

.zz-content-col {
    padding: 0 50px 0 0;
    text-align: right;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0s;
}

.zz-node-col {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.zz-visual-col {
    padding: 0 0 0 50px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0s;
}

/* Reverse order for Step 2, 4, 6 */
.zz-row.zz-reverse {
    flex-direction: row-reverse;
}

.zz-row.zz-reverse .zz-content-col {
    padding: 0 0 0 50px;
    text-align: left;
    transform: translateX(30px);
}

.zz-row.zz-reverse .zz-visual-col {
    padding: 0 50px 0 0;
    transform: translateX(-30px);
}

/* Active states triggers */
.zz-row.active .zz-content-col {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

.zz-row.active .zz-visual-col {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

/* Dot Node */
.zz-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #cbd5e1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.zz-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--clr);
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zz-row.active .zz-dot {
    border-color: transparent;
    box-shadow: 0 0 15px color-mix(in srgb, var(--clr) 60%, transparent);
    transform: scale(1.15);
}

.zz-row.active .zz-dot::after {
    opacity: 1;
    transform: scale(1);
}

/* Content block styling */
.zz-step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--clr);
    background: color-mix(in srgb, var(--clr) 12%, transparent);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 14px;
}

.zz-content-col h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.zz-content-col p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Visual card wrapper representing the "image" */
.zz-visual-card {
    position: relative;
    width: 100%;
    height: 200px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s ease;
}

.zz-visual-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr);
    box-shadow: 0 15px 35px color-mix(in srgb, var(--clr) 10%, transparent);
}

/* Visual Graphics */
.zz-glass-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* Custom Mini Graphics representing the actions */
/* Step 1: Chart */
.v-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
}

.v-bar {
    width: 18px;
    height: 0;
    background: color-mix(in srgb, var(--clr) 25%, transparent);
    border-radius: 4px;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.zz-row.active .v-bar {
    height: var(--h);
    background: var(--clr);
}

.zz-row.active .v-bar:nth-child(1) {
    transition-delay: 0s;
}

.zz-row.active .v-bar:nth-child(2) {
    transition-delay: 0.15s;
}

.zz-row.active .v-bar:nth-child(3) {
    transition-delay: 0.3s;
}

.zz-row.active .v-bar:nth-child(4) {
    transition-delay: 0.45s;
}

/* Step 2: Strategy Board */
.v-strategy {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-circle {
    position: absolute;
    border: 2px dashed color-mix(in srgb, var(--clr) 30%, transparent);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: spin 12s linear infinite;
}

.v-circle-inner {
    position: absolute;
    border: 2px solid color-mix(in srgb, var(--clr) 55%, transparent);
    border-radius: 50%;
    width: 60%;
    height: 60%;
}

.v-target {
    font-size: 28px;
    color: var(--clr);
}

/* Step 3: Code Screen */
.v-code {
    width: 140px;
    background: #0f172a;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v-code-dots {
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
}

.v-code-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
}

.v-code-dots span:nth-child(2) {
    background: #eab308;
}

.v-code-dots span:nth-child(3) {
    background: #22c55e;
}

.v-code-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    width: 0;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.zz-row.active .v-code-line {
    width: var(--w);
    background: var(--clr);
}

.zz-row.active .v-code-line:nth-child(2) {
    transition-delay: 0s;
}

.zz-row.active .v-code-line:nth-child(3) {
    transition-delay: 0.15s;
}

.zz-row.active .v-code-line:nth-child(4) {
    transition-delay: 0.3s;
}

/* Step 4: Content Block */
.v-content-block {
    width: 120px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.v-line-long {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    width: 0;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.v-line-short {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    width: 0;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.v-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--clr) 25%, transparent);
    align-self: flex-end;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zz-row.active .v-line-long {
    width: 90%;
    background: var(--clr);
    transition-delay: 0s;
}

.zz-row.active .v-line-short {
    width: 60%;
    background: color-mix(in srgb, var(--clr) 60%, transparent);
    transition-delay: 0.15s;
}

.zz-row.active .v-avatar-placeholder {
    transform: scale(1);
    transition-delay: 0.3s;
}

/* Step 5: Network */
.v-network {
    position: relative;
    width: 120px;
    height: 100px;
}

.v-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--clr) 35%, transparent);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s ease;
}

.v-node.main {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%) scale(0);
    background: var(--clr);
    box-shadow: 0 0 10px var(--clr);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zz-row.active .v-node {
    background: var(--clr);
    transform: scale(1);
}

.zz-row.active .v-node:nth-child(1) {
    transition-delay: 0s;
}

.zz-row.active .v-node:nth-child(2) {
    transition-delay: 0.15s;
}

.zz-row.active .v-node:nth-child(4) {
    transition-delay: 0.3s;
}

.zz-row.active .v-node.main {
    transform: translate(-50%, -50%) scale(1);
    animation: pulseNode 2s infinite ease-in-out 0.5s;
    transition-delay: 0s;
}

@keyframes pulseNode {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px var(--clr);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 25px var(--clr);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px var(--clr);
    }
}

/* Step 6: Speedometer */
.v-gauge {
    position: relative;
    width: 100px;
    height: 50px;
    overflow: hidden;
}

.v-dial {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 8px solid #f1f5f9;
    border-top-color: var(--clr);
    border-right-color: var(--clr);
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.v-pointer {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 6px;
    height: 40px;
    background: #1e293b;
    transform-origin: bottom center;
    transform: rotate(-60deg);
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 3px;
}

.zz-row.active .v-pointer {
    transform: rotate(45deg);
    transition-delay: 0s;
}

/* CTA area */
.zz-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
}

.zz-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
}

.zz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.35);
    color: #fff;
}

.zz-btn i {
    transition: transform 0.3s ease;
}

.zz-btn:hover i {
    transform: translateX(4px);
}

.zz-note {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zz-note i {
    color: #10b981;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .zz-svg-track {
        left: 20px;
        transform: none;
    }

    .zz-row {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 50px;
        padding-left: 50px;
    }

    .zz-col {
        width: 100%;
    }

    .zz-content-col {
        padding: 0 !important;
        text-align: left !important;
        transform: translateY(20px) !important;
    }

    .zz-visual-col {
        padding: 0 !important;
        margin-top: 20px;
        transform: translateY(20px) !important;
    }

    .zz-node-col {
        left: 20px;
        transform: translateX(-50%);
    }

    .zz-row.active .zz-content-col,
    .zz-row.active .zz-visual-col {
        transform: translateY(0) !important;
    }
}

/* ============================================
                   WHY CHOOSE US (FEATURE CARDS) ANIMATIONS
                   ============================================ */
.features-grid {
    perspective: 1000px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.1s ease-out,
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.4s ease !important;
    border: 1px solid rgba(0, 82, 255, 0.05);
    transform-style: preserve-3d;
}

/* Subtle background glow effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Premium Hover lifting and shadow */
.feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 82, 255, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 82, 255, 0.2);
    background: #ffffff !important;
}

/* Interactive Feature Number styling and hover transition */
.feature-number {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-number {
    transform: scale(1.15) rotate(-5deg) translateZ(20px);
    background: linear-gradient(135deg, #0052ff, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.25);
}

/* Base feature icon transition */
.feature-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    transform: translateZ(20px);
}

.feature-card h3 {
    transition: transform 0.4s ease;
}

.feature-card:hover h3 {
    transform: translateZ(10px);
}

/* Animation on hover for each specific card icon */
/* Card 1: Data-Driven Strategy (chart icon) */
.feature-card:hover .fa-chart-line {
    animation: chartBounce 1s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
    color: #0052ff;
}

@keyframes chartBounce {
    0% {
        transform: translateY(0) scale(1) translateZ(20px);
        filter: drop-shadow(0 0 0px rgba(0, 82, 255, 0));
    }

    100% {
        transform: translateY(-6px) scale(1.15) translateZ(25px);
        filter: drop-shadow(0 4px 8px rgba(0, 82, 255, 0.4));
    }
}

/* Card 2: Expert Team (star icon) */
.feature-card:hover .fa-star {
    animation: starSpin 1.2s infinite ease-in-out;
    color: #f59e0b;
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg) scale(1) translateZ(20px);
        filter: drop-shadow(0 0 0px rgba(245, 158, 11, 0));
    }

    50% {
        transform: rotate(180deg) scale(1.25) translateZ(25px);
        filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
    }

    100% {
        transform: rotate(360deg) scale(1) translateZ(20px);
        filter: drop-shadow(0 0 0px rgba(245, 158, 11, 0));
    }
}

/* Card 3: Transparent Reporting (invoice icon) */
.feature-card:hover .fa-file-invoice {
    animation: invoiceWiggle 0.8s ease-in-out infinite alternate;
    color: #10b981;
}

@keyframes invoiceWiggle {
    0% {
        transform: rotate(-8deg) scale(1) translateZ(20px);
    }

    100% {
        transform: rotate(8deg) scale(1.15) translateY(-2px) translateZ(25px);
        filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.3));
    }
}

/* ============================================
                   CTA SECTION FIXES & NEW DESIGN
                   ============================================ */
.cta-wrapper {
    grid-template-columns: 45% 55% !important;
    background: linear-gradient(to right, var(--primary-blue) 45%, #ffffff 45%) !important;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-info-box {
    padding: 60px 50px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2 !important;
    background: transparent !important;
}

.cta-info-content {
    position: relative;
    z-index: 4;
    max-width: 280px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s, transform 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.cta-wrapper.visible .cta-info-content {
    opacity: 1;
    transform: translateX(0);
}

.cta-info-box h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-info-box p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px !important;
}

/* Contact Info List */
.cta-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-size: 15px;
}

.cta-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-contact-item:hover .cta-contact-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.cta-contact-text {
    font-weight: 500;
    word-break: normal;
}

.cta-contact-item:nth-child(2) .cta-contact-text {
    word-break: break-all;
}

/* CEO Image Cutout Positioning */
.cta-person-img {
    position: absolute;
    bottom: 0;
    left: 45%;
    right: auto !important;
    transform: translateX(-50%) translateY(50px);
    height: 75% !important;
    max-width: none;
    z-index: 1 !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
}

.cta-wrapper.visible .cta-person-img {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0);
    animation: none !important;
}

/* Opaque Form Box filling entire right side */
.cta-form-box {
    background: transparent !important;
    padding: 50px 50px 50px 170px !important;
    /* Extra left padding to make space for the CEO image */
    margin: 0 !important;
    border-radius: 0 !important;
    position: relative;
    z-index: 2 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s, transform 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.cta-wrapper.visible .cta-form-box {
    opacity: 1;
    transform: translateX(0);
}

/* Form Fields */
.cta-form-box .form-group label {
    font-weight: 500;
    color: #475569;
    font-size: 14px;
    margin-bottom: 4px;
}

.cta-form-box .form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    transition: all 0.3s ease;
}

.cta-form-box .form-control::placeholder {
    color: #94a3b8 !important;
}

.cta-form-box .form-control:focus {
    background-color: #ffffff !important;
    border-color: #0052ff !important;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1) !important;
}

/* Select wrapper custom arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 14px;
}

.cta-form-box select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px !important;
}

/* Centered Submit Button */
.cta-form-box .btn-submit {
    width: auto !important;
    min-width: 220px;
    padding: 14px 36px !important;
    border-radius: 50px !important;
    background: #0052ff !important;
    color: white !important;
    font-weight: 600;
    font-size: 16px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.2) !important;
    transition: all 0.3s ease;
    margin: 10px auto 0 auto !important;
    display: block !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.cta-form-box .btn-submit:hover {
    background: #0041cc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.3) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-wrapper {
        grid-template-columns: 1fr !important;
        background: #ffffff !important;
    }

    .cta-info-box {
        background: var(--primary-blue) !important;
        padding: 40px 30px !important;
    }

    .cta-form-box {
        background: #ffffff !important;
        padding: 40px 30px !important;
    }

    .cta-person-img {
        display: none !important;
    }
}

/* WordPress Dynamic Menu Active Styling */
.main-nav .current-menu-item>a {
    color: var(--primary-blue) !important;
}

/* ============================================
   CONTACT PAGE - PREMIUM UI
   ============================================ */
.contact-page-wrapper {
    background: #f8fafc;
    /* Very light background matching the screenshot */
    min-height: 100vh;
    padding-bottom: 100px;
}

.contact-hero {
    padding: 100px 0 60px;
    text-align: left;
}

.contact-hero-content {
    max-width: 800px;
}

.hero-pill {
    display: inline-block;
    background: color-mix(in srgb, #0052ff 10%, transparent);
    color: #0052ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(32px, 8vw, 48px) !important;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-form-card,
.contact-info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 82, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-card:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 82, 255, 0.08);
}

.card-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.card-divider {
    height: 1px;
    background: #e2e8f0;
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.card-divider::after {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    height: 3px;
    width: 60px;
    background: #0052ff;
    border-radius: 3px;
}

.card-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Contact Form Styles */
.contact-form-custom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.col-half {
    flex: 1;
}

.contact-form-custom .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-custom label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.contact-form-custom .required {
    color: #ef4444;
}

.contact-form-custom input,
.contact-form-custom textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form-custom input:focus,
.contact-form-custom textarea:focus {
    outline: none;
    border-color: #0052ff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

.contact-form-custom textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0052ff;
    color: #ffffff;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.25);
    margin-top: 10px;
}

.btn-submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 82, 255, 0.35);
    background: #0041cc;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, #0052ff 8%, transparent);
    color: #0052ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(-5deg);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-text strong {
    font-size: 16px;
    color: #0f172a;
    font-weight: 700;
}

.info-text span {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0052ff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-directions:hover {
    color: #0041cc;
    transform: translateX(4px);
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.form-message {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
}

.form-message.success {
    background: color-mix(in srgb, #10b981 10%, transparent);
    color: #059669;
    border: 1px solid color-mix(in srgb, #10b981 30%, transparent);
}

.form-message.error {
    background: color-mix(in srgb, #ef4444 10%, transparent);
    color: #dc2626;
    border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px !important;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
}

/* ============================================
   GLOBAL CF7 BANNER FORM STYLES (f373ba9)
   ============================================ */
.ai-consult-bar {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.ai-consult-bar__title {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-consult-bar__form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 5px 5px 5px 20px;
    /* Slimmer padding */
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: none;
    position: relative;
    /* For absolute positioning of CF7 response */
}

/* ============================================
   GLOBAL CF7 — Ẩn spinner và response message
   Áp dụng cho toàn bộ form CF7 trên site
   ============================================ */
.wpcf7-response-output {
    display: none !important;
}

.wpcf7-spinner {
    display: none !important;
}

/* Ensure the button wrapper doesn't have extra margin */
.ai-consult-bar__form p:last-of-type,
.ai-consult-bar__form>p {
    margin-bottom: 0;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    /* Slimmer padding */
    flex: 1;
    border-right: 1px solid #f1f5f9;
}

.form-input-group:last-of-type {
    border-right: none;
}

.form-input-group i {
    color: #1890ff;
    margin: 0 0 2px 0;
    /* Slimmer margin */
    font-size: 1.1rem;
    /* Slimmer icon */
}

.form-input-group input,
.form-input-group select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
    /* Slimmer text */
    font-weight: 500;
    background: transparent;
    color: #334155;
    text-align: center;
}

/* Fix: Xóa background màu xám/vàng do browser autofill inject */
.form-input-group input:-webkit-autofill,
.form-input-group input:-webkit-autofill:hover,
.form-input-group input:-webkit-autofill:focus,
.form-input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #334155 !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #334155;
}

.form-input-group input::placeholder {
    color: #94a3b8;
    text-align: center;
}

.form-input-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    text-align-last: center;
}

.form-input-group select:invalid {
    color: #94a3b8;
}

.form-input-group select option {
    color: #1e293b;
    background: #fff;
}

.ai-consult-bar__form .btn {
    padding: 12px 35px;
    /* Slimmer button padding */
    margin-left: 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    /* Slimmer button text */
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #1890ff;
    border: none;
    color: #fff;
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.ai-consult-bar__form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(24, 144, 255, 0.4);
}

/* CF7 Wrapper Fix for Inline Forms */
.form-input-group .wpcf7-form-control-wrap {
    display: block;
    flex-grow: 1;
    width: 100%;
    min-width: 0;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    text-overflow: ellipsis;
}

@media (max-width: 992px) {
    .ai-consult-bar__form {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        gap: 15px;
    }

    .form-input-group {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 10px 0;
        width: 100%;
    }
}

/* ============================================
   CF7 SUCCESS TOAST POPUP
   ============================================ */
#cf7-success-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(16, 185, 129, 0.15);
    border-left: 4px solid #10b981;
    min-width: 300px;
    max-width: 380px;
    /* Trạng thái ban đầu — ẩn dưới màn hình */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#cf7-success-toast.cf7-toast--show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cf7-toast__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.35);
}

.cf7-toast__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.cf7-toast__text strong {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.cf7-toast__text span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.cf7-toast__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.cf7-toast__close:hover {
    color: #475569;
    background: #f1f5f9;
}

@media (max-width: 480px) {
    #cf7-success-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        min-width: unset;
        max-width: unset;
    }
}