/* Truncate text to 3 lines with ellipsis */
.text-truncate-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8em;
    line-height: 1.6em;
}

/* Blog card custom style for blog.ejs */
.blog-card {
    background: #fff;
    border: 1.5px solid #e8f1ff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(23, 101, 213, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.18s;
}

    .blog-card:hover {
        box-shadow: 0 4px 18px rgba(23, 101, 213, 0.1);
    }

    .blog-card .blog-img {
        border-radius: 12px 12px 0 0;
        width: 100%;
        height: 180px;
        object-fit: cover;
        background: #f5f7fb;
    }

/* Packages Section */
.packages-section {
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
}

/* Care Groups Section */
.care-groups-section {
    background: transparent;
    padding: 0 !important;
}

    .care-groups-section .container {
        padding: 0 !important;
    }

/* Five-across layout on large screens */
.care-row {
    gap: 18px;
}

.care-col {
    flex: 0 0 auto;
    width: 190px;
    margin-top: 20px;
}

    .care-col:hover .care-card {
        transform: translateY(-5px);
        box-shadow: 0 10px 28px rgba(23, 105, 226, .14);
        border-color: #c5d8f9;
    }

@media (max-width: 1199.98px) {
    /* .care-col {
        width: 18%;
        min-width: 180px;
    } */
}

@media (max-width: 991.98px) {
    /* .care-col {
        width: calc(50% - 12px);
    } */
}

@media (max-width: 575.98px) {
    /* .care-col {
        width: 100%;
    } */
}

/* Blog Section */
.blog-section {
    background: transparent;
    padding: 0 !important;
    position: relative;
}

    .blog-section .container {
        background: #eaf2ff;
        border-radius: 0;
        position: relative;
    }

        .blog-section .container::after,
        .blog-section .container::before {
            content: "";
            position: absolute;
            right: 12px;
            top: 20px;
            width: 160px;
            height: 160px;
            border: 2px solid rgba(7, 102, 247, 0.3);
            border-radius: 50%;
            pointer-events: none;
        }

        .blog-section .container::after {
            right: 34px;
            top: 36px;
            width: 120px;
            height: 120px;
            border-color: rgba(7, 102, 247, 0.2);
        }

.blog-title {
    color: #2986f7;
    font-weight: 700;
    font-size: 24px;
}

.blog-card {
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(23, 105, 226, .06);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(23, 105, 226, .13);
        border-color: #c5d8f9;
        animation: none !important;
    }

.blog-card-img-wrap {
    overflow: hidden;
    flex-shrink: 0;
}

    .blog-card-img-wrap .blog-img {
        border-radius: 0;
        transition: transform .35s ease;
    }

.blog-card:hover .blog-card-img-wrap .blog-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #1769E2;
    margin-top: auto;
}

    .blog-read-more .fa-arrow-right {
        font-size: 11px;
        transition: transform .15s;
    }

.blog-card:hover .blog-read-more .fa-arrow-right {
    transform: translateX(3px);
}

.blog-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.blog-caption {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
    padding: 0;
}

/* ===== Shared blog components (blog.ejs, blog-detail.ejs, index.ejs) ===== */
.blog-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.blog-page-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(23, 105, 226, .28);
    flex-shrink: 0;
}

.blog-page-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1769E2;
    margin: 0;
    letter-spacing: -.2px;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

    .blog-post-card:hover {
        box-shadow: 0 8px 24px rgba(23, 105, 226, .12);
        transform: translateY(-3px);
        border-color: #c5d8f9;
    }

.blog-post-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

    .blog-post-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
    }

.blog-post-card:hover .blog-post-img-wrap img {
    transform: scale(1.05);
}

.blog-post-body {
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.blog-post-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-desc {
    font-size: 12.5px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f4f9;
}

.blog-post-date {
    font-size: 12px;
    color: #aaa;
}

.blog-post-read-more {
    font-size: 12.5px;
    font-weight: 700;
    color: #1769E2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .15s;
}

.blog-post-card:hover .blog-post-read-more {
    gap: 7px;
}

.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1769E2, #0550c0);
    color: #fff;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
    width: fit-content;
}

.blog-cat-pill--overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    backdrop-filter: blur(4px);
    background: rgba(23, 105, 226, .82);
}

.blog-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    border-radius: 20px;
    background: #eef3fd;
    color: #1769E2;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid #dde8f8;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

    .blog-view-all-btn:hover {
        background: #1769E2;
        color: #fff;
        border-color: #1769E2;
    }

/* Remove decorative circles in blog section */
.blog-section .container::before,
.blog-section .container::after {
    content: none !important;
    display: none !important;
}

/* Video/Livestream Section */
.video-section {
    background: transparent;
    padding: 0 !important;
}

    .video-section .container {
        padding: 16px 100px 24px;
    }

.video-title {
    color: #2986f7;
    font-weight: 700;
    font-size: 22px;
}

/* Keep the video section title row on top when viewport is narrow */
@media (max-width: 991.98px) {
    .video-section .video-title-row {
        position: sticky;
        top: 0;
        z-index: 2;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

.video-frame {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

    .video-frame img,
    .video-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Side thumbnails */
.video-side {
    min-height: 100%;
}

.video-thumb {
    width: 100%;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f3f5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

    .video-thumb iframe,
    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* YouTube Info Card styles removed (reverted) */

/* Custom grid with 10px gap and no wrap on desktop */
.video-grid {
    --vgap: 10px;
    --vpad: 10px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 992px) {
    .video-section .video-grid {
        display: flex;
        flex-wrap: nowrap;
        column-gap: var(--vgap);
        align-items: stretch;
        width: 100%;
    }

    /* Sidebar nằm bên phải */
    .video-section .main-col {
        order: 0;
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
    }

    .video-section .sidebar-col {
        order: 1;
        flex: 0 0 280px;
        max-width: 280px;
        display: flex;
    }

    /* Main video cao đúng bằng chiều cao hàng */
    .video-section .main-col .video-frame {
        height: 100%;
        aspect-ratio: auto;
    }

    /* Sidebar: 3 thumbnail cố định chiều cao để tạo chiều cao hàng */
    .video-section .video-side {
        display: flex;
        flex-direction: column;
        row-gap: var(--vgap);
        width: 100%;
    }

        .video-section .video-side .video-thumb {
            height: 140px;
            flex: 0 0 auto;
        }

    .video-section .main-col,
    .video-section .sidebar-col {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 991.98px) {
    .video-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .video-grid {
        row-gap: var(--vgap);
    }

    .video-section .main-col {
        order: 2;
        padding-top: var(--vpad);
    }

    .video-section .sidebar-col {
        order: 1;
    }

    .video-frame {
        height: auto;
        aspect-ratio: 16/9;
    }

    .video-side {
        flex-direction: row !important;
        column-gap: var(--vgap);
    }

    .video-thumb {
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* Booking panels (two-column layout) */
.booking-panel {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e3edff;
}

    .booking-panel .panel-header {
        background: #0a63e8;
        color: #fff;
        font-weight: 600;
        padding: 10px 14px;
        font-size: 15px;
    }

    .booking-panel .panel-body {
        padding: 12px 14px;
        background: #f7fbff;
    }

.booking-search .form-control {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.booking-search .input-group-text {
    background: #fff;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.svc-card {
    background: #fff;
    border: 1px solid #e9f0ff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

    .svc-card .btn {
        background: #0a63e8;
        border-color: #0a63e8;
    }

        .svc-card .btn:hover {
            background: #094fbe;
            border-color: #094fbe;
        }

.care-groups-title {
    color: #2986f7;
    font-size: 26px;
    font-weight: 700;
}

.care-card {
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(23, 105, 226, .06);
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
}

.care-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(23, 105, 226, .28);
    transition: transform .2s ease;
}

.care-col:hover .care-icon {
    transform: scale(1.08);
}

.care-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px 0;
}

.care-card-desc {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.care-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #eef3fd;
    color: #1769E2;
    border: 1.5px solid #dde8f8;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    margin-top: auto;
    transition: background .15s, color .15s, border-color .15s;
}

    .care-btn:hover {
        background: #1769E2;
        color: #fff;
        border-color: #1769E2;
    }

.packages-title {
    color: #1769E2;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: .2px;
}

.package-card {
    min-width: 0;
    max-width: none;
    background: transparent;
    border-radius: 14px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .package-card i {
        color: #2986f7;
        margin-bottom: 8px;
    }

.package-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(23, 105, 226, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.package-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.package-label {
    font-size: 13px;
    color: #1a1a2e;
    font-weight: 700;
    margin-top: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    padding: 0 10px;
    line-height: 1.25;
}

.packages-section .container {
    background: #ecf2fa;
    border-radius: 0;
    padding: 0 !important;
}

.packages-section .col-auto {
    width: 130px !important;
    height: 130px !important;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 15px;
    background: #ffffff93;
    border: 1.5px solid #e8edf5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    animation: none !important;
    cursor: pointer;
}

    .packages-section .col-auto:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 28px rgba(23, 105, 226, .18);
        border-color: #c5d8f9;
        animation-play-state: paused;
    }

.packages-section .package-card {
    width: 100%;
    height: 100%;
    gap: 10px;
}

.packages-section .col-auto:hover .package-icon {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(23, 105, 226, .16);
    border-color: #bdd1f8;
}

@keyframes packageFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(calc(-1 * var(--pkg-offset, 16px)));
    }

    100% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .packages-section .col-auto {
        animation: none !important;
    }
}

/* Process Section */
.process-section {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.process-img-bg {
    background: linear-gradient(to right, white 20%, #2986f7 80%);
    border-radius: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.process-img {
    max-height: 500px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.process-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #0560ea;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    position: relative;
}

    .process-steps::before {
        content: '';
        position: absolute;
        left: 27px;
        top: 24px;
        bottom: 24px;
        width: 2px;
        background: linear-gradient(to bottom, #1769E2 0%, #a5c4fb 70%, transparent 100%);
        border-radius: 2px;
        pointer-events: none;
        z-index: 0;
    }

.process-step {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(23, 105, 226, .07);
    padding: 11px 16px 11px 14px;
    font-size: 15px;
    font-weight: 500;
    align-items: center;
    transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
    border: 1.5px solid #e8edf5;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    border-left: 3px solid #1769E2;
}

    .process-step:last-child {
        margin-bottom: 0;
    }

    .process-step:hover {
        box-shadow: 0 4px 16px rgba(23, 105, 226, .14);
        background: #f4f8ff;
        border-color: #bdd1f8;
        border-left-color: #1769E2;
    }

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 14px;
    box-shadow: 0 2px 8px rgba(23, 105, 226, .25);
    flex-shrink: 0;
}

.process-step-text {
    flex: 1;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.process-step a {
    text-decoration: underline;
    color: #1769E2;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .process-section {
        min-height: 600px;
    }

    .process-img-bg {
        min-height: 320px;
    }

    .process-img {
        max-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .process-section {
        min-height: 480px;
        padding: 0;
    }

    .process-title {
        font-size: 18px;
    }

    .process-step {
        font-size: 13px;
        padding: 9px 12px 9px 11px;
    }

    .process-step-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
        margin-right: 10px;
    }

    .process-steps::before {
        left: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-steps .process-step {
        animation: none !important;
    }
}

/* Stats Section */
.stats-section {
    background: transparent;
    border-bottom: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.stats-bg {
    background: linear-gradient(90deg, #2986f7 0%, #0766f7 100%);
    border-bottom: 1px solid #e3e3e3;
    border-radius: 0;
}

.stats-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    gap: 12px;
}

.stats-icon {
    font-size: 28px;
    margin-bottom: 0;
    color: #fff;
    vertical-align: middle;
}

.stats-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.stats-desc {
    font-size: 10px;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    .stats-section .stats-item {
        min-height: 60px;
    }

    /* .stats-icon { font-size: 15px; } */
    .stats-number {
        font-size: 14px;
    }

    .stats-desc {
        font-size: 10px;
    }
}

/* Why Choose Section (Tại sao chọn trung tâm Labexpress) */
.why-choose-section {
    background: transparent;
    padding: 0 !important;
}

    .why-choose-section .container {
        background: #eaf2ff;
        padding: 16px 20px 28px;
    }

.why-title {
    color: #2986f7;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 6px;
}

.why-subtitle {
    color: #63758b;
    margin: 0 0 12px 0;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e6eefb;
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s ease;
    will-change: transform;
}

    .why-card:hover {
        transform: none !important;
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
        animation: none !important;
    }

@keyframes whyBounce {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-14px);
    }

    60% {
        transform: translateY(-8px);
    }

    80% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.why-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e7f0ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.why-card-title {
    font-weight: 700;
    color: #0f172a;
}

.why-card-desc {
    color: #4b5563;
    font-size: 14px;
    margin-top: 4px;
}

/* Remove padding from hero image section */
.hero-image-section {
    padding: 0 !important;
}

/* Hero Image Section */
.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Smaller hero image on small screens */
@media (max-width: 768px) {
    .hero-img {
        height: 280px !important;
    }
}

/* Main Menu Section */
.mainmenu {
    background: #fff;
    border-bottom: none;
}

/* Increase horizontal padding for the main menu container */
/* .mainmenu .container.backSc {
    padding-left: 100px;
    padding-right: 100px;
} */

.mainmenu-list {
    gap: 0;
    font-size: 15px;
}

.mainmenu-item {
    font-weight: 700;
    transition: color 0.2s;
}

    .mainmenu-item:hover {
        color: var(--brand-blue);
        text-decoration: underline;
    }

/* Hide the desktop main menu on mobile */
@media (max-width: 992px) {
    .mainmenu {
        display: none !important;
    }
}

/* Mobile offcanvas styling */
#mobileMainMenu.offcanvas {
    color: black;
}

#mobileMainMenu .offcanvas-header,
#mobileMainMenu .offcanvas-body {
    color: black;
}

#mobileMainMenu .offcanvas-title {
    color: black;
}

#mobileMainMenu .btn-close {
    color: white;
}

#mobileMainMenu .list-group-item {
    background: transparent;
    color: black;
    border-color: rgba(255, 255, 255, 0.2);
}

    #mobileMainMenu .list-group-item:hover {
        background: #007bff;
        color: white;
    }

.text-reset:hover {
    background: #cfd8e2;
    color: white;
}

.text-reset {
    color: black;
}

.text-reset1 {
    padding: 10px;
    border-radius: 10px;
    color: black;
}

    .text-reset1:hover {
        background: #007bff;
        color: white;
    }

/* Custom CSS for LABEXPRESS */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --brand-blue: #0766f7;
}

/* Mobile main menu toggle visibility */
.mobile-mainmenu-toggle {
    display: none;
}

@media (max-width: 767.98px) {
    .mobile-mainmenu-toggle {
        display: inline-flex;
        align-items: center;
        color: #111;
    }

    /* Hide header action links (Đăng nhập, Hotline, Đặt lịch) on mobile */
    /* .headerbar .actions .action-link { display: none !important; } */
}

/* Custom Select Styles */
.custom-select {
    height: 40px !important;
    background-color: #0766f7 !important;
    color: white !important;
    border: 1px solid #0766f7 !important;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .custom-select:focus {
        box-shadow: 0 0 0 3px rgba(7, 102, 247, 0.25) !important;
        border-color: #0766f7 !important;
        background-color: #0766f7 !important;
        color: white !important;
    }

    .custom-select option {
        background-color: #0766f7;
        color: white;
        padding: 10px;
    }

        .custom-select option:hover {
            background-color: #0555d6;
        }

    .custom-select:hover {
        background-color: #0555d6 !important;
        border-color: #0555d6 !important;
    }

/* General Styles */
body {
    font-family: "Roboto", Arial, sans-serif;
    padding-top: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Anchor scroll offset so targets aren't hidden under header */
#packages,
#blog {
    scroll-margin-top: 150px;
}

/* Topbar */
.topbar {
    background: transparent;
}

    .topbar .container {
        background-color: var(--brand-blue);
    }

    .topbar .info-item i,
    .topbar .info-item span {
        color: #ffffff;
    }

    /* Icon 20x20 and text 15px in topbar */
    .topbar .info-item i {
        font-size: 20px;
        width: 20px;
        height: 20px;
        line-height: 20px;
    }

    .topbar .info-item span {
        font-size: 15px;
    }

.topbar-select {
    height: 40px !important;
    background-color: var(--brand-blue) !important;
    color: #ffffff !important;
    border-color: var(--brand-blue) !important;
    border-radius: 6px;
}

    .topbar-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(7, 102, 247, 0.35) !important;
    }



.topbar .info-item {
    opacity: 0.95;
}

    .topbar .info-item:hover {
        opacity: 1;
    }

/* Headerbar */
.headerbar {
    background-color: #ffffff;
    height: 60px;
    min-height: 60px;
    /* padding-top: 0 !important; */
    padding-bottom: 0 !important;
    display: flex;
    align-items: center;
    top: 0;
    transition: box-shadow 0.25s ease, background-color 0.25s ease, transform 0.35s ease, opacity 0.35s ease;
}

    /* Reveal-on-scroll header: visible under topbar by default, becomes fixed when .is-visible */
    .headerbar.reveal-on-scroll {
        position: relative;
        transform: none;
        opacity: 1;
    }

        .headerbar.reveal-on-scroll.is-visible {
            position: fixed;
            left: 0;
            right: 0;
            top: 0;
            z-index: 1030;
            /* above content */
            transform: translateY(0);
            opacity: 1;
        }

/* Brand image */
.brand-img {
    width: 230px;
    height: 50px;
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .brand-img {
        width: 200px;
        height: auto;
    }
}

.header-search {
    border: 1px solid #e3e3e3;
    background-color: #ffffff;
}

    .header-search .input-group-text {
        background: transparent;
    }

        .header-search .input-group-text i {
            font-size: 16px;
        }

    .header-search input::placeholder {
        color: #9aa0a6;
    }

    .header-search input:focus {
        box-shadow: none;
    }

    .header-search .form-control {
        height: 40px;
    }

/* Search box width and spacing from logo */
.headerbar .header-search {
    width: 100%;
}

/* Hide search form on narrow screens (< 920px) */
@media (width < 1000px) {

    /* .headerbar .search-form { display: none !important; } */
    #searchBar {
        display: none !important;
    }
}

.ms-10 {
    margin-left: 10px !important;
}

.headerbar .actions .action-link i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.headerbar .actions .action-link span {
    font-size: 15px;
}

@media (max-width: 991.98px) {
    .headerbar .actions .action-link span {
        font-size: 18px;
    }

    .headerbar .actions .action-link i {
        font-size: 18px;
        width: 18px;
        height: 18px;
        line-height: 18px;
    }
}

/* Service detail gallery */
.svc-thumb {
    overflow: hidden;
    border-radius: 8px;
}

    .svc-thumb img {
        transition: transform 0.2s ease;
        display: block;
        width: 100%;
        height: 80px;
        object-fit: cover;
    }

    .svc-thumb:hover img {
        transform: scale(1.06);
    }

    .svc-thumb.active {
        outline: 2px solid #0b61ff;
    }

.svc-hero img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: inherit;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
}

.hero-image img {
    transition: transform 0.3s ease;
}

    .hero-image img:hover {
        transform: scale(1.05);
    }

/* Button Styles */
.btn {
    padding: 6px 40px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(45deg, #0056b3, #004085);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    }

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

.card-body {
    padding: 2rem;
}

.mb-4 {
    margin-bottom: 0px;
}

.display-4,
.display-5 {
    font-weight: 700;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Background Variations */
.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

/* About Section Stats */
#about h3 {
    font-size: 3rem;
    font-weight: 700;
}

/* Contact Section Icons */
#contact i {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color) !important;
}

    footer a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: var(--primary-color) !important;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }



    .btn:last-child {
        margin-bottom: 0;
    }

    /* Removed empty section ruleset */

    #about h3 {
        font-size: 2rem;
    }
}

/* ===================== Animation Utilities ===================== */
/* Scroll reveal base state */
.animate-on-scroll,
.animate-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Variants */
.anim-fade {
    opacity: 0;
}

    .anim-fade.is-visible {
        opacity: 1;
    }

.anim-slide-left {
    opacity: 0;
    transform: translateX(40px);
}

    .anim-slide-left.is-visible {
        opacity: 1;
        transform: translateX(0);
    }

.anim-zoom {
    opacity: 0;
    transform: scale(0.9);
}

    .anim-zoom.is-visible {
        opacity: 1;
        transform: scale(1);
    }

/* Pulse for icons */
.pulse-icon {
    animation: pulseIcon 2.8s ease-in-out infinite;
}

@keyframes pulseIcon {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

/* Shimmer placeholder (for loading states) */
.shimmer {
    position: relative;
    overflow: hidden;
    background: #f0f2f5;
}

    .shimmer::after {
        content: "";
        position: absolute;
        top: 0;
        left: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, white transparent);
        animation: shimmerMove 1.8s infinite;
    }

@keyframes shimmerMove {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Ripple effect for buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

    .btn-ripple span.ripple {
        position: absolute;
        border-radius: 50%;
        transform: scale(0);
        animation: ripple 0.6s linear;
        background: rgba(255, 255, 255, 0.4);
    }

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Parallax container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    transition: transform 0.2s linear;
    will-change: transform;
}

/* Counter number animation (final style) */
.live-counter {
    font-variant-numeric: tabular-nums;
}

/* Back to top button styling if not present */
.btn-back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0766f7;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: opacity 0.3s, transform 0.3s;
}

    .btn-back-to-top.show {
        display: flex;
        opacity: 1;
    }

    .btn-back-to-top:not(.show) {
        opacity: 0;
    }

/* Optional smooth hover lift */
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Custom Utilities */
.text-gradient {
    background: linear-gradient(45deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

    img:not([src]) {
        opacity: 0;
    }

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--dark-color);
    }

.claitemP {
    display: grid;
    text-align: left;
}



/* Precise column sizing for video section */
@media (min-width: 992px) {
    .video-section .row.align-items-start {
        display: flex;
        flex-wrap: nowrap;
    }

    .video-section .main-col {
        flex: 1 1 auto;
    }

    .video-section .sidebar-col {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .video-section .main-col,
    .video-section .sidebar-col {
        padding-left: 0;
        padding-right: 0;
    }
}

/* FAQ Section */
.faq-section {
    background: transparent;
    padding: 0 !important;
}

    .faq-section .container {
        padding: 16px 200px 28px;
    }

@media (max-width: 1440px) {
    .faq-section .container {
        padding: 16px 100px 28px;
    }
}

.faq-title {
    color: #1769E2;
    font-weight: 700;
    font-size: 24px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .faq-accordion .accordion-item {
        border: 1.5px solid #e8edf5;
        background: #fff;
        border-radius: 12px !important;
        overflow: hidden;
        padding-bottom: 0;
        box-shadow: 0 1px 6px rgba(23, 105, 226, .05);
        transition: border-color .2s, box-shadow .2s;
    }

        .faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
            border-color: #bdd1f8;
            box-shadow: 0 4px 16px rgba(23, 105, 226, .10);
        }

    .faq-accordion .accordion-button {
        background: #fff;
        border: none;
        box-shadow: none !important;
        color: #1a1a2e;
        font-weight: 600;
        font-size: 14.5px;
        padding: 14px 18px;
        border-radius: 12px !important;
        transition: background .15s, color .15s;
    }

        .faq-accordion .accordion-button::after {
            filter: invert(30%) sepia(80%) saturate(800%) hue-rotate(200deg) brightness(90%);
            flex-shrink: 0;
        }

        .faq-accordion .accordion-button:not(.collapsed) {
            background: #eef3fd;
            color: #1769E2;
            border-radius: 12px 12px 0 0 !important;
        }

            .faq-accordion .accordion-button:not(.collapsed)::after {
                filter: invert(30%) sepia(80%) saturate(1200%) hue-rotate(200deg) brightness(90%);
            }

    .faq-accordion .accordion-body {
        background: #fff;
        border-top: 1px solid #e8edf5;
        padding: 12px 18px 16px;
        font-size: 14px;
        color: #555;
        line-height: 1.65;
    }

.faq-image {
    height: 310px;
    max-width: 100%;
    width: 440px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .faq-image {
        width: 320px;
        height: auto;
        margin-top: 10px;
    }

    .faq-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Benefits Section (UI like Why Choose) */
.benefits-section {
    background: transparent;
    padding: 0 !important;
}

    .benefits-section .container {
        background: #eaf2ff;
        position: relative;
        overflow: hidden;
    }

.benefits-title {
    color: #2986f7;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 6px;
}

.benefits-subtitle {
    color: #606060;
    margin: 0 0 12px 0;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #e6eefb;
    border-radius: 0;
    padding: 14px 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefit-grid {
    justify-content: center;
}

.benefit-col {
    flex: 0 0 auto;
    width: min(370px, 100%);
}

.benefit-card {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s ease;
    will-change: transform;
    animation: benefitFloat var(--float-duration, 4s) ease-in-out var(--float-delay, 0s) infinite;
}

    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
        animation: benefitBounce 0.6s ease-out;
    }

@keyframes benefitBounce {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-28px);
    }

    60% {
        transform: translateY(-16px);
    }

    80% {
        transform: translateY(-24px);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes benefitFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(calc(-1 * var(--float-offset, 20px)));
    }

    100% {
        transform: translateY(0);
    }
}

.benefit-card > .benefit-icon + div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefit-card .benefit-card-title {
    margin: 0;
}

.benefit-card .benefit-card-desc {
    margin-top: 6px;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e7f0ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.benefit-card-title {
    font-weight: 700;
    color: #0f172a;
}

.benefit-card-desc {
    color: #4b5563;
    font-size: 14px;
    margin-top: 4px;
}

/* decorative left circle similar to screenshot */
/* no decorative circle */

/* Benefit title colors by column: col1 blue, col2 red, repeat */
@media (min-width: 992px) {

    /* 3 columns per row */
    .benefit-grid .benefit-col:nth-child(3n + 1) .benefit-card-title {
        color: #0766f7;
    }

    .benefit-grid .benefit-col:nth-child(3n + 2) .benefit-card-title {
        color: #fa0d01;
    }

    .benefit-grid .benefit-col:nth-child(3n + 3) .benefit-card-title {
        color: #0766f7;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* 2 columns per row */
    .benefit-grid .benefit-col:nth-child(2n + 1) .benefit-card-title {
        color: #0766f7;
    }

    .benefit-grid .benefit-col:nth-child(2n) .benefit-card-title {
        color: #fa0d01;
    }
}

/* Alternate backgrounds by rows (row 2 reversed) */
@media (min-width: 992px) {

    /* 3 columns per row: row 1 [1,2,3] => [blue, white, blue] */
    .benefit-grid .benefit-col:nth-child(1) .benefit-card,
    .benefit-grid .benefit-col:nth-child(3) .benefit-card {
        background: #dff1ff;
    }

    .benefit-grid .benefit-col:nth-child(2) .benefit-card {
        background: #ffffff;
    }

    /* row 2 [4,5,6] reversed => [white, blue, white] */
    .benefit-grid .benefit-col:nth-child(4) .benefit-card,
    .benefit-grid .benefit-col:nth-child(6) .benefit-card {
        background: #ffffff;
    }

    .benefit-grid .benefit-col:nth-child(5) .benefit-card {
        background: #dff1ff;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* 2 columns per row: row 1 [1,2] => [blue, white] */
    .benefit-grid .benefit-col:nth-child(1) .benefit-card {
        background: #dff1ff;
    }

    .benefit-grid .benefit-col:nth-child(2) .benefit-card {
        background: #ffffff;
    }

    /* row 2 [3,4] reversed => [white, blue] */
    .benefit-grid .benefit-col:nth-child(3) .benefit-card {
        background: #ffffff;
    }

    .benefit-grid .benefit-col:nth-child(4) .benefit-card {
        background: #dff1ff;
    }

    /* row 3 [5,6] back to [blue, white] */
    .benefit-grid .benefit-col:nth-child(5) .benefit-card {
        background: #dff1ff;
    }

    .benefit-grid .benefit-col:nth-child(6) .benefit-card {
        background: #ffffff;
    }
}

/* Alternate benefit card background by columns */
@media (min-width: 992px) {

    /* 3 columns per row: col 1 and 3 blue, col 2 white */
    .benefit-grid .benefit-col:nth-child(3n + 1) .benefit-card,
    .benefit-grid .benefit-col:nth-child(3n + 3) .benefit-card {
        background: #dff1ff;
    }

    .benefit-grid .benefit-col:nth-child(3n + 2) .benefit-card {
        background: #ffffff;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* 2 columns per row: col 1 blue, col 2 white */
    .benefit-grid .benefit-col:nth-child(2n + 1) .benefit-card {
        background: #dff1ff;
    }

    .benefit-grid .benefit-col:nth-child(2n) .benefit-card {
        background: #ffffff;
    }
}

/* Enforce alternating backgrounds for benefit cards */
.benefit-grid .benefit-col:nth-child(2n + 1) .benefit-card {
    background: #dff1ff;
}

.benefit-grid .benefit-col:nth-child(2n) .benefit-card {
    background: #ffffff;
}

/* Company/Footer Section */
.company-section {
    background: transparent;
    padding: 0 !important;
}

    .company-section .container {
        background: var(--brand-blue);
        color: #fff;
        padding: 36px 32px 28px !important;
    }

.company-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 22px;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    width: 100%;
}

    .company-title::before {
        content: '';
        width: 4px;
        height: 22px;
        background: linear-gradient(180deg, #7eb3ff, #fff);
        border-radius: 3px;
        flex-shrink: 0;
    }

.company-subtitle {
    color: white;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.company-text {
    color: white;
    margin-bottom: 7px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.5;
}

    .company-text i {
        font-size: 12px;
        margin-top: 2px;
        flex-shrink: 0;
    }

.company-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    transition: color .15s;
}

    .company-link:hover {
        color: #fff;
        text-decoration: underline;
    }

.company-col-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
    font-size: 14px;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .company-col-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent);
        margin-left: 4px;
    }

    .company-col-title i {
        width: 26px;
        height: 26px;
        background: rgba(255, 255, 255, .13);
        border-radius: 7px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: white;
        flex-shrink: 0;
    }

.company-follow {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

    .company-follow .company-subtitle {
        margin-bottom: 10px;
    }

.company-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 13px;
}

    .company-list li {
        color: white;
        margin-bottom: 8px;
        display: flex;
        align-items: flex-start;
        gap: 7px;
        line-height: 1.5;
    }

        .company-list li i {
            font-size: 11px;
            margin-top: 3px;
            flex-shrink: 0;
            width: 12px;
        }

    .company-list a {
        color: white;
        text-decoration: none;
        transition: color .15s;
    }

        .company-list a:hover {
            color: #fff;
        }

.company-socials {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: background .18s, transform .18s;
}

    .social-btn:hover {
        background: rgba(255, 255, 255, .26);
        transform: translateY(-2px);
        color: #fff;
    }

.company-footer-bar {
    background: rgba(0, 0, 0, .22);
    text-align: center;
    padding: 12px 20px;
    font-size: 12px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0 0 18px 18px;
}

.company-section .row.align-items-start {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 22px;
}

@media (max-width: 991.98px) {
    .company-section .container {
        border-radius: 12px 12px 0 0;
    }
}

@media (max-width: 767.98px) {
    .company-section .container {
        padding: 24px 18px 20px !important;
    }
}

/* Partners Section */
.partners-section {
    background: transparent;
    padding: 0 !important;
}

    .partners-section .container {
        background: #eaf2ff;
        padding-bottom: 24px;
    }

.partners-title {
    color: #1769E2;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 4px;
}

.partners-subtitle {
    color: #666;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Marquee track */
.partners-track-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* fade edges */
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.partners-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    will-change: transform;
    width: max-content;
}

.partner-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    box-shadow: 0 1px 6px rgba(23, 105, 226, .06);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .partner-logo:hover {
        border-color: #bdd1f8;
        box-shadow: 0 4px 16px rgba(23, 105, 226, .12);
        transform: translateY(-2px);
    }

    .partner-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: grayscale(30%);
        transition: filter .2s;
    }

    .partner-logo:hover img {
        filter: grayscale(0%);
    }

@media (max-width: 991.98px) {
    .partners-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .partner-logo {
        width: 150px;
        height: 75px;
    }
}

@media (max-width: 575.98px) {
    .partner-logo {
        width: 130px;
        height: 65px;
    }
}

/* Global reveal animations */
.reveal {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 520ms ease, transform 520ms ease;
    will-change: opacity, transform;
}

.reveal-up {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 580ms ease, transform 580ms ease;
}

.reveal-left {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-right {
    opacity: 0;
    transform: translate3d(18px, 0, 0);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 520ms ease, transform 520ms ease;
}

.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-zoom {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.backSc {
    background-color: #fafafa;
}

.pda {
    padding: 20px 100px 20px 100px;
}

@media (width< 769px) {
    #topMenu {
        display: none !important;
    }
}

@media (width< 1200px) {
    .pda {
        padding: 20px 10px 20px 10px;
    }
}

/* Service detail section */
.svc-detail-section .svc-gallery {
    background: #ecf2fa;
    border: 0px;
    width: 100%;
}

.svc-detail-section .svc-thumb {
    height: 80px;
    width: 84px;
    background: #9a9a9a;
}

.svc-detail-section .svc-hero {
    height: 420px;
    background: #666666;
}

.svc-detail-section .svc-box {
    background: #ecf2fa;
}

.svc-detail-section .svc-price {
    font-size: 28px;
    color: #e41d1d;
    font-weight: 800;
}

.svc-detail-section .svc-price-label {
    color: #333;
    min-width: 40px;
}

.svc-detail-section .svc-old-price {
    color: #8b8b8b;
    text-decoration: line-through;
    opacity: 0.9;
    font-size: 15px;
}

.svc-detail-section .svc-discount {
    border: 2px solid #e41d1d;
    color: #e41d1d;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    display: inline-block;
}

.svc-detail-section .svc-price-row {
    padding: 10px;
    background-color: #eceefa;
}

.svc-detail-section .svc-opt {
    line-height: 1.1;
    border-radius: 10px;
}

    .svc-detail-section .svc-opt.active {
        border-color: #0766f7;
        box-shadow: 0 0 0 2px rgba(7, 102, 247, 0.15);
    }

.svc-detail-section .svc-promo {
    background: #ecf2fa;
}

/* Coupon card styling */
.coupon-card {
    position: relative;
    width: 100%;
    border: 1px solid #e9e9e9;
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    min-height: 84px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

    /* Notch cutouts (match promo bg color) */
    .coupon-card::before,
    .coupon-card::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 12px;
        height: 12px;
        background: #e6e7eb;
        /* same as .svc-promo */
        border-radius: 50%;
        transform: translateY(-50%);
    }

    .coupon-card::before {
        left: -6px;
    }

    .coupon-card::after {
        right: -6px;
    }

    /* Perforation line */
    .coupon-card .coupon-perf {
        position: absolute;
        top: 8px;
        bottom: 8px;
        left: 42px;
        width: 0;
        border-left: 2px dotted #bcbcbc;
        opacity: 0.9;
    }

    /* Icons */
    .coupon-card .icon-info {
        position: absolute;
        top: 6px;
        right: 8px;
        color: #000;
        font-size: 10px;
        opacity: 0.8;
    }

    .coupon-card .icon-copy {
        color: #1e62ff;
    }

.coupon-title {
    font-weight: 700;
}

.coupon-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 2px 6px;
    display: inline-block;
    margin-top: 4px;
}

/* Coupon refreshed layout */
.coupon-info-icon {
    position: absolute;
    right: 10px;
    top: 6px;
    color: #000000;
    font-size: 15px;
}

.coupon-inner {
    padding-right: 0;
    position: relative;
}

.coupon-ico {
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    border-radius: 8px;
    color: #0b61ff;
}

.coupon-btn {
    background: #d1a452;
    color: #fff;
    border: none;
    border-radius: 16px;
    height: 26px;
    padding: 0 12px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3px;
}

    .coupon-btn:hover {
        filter: brightness(0.98);
    }

/* Text sizing tweaks */
.coupon-title {
    font-size: 11px;
}

.coupon-sub {
    font-size: 10px;
    margin-top: -5px;
}

/* Icon-only copy button bottom-right */
.coupon-card {
    position: relative;
}

.coupon-copy {
    position: absolute;
    right: 4px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #0b61ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .coupon-copy i {
        font-size: 16px;
    }

    .coupon-copy:hover {
        color: #0555d6;
    }

/* Frame */
.svc-detail-section .svc-frame {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0;
}

/* Service detail: 2-column height balance and compact spacing */
.svc-detail-section .row.align-items-stretch > [class*="col-"] {
    display: flex;
}

.svc-detail-section .svc-compact .svc-price {
    font-size: 20px;
}

.svc-detail-section .svc-compact .svc-opt {
    padding: 8px 5px;
    font-size: 11px;
}

.svc-detail-section .svc-compact .svc-qty .btn {
    padding: 4px 10px;
}

.svc-detail-section .svc-compact .svc-qty .form-control {
    padding-top: 4px;
    padding-bottom: 4px;
}

.svc-detail-section .svc-hero {
    height: 420px;
}

@media (max-width: 991.98px) {
    .svc-detail-section .svc-hero {
        height: 300px;
    }

    .svc-detail-section .svc-thumb {
        height: 100px;
    }
}

/* Match left gallery height with Right: Details on desktop only when row is stretching */
@media (min-width: 992px) {
    .svc-detail-section .row.align-items-stretch > .col-12.col-lg-7 {
        display: flex;
    }

    .svc-detail-section .row.align-items-stretch .svc-gallery {
        height: 100% !important;
        display: flex;
    }

        .svc-detail-section .row.align-items-stretch .svc-gallery > .row {
            height: 100%;
            flex: 1 1 auto;
        }

        .svc-detail-section .row.align-items-stretch .svc-gallery .col-12.col-md-10 {
            height: 100%;
            display: flex;
        }

    .svc-detail-section .row.align-items-stretch .svc-hero {
        height: 100% !important;
        flex: 1 1 auto;
    }
}

/* ===== Service extra info section (desc + commitments) ===== */
.svc-info-section .row.align-items-stretch > [class*="col-"] {
    display: flex;
}

.svc-info-section .desc-box,
.svc-info-section .commit-box {
    background: #fff;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 2px 10px rgba(23, 105, 226, .06);
}

/* Let commit box size to content on desktop */
@media (min-width: 992px) {
    .svc-info-section .col-12.col-lg-5.d-flex {
        align-items: flex-start;
    }
}

/* Desc box: title wrap (mirrors commit-title-wrap) */
.desc-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #e8edf5;
}

.desc-title-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(23, 105, 226, .25);
}

.svc-info-section .desc-title {
    font-weight: 800;
    font-size: 15px;
    color: #1a1a2e;
    letter-spacing: .2px;
}

/* Collapsed fade overlay */
.desc-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
}

/* Expand/collapse btn */
.desc-btn-wrap {
    display: flex;
    justify-content: center;
}

.svc-info-section .desc-box {
    position: relative;
    padding-top: 0;
}

.svc-info-section .desc-content {
    color: #222;
    position: relative;
}

.desc-content-wrap {
    max-height: 400px;
    overflow: hidden;
}

.svc-info-section .desc-content ul {
    padding-left: 18px;
}

.svc-info-section .commit-list .commit-item i {
    width: 18px;
    text-align: center;
}

/* Commit title */
.commit-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #e8edf5;
}

.commit-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(23, 105, 226, .25);
}

.commit-title {
    font-weight: 800;
    font-size: 15px;
    color: #1a1a2e;
    letter-spacing: .2px;
}

/* Commit items */
.commit-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: #eef3fd;
    color: #1769E2;
    border: 1.5px solid #dde8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}

.commit-item:hover .commit-icon-wrap {
    background: #1769E2;
    color: #fff;
    border-color: #1769E2;
}

.commit-text {
    font-size: 13.5px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Service description: accordion list */
.svc-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
}

    .svc-accordion .acc-item {
        background: #fff;
        border: 1.5px solid #e8edf5;
        border-radius: 12px;
        overflow: hidden;
        transition: border-color .15s, box-shadow .15s;
    }

        .svc-accordion .acc-item:hover {
            border-color: #c5d8f9;
            box-shadow: 0 4px 14px rgba(23, 105, 226, .07);
        }

        .svc-accordion .acc-item.open {
            border-color: #c5d8f9;
            box-shadow: 0 4px 18px rgba(23, 105, 226, .10);
        }

        .svc-accordion .acc-item + .acc-item {
            border-top: 1.5px solid #e8edf5;
            /* reset — gap handles spacing */
        }

    .svc-accordion .acc-head {
        width: 100%;
        text-align: left;
        background: #fff;
        border: none;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        color: #1a1a2e;
        cursor: pointer;
        transition: background .15s;
    }

    .svc-accordion .acc-item.open .acc-head {
        background: #eef3fd;
        color: #1769E2;
    }

    .svc-accordion .acc-head .acc-title {
        flex: 1;
        font-size: 13.5px;
        font-weight: 700;
    }

    .svc-accordion .acc-head .acc-count {
        font-size: 12px;
        font-weight: 600;
        color: #1769E2;
        background: #eef3fd;
        border: 1px solid #dde8f8;
        border-radius: 20px;
        padding: 2px 10px;
        white-space: nowrap;
        margin-left: auto;
    }

    .svc-accordion .acc-item.open .acc-head .acc-count {
        background: #dde8f8;
        border-color: #c5d8f9;
    }

    .svc-accordion .acc-head .acc-icon {
        color: #1769E2;
        font-size: 13px;
        flex-shrink: 0;
        transition: transform .2s;
    }

    .svc-accordion .acc-item.open .acc-head .acc-icon {
        transform: rotate(45deg);
    }

    .svc-accordion .acc-item .acc-body {
        display: none;
        padding: 10px 14px 14px;
        background: #fff;
        border-top: 1.5px solid #e8edf5;
    }

    .svc-accordion .acc-item.open .acc-body {
        display: block;
    }

    .svc-accordion .acc-check-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        .svc-accordion .acc-check-list li {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            font-size: 13px;
            color: #374151;
            line-height: 1.5;
        }

            .svc-accordion .acc-check-list li::before {
                content: '';
                display: inline-block;
                width: 7px;
                height: 7px;
                min-width: 7px;
                border-radius: 50%;
                background: #1769E2;
                margin-top: 5px;
            }

/* Commitments: two-column layout */
.svc-info-section .commit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
}

    .svc-info-section .commit-list .commit-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid #f0f4f9;
        background: #f8faff;
        transition: border-color .15s, background .15s;
        cursor: default;
        margin-bottom: 0 !important;
    }

        .svc-info-section .commit-list .commit-item:hover {
            border-color: #dde8f8;
            background: #eef3fd;
        }

@media (max-width: 575.98px) {
    .svc-info-section .commit-list {
        grid-template-columns: 1fr;
    }
}

/* Service detail: qty controls 30x30 */
.svc-detail-section .svc-compact .svc-qty .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 0 !important;
}

.svc-detail-section .svc-compact .svc-qty .qty-input {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 0;
    line-height: 1;
}

/* Keep number input centered */
.svc-detail-section .svc-compact .svc-qty .form-control.qty-input {
    text-align: center;
}

/* Hide native number input spinners (qty field only) */
.svc-detail-section .svc-compact .svc-qty input[type="number"]::-webkit-outer-spin-button,
.svc-detail-section .svc-compact .svc-qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.svc-detail-section .svc-compact .svc-qty input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
    /* Modern browsers */
}

/* Service detail: action buttons (Add to cart / Buy now) */
.svc-detail-section .svc-box .d-flex.gap-2.mb-2 .btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 14px;
}

/* Description: more content button */
.desc-more-btn {
    height: 34px;
    padding: 0 20px;
    border-radius: 20px;
    background: #eef3fd;
    color: #1769E2;
    border: 1.5px solid #dde8f8;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .15s, color .15s, border-color .15s;
}

    .desc-more-btn:hover {
        background: #1769E2;
        color: #fff;
        border-color: #1769E2;
    }

    .desc-more-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(23, 105, 226, 0.2);
    }

/* Floating Chat Support Widget */
.chat-toggle-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #2f3337;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(11, 97, 255, 0.35);
    z-index: 1050;
    cursor: pointer;
    will-change: transform;
    animation: chatPulse 1.6s ease-in-out infinite;
}

    .chat-toggle-btn:hover {
        filter: brightness(1.05);
    }

@keyframes chatPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-toggle-btn {
        animation: none !important;
    }
}

.chat-widget {
    position: fixed;
    right: 22px;
    bottom: 86px;
    width: min(360px, calc(100% - 44px));
    height: 420px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1050;
}

    .chat-widget.open {
        display: flex;
        z-index: 1060;
    }

.chat-header {
    background: #0b61ff;
    color: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-title {
    font-weight: 700;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.chat-body {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f7faff;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

    .chat-input input {
        flex: 1;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        padding: 8px 10px;
    }

.chat-message {
    margin-bottom: 8px;
    max-width: 80%;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
}

    .chat-message.user {
        margin-left: auto;
        background: #dcf1ff;
        color: #0b61ff;
    }

    .chat-message.agent {
        margin-right: auto;
        background: #edeffe;
        color: #1f2937;
    }

/* Quick action buttons above the chat toggle */
.chat-quick-actions {
    position: fixed;
    right: 22px;
    bottom: 86px;
    /* above toggle */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1050;
}

.chat-quick-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

    .chat-quick-btn.fb {
        background: #1778f2;
    }

    .chat-quick-btn.zalo {
        background: #0068ff;
        font-weight: 800;
    }

    .chat-quick-btn.hotline {
        background: #ff2b18;
    }

.chat-widget.open ~ .chat-quick-actions {
    opacity: 0.2;
    pointer-events: none;
}

/* Hotline card style (replacing round hotline button) */
.chat-hotline-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    min-width: 190px;
}

    .chat-hotline-card i {
        color: #ff2b18;
        font-size: 18px;
    }

    .chat-hotline-card .hotline-number {
        font-weight: 800;
        color: #111827;
        line-height: 1;
        padding-bottom: 5px;
    }

    .chat-hotline-card .hotline-hours {
        color: #6b7280;
        font-size: 12px;
        line-height: 1;
    }

    .chat-hotline-card:hover {
        filter: brightness(0.98);
    }

/* Facebook & Zalo cards */
.chat-contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    min-width: 160px;
}

    .chat-contact-card .contact-title {
        font-weight: 800;
        color: #111827;
        line-height: 1;
        padding-bottom: 5px;
    }

    .chat-contact-card .contact-sub {
        color: #6b7280;
        font-size: 12px;
        line-height: 1;
    }

    .chat-contact-card.fb i {
        color: #1778f2;
        font-size: 18px;
    }

    .chat-contact-card.zalo .zalo-logo {
        color: #0068ff;
        font-weight: 900;
        font-size: 16px;
        display: inline-flex;
        width: 18px;
        justify-content: center;
    }

    .chat-contact-card:hover {
        filter: brightness(0.98);
    }

/* Mobile: show icon only (<769px) */
@media (max-width: 768px) {

    .chat-contact-card .contact-text,
    .chat-hotline-card .hotline-text {
        display: none;
    }

    .chat-contact-card,
    .chat-hotline-card {
        min-width: 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 0;
        justify-content: center;
        border-radius: 50%;
    }

        .chat-contact-card.fb i,
        .chat-hotline-card i {
            font-size: 18px;
        }

        .chat-contact-card.zalo .zalo-logo {
            width: auto;
            font-size: 18px;
        }
}

/* Gentle up-down animation for quick contact cards */

/* ===== Services product card (Clinic page) ===== */
/* Related packages section title */
.related-pkg-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.related-pkg-title-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(23, 105, 226, .28);
}

.related-pkg-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1769E2;
    margin: 0;
    letter-spacing: -.2px;
}

/* ===== svc-card — shared component (clinic + service-detail) ===== */
.svc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

    .svc-card:hover {
        box-shadow: 0 8px 28px rgba(23, 105, 226, .12);
        transform: translateY(-3px);
        border-color: #c5d8f9;
    }

.svc-card-img {
    position: relative;
    height: 175px;
    background: #e8f0fe;
    overflow: hidden;
    flex-shrink: 0;
}

    .svc-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

.svc-card:hover .svc-card-img img {
    transform: scale(1.04);
}

.svc-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(23, 105, 226, .85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: .3px;
}

.svc-card-body {
    padding: 14px 16px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svc-card-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-card-desc {
    font-size: 12.5px;
    color: #888;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 14px;
    border-top: 1px solid #f0f4f9;
    gap: 8px;
}

.svc-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 0;
}

.svc-card-price-label {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
}

.svc-card-price-value {
    font-size: 17px;
    font-weight: 800;
    color: #1769E2;
    line-height: 1;
}

.svc-card-price-unit {
    font-size: 12px;
    font-weight: 600;
    color: #1769E2;
}

.svc-card-price-contact {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
}

.svc-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 8px;
    background: #eef3fd;
    color: #1769E2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1.5px solid #dde8f8;
    transition: background .15s, color .15s, border-color .15s;
}

    .svc-card-btn:hover {
        background: #1769E2;
        color: #fff;
        border-color: #1769E2;
    }

    .svc-card-btn .fa-arrow-right {
        font-size: 11px;
        transition: transform .15s;
    }

    .svc-card-btn:hover .fa-arrow-right {
        transform: translateX(2px);
    }

.svc-img-wrap {
    width: 100%;
    height: 180px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .svc-img-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

.svc-title {
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-price {
    color: #e11900;
    font-weight: 800;
    font-size: 18px;
}

.svc-oldprice {
    color: #9ca3af;
    text-decoration: line-through;
    margin-top: 2px;
    font-size: 13px;
}

.svc-fire {
    font-size: 16px;
    line-height: 1;
}

.svc-slot {
    background: #ffeb99;
    color: #111827;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    display: inline-block;
}

.svc-buy-btn {
    background: #eef2ff;
    color: #111827;
    border-radius: 10px;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 600;
}

    .svc-buy-btn:hover {
        filter: brightness(0.97);
    }

/* ===== Clinic filter panel ===== */
.filter-panel {
    border: 1px solid #eef2f7;
    border-radius: 12px;
}

    .filter-panel .card-body {
        padding: 14px;
    }

.filter-section {
    border-top: 1px solid #f1f3f5;
    padding-top: 10px;
    margin-top: 10px;
}

.filter-toggle {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    font-weight: 700;
    color: #111827;
    padding: 8px 0;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .filter-item input[type="radio"],
    .filter-item input[type="checkbox"] {
        accent-color: #0766f7;
    }

    .filter-item span {
        color: #374151;
        font-size: 14px;
    }

/* Smaller variant of svc card for 3-per-row */
.svc-img-wrap.small {
    height: 150px;
}

.svc-title.small {
    font-size: 14px;
}

.svc-price.small {
    font-size: 16px;
}

.svc-oldprice.small {
    font-size: 12px;
}

/* ===== List-style service card (Clinic) ===== */
.svc-list-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .svc-list-card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

.svc-list-hd {
    background: #0b61ff;
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
}

.svc-list-body {
    padding: 12px 14px 14px;
}

.svc-list-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.svc-list-card.svc-selected {
    border-color: #0a63e8 !important;
    box-shadow: 0 0 0 2px rgba(10, 99, 232, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Chosen services list: separate items with a dashed line */
#chosenServiceList .chosen-item {
    padding: 6px 0;
}

    #chosenServiceList .chosen-item + .chosen-item {
        border-top: 1px dashed #cfd8e3;
    }

/* Booking page: scrollable services grid (max height 500px) */
.svc-grid-scroll {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Stepper styles */
.stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    padding: 4px 0 8px;
}

    .stepper .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
        position: relative;
        color: #6b7280;
        font-weight: 600;
        padding: 0 6px;
    }

        /* Connector line between steps */
        .stepper .step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 14px;
            left: calc(50% + 16px);
            right: calc(-50% + 16px);
            height: 2px;
            background: #e5e7eb;
            z-index: 0;
            transition: background 0.3s;
        }

        .stepper .step.done:not(:last-child)::after {
            background: #10b981;
        }

        .stepper .step .step-circle {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #e5e7eb;
            color: #6b7280;
            font-weight: 700;
            font-size: 13px;
            position: relative;
            z-index: 1;
            transition: background 0.2s, box-shadow 0.2s;
        }

        .stepper .step.active .step-circle {
            background: #0a63e8;
            color: #fff;
            box-shadow: 0 0 0 4px rgba(10, 99, 232, 0.15);
        }

        .stepper .step.done .step-circle {
            background: #10b981;
            color: #fff;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
        }

        .stepper .step .step-label {
            font-size: 12px;
            text-align: center;
            line-height: 1.3;
            max-width: 80px;
        }

        .stepper .step.active .step-label {
            color: #0a63e8;
            font-weight: 700;
        }

        .stepper .step.done .step-label {
            color: #10b981;
        }

@media (max-width: 575.98px) {
    .stepper .step .step-label {
        font-size: 10px;
        max-width: 60px;
    }

    .stepper .step .step-circle {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .stepper .step:not(:last-child)::after {
        top: 12px;
        left: calc(50% + 14px);
        right: calc(-50% + 14px);
    }
}

.svc-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .svc-bullets li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        color: #374151;
        font-size: 14px;
    }

    .svc-bullets i {
        color: #0b61ff;
        font-size: 10px;
        line-height: 1.6;
        margin-top: 4px;
    }

    .svc-bullets span {
        flex: 1;
    }

.svc-list-price {
    color: #0b61ff;
    font-weight: 800;
    font-size: 18px;
}

.svc-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff2b18;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 700;
}

    .svc-add-btn:hover {
        filter: brightness(0.95);
    }

/* Grid spacing tweaks for 3-per-row list cards */
@media (min-width: 992px) {
    .svc-grid .col-lg-4 .svc-list-card {
        height: 100%;
    }
}

/* ===== Product grid card (Clinic) ===== */
.prod-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

    .prod-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    }

.prod-img {
    position: relative;
    background: #fff;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.prod-img-ph {
    width: 100%;
    height: 100%;
    background: #f5f7fb;
}

.prod-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e9f2ff;
    color: #0770f5;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

.prod-stamp {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #ff3b30;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
}

.prod-badges {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    gap: 8px;
}

    .prod-badges span {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #f3f4f6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
        font-size: 13px;
    }

.prod-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.prod-price {
    color: #111827;
    font-weight: 800;
    font-size: 18px;
}

.prod-old {
    color: #9ca3af;
    font-size: 12px;
}

    .prod-old .strike {
        text-decoration: line-through;
        margin-right: 6px;
    }

    .prod-old .percent {
        color: #ff3b30;
        font-weight: 800;
    }

.prod-saving {
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.prod-deadline {
    color: #6b7280;
    font-size: 12px;
}

.prod-title {
    font-weight: 700;
    color: #0253ff;
    font-size: 16px;
    margin-top: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 5px;
}

.prod-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: none;
}

    .prod-buy:hover {
        background: #0555d6;
    }

    .prod-buy:focus {
        outline: none;
        box-shadow: none;
    }

/* Cart toast */
.cart-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 2000;
}

    .cart-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(-4px);
    }

    .cart-toast.error {
        background: #dc2626;
    }

/* Header cart badge */
.cart-badge {
    position: absolute;
    top: -2px;
    right: 2px;
    background: #ff2b18;
    color: #fff;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    transform: translate(6px, -6px);
}

@keyframes qaFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.chat-contact-card.fb {
    animation: qaFloat 4.2s ease-in-out 0.1s infinite;
    will-change: transform;
}

.chat-contact-card.zalo {
    animation: qaFloat 4.2s ease-in-out 0.3s infinite;
    will-change: transform;
}

.chat-hotline-card {
    animation: qaFloat 4.2s ease-in-out 0.5s infinite;
    will-change: transform;
}

    /* Pause animation on hover to avoid motion during interaction */
    .chat-contact-card:hover,
    .chat-hotline-card:hover {
        animation-play-state: paused;
    }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .chat-contact-card.fb,
    .chat-contact-card.zalo,
    .chat-hotline-card {
        animation: none !important;
    }
}

/* ===== Upsell section (Gói xét nghiệm nên mua kèm) ===== */
.upsell-section .upsell-title {
    color: #0b61ff;
}

.upsell-section .upsell-sub {
    color: #5f6b7a;
}

.upsell-section .upsell-box {
    background: #ecf2fa;
}

.upsell-section .upsell-tab {
    background: #0b61ff;
    color: #fff;
    padding: 8px 12px;
}

.upsell-section .upsell-list {
    padding: 8px 12px;
}

.upsell-section .upsell-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e7eefc;
}

    .upsell-section .upsell-item:last-child {
        border-bottom: none;
    }

.upsell-section .upsell-name {
    color: #0f172a;
    font-size: 16px;
}

.upsell-section .upsell-bullets {
    margin: 6px 0 0;
    padding-left: 0;
    list-style: none;
    color: #374151;
    font-size: 13px;
}

    .upsell-section .upsell-bullets li {
        margin-bottom: 2px;
    }

    .upsell-section .upsell-bullets i {
        color: #0b61ff;
        font-size: 12px;
    }

.upsell-section .upsell-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 160px;
}

.upsell-section .upsell-price {
    color: #0b61ff;
    font-weight: 800;
}

.upsell-section .upsell-add-btn {
    background: #ff2b18;
    color: #fff;
    border: 1px solid #ff2b18;
    height: 30px;
    border-radius: 10px;
    padding: 0 12px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

    .upsell-section .upsell-add-btn:hover {
        filter: brightness(0.95);
    }

@media (max-width: 575.98px) {
    .upsell-section .upsell-item {
        grid-template-columns: 1fr;
    }

    .upsell-section .upsell-cta {
        align-items: flex-start;
    }
}

/* ===== Related section (Gói xét nghiệm liên quan) ===== */
.related-section .related-title {
    color: #0b61ff;
}

.rel-card {
    background: #e6e7eb;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.rel-thumb {
    height: 240px;
    background: #bdbdbd;
}

.rel-meta {
    background: #d9d9d9;
    color: #111827;
    padding: 10px 12px;
    font-weight: 600;
    border-bottom: 1px solid #000;
}

.rel-name {
    font-size: 14px;
}

.rel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #dedede;
}

.rel-price {
    color: #0b61ff;
    font-weight: 800;
    font-size: 20px;
}

.rel-btn {
    background: #e9f1ff;
    color: #0b61ff;
    border: 1px solid #cfe0ff;
    height: 28px;
    border-radius: 8px;
    padding: 0 10px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

    .rel-btn:hover {
        filter: brightness(0.98);
    }

.ttTop {
    width: 20px;
    height: 14px;
    background-color: #ecf2fa;
    border-radius: 50%;
    position: absolute;
    top: 71px;
    left: 60px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border: 1px solid #000000;
    border-bottom: 0px;
}

.ttBottom {
    width: 20px;
    height: 14px;
    background-color: #ecf2fa;
    border-radius: 50%;
    position: absolute;
    top: -1px;
    left: 59px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 1px solid #000000;
    border-top: 0px;
}

.btn1 {
    border: 2px solid #bbc2c8;
    border-radius: 5px;
    background-color: transparent;
}

.btn2 {
    border: 2px solid #c59975;
    border-radius: 5px;
    background-color: transparent;
}

.btn3 {
    border: 2px solid #d8b564;
    border-radius: 5px;
    background-color: transparent;
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
    background-color: #eff4fa;
    /* border-bottom-width: var(--bs-border-width); */
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

.btnGiamGia {
    padding: 5px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pda1 {
    padding: 20px 70px 20px 70px;
}

.pda2 {
    padding: 20px 70px 20px 70px;
}

@media (max-width: 768px) {
    .pda2 {
        padding: 20px 15px;
    }

    .pda1 {
        padding: 20px 15px;
    }

    .blog-section .container {
        background: #eaf2ff;
        /* light bluish like screenshot */
        border-radius: 0;
        position: relative;
        padding: 20px 15px;
    }

    #menuWeb {
        display: none !important;
    }

    #menuMobile {
        display: block !important;
    }
}

.list-group-item.active {
    background: #0766f7;
    border-color: #0766f7;
    color: #fff;
}

    .list-group-item.active i,
    .list-group-item.list-group-item-action.active i {
        color: #fff !important;
    }

.stypep {
    padding: 0px 200px;
}

.grid7 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

@media (max-width: 1400px) {
    .stypep {
        padding: 0px 50px;
    }
}

@media (max-width: 1200px) {
    .stypep {
        padding: 0px 40px;
    }

    .grid7 {
        display: flex;
        gap: 10px;
        overflow: auto;
        padding-bottom: 10px;
    }
}

.grid7::-webkit-scrollbar {
    height: 5px;
    /* chiều cao ngang */
}

@media (max-width: 768px) {
    .stypep {
        padding: 0px;
    }
}




.item {
    background: #eee;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    width: 150px;
    cursor: pointer;
}

    .item:hover {
        background: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1600px;
    }
}

.bg-white {
    --bs-bg-opacity: 1;
    background-color: rgb(0 152 255 / 3%) !important;
}

.heights {
    height: 40px;
}

.ptbtn {
    padding-top: 5px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 420px;
    background: #f5f7fb;
}

/* slide */
.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

    .slide-img.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }

    .slide-img.prev {
        transform: translateX(-40px);
    }

/* buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
}

    .slider-btn.prev {
        left: 16px;
    }

    .slider-btn.next {
        right: 16px;
    }

    .slider-btn:active {
        background: #1769E2;
    }

/* dots */
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

    .slider-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: background 0.2s;
    }

        .slider-dots .dot.active {
            background: #1769E2;
        }


.hp-timeline {
    padding: 6px 0 14px;
}

.hp-timeline__track {
    --hp-item-w: 340px;
    --hp-primary: var(--bs-primary);
    --hp-primary-rgb: var(--bs-primary-rgb);
    --hp-line: rgba(var(--hp-primary-rgb), .16);
    --hp-border: rgba(var(--hp-primary-rgb), .22);
    --hp-border-neutral: rgba(0, 0, 0, .12);
    position: relative;
    display: flex;
    gap: 14px;
    align-items: stretch;
    overflow-x: auto;
    padding: 22px 2px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}


.hp-timeline__item::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 54px;
    right: 0;
    height: 2px;
    background: var(--hp-line);
    z-index: 1;
    pointer-events: none;
}

.hp-timeline__item {
    position: relative;
    flex: 0 0 auto;
    width: min(var(--hp-item-w), calc(100vw - 110px));
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.hp-timeline__time {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--hp-border);
    background: var(--bs-body-bg);
    z-index: 2;
}

.hp-timeline__day {
    font-weight: 800;
    line-height: 1;
    color: var(--hp-primary);
}

.hp-timeline__month {
    font-size: 15px;
    line-height: 1;
    color: rgba(var(--hp-primary-rgb), .78);
    font-weight: 900;
    letter-spacing: .02em;
}

.hp-timeline__year {
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    color: rgba(var(--hp-primary-rgb), .60);
}



.hp-timeline__card {
    margin-top: 56px;
    border: 1px solid var(--hp-border-neutral) !important;
    flex: 1 1 auto;
    display: flex;
    background: var(--bs-body-bg);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .hp-timeline__card .card-body {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

.hp-timeline__item.is-active .hp-timeline__card {
    border-color: rgba(var(--hp-primary-rgb), .55) !important;
    box-shadow: var(--bs-box-shadow-sm);
    transform: translateY(-2px);
}

/* If item is not active, keep it slightly open (subtle emphasis) */
.hp-timeline__item:not(.is-active) .hp-timeline__card {
    opacity: .70;
    border-color: var(--hp-border-neutral) !important;
    box-shadow: none;
    transform: none;
}

.hp-timeline__item:not(.is-active) .hp-timeline__time {
    border-color: var(--hp-border-neutral);
}

.hp-timeline__item:not(.is-active) .hp-timeline__month,
.hp-timeline__item:not(.is-active) .hp-timeline__year {
    color: rgba(0, 0, 0, .55);
}

.hp-timeline__track::-webkit-scrollbar {
    height: 10px;
}

.hp-timeline__track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .12);
    border-radius: 999px;
}

@media (min-width: 992px) {
    .hp-timeline__track {
        --hp-item-w: 360px;
    }
}

.hp-timeline-item {
    transition: transform 160ms ease;
    will-change: transform;
}

    .hp-timeline-item:hover {
        transform: translateY(-4px);
    }

.hp-month-card:hover {
    transform: none;
}

@media (width<768px) {
    .slider-wrapper {
        height: 250px;
    }

    #count1 {
        display: none;
    }

    #count2 {
        display: none;
    }

    #count3 {
        display: none;
    }

    #count4 {
        display: none;
    }

    #count5 {
        display: none;
    }

    .slide-img {
        display: none;
        opacity: 0;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
        z-index: 1;
    }
}

.slider-wrapper {
    background: #f5f7fb;
}



.slide-img.active {
    display: block;
    opacity: 1;
    position: relative;
    z-index: 2;
    animation: none;
}

.slide-img.anim-fade {
    animation: fadeIn 0.7s;
}

.slide-img.anim-slide-left {
    animation: slideLeft 0.7s;
}

.slide-img.anim-slide-right {
    animation: slideRight 0.7s;
}

.slide-img.anim-zoom {
    animation: zoomIn 0.7s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

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

@keyframes zoomIn {
    from {
        transform: scale(1.2);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s;
}

    .slider-dots .dot.active {
        background: #1769E2;
    }

.slider-btn:active {
    background: #1769E2;
}

/* ===== Customer Portal: shared sidebar + content layout ===== */
.cust-portal-bg {
    background: white;
    min-height: 60vh;
}

.cust-sidebar {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #dde8f8;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .07);
    overflow: hidden;
}

.cust-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px 14px;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
    color: #fff;
}

.cust-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.cust-user-info {
    overflow: hidden;
}

.cust-user-name {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-user-email {
    font-size: 12px;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.cust-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
}

    .cust-nav-item i {
        width: 18px;
        text-align: center;
        color: #6c757d;
        flex-shrink: 0;
    }

    .cust-nav-item:hover {
        background: #f0f5ff;
        color: #1769E2;
        border-left-color: #1769E2;
    }

        .cust-nav-item:hover i {
            color: #1769E2;
        }

    .cust-nav-item.active {
        background: #eef3fd;
        color: #1769E2 !important;
        font-weight: 700;
        border-left-color: #1769E2;
    }

        .cust-nav-item.active i {
            color: #1769E2 !important;
        }

.cust-nav-logout {
    color: #dc3545 !important;
}

    .cust-nav-logout i {
        color: #dc3545 !important;
    }

    .cust-nav-logout:hover {
        background: #fff5f5 !important;
        color: #dc3545 !important;
        border-left-color: #dc3545 !important;
    }

.cust-content-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #dde8f8;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .07);
    padding: 20px;
}

.cust-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #eef3fd;
}

.cust-section-title {
    font-weight: 800;
    font-size: 16px;
    color: #1769E2;
    letter-spacing: .2px;
}

/* ===== Customer Portal: filter tabs ===== */
.cust-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.cust-tab {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #f0f4f8;
    border: 1.5px solid #dde8f8;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

    .cust-tab:hover {
        background: #e3eaff;
        color: #1769E2;
        border-color: #b3c9f8;
    }

    .cust-tab.active {
        background: #1769E2;
        color: #fff !important;
        border-color: #1769E2;
        font-weight: 700;
    }

/* ===== Order cards ===== */
.order-card {
    border: 1.5px solid #dde8f8;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(23, 105, 226, .05);
    border-left: 4px solid #adb5bd;
}

    .order-card.order-status-pending {
        border-left-color: #f59e0b;
    }

    .order-card.order-status-confirmed {
        border-left-color: #0ea5e9;
    }

    .order-card.order-status-in_progress {
        border-left-color: #3b82f6;
    }

    .order-card.order-status-completed {
        border-left-color: #22c55e;
    }

    .order-card.order-status-cancelled {
        border-left-color: #ef4444;
    }

.order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    background: #f8faff;
    border-bottom: 1.5px solid #eef3fd;
}

.order-card-id {
    font-weight: 700;
    font-size: 14px;
    color: #1769E2;
}

.order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

    .order-status-badge.status-pending {
        background: #f59e0b;
    }

    .order-status-badge.status-confirmed {
        background: #0ea5e9;
    }

    .order-status-badge.status-in_progress {
        background: #3b82f6;
    }

    .order-status-badge.status-completed {
        background: #22c55e;
    }

    .order-status-badge.status-cancelled {
        background: #ef4444;
    }

    .order-status-badge.status-secondary {
        background: #6c757d;
    }

.order-card-body {
    padding: 12px 14px;
}

.order-price-summary {
    border-top: 1.5px solid #eef3fd;
    margin-top: 10px;
    padding-top: 10px;
}

.order-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 3px 0;
    gap: 12px;
}

.order-price-total {
    border-top: 1.5px dashed #dde8f8;
    margin-top: 4px;
    padding-top: 6px;
    font-size: 14px;
    font-weight: 700;
}

.order-card-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1.5px solid #eef3fd;
}

/* table inside order-card */
.order-card .table {
    font-size: 13px;
    border-radius: 8px;
    overflow: hidden;
}

    .order-card .table thead th {
        background: #f0f5ff;
        font-weight: 600;
        border-bottom: none;
    }

/* map link in orders */
.labx-map-link {
    color: #1769E2 !important;
    text-decoration: underline dotted !important;
}

/* ===== Responsive: sidebar horizontal on mobile ===== */
@media (max-width: 767.98px) {
    .cust-sidebar {
        border-radius: 14px;
        overflow: hidden;
    }

    .cust-sidebar-user {
        padding: 12px 14px;
        gap: 10px;
    }

    .cust-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }

    .cust-user-name {
        font-size: 13px;
    }

    .cust-user-email {
        font-size: 11px;
    }

    .cust-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 6px;
        gap: 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .cust-nav::-webkit-scrollbar {
            display: none;
        }

    .cust-nav-item {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-left: none;
        border-radius: 12px;
        padding: 7px 10px;
        font-size: 10px;
        font-weight: 600;
        border: 1.5px solid #e8edf5;
        min-width: 54px;
        text-align: center;
        line-height: 1.2;
    }

        .cust-nav-item i {
            width: auto;
            font-size: 15px;
            margin-bottom: 1px;
        }

        .cust-nav-item.active {
            background: linear-gradient(135deg, #1769E2, #0550c0);
            color: #fff !important;
            border-color: #1769E2;
            box-shadow: 0 2px 8px rgba(23, 105, 226, .25);
        }



        .cust-nav-item:hover {
            border-radius: 12px;
        }

    .cust-nav-logout {
        border-color: #fde8e8 !important;
    }

    .cust-content-card {
        padding: 14px;
    }
}

/* ===== Payment Result Pages ===== */
.pay-result-wrap {
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.pay-result-card {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 8px 32px rgba(23, 105, 226, .09);
    padding: 44px 36px 36px;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.pay-icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 38px;
}

.pay-icon-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #16a34a;
}

.pay-icon-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.pay-icon-cancel {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.pay-icon-booking {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1769E2;
}

.pay-result-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

    .pay-result-title.success {
        color: #16a34a;
    }

    .pay-result-title.error {
        color: #dc2626;
    }

    .pay-result-title.cancel {
        color: #d97706;
    }

    .pay-result-title.info {
        color: #1769E2;
    }

.pay-result-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0;
}

.pay-result-divider {
    border: none;
    border-top: 1.5px dashed #e8edf5;
    margin: 22px 0;
}

.pay-result-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1769E2, #0550c0);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}

    .pay-result-btn-primary:hover {
        opacity: .92;
        transform: translateY(-1px);
        color: #fff;
        box-shadow: 0 4px 14px rgba(23, 105, 226, .28);
    }

.pay-result-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1769E2;
    border: 1.5px solid #1769E2;
    border-radius: 12px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

    .pay-result-btn-secondary:hover {
        background: #f0f5ff;
        color: #1769E2;
    }

/* Payment Order View */
.pay-view-wrap {
    padding: 30px 16px;
}

.pay-view-card {
    background: #fff;
    border-radius: 18px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 4px 20px rgba(23, 105, 226, .08);
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
}

.pay-view-header {
    background: linear-gradient(135deg, #1769E2, #0550c0);
    color: #fff;
    padding: 18px 24px;
    text-align: center;
}

    .pay-view-header h2 {
        font-size: 1.1rem;
        font-weight: 800;
        margin: 0;
        color: #fff;
    }

.pay-view-body {
    padding: 22px 24px;
}

.pay-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f9ff;
    border-radius: 12px;
    border: 1.5px solid #dce9ff;
    padding: 13px 18px;
    margin-bottom: 20px;
}

.pay-total-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.pay-total-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1769E2;
    letter-spacing: -.5px;
}

.pay-method-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pay-method-item {
    border: 1.5px solid #e0e8f8;
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .pay-method-item:has(input:checked) {
        border-color: #1769E2;
        background: #f0f5ff;
    }

    .pay-method-item input[type=radio] {
        accent-color: #1769E2;
        flex-shrink: 0;
        margin-top: 2px;
    }

.pay-method-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.pay-method-desc {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.pay-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1769E2, #0550c0);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .pay-submit-btn:hover {
        opacity: .92;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(23, 105, 226, .3);
    }

/* Order Confirm */
.order-confirm-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px 16px;
}

.order-confirm-card {
    background: #fff;
    border-radius: 18px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 4px 20px rgba(23, 105, 226, .08);
    overflow: hidden;
}

.order-confirm-hdr {
    background: linear-gradient(135deg, #1769E2, #0550c0);
    color: #fff;
    padding: 16px 22px;
    text-align: center;
}

    .order-confirm-hdr h2 {
        font-size: 1.05rem;
        font-weight: 800;
        margin: 0;
        color: #fff;
    }

.order-confirm-body {
    padding: 16px 20px;
}

.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e8edf5;
    margin-bottom: 8px;
    background: #fafbff;
}

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

.order-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.order-item-qty {
    font-size: 13px;
    font-weight: 700;
    color: #1769E2;
    white-space: nowrap;
    margin-left: 12px;
    background: #eef3fd;
    border-radius: 8px;
    padding: 2px 10px;
}

.order-empty {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    padding: 20px 0;
}

.cust-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .08);
    overflow: hidden;
}

.cust-sidebar-user {
    padding: 20px 16px 14px;
    border-bottom: 1px solid #eef2fb;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
}

.cust-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.cust-user-info {
    overflow: hidden;
}

.cust-user-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-user-email {
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-nav {
    padding: 8px 0;
}

.cust-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 18px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .14s, color .14s;
    border-left: 3px solid transparent;
}

    .cust-nav-item i {
        width: 18px;
        text-align: center;
        font-size: 15px;
        color: #1769E2;
    }

    .cust-nav-item:hover {
        background: #eef3fd;
        color: #1769E2;
    }

    .cust-nav-item.active {
        background: #eef3fd;
        color: #1769E2 !important;
        font-weight: 700;
        border-left: 3px solid #1769E2;
    }

.cust-nav-logout {
    color: #dc3545 !important;
}

    .cust-nav-logout i {
        color: #dc3545 !important;
    }

    .cust-nav-logout:hover {
        background: #fff5f5 !important;
        color: #dc3545 !important;
    }

/* Content card */
.cust-content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .08);
    padding: 24px;
}

.cust-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cust-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1769E2;
}

/* Filter tabs */
.cust-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

    .cust-filter-tabs::-webkit-scrollbar {
        display: none;
    }

.cust-tab {
    flex-shrink: 0;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: #f1f5fb;
    color: #555;
    border: 1.5px solid transparent;
    transition: all .15s;
}

    .cust-tab:hover {
        background: #dce8fd;
        color: #1769E2;
    }

    .cust-tab.active {
        background: #1769E2;
        color: #fff;
        border-color: #1769E2;
    }

/* Order card */
.order-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #e8eef8;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(23, 105, 226, .06);
    transition: box-shadow .15s;
}

    .order-card:hover {
        box-shadow: 0 4px 16px rgba(23, 105, 226, .13);
    }

.order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f7f9fd;
    border-bottom: 1.5px solid #e8eef8;
}

.order-card-id {
    font-weight: 700;
    font-size: 13px;
    color: #1769E2;
}

.order-card-body {
    padding: 14px 16px;
}

/* Status badge */
.order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* .status-pending { background:#fff8e1;color:#b45309; }
    .status-confirmed { background:#e0f2fe;color:#0369a1; }
    .status-in_progress { background:#ede9fe;color:#5b21b6; }
    .status-completed { background:#dcfce7;color:#15803d; }
    .status-cancelled { background:#fee2e2;color:#b91c1c; }
    .status-secondary { background:#f1f5f9;color:#555; } */

/* Left color bar per status */
.order-status-pending {
    border-left: 4px solid #f59e0b !important;
}

.order-status-confirmed {
    border-left: 4px solid #0ea5e9 !important;
}

.order-status-in_progress {
    border-left: 4px solid #8b5cf6 !important;
}

.order-status-completed {
    border-left: 4px solid #22c55e !important;
}

.order-status-cancelled {
    border-left: 4px solid #ef4444 !important;
}

/* Price summary */
.order-price-summary {
    border-top: 1.5px dashed #e8eef8;
    margin-top: 10px;
    padding-top: 10px;
}

.order-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 3px 0;
}

.order-price-total {
    border-top: 1.5px solid #e8eef8;
    margin-top: 5px;
    padding-top: 8px;
    font-weight: 700;
    font-size: 14px;
}

/* Action buttons area */
.order-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

/* Table styles */
.table thead th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #888;
}

.table td,
.table th {
    padding: 8px 10px;
}

@media (max-width:767px) {
    .cust-content-card {
        padding: 14px;
    }
}

.kq-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #e8eef8;
    border-radius: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s, border-color .15s, background .15s;
}

    .kq-card:hover {
        box-shadow: 0 4px 16px rgba(23, 105, 226, .13);
        border-color: #c7d9f8;
        background: #f5f9ff;
    }

.kq-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eef3fd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .kq-icon i {
        font-size: 22px;
        color: #1769E2;
    }

.kq-name {
    font-weight: 700;
    font-size: 14px;
    color: #1769E2;
}

.kq-meta {
    font-size: 12px;
    color: #888;
}

@media (max-width:767px) {
    .cust-content-card {
        padding: 14px;
    }
}

/* Voucher cards */
.voucher-card {
    display: flex;
    border: 1.5px solid #e0e8f8;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(23, 105, 226, .06);
    transition: box-shadow .15s, transform .15s;
    cursor: pointer;
}

    .voucher-card:hover {
        box-shadow: 0 6px 20px rgba(23, 105, 226, .14);
        transform: translateY(-2px);
    }

.voucher-left {
    width: 72px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #1769E2 0%, #0550c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .voucher-left::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 0;
        bottom: 0;
        width: 20px;
        background: repeating-linear-gradient(0deg, #fff 0px, #fff 5px, transparent 5px, transparent 10px);
        z-index: 1;
    }

.voucher-right {
    flex: 1;
    padding: 12px 14px;
    position: relative;
}

.voucher-discount {
    font-size: 17px;
    font-weight: 800;
    color: #1769E2;
    line-height: 1.2;
}

.voucher-code {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: .5px;
    background: #f1f5fb;
    border-radius: 6px;
    padding: 2px 7px;
    display: inline-block;
    margin-top: 2px;
}

.voucher-min {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

.voucher-exp {
    font-size: 11px;
    color: #f59e0b;
    font-weight: 600;
}

.voucher-qr-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    padding: 4px 6px;
    color: #1769E2;
    cursor: pointer;
    font-size: 18px;
    opacity: .7;
    transition: opacity .15s;
}

    .voucher-qr-btn:hover {
        opacity: 1;
    }

@media (max-width:767px) {
    .cust-content-card {
        padding: 14px;
    }
}

.cust-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .08);
    overflow: hidden;
}

.cust-sidebar-user {
    padding: 20px 16px 14px;
    border-bottom: 1px solid #eef2fb;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1769E2 0%, #0550c0 100%);
}

.cust-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.cust-user-info {
    overflow: hidden;
}

.cust-user-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-user-email {
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-nav {
    padding: 8px 0;
}

.cust-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 18px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .14s, color .14s;
    border-left: 3px solid transparent;
}

    .cust-nav-item i {
        width: 18px;
        text-align: center;
        font-size: 15px;
        color: #1769E2;
    }

    .cust-nav-item:hover {
        background: #eef3fd;
        color: #1769E2;
    }

/* .cust-nav-item.active {
    background: #eef3fd;
    color: #1769E2;
    font-weight: 700;
    border-left: 3px solid #1769E2;
  } */

.cust-nav-logout {
    color: #dc3545 !important;
}

    .cust-nav-logout i {
        color: #dc3545 !important;
    }

    .cust-nav-logout:hover {
        background: #fff5f5 !important;
        color: #dc3545 !important;
    }

.cust-content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .08);
    padding: 24px;
}

.cust-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1769E2;
}

/* Account avatar */
.acct-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eef3fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

    .acct-avatar-wrap i {
        font-size: 30px;
        color: #1769E2;
    }

.acct-field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #888;
    margin-bottom: 4px;
}

.acct-field-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 9px 14px;
    background: #f7f9fd;
    border-radius: 10px;
    border: 1.5px solid #e8eef8;
}

    .acct-field-value.empty {
        color: #aaa;
        font-weight: 400;
    }

.acct-security-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e8eef8;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: background .14s, border-color .14s;
}

    .acct-security-link:hover {
        background: #eef3fd;
        border-color: #c7d9f8;
        color: #1769E2;
    }

    .acct-security-link i {
        color: #1769E2;
        font-size: 16px;
    }

@media (max-width:767px) {
    .cust-content-card {
        padding: 14px;
    }
}

.cust-content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(23, 105, 226, .08);
    padding: 22px;
    border: none;
}

.cust-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1769E2;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Health profile specific */
.hp-group-btn {
    width: 100%;
    border: 1px solid #dde5f5;
    background: #f7f9fd;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 600;
    color: #333;
    transition: background .15s;
}

    .hp-group-btn:hover {
        background: #eef3fd;
    }

    .hp-group-btn:focus {
        outline: none;
        box-shadow: 0 0 0 .2rem rgba(23, 105, 226, .15);
    }

.hp-group-chev {
    transition: transform .18s ease;
}

    .hp-group-chev.hp-rot {
        transform: rotate(180deg);
    }

/* Timeline */
.hp-month-header {
    font-weight: 700;
    font-size: 13px;
    color: #1769E2;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 8px 14px;
    background: #eef3fd;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-timeline-item {
    border: 1.5px solid #e8eef8 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    background: #fff;
    transition: box-shadow .15s, border-color .15s;
}

    .hp-timeline-item:hover {
        box-shadow: 0 4px 16px rgba(23, 105, 226, .13) !important;
        border-color: #c7d9f8 !important;
    }

.hp-item-title {
    font-weight: 700;
    font-size: 14px;
    color: #1769E2;
}

.hp-item-date {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    background: #f1f5fb;
    border-radius: 20px;
    color: #555;
    border: 1px solid #dde5f5;
}

.hp-service-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #888;
    margin-bottom: 4px;
}

/* ================================================================
   BOOKING PAGE — UI IMPROVEMENTS
   ================================================================ */

/* Location cards */
.location-card {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .location-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(23, 105, 226, 0.15);
        border-color: #7aabf5 !important;
    }

/* Booking panel header */
.booking-panel .panel-header {
    background: linear-gradient(90deg, #0a63e8 0%, #1f7af5 100%);
    font-size: 14px;
    letter-spacing: 0.2px;
}

/* Service list card improved hover */
.svc-list-card {
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

    .svc-list-card:hover {
        box-shadow: 0 6px 18px rgba(10, 99, 232, 0.10);
        border-color: #c5d8f9;
        transform: translateY(-2px);
    }

    .svc-list-card.svc-selected {
        background: #f0f6ff;
    }

/* Choose service button */
.choose-service {
    min-width: 90px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: background 0.15s, transform 0.15s;
}

    .choose-service:active {
        transform: scale(0.97);
    }

/* Choose location button */
.choose-location {
    min-width: 100px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Payment method radio — card style */
.pm-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    margin: 0;
}

    .pm-radio-label:has(input[type="radio"]:checked) {
        border-color: #0a63e8;
        background: #eef3fd;
        box-shadow: 0 0 0 3px rgba(10, 99, 232, 0.10);
    }

    .pm-radio-label:hover {
        border-color: #79adf7;
        background: #f7fbff;
    }

    .pm-radio-label .pm-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: #eef3fd;
        color: #0a63e8;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }

    .pm-radio-label .pm-info .pm-name {
        font-weight: 700;
        color: #111827;
        font-size: 14px;
        line-height: 1.3;
    }

    .pm-radio-label .pm-info .pm-desc {
        font-size: 12px;
        color: #6b7280;
        margin-top: 2px;
    }

    .pm-radio-label input[type="radio"] {
        accent-color: #0a63e8;
        width: 18px;
        height: 18px;
        margin-top: 2px;
        flex-shrink: 0;
    }

/* Confirmation table */
#xacNhanDatLich .table {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e3edff;
}

    #xacNhanDatLich .table thead th {
        background: #eef3fd;
        color: #0a63e8;
        font-size: 13px;
        font-weight: 700;
        border-bottom: 2px solid #dde8f8;
        padding: 10px 12px;
    }

    #xacNhanDatLich .table tbody td {
        font-size: 13.5px;
        padding: 9px 12px;
        vertical-align: middle;
    }

    #xacNhanDatLich .table tbody tr:nth-child(odd) {
        background: #f7faff;
    }

    #xacNhanDatLich .table tfoot th {
        font-size: 13.5px;
        padding: 9px 12px;
        border-top: 2px solid #dde8f8;
    }

/* Date/time inputs */
#xacNhanDatLich .form-control,
#xacNhanDatLich .form-select {
    border-radius: 10px !important;
    border: 1.5px solid #d1d9e0;
    padding: 10px 13px;
    font-size: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    #xacNhanDatLich .form-control:focus,
    #xacNhanDatLich .form-select:focus {
        border-color: #0a63e8;
        box-shadow: 0 0 0 3px rgba(10, 99, 232, 0.12);
    }

/* Booking success popup close on backdrop */
#bookingSuccessPopup {
    animation: fadeInPopup 0.25s ease;
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Chosen service item in sidebar */
#chosenServiceList .chosen-item {
    border-radius: 8px;
    padding: 8px 6px;
    transition: background 0.15s;
}

    #chosenServiceList .chosen-item:hover {
        background: #f0f4fa;
    }

/* Service search input */
.booking-search .form-control:focus {
    border-color: #0a63e8;
    box-shadow: 0 0 0 3px rgba(10, 99, 232, 0.10);
}

/* Back/Next nav buttons spacing */
.booking-panel .panel-body .btn-outline-secondary {
    border-color: #d1d5db;
    color: #374151;
    font-weight: 600;
}

    .booking-panel .panel-body .btn-outline-secondary:hover {
        background: #f3f4f6;
        border-color: #9ca3af;
        color: #111827;
    }

/* Stepper wrapper background pill */
.stepper-wrap {
    background: #f0f6ff;
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-flex;
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid #dde8f8;
}

@media (max-width: 575.98px) {
    .stepper-wrap {
        padding: 8px 10px;
    }
}

.hp-service-item {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    padding: 3px 0;
    border-bottom: 1px dashed #f1f5fb;
}

    .hp-service-item:last-child {
        border-bottom: none;
    }

.hp-month-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.loc-page-wrap {
    position: relative;
    height: calc(100vh - 0px);
    overflow: hidden;
}

.loc-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

/* ---- Sidebar ---- */
.loc-sidebar {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 2px 0 12px rgba(10, 99, 232, 0.08);
    z-index: 10;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Sidebar header ---- */
.loc-sidebar-header {
    background: linear-gradient(135deg, #0a63e8 0%, #1f7af5 100%);
    padding: 16px 14px 12px;
    flex-shrink: 0;
}

.loc-header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #fff;
}

.loc-header-title {
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
}

.loc-header-sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
    margin-top: 2px;
}

.loc-close-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

    .loc-close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* ---- Search ---- */
.loc-search-wrap {
    position: relative;
    margin-top: 12px;
}

.loc-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 13px;
    pointer-events: none;
}

.loc-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    padding: 9px 36px 9px 32px;
    font-size: 13.5px;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.15s;
}

    .loc-search-input:focus {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
    }

.loc-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

    .loc-search-clear:hover {
        color: #333;
    }

.loc-result-count {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-align: right;
}

/* ---- Location cards list ---- */
.loc-list {
    flex: 1 1 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 24px;
}

    .loc-list::-webkit-scrollbar {
        width: 4px;
    }

    .loc-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .loc-list::-webkit-scrollbar-thumb {
        background: #d0dcf0;
        border-radius: 4px;
    }

        .loc-list::-webkit-scrollbar-thumb:hover {
            background: #a8bce8;
        }

.loc-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f4fb;
    transition: background 0.14s, border-left-color 0.14s;
    border-left: 3px solid transparent;
    position: relative;
}

    .loc-card:hover {
        background: #f5f9ff;
        border-left-color: #7aabf5;
    }

    .loc-card.active {
        background: #eef3fd;
        border-left-color: #0a63e8;
    }

.loc-card-num {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #e6f0ff;
    color: #0a63e8;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    flex-shrink: 0;
    transition: background 0.14s, color 0.14s;
}

.loc-card.active .loc-card-num {
    background: #0a63e8;
    color: #fff;
}

.loc-card-body {
    flex: 1;
    min-width: 0;
}

.loc-card-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.loc-card.active .loc-card-name {
    color: #0a63e8;
}

.loc-card-addr,
.loc-card-phone {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.4;
    margin-bottom: 2px;
}

    .loc-card-addr i,
    .loc-card-phone i {
        color: #0a63e8;
        font-size: 10px;
        margin-top: 2px;
        flex-shrink: 0;
    }

.loc-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 7px;
    flex-wrap: wrap;
}

.loc-btn-dir,
.loc-btn-book {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.14s, color 0.14s, transform 0.1s;
    white-space: nowrap;
}

.loc-btn-dir {
    background: #eef3fd;
    color: #0a63e8;
    border: 1px solid #dde8f8;
}

    .loc-btn-dir:hover {
        background: #0a63e8;
        color: #fff;
        border-color: #0a63e8;
        transform: translateY(-1px);
    }

.loc-btn-book {
    background: #fff8ec;
    color: #d97706;
    border: 1px solid #fde68a;
}

    .loc-btn-book:hover {
        background: #f59e0b;
        color: #fff;
        border-color: #f59e0b;
        transform: translateY(-1px);
    }

/* Empty state */
.loc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 20px;
    color: #9ca3af;
    font-size: 14px;
}

    .loc-empty i {
        font-size: 36px;
    }

/* ---- Map ---- */
.loc-map-wrap {
    flex: 1 1 0;
    position: relative;
    min-width: 0;
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
}

/* ---- Mobile toggle button ---- */
.loc-sidebar-toggle {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: #0a63e8;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px 10px 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(10, 99, 232, 0.35);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

    .loc-sidebar-toggle:hover {
        background: #094fbe;
        transform: translateX(-50%) translateY(-2px);
    }

    .loc-sidebar-toggle i {
        font-size: 16px;
    }

.loc-toggle-badge {
    background: #fff;
    color: #0a63e8;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    min-width: 22px;
    text-align: center;
    line-height: 1.6;
    margin-left: 2px;
}

/* ---- Backdrop (mobile) ---- */
.loc-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

    .loc-backdrop.show {
        opacity: 1;
        pointer-events: auto;
    }

/* ---- Mobile breakpoint ---- */
@media (max-width: 767.98px) {
    .loc-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 10;
        transform: translateX(-110%);
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }

        .loc-sidebar.open {
            transform: translateX(0);
        }
}

/* Leaflet popup improvements */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 12px 14px !important;
}

.leaflet-popup-tip-container {
    display: none;
}

#svcGrid .col {
    transition: opacity .15s ease;
}

    #svcGrid .col.hidden {
        display: none !important;
    }

.fw-bold[style*="#1769E2"] {
    letter-spacing: .2px;
}

/* ===== Service card ===== */
.svc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

    .svc-card:hover {
        box-shadow: 0 8px 28px rgba(23, 105, 226, .12);
        transform: translateY(-3px);
        border-color: #c5d8f9;
    }

/* Image */
.svc-card-img {
    position: relative;
    height: 175px;
    background: #e8f0fe;
    overflow: hidden;
    flex-shrink: 0;
}

    .svc-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
    }

.svc-card:hover .svc-card-img img {
    transform: scale(1.04);
}

.svc-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(23, 105, 226, .85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: .3px;
}

/* Body */
.svc-card-body {
    padding: 14px 16px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svc-card-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-card-desc {
    font-size: 12.5px;
    color: #888;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.svc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 14px;
    border-top: 1px solid #f0f4f9;
    gap: 8px;
}

.svc-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 0;
}

.svc-card-price-label {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
}

.svc-card-price-value {
    font-size: 17px;
    font-weight: 800;
    color: #1769E2;
    line-height: 1;
}

.svc-card-price-unit {
    font-size: 12px;
    font-weight: 600;
    color: #1769E2;
}

.svc-card-price-contact {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
}

.svc-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 8px;
    background: #eef3fd;
    color: #1769E2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1.5px solid #dde8f8;
    transition: background .15s, color .15s, border-color .15s;
}

    .svc-card-btn:hover {
        background: #1769E2;
        color: #fff;
        border-color: #1769E2;
    }

    .svc-card-btn .fa-arrow-right {
        font-size: 11px;
        transition: transform .15s;
    }

    .svc-card-btn:hover .fa-arrow-right {
        transform: translateX(2px);
    }

/* ===== SIDEBAR FILTER ===== */
.svc-filter-sidebar {
    width: 240px;
    min-width: 220px;
    flex-shrink: 0;
}

.filter-panel {
    background: #fff;
    border: 1.5px solid #e6ebf2;
    border-radius: 12px;
    padding: 16px;
    position: sticky;
    top: 80px;
    box-shadow: 0 2px 8px #0001;
}

.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #e6ebf2;
}

.filter-panel-title {
    font-weight: 700;
    font-size: 16px;
    color: #1769E2;
}

.btn-clear-filter {
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #888;
    font-size: 12px;
    padding: 2px 10px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

    .btn-clear-filter:hover {
        color: #e74c3c;
        border-color: #e74c3c;
    }

.filter-group {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f2f5;
}

    .filter-group:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.filter-group-title {
    font-weight: 600;
    font-size: 13.5px;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    transition: color .15s;
    user-select: none;
}

    .filter-label:hover {
        color: #1769E2;
    }

    .filter-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #1769E2;
        cursor: pointer;
        flex-shrink: 0;
    }

.filter-label-text {
    line-height: 1.3;
}

#filterToggleIcon {
    display: none;
}

@media (max-width: 768px) {
    .svc-filter-sidebar {
        width: 100%;
        min-width: unset;
    }

    .svc-flex-row {
        flex-direction: column !important;
    }

    .filter-panel {
        position: static;
    }

    .filter-panel-header {
        cursor: pointer;
        margin-bottom: 0;
        border-bottom-color: transparent;
        transition: border-bottom-color .25s;
    }

        .filter-panel-header.open {
            margin-bottom: 14px;
            border-bottom-color: #e6ebf2;
        }

    #filterBody {
        overflow: hidden;
        max-height: 0;
        transition: max-height .3s ease, opacity .25s ease;
        opacity: 0;
    }

        #filterBody.open {
            max-height: 1000px;
            opacity: 1;
        }

    #filterToggleIcon {
        display: inline-block;
    }

        #filterToggleIcon.open {
            transform: rotate(180deg);
        }
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 8px;
}

.sort-link {
    color: #888;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    margin-left: 2px;
    transition: color .15s;
}

    .sort-link:hover,
    .sort-link.active {
        color: #1769E2;
        text-decoration: underline;
    }
