﻿/* ===================================================
   DMS DIEN LANH - CUSTOM STYLES
   =================================================== */

:root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --light-bg: #f8fafc;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Header & Navbar */
.site-navbar {
    transition: all 0.3s ease;
    background-color: #ffffff !important;
}

.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.brand-dms {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.hotline-pill {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hotline-pill:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Hero Image Banner Carousel */
.hero-carousel-section {
    position: relative;
    background: #0f172a;
    overflow: hidden;
    width: 100%;
}

.hero-carousel-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

/* Hover subtle zoom on linked banners */
a:hover .hero-carousel-img {
    transform: scale(1.015);
}

/* Carousel Prev/Next Buttons */
.hero-carousel-section .carousel-control-prev,
.hero-carousel-section .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 24px;
    transition: all 0.25s ease;
    opacity: 0.85;
    z-index: 10;
}

.hero-carousel-section .carousel-control-prev:hover,
.hero-carousel-section .carousel-control-next:hover {
    background: #0284c7;
    border-color: #0284c7;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Indicators */
.hero-carousel-section .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 10;
}

.hero-carousel-section .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 6px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-carousel-section .carousel-indicators .active {
    width: 52px;
    background-color: #0284c7;
}

/* Responsive Banner Heights */
@media (max-width: 1200px) {
    .hero-carousel-img {
        height: 440px;
    }
}

@media (max-width: 991.98px) {
    .hero-carousel-img {
        height: 350px;
    }
    .hero-carousel-section .carousel-control-prev,
    .hero-carousel-section .carousel-control-next {
        width: 38px;
        height: 38px;
        margin: 0 12px;
    }
}

@media (max-width: 576px) {
    .hero-carousel-img {
        height: 220px;
    }
    .hero-carousel-section .carousel-indicators {
        bottom: 10px;
    }
    .hero-carousel-section .carousel-indicators [data-bs-target] {
        width: 20px;
        height: 4px;
    }
    .hero-carousel-section .carousel-indicators .active {
        width: 32px;
    }
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: #cbd5e1;
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* Category Section Header */
.category-header-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.category-header-box:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.cat-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.cat-icon-badge.cat-other {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 6px 14px rgba(71, 85, 105, 0.25);
}

/* Service Cards - Modern & Premium */
.service-item-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8eef5;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 35px -8px rgba(37, 99, 235, 0.16), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
    border-color: #93c5fd;
}

.service-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.service-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item-card:hover .service-img-container img {
    transform: scale(1.08);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.38) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-item-card:hover .service-img-overlay {
    opacity: 0.2;
}

.service-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-warranty-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-body {
    padding: 22px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 8px;
    color: #0f172a;
}

.service-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.3rem;
    transition: color 0.2s ease;
}

.service-title a:hover {
    color: #2563eb;
}

.service-desc {
    color: #64748b;
    font-size: 0.885rem;
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.75rem;
}

/* Feature tags chips row */
.service-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.service-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Actions */
.service-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}

.btn-service-detail {
    background: #f8fafc;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 7px 15px;
    font-size: 0.825rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-service-detail i {
    transition: transform 0.2s ease;
}

.btn-service-detail:hover {
    background: #e2e8f0;
    color: #0f172a !important;
    border-color: #cbd5e1;
}

.btn-service-detail:hover i {
    transform: translateX(3px);
}

.btn-service-book {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.825rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    transition: all 0.25s ease;
}

.btn-service-book:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}



/* Service Price Box & Discount Badges */
.service-discount-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
    letter-spacing: 0.2px;
}

.service-price-box {
    margin-bottom: 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all 0.25s ease;
}

.service-item-card:hover .service-price-box {
    background: #f0f7ff;
    border-color: #bfdbfe;
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge-percent {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 50px;
    border: 1px solid #fecaca;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.price-current.price-standard {
    color: #0284c7;
}

.price-currency {
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 2px;
}

.price-original {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.price-contact {
    font-size: 0.925rem;
    font-weight: 700;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
}

/* Floating Contact Group (Phone & Zalo cố định bên phải) */
.floating-contact-group {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-contact-btn {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    text-decoration: none !important;
    position: relative;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.floating-contact-btn .btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.floating-contact-btn .btn-label {
    padding: 0 10px 0 18px;
    font-weight: 600;
    font-size: 13.5px;
    color: #ffffff;
    white-space: nowrap;
    display: none;
}

@media (min-width: 768px) {
    .floating-contact-btn .btn-label {
        display: inline-block;
    }
}

/* Phone Button (Hotline) with Shake & Pulse */
.floating-contact-btn.btn-phone {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.floating-contact-btn.btn-phone .btn-icon {
    background-color: #dc2626;
    animation: phone-shake 1.8s infinite ease-in-out;
}

.floating-contact-btn.btn-phone .btn-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(239, 68, 68, 0.45);
    animation: contact-pulse 2s infinite ease-out;
    z-index: -1;
}

/* Zalo Button with Bounce & Pulse */
.floating-contact-btn.btn-zalo {
    background: linear-gradient(135deg, #0284c7 0%, #0068ff 100%);
}

.floating-contact-btn.btn-zalo .btn-icon {
    background-color: #0068ff;
    animation: zalo-bounce 2.2s infinite ease-in-out;
}

.floating-contact-btn.btn-zalo .zalo-badge {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: #ffffff;
    color: #0068ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.floating-contact-btn.btn-zalo .btn-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(0, 104, 255, 0.4);
    animation: contact-pulse 2s infinite ease-out 0.6s;
    z-index: -1;
}

.floating-contact-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
    color: #ffffff !important;
}

@keyframes phone-shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-14deg); }
    20%, 40% { transform: rotate(14deg); }
    50% { transform: rotate(0deg); }
}

@keyframes zalo-bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(2px); }
    80% { transform: translateY(0); }
}

@keyframes contact-pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Back to top button (Nằm phía trên các icon nổi góc phải) */
.back-to-top {
    position: fixed;
    bottom: 148px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1030;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.back-to-top:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}


/* Pricing Section */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px 0;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    padding-top: 25px;
    font-size: 0.875rem;
}

/* Customer Reviews Section Modern Design */
.reviews-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 70px 0;
}

.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 24px;
    border: 1px solid #e8eef5;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7 0%, #3b82f6 50%, #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover {
    transform: translateY(-7px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 32px -8px rgba(37, 99, 235, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
}

.review-card:hover::before {
    opacity: 1;
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    display: flex;
    gap: 2px;
}

.review-verified-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.review-service-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    align-self: flex-start;
}

.review-text-wrap {
    position: relative;
    flex-grow: 1;
    margin-bottom: 20px;
}

.review-quote-icon {
    position: absolute;
    right: -4px;
    top: -12px;
    font-size: 3.2rem;
    color: #e2e8f0;
    opacity: 0.55;
    pointer-events: none;
    line-height: 1;
}

.review-comment {
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    font-style: normal;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}

.review-avatar-wrap {
    flex-shrink: 0;
}

.review-avatar-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-avatar-initial {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.review-author-name {
    font-size: 0.975rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.review-author-loc {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

/* Category Services Slider (Single Horizontal Row with Smooth Scroll) */
.category-slider-wrapper {
    position: relative;
    margin: 0 -4px;
    padding: 0 4px;
}

.category-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 22px 4px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.category-slider-track::-webkit-scrollbar {
    height: 6px;
}

.category-slider-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.category-slider-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.category-slider-track::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.category-slider-item {
    flex: 0 0 350px;
    max-width: 360px;
    scroll-snap-align: start;
    display: flex;
}

.category-slider-item .service-item-card {
    width: 100%;
}

@media (max-width: 768px) {
    .category-slider-item {
        flex: 0 0 85%;
        max-width: 320px;
    }
}

.slider-nav-btns .slider-arrow-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #334155;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.slider-nav-btns .slider-arrow-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.08);
}


/* Customer Reviews Slider (Single Horizontal Row) */
.reviews-slider-wrapper {
    position: relative;
    padding: 0 66px;
}

.reviews-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 24px 4px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.reviews-slider-track::-webkit-scrollbar {
    height: 6px;
}

.reviews-slider-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.reviews-slider-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.reviews-slider-track::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.review-slider-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 320px;
    max-width: 420px;
    scroll-snap-align: start;
    display: flex;
}

@media (max-width: 1200px) {
    .review-slider-item {
        flex: 0 0 calc(50% - 12px);
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .reviews-slider-wrapper {
        padding: 0 42px;
    }
    .review-slider-item {
        flex: 0 0 90%;
        min-width: 270px;
    }
}

@media (max-width: 480px) {
    .reviews-slider-wrapper {
        padding: 0 32px;
    }
    .review-slider-item {
        flex: 0 0 94%;
        min-width: 250px;
    }
}

.review-slider-item .review-card {
    width: 100%;
    height: 100%;
}

/* Floating side navigation buttons for reviews slider - well separated from cards */
.review-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.15rem;
}

.review-slider-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.review-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.review-prev-btn {
    left: 4px;
}

.review-next-btn {
    right: 4px;
}

@media (max-width: 768px) {
    .review-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .review-prev-btn {
        left: 0px;
    }
    .review-next-btn {
        right: 0px;
    }
}

@media (max-width: 480px) {
    .review-slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .review-prev-btn {
        left: -2px;
    }
    .review-next-btn {
        right: -2px;
    }
}

/* ===================================================
   5-STAR COMMITMENTS (CAM KẾT 5 SAO)
   =================================================== */
.commitments-5star-section {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 70px 0;
}

.commitment-card-5star {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.commitment-card-5star:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
    border-color: #38bdf8;
}

.commitment-star-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.commitment-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.commitment-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.commitment-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 14px;
    flex-grow: 1;
}

.commitment-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #059669;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}

/* ===================================================
   BRAND PARTNERS LOGOS SHOWCASE
   =================================================== */
.brand-partners-section {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.brand-partner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: all 0.28s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.brand-partner-card:hover {
    transform: translateY(-4px);
    border-color: #0284c7;
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.12);
}

.brand-partner-logo-box {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.brand-partner-logo {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.brand-partner-card:hover .brand-partner-logo {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.brand-partner-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.brand-partner-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.brand-partner-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: auto;
}