/* ROOT VARIABLES - Lấy cảm hứng trực tiếp từ ảnh logo */
:root {
    --brand-blue: #005bac; /* Màu xanh nền chuẩn theo ảnh */
    --brand-blue-hover: #004a8f;
    --brand-red: #e31837; /* Màu đỏ của chữ 'fone' */
    --brand-red-hover: #c4132e;
    
    --text-main: #333333;
    --bg-light-blue: #ebf4fc;
    --bg-dark-blue: #00284d; /* Dùng cho footer */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* BRAND UTILITIES */
.brand-text-blue { color: var(--brand-blue) !important; }
.brand-bg-blue { background-color: var(--brand-blue) !important; }
.bg-light-blue { background-color: var(--bg-light-blue) !important; }

/* Buttons */
.btn-brand-blue {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}
.btn-brand-blue:hover {
    background-color: var(--brand-blue-hover);
    color: #fff;
}
.btn-brand-red {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}
.btn-brand-red:hover {
    background-color: var(--brand-red-hover);
    color: #fff;
}
.btn-outline-brand {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: transparent;
}
.btn-outline-brand:hover, .btn-outline-brand.active {
    background-color: var(--brand-blue);
    color: #fff !important;
}
.brand-hover-red:hover {
    color: var(--brand-red) !important;
}

/* SECTION TITLES */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--brand-red);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* HEADER & HERO DESKTOP */
.header {
    z-index: 1020;
}
.main-logo {
	margin-top: -10px;
    height: 35px;
    transition: height 0.3s ease;
}
.hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.main-menu .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 1.2rem 1.2rem;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.main-menu .nav-link:hover, .main-menu .nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.search-box input {
    font-size: 0.9rem;
    min-width: 200px;
}

/* MOBILE CENTERING & RESPONSIVE LOGIC */
@media (max-width: 991.98px) {
    .header-container {
        justify-content: center !important;
        min-height: 60px;
    }
    .logo {
        margin: 0 auto;
    }
    .main-logo {
        height: 28px; /* Co nhỏ logo trên màn hình điện thoại */
    }
    .hero-img {
        height: 220px; /* Co chiều cao banner để không bị cắt tỷ lệ */
    }
    .btn-mobile-menu {
        position: absolute;
        left: 15px;
        padding: 0;
    }
    .header-actions {
        position: absolute;
        right: 15px;
    }
}

/* FEATURES */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 91, 172, 0.1) !important;
}

/* CARDS (Packages & Solutions) */
.pkg-card, .solution-card {
    transition: all 0.3s ease;
    border: 1px solid #eaeaea !important;
}
.pkg-card:hover, .solution-card:hover {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 15px 35px rgba(0, 91, 172, 0.15) !important;
    transform: translateY(-8px);
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark-blue);
    color: #b3d4ff;
}
.footer-links a {
    color: #b3d4ff;
    text-decoration: none;
    line-height: 2.2;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.social-links a {
    transition: transform 0.3s;
}
.social-links a:hover {
    transform: scale(1.2);
    color: var(--brand-red) !important;
}

/* SLICK CAROUSEL CUSTOMIZATION (ARROWS & DOTS) */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--brand-blue);
    font-size: 1.2rem;
    transition: all 0.3s;
    cursor: pointer;
}
.slick-prev:hover, .slick-next:hover {
    background-color: var(--brand-blue);
    color: #fff;
}
.slick-prev { left: 15px; }
.slick-next { right: 15px; }
.slick-prev::before, .slick-next::before { display: none; } /* Ẩn font mặc định của slick */

.slick-dots {
    bottom: 15px; /* Đẩy dots lùi lên trên đè vào ảnh */
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 25px; /* Chiều dài thanh dot */
    height: 5px;
    margin: 0 4px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.5); /* Màu dot khi chưa active */
    border-radius: 10px; /* Bo góc thành dạng viên thuốc */
    transition: all 0.3s;
    border: 0;
    outline: none;
    display: block;
    color: transparent;
}
.slick-dots li button:before {
    display: none; /* Ẩn chấm tròn nhỏ xíu mặc định */
}
.slick-dots li.slick-active {
    width: 35px; /* Kéo dài dot đang xem */
}
.slick-dots li.slick-active button {
    background-color: var(--brand-red); /* Dùng màu đỏ MobiFone để làm nổi bật dot active */
}

/* FLOATING ACTIONS (Phone ring animation) */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
}
.floating-actions .btn {
    transition: transform 0.3s ease;
}
.floating-actions .btn:hover {
    transform: scale(1.1);
}
@keyframes phone-ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    50% { transform: rotate(0); }
    100% { transform: rotate(0); }
}
.call-btn i {
    animation: phone-ring 2s infinite ease-in-out;
}

/* -----------------------MEGA MENU STYLES-------------------------- */
.main_menu {
    position: static; /* Quan trọng để sub_menu tràn toàn màn hình */
}

.nav_menu .nav-link {
    color: #fff;
    padding: 1.5rem 1rem;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

/* Ẩn mặc định */
.sub_menu_desktop {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    border-top: 1px solid #eee;
}

/* Hiển thị khi hover vào li hoặc chính nó */
.nav_menu li:hover ~ .sub_menu_desktop,
.has-submenu:hover .sub_menu_desktop,
.sub_menu_desktop:hover {
    display: block;
}

/* Style cho Card Sub Menu */
.cardSubMenu {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}

.tab_subMenu {
    width: 30%;
    border-right: 1px solid #f0f0f0;
    padding: 20px 0;
}

.item_tab_menu {
    display: block;
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.item_tab_menu.active, .item_tab_menu:hover {
    background: var(--bg-light-blue);
    color: var(--brand-blue);
}

.tab_subMenu_content {
    width: 70%;
    padding: 30px;
}

.cardSolution {
    display: none; /* Ẩn tất cả card */
    gap: 30px;
}

.cardSolution.active {
    display: flex; /* Chỉ hiện card active */
}

.imgSolution img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.list_solution {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Chia 2 cột cho danh sách link */
    gap: 10px;
    margin-bottom: 20px;
}

.item_solution {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #444;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.item_solution:hover {
    background: #f8f9fa;
    color: var(--brand-red);
}

.btn_primary {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
}

/* Container danh sách giải pháp */
.list_solution {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Chia 2 cột đều nhau */
    gap: 12px 20px; /* Khoảng cách giữa các hàng và cột */
    margin-bottom: 25px;
}

/* Từng mục giải pháp */
.item_solution {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* Số thứ tự (Index) - Biến thành Badge tròn chuyên nghiệp */
.item_solution .index {
    width: 32px;
    height: 32px;
    min-width: 32px; /* Đảm bảo không bị co bóp */
    background-color: var(--bg-light-blue); /* Màu xanh nhạt MobiFone */
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 15px; /* Tạo khoảng cách với tên */
    border: 1px solid rgba(0, 91, 172, 0.1);
    transition: all 0.3s ease;
}

/* Tên giải pháp */
.item_solution .name {
    flex-grow: 1;
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.3s ease;
}

/* Icon mũi tên bên phải */
.item_solution .view_detail {
    color: #ccc;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

/* --- HIỆU ỨNG HOVER --- */
.item_solution:hover {
    border-color: var(--brand-blue);
    background-color: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 91, 172, 0.08);
}

.item_solution:hover .index {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

.item_solution:hover .name {
    color: var(--brand-blue);
}

.item_solution:hover .view_detail {
    color: var(--brand-red);
    transform: translateX(3px); /* Nhích nhẹ mũi tên khi hover */
}


/* MOBILE MENU (OFFCANVAS) CUSTOMIZATION */
.offcanvas {
    width: 300px !important;
}

.offcanvas-header {
    background-color: var(--brand-blue);
    color: #fff;
}

.mobile-nav-list {
    padding: 0;
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid #eee;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.mobile-nav-link:active, .mobile-nav-link:hover {
    background-color: var(--bg-light-blue);
    color: var(--brand-blue);
}

/* Sub-menu on Mobile (Dạng Accordion) */
.mobile-submenu {
    background-color: #f9f9f9;
    padding-left: 20px;
    display: none; /* Sẽ điều khiển bằng JS hoặc dùng class .show */
}

.mobile-submenu .mobile-nav-link {
    font-weight: 400;
    font-size: 0.9rem;
    padding: 10px 20px;
}
/* Cập nhật Header để chứa Submenu chuẩn */
.header {
    position: sticky;
    top: 0;
    width: 100%;
}

.main_menu {
    position: static; /* Bắt buộc để sub_menu căn theo container cha lớn nhất */
}

.sub_menu_desktop {
    left: 0;
    right: 0;
    width: 100vw; /* Tràn toàn bộ chiều ngang màn hình */
    margin-left: calc(-50vw + 50%); /* Kỹ thuật căn giữa menu tràn viền */
    background: #ffffff;
    border-bottom: 4px solid var(--brand-red);
    padding: 20px 0;
}

.cardSubMenu {
    max-width: 1300px; /* Căn nội dung menu theo container chuẩn */
    margin: 0 auto;
    display: flex;
}

/* Fix lỗi hiển thị z-index */
.nav_menu li.has-submenu:hover .sub_menu_desktop {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Offcanvas Mobile */
.mobile-nav-list {
    list-style: none;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f1f1f1;
}

.mobile-nav-link {
    padding: 15px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

/* Nút bấm mở rộng menu con */
.btn-toggle-sub {
    border: none;
    background: transparent;
    padding: 15px 20px;
    color: #999;
    transition: transform 0.3s;
}

.btn-toggle-sub[aria-expanded="true"] {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

/* Style cho menu con */
.mobile-submenu {
    background-color: #f8fbff;
}

.mobile-submenu ul li a {
    padding: 12px 20px 12px 45px;
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #edf2f7;
}

.mobile-submenu ul li:last-child a {
    border-bottom: none;
}

/* Tiêu đề nhóm trong menu con */
.submenu-group-title {
    padding: 10px 20px 5px 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-toggle-sub {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-left: 1px solid #eee; /* Phân cách nhẹ với phần chữ */
}

/* Đảm bảo menu con hiện ra khi có class .show từ Bootstrap */
.mobile-submenu.collapse.show {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Tăng độ ưu tiên cho màu sắc tiêu đề nhóm trên mobile */
.submenu-group-title {
    display: block;
    padding: 10px 20px;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: bold;
    color: var(--brand-blue);
    text-transform: uppercase;
}
/* -----------------------MEGA MENU STYLES-------------------------- */

/* -----------------------LAYOUT SIM SỐ-------------------------- */
/* Định nghĩa màu thương hiệu Mobifone (Giả định) */
:root {
    --brand-blue: #005bac;
    --brand-red: #ed1c24;
}

.brand-text-blue { color: var(--brand-blue); }
.brand-bg-blue { background-color: var(--brand-blue); }
.btn-brand-red { background-color: var(--brand-red); color: white; border: none; }
.btn-brand-red:hover { background-color: #c41219; color: white; }

.btn-outline-brand {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}
.btn-outline-brand:hover, .btn-outline-brand.active {
    background-color: var(--brand-blue);
    color: white;
}

/* Hiệu ứng cho từng dòng SIM */
.sim-item {
    transition: all 0.2s ease-in-out;
}
.sim-item:hover {
    background-color: #f8f9fa;
}

/* Tối ưu cho Mobile */
@media (max-width: 767.98px) {
    .sim-item {
        padding: 15px !important;
        margin-bottom: 5px;
    }
    .brand-text-blue {
        font-size: 1.25rem;
    }
    .sim-item .btn-brand-red {
        padding: 10px;
        font-size: 1rem;
    }
}

/* Animation mượt mà khi chuyển tab */
.sim-tab-content {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -----------------------LAYOUT GÓI CƯỚC-------------------------- */
/* Ẩn thanh cuộn mặc định của trình duyệt */
.pkg-slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;  /* Firefox */
    padding-bottom: 10px; /* Chừa chỗ cho shadow của card */
}

.pkg-slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Kích thước Slide: Mặc định Mobile là 100% (1 gói/hàng) */
.pkg-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 10px; /* Tạo khoảng cách 20px giữa các gói */
    transition: opacity 0.3s ease;
}

/* Desktop: 33.33% (3 gói/hàng) */
@media (min-width: 992px) {
    .pkg-slide {
        flex: 0 0 33.3333%;
    }
}

/* Nút điều hướng mũi tên */
.slider-nav-btn {
    width: 45px;
    height: 45px;
    color: var(--brand-blue, #005bac);
    opacity: 0.8;
    transition: all 0.2s;
}
.slider-nav-btn:hover {
    opacity: 1;
    background-color: var(--brand-blue, #005bac);
    color: white;
}

/* Ẩn class d-none có kèm transition */
.pkg-slide.d-none {
    display: none !important;
}
/* -----------------------LAYOUT GÓI CƯỚC-------------------------- */
/* ================= CSS GIẢI PHÁP SỐ ĐỘT PHÁ ================= */
.digital-solutions-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

/* 1. TABS (Nút bộ lọc) */
.solution-tabs .btn {
    border-width: 1.5px;
    font-weight: 600;
    color: #555;
    border-color: #ddd;
    background: #fff;
    transition: all 0.3s ease;
}

.solution-tabs .btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.solution-tabs .btn.active {
    background-color: var(--brand-blue) !important;
    color: #fff !important;
    border-color: var(--brand-blue) !important;
    box-shadow: 0 4px 10px rgba(0, 91, 172, 0.3);
}

/* 2. SLIDER CONTAINER */
.solution-slider {
    padding: 0 15px; /* Vùng đệm an toàn để mũi tên không bị tràn màn hình */
}

.solution-slider .px-3 {
    padding-top: 15px; /* Tạo không gian cho box-shadow của card không bị cắt */
    padding-bottom: 15px;
}

/* 3. MŨI TÊN ĐIỀU HƯỚNG (ARROWS) */
/* Xóa bỏ hoàn toàn UI mũi tên cũ của Slick */
.solution-slider .slick-prev::before, 
.solution-slider .slick-next::before {
    display: none !important;
}

/* Tạo hình khối nút mũi tên mới */
.solution-slider .slick-prev, 
.solution-slider .slick-next {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
}

/* Chỉnh vị trí lùi vào trong vùng đệm */
.solution-slider .slick-prev { left: -5px; }
.solution-slider .slick-next { right: -5px; }

/* Style cho Icon FontAwesome bên trong */
.solution-slider .slick-prev i, 
.solution-slider .slick-next i {
    color: var(--brand-blue);
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Hiệu ứng Hover sang xịn mịn */
.solution-slider .slick-prev:hover, 
.solution-slider .slick-next:hover {
    background: var(--brand-blue) !important;
    box-shadow: 0 6px 20px rgba(0, 91, 172, 0.2) !important;
    transform: translateY(-2px); /* Hơi nảy lên một chút */
}

.solution-slider .slick-prev:hover i, 
.solution-slider .slick-next:hover i {
    color: #ffffff !important; /* Đổi màu icon thành trắng khi nền thành xanh */
}

/* 4. CHẤM TRÒN ĐIỀU HƯỚNG (DOTS) */
.solution-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Khoảng cách giữa các chấm */
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.solution-slider .slick-dots li {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* Chấm mặc định (Màu xám) */
.solution-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: #e0e0e0; 
    border: none;
    font-size: 0;
    color: transparent; 
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

/* Xóa dấu chấm text rác của thư viện */
.solution-slider .slick-dots li button::before {
    display: none !important;
    content: none !important;
}

/* Chấm đang active (Màu xanh MobiFone) */
.solution-slider .slick-dots li.slick-active button {
    background: var(--brand-blue) !important;
    transform: scale(1.2); /* Cho chấm đang chọn to lên 1 chút tạo điểm nhấn */
}
/* -----------------------LAYOUT GPS-------------------------- */
/* ================= CSS SECTION TIN TỨC ================= */

/* Tabs Tin tức */
.news-tabs .nav-link {
	color: #6c757d; /* Màu xám cho tab chưa active */
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
	padding-bottom: 0.5rem !important;
}

.news-tabs .nav-link:hover {
	color: var(--mobi-blue, #005bac) !important;
}

.news-tabs .nav-link.active {
	color: var(--mobi-blue, #005bac) !important;
	border-bottom: 2px solid var(--mobi-blue, #005bac); /* Đường gạch chân màu xanh */
}

/* Nút Xem tất cả */
.view-all-link {
	color: var(--mobi-blue, #005bac);
	font-size: 0.95rem;
	transition: opacity 0.3s ease;
}
.view-all-link:hover {
	color: var(--mobi-blue, #005bac);
	opacity: 0.7;
}

/* Hiệu ứng zoom nhẹ cho ảnh khi hover */
.feature-news-img img {
	transition: transform 0.4s ease;
}
.feature-news-img:hover img {
	transform: scale(1.03);
}

/* Danh sách tin phụ */
.news-list li a {
	font-size: 1.05rem;
	transition: color 0.2s ease;
}

/* Hiệu ứng đổi màu xanh khi hover tiêu đề bài viết */
.title-hover {
	transition: color 0.2s ease;
}
.title-hover:hover, 
.news-list li a:hover {
	color: var(--mobi-blue, #005bac) !important;
}	

/* ================= CSS TIỆN ÍCH CHUẨN ================= */

/* Tiêu đề & Link */
.text-mobi-blue { color: var(--mobi-blue, #005bac) !important; }
.link-chi-tiet {
    color: var(--mobi-blue, #005bac);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}
.link-chi-tiet:hover { opacity: 0.7; color: var(--mobi-blue, #005bac); }

/* Card Container */
.card-tien-ich {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    transition: transform 0.3s ease;
}
.card-tien-ich:hover {
    transform: translateY(-4px);
}

/* Ảnh và Đường viền xanh dương */
.img-tien-ich {
    border-bottom: 4px solid var(--mobi-blue, #005bac);
}
.img-tien-ich img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* ===== MOBILE: TỐI ƯU HIỂN THỊ ===== */
@media (max-width: 768px) {
    /* Tối ưu kích thước hình ảnh trên màn hình nhỏ */
    .img-tien-ich img {
        height: auto;
        max-height: 200px;
    }

    /* Thu gọn khoảng cách padding bên trong thẻ */
    .card-tien-ich .card-body {
        padding: 16px !important;
    }

    /* Căn giữa tiêu đề chính */
    .container_frame h4 {
        text-align: center;
        font-size: 20px;
    }
}