 :root {
    --primary-orange: #f05a22;
    --dark-navy: #001529;
    --border-light: #f0f0f0;
}
body { font-family: 'Lato', sans-serif; overflow-x: hidden; }

.hero-section {
    max-width: 1240px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 260px 1fr 200px;
    /* Cấu trúc 3 cột image_bea195.jpg */
    gap: 15px;
    font-family: 'Lato', sans-serif;
}

/* SIDEBAR CHÍNH */
.sidebar-menu {
    background: #fff;
    border: 1px solid var(--border-light);
    position: relative;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parent-item {
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

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

.side-link {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.side-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    object-fit: contain;
}

.arrow-right {
    margin-left: auto;
    color: #ccc;
    font-size: 12px;
}

/* MENU CON XỔ NGANG (Hover) */
.submenu {
    display: none;
    position: absolute;
    top: -1px;
    left: 100%;
    /* Đẩy sang phải */
    width: 280px;
    background: #fff;
    border: 1px solid var(--border-light);
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.05);
    z-index: 100;
    min-height: calc(100% + 2px);
}

.parent-item:hover {
    background: #fafafa;
}

.parent-item:hover>.submenu {
    display: block;
}

.parent-item:hover .side-link {
    color: var(--primary-orange);
}

.submenu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    border-bottom: 1px solid #f9f9f9;
}

.sub-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    opacity: 0.7;
}

.submenu-link:hover {
    background: #fff5f2;
    color: var(--primary-orange);
    padding-left: 25px;
    transition: 0.3s;
}

/* BANNER & SERVICE (Giữ nguyên theo ảnh mẫu) */
.main-banner {
    background: #f4f7f9;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-banner h1 {
    font-size: 44px;
    color: var(--primary-orange);
    font-weight: 900;
    margin: 10px 0;
}

.btn-buy {
    background: var(--dark-navy);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    width: fit-content;
    font-weight: 700;
}

.service-side {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-item img {
    width: 32px;
}

.service-txt strong {
    display: block;
    font-size: 12px;
    color: var(--dark-navy);
}
.main-banner-slider {
    position: relative;
    height: 400px;
    /* Khớp với chiều cao sidebar */
    overflow: hidden;
}

.banner-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    display: flex;
    align-items: center;
    padding: 60px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-content {
    max-width: 500px;
    z-index: 3;
}

/* Tùy chỉnh Dots giống image_bea195.jpg */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-orange);
    width: 25px;
    /* Kéo dài dot khi active như mẫu */
    border-radius: 10px;
}
/* ĐIỀU CHỈNH MOBILE (Dưới 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr; /* Chuyển 3 cột thành 1 cột */
        margin: 10px;
        gap: 10px;
    }

    /* Ẩn Sidebar Menu trái trên mobile để dùng Hamburger */
    .sidebar-menu {
        display: none; 
    }

    /* Ẩn cột Service bên phải hoặc chuyển thành hàng ngang */
    .service-side {
        flex-direction: row;
        overflow-x: auto; /* Cho phép vuốt ngang các chính sách */
        gap: 20px;
        padding: 15px;
    }
    .service-item {
        flex-shrink: 0;
        min-width: 150px;
    }

    /* Chỉnh lại chiều cao và font chữ Banner */
    .main-banner-slider {
        height: 300px;
    }
    .banner-slide {
        padding: 30px;
        background-position: center; /* Căn giữa ảnh trên mobile */
    }
    .main-banner h1 {
        font-size: 28px;
    }
}
.main-banner-slider {
        position: relative;
        width: 100%;
        height: 550px; /* Chiều cao cố định để không vỡ layout */
        overflow: hidden;
    }

    .banner-slide {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center; /* Căn giữa nội dung theo chiều dọc */
        justify-content: flex-start; /* Nội dung nằm bên trái */
        padding-left: 10%; /* Tạo khoảng trống lề trái */
        position: relative;
    }

    /* Lớp phủ nhẹ giúp chữ nổi bật trên ảnh sáng */
    .banner-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 60%);
        z-index: 1;
    }

    .banner-content {
        position: relative;
        z-index: 2;
        max-width: 600px;
        color: var(--white-clean);
    }

    /* Tiêu đề phụ */
    .sub-title {
        font-size: 18px;
        letter-spacing: 3px;
        font-weight: 400;
        margin-bottom: 15px;
        text-transform: uppercase;
    }

    /* Tiêu đề chính lớn */
    .main-title {
        font-size: 56px;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .main-title .highlight {
        color: var(--primary-orange);
    }

    /* Đoạn mô tả */
    .description {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 35px;
        opacity: 0.9;
        font-weight: 300;
    }

    /* Nút bấm (CTA) */
    .banner-btns {
        display: flex;
        gap: 20px;
    }

    .btn-primary, .btn-secondary {
        padding: 14px 30px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }

    /* Nút Mua ngay: Cam nổi bật */
    .btn-primary {
        background-color: var(--primary-orange);
        color: white;
    }

    .btn-primary:hover {
        background-color: #d4491a;
        transform: translateY(-3px);
    }

    /* Nút Workshop: Khung đen hiện đại */
    .btn-secondary {
        background-color: transparent;
        color: white;
        border: 2px solid white;
    }

    .btn-secondary:hover {
        background-color: white;
        color: var(--dark-navy);
    }

    /* MOBILE RESPONSIVE */
    @media (max-width: 768px) {
        .main-banner-slider { height: 400px; }
        .banner-slide { padding-left: 20px; justify-content: center; text-align: center; }
        .banner-overlay { background: rgba(0,0,0,0.4); } /* Phủ mờ toàn bộ trên mobile */
        
        .main-title { font-size: 32px; }
        .sub-title { font-size: 14px; }
        .description { font-size: 15px; }
        .banner-btns { flex-direction: column; align-items: center; gap: 10px; }
        .btn-primary, .btn-secondary { width: 100%; max-width: 280px; }
    }
        .main-banner-slider {
            position: relative;
            width: 100%;
            height: 380px;
            /* Giảm từ 550px xuống 450px */
            overflow: hidden;
        }
    
        .banner-slide {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            padding-left: 8%;
            /* Thu hẹp lề một chút */
            position: relative;
        }
    
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
            z-index: 1;
        }
    
        .banner-content {
            position: relative;
            z-index: 2;
            max-width: 550px;
            color: var(--white-clean);
        }
    
        /* Tiêu đề phụ - làm gọn lại */
        .sub-title {
            font-size: 15px;
            letter-spacing: 2px;
            margin-bottom: 10px;
            text-transform: uppercase;
            color: var(--white-clean);
        }
    
        /* Tiêu đề chính - giảm kích thước font */
        .main-title {
            font-size: 42px;
            /* Giảm từ 56px xuống 42px */
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 15px;
        }
    
        .main-title .highlight {
            color: var(--primary-orange);
        }
    
        /* Mô tả - làm ngắn gọn */
        .description {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 25px;
            opacity: 0.95;
        }
    
        .banner-btns {
            display: flex;
            gap: 15px;
        }
    
        .btn-primary,
        .btn-secondary {
            padding: 12px 25px;
            /* Giảm padding cho nút */
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
            border-radius: 4px;
            transition: 0.3s;
            text-transform: uppercase;
        }
    
        .btn-primary {
            background: var(--primary-orange);
            color: #fff;
        }
    
        .btn-secondary {
            border: 2px solid #fff;
            color: #fff;
        }
    
        /* MOBILE RESPONSIVE - Giảm sâu chiều cao */
        @media (max-width: 768px) {
            .main-banner-slider {
                height: 320px;
            }
    
            /* Mobile gọn gàng */
            .banner-slide {
                padding-left: 15px;
                padding-right: 15px;
                justify-content: center;
                text-align: center;
            }
    
            .main-title {
                font-size: 28px;
                margin-bottom: 10px;
            }
    
            .sub-title {
                font-size: 12px;
                margin-bottom: 5px;
            }
    
            .description {
                font-size: 14px;
                margin-bottom: 20px;
            }
    
            .banner-btns {
                gap: 10px;
            }
    
            .btn-primary,
            .btn-secondary {
                padding: 10px 20px;
                font-size: 12px;
            }
        }
                .banner-slide {
                    display: none;
                    /* Ẩn tất cả */
                }
        
                .banner-slide.active {
                    display: block !important;
                    /* Chỉ hiện tấm có class active */
                    background-size: cover;
                    background-position: center;
                    min-height: 500px;
                    /* Đảm bảo khung hình có chiều cao */
                }