﻿:root {
    --bmf-primary-color: #103561;
    --bmf-secondary-color: #1A5296;
    --bmf-accent-color: #E8F0FE;
    --bmf-text-color: #333333;
    --bmf-text-light: #777777;
    --bmf-white: #ffffff;
    --bmf-transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--bmf-text-color);
    background-color: var(--bmf-white);
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
/* Utility Classes */
.bmf-menu{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.bmf-menu li{
    background:#122e49;
    color:#fff;
    border-radius:5px;
}
    .bmf-menu li a.bmf-home-mega-link{
        background:none;
        color:#fff;
    }
    .bmf-menu li:hover > a.bmf-home-mega-link {
        background: #fff;
        color: #122e49;
        border: 1px solid #122e49;
    }
        .bmf-home-bg-primary {
            background-color: var(--bmf-primary-color) !important;
        }

.bmf-home-bg-accent {
    background-color: var(--bmf-accent-color) !important;
}
.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb-item:before {
    color: #fff;
}
.bmf-home-btn-primary {
    background-color: var(--bmf-primary-color);
    color: var(--bmf-white);
    border: 1px solid var(--bmf-primary-color);
    transition: var(--bmf-transition);
    border-radius: 5px;
}

    .bmf-home-btn-primary:hover {
        background-color: var(--bmf-white);
        color: var(--bmf-primary-color);
    }

.bmf-home-btn-outline {
    background-color: transparent;
    color: var(--bmf-primary-color);
    border: 1px solid var(--bmf-primary-color);
    transition: var(--bmf-transition);
    padding: 0px 25px;
    border-radius: 5px;
}

    .bmf-home-btn-outline:hover {
        background-color: var(--bmf-primary-color);
        color: var(--bmf-white);
    }

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bmf-home-animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; /* Starts hidden, animation will show it */
}

.bmf-home-delay-1 {
    animation-delay: 0.2s;
}

.bmf-home-delay-2 {
    animation-delay: 0.4s;
}

.bmf-home-delay-3 {
    animation-delay: 0.6s;
}

/* 1. Header & Navigation */
.bmf-home-header {
    background-color: var(--bmf-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: var(--bmf-transition);
}

    .bmf-home-header .nav-link {
        color: var(--bmf-text-color);
        font-weight: 500;
        margin: 0 10px;
        transition: var(--bmf-transition);
        position: relative;
    }

        .bmf-home-header .nav-link:hover,
        .bmf-home-header .nav-link.active {
            color: var(--bmf-primary-color);
        }

        .bmf-home-header .nav-link::after {
            content: '';
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            transition: var(--bmf-transition);
            transform: translateX(-50%);
        }

.bmf-home-brand-logo {
    color: var(--bmf-primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .bmf-home-brand-logo i {
        font-size: 28px;
    }

.bmf-home-mega-link {
    color: var(--bmf-text-color);
    transition: var(--bmf-transition);
    border-radius: 5px;
    font-size: 0.95rem;
    display: block;
}

    .bmf-home-mega-link:hover {
        background-color: var(--bmf-accent-color);
        color: var(--bmf-primary-color);
        padding-left: 10px !important;
    }

.bmf-home-mega-title {
    color: var(--bmf-primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--bmf-accent-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* 2. About Section */
.bmf-home-about {
    padding: 60px 0; /* Đã giảm khoảng cách từ 100px xuống 60px */
    background-color: var(--bmf-white);
}

.bmf-home-about-img-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.bmf-home-about-img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.bmf-home-about-img-wrapper:hover .bmf-home-about-img {
    transform: scale(1.05);
}

.bmf-home-about-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--bmf-primary-color);
    color: var(--bmf-white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* 3. Services Section */
.bmf-home-service {
    padding: 80px 0;
    background-color: var(--bmf-accent-color);
}

.bmf-home-service-card {
    background: var(--bmf-white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--bmf-transition);
    border: 1px solid transparent;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .bmf-home-service-card:hover {
        transform: translateY(-10px);
        border-color: var(--bmf-primary-color);
        box-shadow: 0 15px 30px rgba(16, 53, 97, 0.15);
    }

.bmf-home-service-icon {
    font-size: 40px;
    color: var(--bmf-primary-color);
    margin-bottom: 20px;
    transition: var(--bmf-transition);
}

.bmf-home-service-card:hover .bmf-home-service-icon {
    transform: scale(1.1);
}

/* 4. Why Choose Us Section */
.bmf-home-why {
    padding: 80px 0;
}

.bmf-home-why-list .d-flex {
    margin-bottom: 25px;
}

.bmf-home-why-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 5. Testimonials Section (Custom indicators top right) */
.bmf-home-testimonial {
    padding: 80px 0;
    background-color: var(--bmf-primary-color);
    color: var(--bmf-white);
}

.bmf-home-testimonial-header {
    position: relative;
    margin-bottom: 40px;
}


    .bmf-home-testimonial .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--bmf-white);
        opacity: 0.5;
        margin: 0 5px;
        border: none;
        transition: var(--bmf-transition);
    }

    .bmf-home-testimonial .carousel-indicators .active {
        opacity: 1;
        transform: scale(1.2);
        background-color: var(--bmf-accent-color);
    }

.bmf-home-testimonial-card {
    background-color: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* 6. Blog/Post Slide */
.bmf-home-blog {
    padding: 80px 0;
    background-color: var(--bmf-accent-color);
}

.bmf-home-blog-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--bmf-transition);
}

    .bmf-home-blog-card:hover {
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.bmf-home-blog-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.bmf-home-blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bmf-home-blog-card:hover img {
    transform: scale(1.1);
}

/* 7. & 8. Footer */
.bmf-home-footer {
    background-color: #0b2545; /* Darker than primary */
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0 0;
}

.bmf-home-footer-title {
    color: var(--bmf-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

    .bmf-home-footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 2px;
        background-color: var(--bmf-white);
    }

.bmf-home-footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--bmf-transition);
}

    .bmf-home-footer-link:hover {
        color: var(--bmf-white);
        transform: translateX(5px);
    }

.bmf-home-footer-bottom {
    background-color: #07172b;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* Section Title Global */
.bmf-home-section-title {
    color: var(--bmf-primary-color);
    font-weight: 700;
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

    .bmf-home-section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: var(--bmf-primary-color);
    }

    .bmf-home-section-title.text-start::after {
        left: 0;
        transform: none;
    }

.bmf-home-section-title-white {
    color: var(--bmf-white);
}

    .bmf-home-section-title-white::after {
        background-color: var(--bmf-white);
    }
/* --- Utility Classes --- */
.bmf-text-primary {
    color: var(--bmf-primary-color) !important;
}

.bmf-btn-primary {
    background-color: var(--bmf-primary-color);
    color: var(--bmf-white);
    border: 1px solid var(--bmf-primary-color);
    transition: var(--bmf-transition);
}

    .bmf-btn-primary:hover {
        background-color: var(--bmf-secondary-color);
        color: var(--bmf-white);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(16, 53, 97, 0.15);
    }

.bmf-btn-outline {
    background-color: transparent;
    color: var(--bmf-primary-color);
    border: 1px solid var(--bmf-primary-color);
    transition: var(--bmf-transition);
}

    .bmf-btn-outline:hover {
        background-color: var(--bmf-accent-color);
        color: var(--bmf-primary-color);
    }

/* =========================================
           1. Header (Tối giản)
           ========================================= */
.bmf-header-error {
    background-color: transparent; /* Nền trong suốt để không đứt quãng background */
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.bmf-brand-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--bmf-primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
           2. Cấu trúc Trang 404
           ========================================= */
.bmf-404-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px; /* Bù không gian header */
}

/* --- Background Effects --- */
.bmf-404-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f4f8 100%);
    z-index: -2;
    overflow: hidden;
}

/* Các khối nổi trang trí mô phỏng document bị thất lạc */
.bmf-floating-doc {
    position: absolute;
    background: var(--bmf-white);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(16, 53, 97, 0.05);
    border: 1px solid rgba(16, 53, 97, 0.05);
    opacity: 0.6;
    z-index: -1;
    animation: floatSlow 15s infinite linear;
}

.bmf-doc-1 {
    width: 120px;
    height: 160px;
    top: 15%;
    left: 10%;
    transform: rotate(-15deg);
    animation-duration: 20s;
}

.bmf-doc-2 {
    width: 80px;
    height: 100px;
    bottom: 20%;
    right: 15%;
    transform: rotate(25deg);
    animation-duration: 15s;
    animation-delay: -5s;
}

.bmf-doc-3 {
    width: 150px;
    height: 200px;
    top: 40%;
    right: 5%;
    transform: rotate(10deg);
    opacity: 0.3;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes floatSlow {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* --- Nội dung chính --- */
.bmf-404-container {
    text-align: center;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Số 404 lớn được tạo bằng Typograhy nghệ thuật */
.bmf-error-code {
    font-size: clamp(120px, 20vw, 220px); /* Tự động co giãn theo màn hình */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    color: var(--bmf-primary-color);
    /* Gradient Mask cho chữ */
    background: linear-gradient(135deg, var(--bmf-primary-color) 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Đổ bóng chữ */
    text-shadow: 10px 20px 30px rgba(16, 53, 97, 0.1);
}

/* Hiệu ứng radar / tìm kiếm phía sau số 404 */
.bmf-error-radar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(16, 53, 97, 0.1);
    z-index: -1;
    animation: ripple 3s infinite linear;
}

    .bmf-error-radar::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 2px solid rgba(16, 53, 97, 0.15);
    }

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.bmf-error-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bmf-text-color);
    margin-top: -20px; /* Kéo lên gần số 404 */
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.bmf-error-desc {
    font-size: 1.1rem;
    color: var(--bmf-text-light);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.bmf-action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

    .bmf-action-buttons .btn {
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* --- Thanh tìm kiếm nhanh --- */
.bmf-quick-search {
    max-width: 400px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.bmf-quick-search-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #bbb;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

    .bmf-quick-search-divider::before, .bmf-quick-search-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #ddd;
    }

    .bmf-quick-search-divider span {
        padding: 0 15px;
    }

.bmf-search-input-group {
    position: relative;
}

    .bmf-search-input-group input {
        width: 100%;
        padding: 15px 50px 15px 25px;
        border-radius: 30px;
        border: 1px solid #ddd;
        background: var(--bmf-white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        transition: var(--bmf-transition);
        outline: none;
    }

        .bmf-search-input-group input:focus {
            border-color: var(--bmf-primary-color);
            box-shadow: 0 5px 20px rgba(16, 53, 97, 0.1);
        }

.bmf-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bmf-transition);
}

    .bmf-search-btn:hover {
        background: var(--bmf-secondary-color);
    }
/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Background Effects --- */
.bmf-login-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: -2;
}

/* Hình khối trang trí chuyển động (Glassmorphism blobs) */
.bmf-blob {
    position: absolute;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.bmf-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--bmf-secondary-color);
    top: -100px;
    left: -100px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.bmf-blob-2 {
    width: 500px;
    height: 500px;
    background: #8FA9C8; /* Màu xanh nhạt nhẹ nhàng */
    bottom: -150px;
    right: -100px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

/* --- Container Chính --- */
.bmf-login-wrapper {
    width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 50px rgba(16, 53, 97, 0.15);
    overflow: hidden;
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Cột Banner Trái --- */
.bmf-login-banner {
    flex: 1;
    background: linear-gradient(135deg, var(--bmf-primary-color) 0%, var(--bmf-secondary-color) 100%);
    padding: 20px;
    color: var(--bmf-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    /* Pattern trang trí nền banner */
    .bmf-login-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(rgba(255,255,255,0.1) 2px, transparent 2px);
        background-size: 30px 30px;
        opacity: 0.5;
    }

.bmf-login-brand {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: var(--bmf-white);
}

    .bmf-login-brand:hover {
        color: var(--bmf-accent-color);
    }

.bmf-login-quote {
    position: relative;
    z-index: 1;
}

    .bmf-login-quote h2 {
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .bmf-login-quote p {
        font-size: 1.1rem;
        opacity: 0.85;
        line-height: 1.6;
    }

/* --- Cột Form Phải --- */
.bmf-login-form-container {
    flex: 1;
    background: var(--bmf-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.bmf-form-header {
    text-align:center;
}

.bmf-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bmf-primary-color);
    margin-bottom: 10px;
}

/* Custom Floating Labels Độc Đáo */
.bmf-input-group {
    position: relative;
    margin-bottom: 25px;
}

    .bmf-input-group input {
        width: 100%;
        padding: 15px 50px 15px 50px; /* Sửa padding: Thêm padding-right 50px để chữ không đè vào icon con mắt */
        border: 2px solid #E8E8E8;
        border-radius: 12px;
        background: #FAFAFA;
        font-size: 1rem;
        color: var(--bmf-text-color);
        transition: var(--bmf-transition);
        outline: none;
    }

    .bmf-input-group i {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--bmf-text-light);
        font-size: 1.2rem;
        transition: var(--bmf-transition);
        pointer-events: none;
    }

    .bmf-input-group label {
        position: absolute;
        left: 50px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--bmf-text-light);
        transition: var(--bmf-transition);
        pointer-events: none;
        background: transparent;
        padding: 0 5px;
    }

    /* Khi Focus hoặc có chữ */
    .bmf-input-group input:focus,
    .bmf-input-group input:not(:placeholder-shown) {
        border-color: var(--bmf-primary-color);
        background: var(--bmf-white);
        box-shadow: 0 0 0 4px rgba(16, 53, 97, 0.1);
    }

        .bmf-input-group input:focus ~ i,
        .bmf-input-group input:not(:placeholder-shown) ~ i {
            color: var(--bmf-primary-color);
        }

        .bmf-input-group input:focus ~ label,
        .bmf-input-group input:not(:placeholder-shown) ~ label {
            top: 0;
            left: 45px;
            font-size: 0.85rem;
            color: var(--bmf-primary-color);
            font-weight: 600;
            background: var(--bmf-white); /* Che viền đè lên */
        }

/* Nút con mắt hiện mật khẩu */
.bmf-btn-toggle-password {
    position: absolute;
    right: 15px; /* Giữ nguyên khoảng cách mép phải */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--bmf-text-light);
    cursor: pointer;
    padding: 5px; /* Giảm padding để nút gọn gàng hơn */
    transition: var(--bmf-transition);
    display: flex; /* Đảm bảo icon căn giữa trong nút */
    align-items: center;
    justify-content: center;
    z-index: 2; /* Đảm bảo nút luôn nằm trên cùng để click được */
}

    /* Chỉnh lại icon riêng cho nút toggle để không bị ảnh hưởng bởi CSS chung của .bmf-input-group i */
    .bmf-btn-toggle-password i {
        position: static; /* Gỡ bỏ position absolute */
        transform: none; /* Gỡ bỏ transform */
        pointer-events: auto; /* Cho phép click */
    }

    .bmf-btn-toggle-password:hover {
        color: var(--bmf-primary-color);
    }

/* Tiện ích Form (Ghi nhớ & Quên MK) */
.bmf-form-utils {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.bmf-custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .bmf-custom-checkbox input {
        display: none;
    }

.bmf-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bmf-transition);
}

.bmf-custom-checkbox input:checked ~ .bmf-checkmark {
    background: var(--bmf-primary-color);
    border-color: var(--bmf-primary-color);
}

.bmf-checkmark::after {
    content: '\F26A'; /* Icon check-circle */
    font-family: 'bootstrap-icons';
    color: white;
    font-size: 14px;
    display: none;
}

.bmf-custom-checkbox input:checked ~ .bmf-checkmark::after {
    display: block;
}

.bmf-forgot-link {
    color: var(--bmf-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--bmf-transition);
}

    .bmf-forgot-link:hover {
        color: var(--bmf-secondary-color);
        text-decoration: underline;
    }

/* Nút Đăng nhập chính */
.bmf-btn-login {
    width: 100%;
    padding: 15px;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--bmf-transition);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .bmf-btn-login::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300%;
        height: 300%;
        background: rgba(255,255,255,0.1);
        transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bmf-btn-login:hover {
        box-shadow: 0 10px 20px rgba(16, 53, 97, 0.2);
        transform: translateY(-2px);
    }

        .bmf-btn-login:hover::before {
            transform: translate(-50%, -50%) rotate(45deg) translateY(0);
        }

/* --- Nút Social Login Độc Đáo --- */
.bmf-social-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--bmf-text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .bmf-social-login-divider::before,
    .bmf-social-login-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #eee;
    }

    .bmf-social-login-divider span {
        padding: 0 15px;
    }

.bmf-social-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.bmf-btn-social,
.btn-social {
    flex: 1;
    min-width: 48px;
    padding: 12px 16px;
    background: var(--bmf-white);
    border: 2px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: var(--bmf-text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .bmf-btn-social:hover,
    .btn-social:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* Google Button */
.btn-google {
    border-color: #db4437;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

    .btn-google:hover {
        background: linear-gradient(135deg, #db4437 0%, #c23321 100%);
        border-color: #db4437;
        color: white;
    }

        .btn-google:hover svg path {
            fill: white;
        }

/* Facebook Button */
.btn-facebook {
    border-color: #1877f2;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

    .btn-facebook:hover {
        background: linear-gradient(135deg, #1877f2 0%, #0d5dcc 100%);
        border-color: #1877f2;
        color: white;
    }

        .btn-facebook:hover svg path {
            fill: white;
        }

/* GitHub Button */
.btn-github {
    border-color: #24292e;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

    .btn-github:hover {
        background: linear-gradient(135deg, #24292e 0%, #1a1e22 100%);
        border-color: #24292e;
        color: white;
    }

        .btn-github:hover svg path {
            fill: white;
        }

/* Microsoft Button */
.btn-microsoft {
    border-color: #00a4ef;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

    .btn-microsoft:hover {
        background: linear-gradient(135deg, #00a4ef 0%, #0078d4 100%);
        border-color: #00a4ef;
        color: white;
    }

        .btn-microsoft:hover svg rect {
            fill: white;
        }

/* SVG Logos (thay vì ảnh để sắc nét và load nhanh) */
.bmf-social-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Responsive cho mobile */
@media (max-width: 576px) {
    .bmf-social-btn-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn-social,
    .bmf-btn-social {
        width: 100%;
        justify-content: center;
    }
}

/* Animation khi hover */
@keyframes socialBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.btn-social:active,
.bmf-btn-social:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.bmf-signup-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
}

    .bmf-signup-text a {
        color: var(--bmf-primary-color);
        font-weight: 700;
        text-decoration: none;
        margin-left: 5px;
    }

        .bmf-signup-text a:hover {
            text-decoration: underline;
        }

.hall-of-fame {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 60px 0;
}

.hof-header {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

    .hof-header h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .hof-header .lead {
        font-size: 1.25rem;
        opacity: 0.95;
    }

.hof-trophy {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.researcher-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .researcher-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .researcher-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    }

.severity-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity-critical {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
}

.severity-high {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.severity-medium {
    background: linear-gradient(135deg, #ffd89b 0%, #ff6e7f 100%);
    color: white;
}

.severity-low {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.researcher-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.researcher-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.researcher-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.vulnerability-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
    padding-right: 120px;
}

.vulnerability-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 15px;
}

.reward-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.stats-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.empty-state-icon {
    font-size: 5rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #4a5568;
    margin-bottom: 15px;
}

.empty-state p {
    color: #718096;
    font-size: 1.1rem;
}

.cta-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .cta-section h3 {
        color: #2d3748;
        margin-bottom: 20px;
    }

    .cta-section p {
        color: #718096;
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

.btn-report {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

    .btn-report:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        color: white;
    }
.bmf-text-primary {
    color: var(--bmf-primary-color) !important;
}

.bmf-bg-primary {
    background-color: var(--bmf-primary-color) !important;
}

.bmf-bg-accent {
    background-color: var(--bmf-accent-color) !important;
}

.bmf-btn-primary {
    background-color: var(--bmf-primary-color);
    color: var(--bmf-white);
    border: 1px solid var(--bmf-primary-color);
    transition: var(--bmf-transition);
}

    .bmf-btn-primary:hover {
        background-color: var(--bmf-white);
        color: var(--bmf-primary-color);
    }

.bmf-btn-outline {
    background-color: transparent;
    color: var(--bmf-primary-color);
    border: 1px solid var(--bmf-primary-color);
    transition: var(--bmf-transition);
}

    .bmf-btn-outline:hover {
        background-color: var(--bmf-primary-color);
        color: var(--bmf-white);
    }

/* Animations Cơ bản */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bmf-animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    
}
.bmf-pricing-height{
height:stretch;
}

.bmf-delay-1 {
    animation-delay: 0.2s;
}

.bmf-delay-2 {
    animation-delay: 0.4s;
}

/* =========================================
           1. Header & Navigation (Kế thừa bản chuẩn)
           ========================================= */
.bmf-header {
    background-color: var(--bmf-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: var(--bmf-transition);
}

    .bmf-header .nav-link {
        color: var(--bmf-text-color);
        font-weight: 500;
        margin: 0 10px;
        transition: var(--bmf-transition);
        position: relative;
    }

        .bmf-header .nav-link:hover,
        .bmf-header .nav-link.active {
            color: var(--bmf-primary-color);
        }

        .bmf-header .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: var(--bmf-primary-color);
            transition: var(--bmf-transition);
            transform: translateX(-50%);
        }

        .bmf-header .nav-link:hover::after,
        .bmf-header .nav-link.active::after {
            width: 100%;
        }

.bmf-brand-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--bmf-primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mega Menu & Mobile Offcanvas Styles */
@media (min-width: 992px) {
    .bmf-header {
        position: relative;
    }

    .bmf-mega-dropdown {
        position: static !important;
    }

    .bmf-mega-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100%;
        max-width: 900px;
        padding: 30px;
        border: none;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        background-color: var(--bmf-white);
        margin-top: 0 !important;
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transition: var(--bmf-transition);
        pointer-events: none;
        z-index: 1000;
    }
        /* Cầu nối vô hình giữ hover */
        .bmf-mega-menu::before {
            content: "";
            position: absolute;
            top: -15px;
            left: 0;
            width: 100%;
            height: 15px;
            background: transparent;
        }

    .bmf-mega-dropdown:hover .bmf-mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    .bmf-mega-menu {
        border: none;
        background-color: var(--bmf-accent-color);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .offcanvas-body {
        display: flex;
        flex-direction: column;
    }

        .offcanvas-body .navbar-nav {
            margin-bottom: 20px;
            width: 100%;
        }
}

.bmf-mega-link {
    color: var(--bmf-text-color);
    transition: var(--bmf-transition);
    border-radius: 5px;
    font-size: 0.95rem;
    display: block;
}

    .bmf-mega-link:hover {
        background-color: var(--bmf-accent-color);
        color: var(--bmf-primary-color);
        padding-left: 10px !important;
    }

.bmf-mega-title {
    color: var(--bmf-primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--bmf-accent-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* =========================================
           2. Styles Dành Riêng Cho Trang About
           ========================================= */

/* Hero Banner About */
.bmf-about-hero {
    padding: 20px 0 70px 0;
    background-color: var(--bmf-primary-color);
    color: var(--bmf-white);
    position: relative;
    overflow: hidden;
}

    .bmf-about-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(26, 82, 150, 0.8) 0%, rgba(16, 53, 97, 0.9) 100%);
        z-index: 1;
    }

.bmf-about-hero-content {
    position: relative;
    z-index: 2;
}

/* Tổng quan Giới thiệu */
.bmf-about-intro {
    padding: 80px 0;
    background-color: var(--bmf-white);
}

.bmf-about-intro-img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(16, 53, 97, 0.1);
    transition: var(--bmf-transition);
}

    .bmf-about-intro-img:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(16, 53, 97, 0.15);
    }

/* === TIMELINE MỚI (Lịch sử phát triển) - Ngoằn ngoèo & Độc lạ === */
.bmf-about-history {
    padding: 100px 0;
    background-color: var(--bmf-accent-color);
    position: relative;
    overflow: hidden; /* Đảm bảo không bị tràn ngang do các phần tử ngoằn ngoèo */
}

.bmf-about-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 60px; /* Khoảng cách giữa các mốc */
}

/* Khối Mốc Thời Gian (Block) */
.bmf-about-timeline-block {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    opacity: 0; /* Khởi tạo ẩn cho animation */
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

    .bmf-about-timeline-block.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* Căn chỉnh so le (Ngoằn ngoèo) */
    .bmf-about-timeline-block:nth-child(odd) {
        justify-content: flex-start; /* Chứa nội dung bên trái */
    }

    .bmf-about-timeline-block:nth-child(even) {
        justify-content: flex-end; /* Chứa nội dung bên phải */
    }

/* Đường Path (Line) Ngoằn Ngoèo SVG */
.bmf-about-timeline-path {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Bao trọn container để vẽ SVG */
    z-index: 0;
    pointer-events: none; /* Không cản trở click */
}

/* Thay thế trục thẳng cũ bằng ẩn trục dọc */
.bmf-about-timeline-container::after {
    display: none;
}

/* Đường nét đứt uốn lượn (Sử dụng SVG Background) */
.bmf-about-timeline-svg {
    position: absolute;
    top: 50px; /* Bắt đầu sau tiêu đề một chút */
    left: 50%;
    transform: translateX(-50%);
    width: 400px; /* Độ rộng của nét uốn */
    height: calc(100% - 100px); /* Kéo dài xuống */
    z-index: 0;
}

.path-line {
    fill: none;
    stroke: var(--bmf-primary-color);
    stroke-width: 4;
    stroke-dasharray: 10 10;
    opacity: 0.3;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Nội dung Block Độc Lạ */
.bmf-about-timeline-content {
    position: relative;
    z-index: 1;
    width: 45%; /* Chiếm chưa tới nửa màn hình */
    background: linear-gradient(145deg, var(--bmf-white), #f8f9fa);
    border-radius: 0 30px 0 30px; /* Bo góc chéo (Độc lạ) */
    padding: 35px;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.06), -10px -10px 20px rgba(255,255,255,0.8); /* Neumorphism style nhẹ */
    border: 1px solid rgba(16, 53, 97, 0.05);
    transition: var(--bmf-transition);
}

/* Điều chỉnh hướng bo góc chéo cho khối bên phải */
.bmf-about-timeline-block:nth-child(even) .bmf-about-timeline-content {
    border-radius: 30px 0 30px 0;
}

.bmf-about-timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 15px 15px 35px rgba(16, 53, 97, 0.12), -5px -5px 15px rgba(255,255,255,0.9);
    border-color: var(--bmf-primary-color);
}

/* Năm & Icon Tích Hợp */
.bmf-about-year-badge {
    position: absolute;
    top: -20px;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 8px 25px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(16, 53, 97, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Vị trí Badge Năm */
.bmf-about-timeline-block:nth-child(odd) .bmf-about-year-badge {
    right: 30px; /* Khối trái -> Badge nằm lệch phải */
}

.bmf-about-timeline-block:nth-child(even) .bmf-about-year-badge {
    left: 30px; /* Khối phải -> Badge nằm lệch trái */
}

/* Marker (Dấu chấm nối vào đường line) */
.bmf-about-timeline-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--bmf-accent-color);
    border: 3px solid var(--bmf-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(255,255,255,0.8);
    transition: var(--bmf-transition);
}

    .bmf-about-timeline-marker i {
        color: var(--bmf-primary-color);
        font-size: 1.2rem;
    }

.bmf-about-timeline-block:hover .bmf-about-timeline-marker {
    background-color: var(--bmf-primary-color);
    transform: translateY(-50%) scale(1.1);
}

    .bmf-about-timeline-block:hover .bmf-about-timeline-marker i {
        color: var(--bmf-white);
    }

/* Căn chỉnh Marker nằm trên đường chéo SVG */
.bmf-about-timeline-block:nth-child(odd) .bmf-about-timeline-marker {
    right: -60px; /* Kéo ra ngoài khối để chạm đường line */
}

.bmf-about-timeline-block:nth-child(even) .bmf-about-timeline-marker {
    left: -60px;
}

/* Responsive cho Timeline Ngoằn Ngoèo */
@media screen and (max-width: 992px) {
    .bmf-about-timeline-svg {
        display: none; /* Ẩn SVG uốn lượn trên mobile vì khó canh tọa độ */
    }

    .bmf-about-timeline-container {
        padding-left: 20px;
    }
        /* Thay bằng đường thẳng bo góc dạng rắn bò (Snake) cho Mobile */
        .bmf-about-timeline-container::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, transparent, var(--bmf-primary-color) 5%, var(--bmf-primary-color) 95%, transparent);
            opacity: 0.3;
        }

    .bmf-about-timeline-block {
        justify-content: flex-start !important;
        padding-left: 50px;
        width: 100%;
    }

    .bmf-about-timeline-content {
        width: 100%;
        border-radius: 20px !important; /* Bo đều lại trên mobile */
        margin-top: 20px; /* Nhường chỗ cho Badge */
    }

    .bmf-about-year-badge {
        left: 20px !important; /* Đưa tất cả badge về bên trái */
        right: auto !important;
        top: -15px;
    }

    .bmf-about-timeline-marker {
        left: -65px !important;
        right: auto !important;
        width: 30px;
        height: 30px;
    }

        .bmf-about-timeline-marker i {
            font-size: 0.9rem;
        }
}


/* Các Dịch Vụ - Tóm Tắt */
.bmf-about-services {
    padding: 80px 0;
    background-color: var(--bmf-white);
}

.bmf-about-svc-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: var(--bmf-transition);
}

    .bmf-about-svc-card:hover {
        border-color: var(--bmf-primary-color);
        background-color: var(--bmf-accent-color);
        transform: translateY(-5px);
    }

.bmf-about-svc-icon {
    font-size: 28px;
    color: var(--bmf-primary-color);
    margin-bottom: 15px;
}
.bmf-contact-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px); /* Hiệu ứng Glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(16, 53, 97, 0.08);
    overflow: hidden;
    position: relative;
}

/* Cột Thông tin (Trái) */
.bmf-contact-info-panel {
    background: linear-gradient(135deg, var(--bmf-primary-color) 0%, var(--bmf-secondary-color) 100%);
    color: var(--bmf-white);
    padding: 50px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    /* Các khối trang trí trong Info Panel */
    .bmf-contact-info-panel::after {
        content: '';
        position: absolute;
        bottom: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

    .bmf-contact-info-panel::before {
        content: '';
        position: absolute;
        top: -30px;
        left: -30px;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

.bmf-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.bmf-contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: var(--bmf-transition);
}

.bmf-contact-item:hover .bmf-contact-icon-box {
    background: var(--bmf-white);
    color: var(--bmf-primary-color);
    transform: scale(1.1);
}

.bmf-contact-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--bmf-white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--bmf-transition);
    text-decoration: none;
}

    .bmf-contact-social a:hover {
        background: var(--bmf-white);
        color: var(--bmf-primary-color);
        transform: translateY(-5px);
    }

/* Cột Form (Phải) */
.bmf-contact-form-panel {
    padding: 50px 40px;
    background: var(--bmf-white);
}

.bmf-form-floating > .form-control,
.bmf-form-floating > .form-select {
    border: 0;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    background-color: transparent;
    padding-left: 0;
    box-shadow: none;
    transition: var(--bmf-transition);
}

    .bmf-form-floating > .form-control:focus,
    .bmf-form-floating > .form-select:focus {
        border-color: var(--bmf-primary-color);
    }

.bmf-form-floating > label {
    padding-left: 0;
    color: var(--bmf-text-light);
}

.bmf-form-floating > .form-control:focus ~ label,
.bmf-form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--bmf-primary-color);
    font-weight: 600;
}

/* --- Bổ sung: Custom Select B2B Ấn tượng --- */
.bmf-custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.bmf-custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 0.5rem 0;
    font-size: 1rem;
    color: var(--bmf-text-color);
    background: transparent;
    border-bottom: 2px solid #eee;
    cursor: pointer;
    transition: var(--bmf-transition);
}

    .bmf-custom-select-wrapper.open .bmf-custom-select-trigger,
    .bmf-custom-select-trigger:focus {
        border-bottom-color: var(--bmf-primary-color);
    }

    /* Mũi tên trỏ xuống */
    .bmf-custom-select-trigger::after {
        content: '\F282'; /* bi-chevron-down */
        font-family: 'bootstrap-icons';
        font-size: 1rem;
        color: var(--bmf-text-light);
        transition: transform 0.3s ease;
    }

.bmf-custom-select-wrapper.open .bmf-custom-select-trigger::after {
    transform: rotate(-180deg);
    color: var(--bmf-primary-color);
}

/* Nổi label lên như Floating Label */
.bmf-custom-select-label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--bmf-text-light);
    transition: var(--bmf-transition);
    pointer-events: none;
}

.bmf-custom-select-wrapper.has-value .bmf-custom-select-label,
.bmf-custom-select-wrapper.open .bmf-custom-select-label {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--bmf-primary-color);
    font-weight: 600;
}

/* Dropdown Options */
.bmf-custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bmf-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 53, 97, 0.15);
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-10px);
    z-index: 10;
    overflow: hidden;
}

.bmf-custom-select-wrapper.open .bmf-custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.bmf-custom-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--bmf-transition);
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

    .bmf-custom-option:last-child {
        border-bottom: none;
    }

    .bmf-custom-option:hover,
    .bmf-custom-option.selected {
        background-color: var(--bmf-accent-color);
        color: var(--bmf-primary-color);
    }

.bmf-custom-option-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 53, 97, 0.05);
    border-radius: 8px;
    margin-right: 15px;
    color: var(--bmf-primary-color);
    transition: var(--bmf-transition);
}

.bmf-custom-option:hover .bmf-custom-option-icon,
.bmf-custom-option.selected .bmf-custom-option-icon {
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
}
.bmf-news-mosaic-section {
    padding: 0 0 60px;
}

.bmf-mosaic-grid {
    display: grid;
    gap: 20px;
    /* Layout Mobile */
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
}

@media (min-width: 768px) {
    /* Layout Tablet/Desktop - Áp dụng Tỷ lệ vàng 2/3 và 1/3 */
    .bmf-mosaic-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 250px 250px;
    }

    .bmf-mosaic-main {
        grid-row: span 2; /* Bài chính cao bằng 2 bài phụ */
    }
}

.bmf-mosaic-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

    .bmf-mosaic-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(16,53,97,0.9) 0%, rgba(16,53,97,0.2) 50%, transparent 100%);
        z-index: 1;
        transition: var(--bmf-transition);
    }

    .bmf-mosaic-item:hover::before {
        background: linear-gradient(to top, rgba(16,53,97,1) 0%, rgba(16,53,97,0.4) 60%, rgba(0,0,0,0.1) 100%);
    }

.bmf-mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bmf-mosaic-item:hover .bmf-mosaic-img {
    transform: scale(1.05);
}

.bmf-mosaic-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: var(--bmf-white);
}

.bmf-mosaic-item.bmf-mosaic-sub .bmf-mosaic-content {
    padding: 20px; /* Bài phụ padding nhỏ hơn */
}

.bmf-mosaic-meta {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.9;
}

.bmf-mosaic-title {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bmf-mosaic-main .bmf-mosaic-title {
    font-size: 1.75rem;
}

.bmf-mosaic-sub .bmf-mosaic-title {
    font-size: 1.25rem;
}

.bmf-news-category-badge {
    display: inline-block;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}


/* --- Các Khối Danh Mục (Category Sections) --- */
.bmf-news-category-section {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

    .bmf-news-category-section:nth-child(even) {
        background-color: var(--bmf-white);
    }

.bmf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.bmf-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bmf-primary-color);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 0;
}

    .bmf-section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background-color: var(--bmf-primary-color);
    }

/* Nút Slider & Nút Xem Thêm */
.bmf-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bmf-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bmf-white);
    border: 1px solid #ddd;
    color: var(--bmf-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bmf-transition);
}

    .bmf-slider-btn:hover {
        background: var(--bmf-primary-color);
        color: var(--bmf-white);
        border-color: var(--bmf-primary-color);
    }

/* Tùy chỉnh Scrollbar cho Slider (Chỉ dùng CSS thay vì JS phức tạp cho demo) */
.bmf-news-slider-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    /* Ẩn scrollbar default */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

    .bmf-news-slider-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

/* --- Thẻ Bài Viết Chung (Card) --- */
.bmf-news-card {
    background: var(--bmf-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--bmf-transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    top: 0;
    /* Kích thước cố định cho thẻ trong Slider */
    min-width: 320px;
    width: 320px;
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

    .bmf-news-card:hover {
        box-shadow: var(--bmf-shadow-lg);
        top: -5px; /* Nổi lên */
        border-color: rgba(16,53,97,0.1);
    }

.bmf-news-img-wrapper {
    position: relative;
    padding-top: 60%; /* Tỷ lệ khung hình 5:3 */
    overflow: hidden;
}

.bmf-news-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bmf-news-card:hover .bmf-news-img {
    transform: scale(1.08);
}

.bmf-news-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bmf-news-meta-card {
    font-size: 0.8rem;
    color: var(--bmf-text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .bmf-news-meta-card i {
        color: var(--bmf-primary-color);
        margin-right: 5px;
    }

.bmf-news-title-card {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--bmf-text-color);
    transition: var(--bmf-transition);
    /* Cắt chữ 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bmf-news-card:hover .bmf-news-title-card {
    color: var(--bmf-primary-color);
}

/* Loại bỏ tóm tắt để đỡ rối mắt trong slider nhỏ */

.bmf-news-readmore {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bmf-primary-color);
    text-decoration: none;
    transition: var(--bmf-transition);
    margin-top: auto;
}

    .bmf-news-readmore i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

.bmf-news-card:hover .bmf-news-readmore i {
    transform: translateX(5px);
}
.bmf-loading-overlay {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    background:rgba(16, 53, 97, 0.15);
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none; /* Tránh cản trở chuột khi đang ẩn */
}

/* 2. KHI FORM KÍCH HOẠT REQUEST (.htmx-request) */

/* Làm mờ và khóa toàn bộ nội dung form */
form.htmx-request .bmf-form-content {
    opacity: 0.35; /* Độ mờ 35% giúp form tối/mờ đi */
    filter: blur(3px); /* Hiệu ứng nhòe mờ nhẹ, tạo chiều sâu */
    pointer-events: none; /* Khóa toàn bộ tương tác click/nhập liệu */
    user-select: none; /* Không cho bôi đen text */
    transition: all 0.3s ease; /* Hiệu ứng chuyển đổi mượt mà */
}

/* Hiển thị vùng loading overlay lên */
form.htmx-request .bmf-loading-overlay {
    display: block;
}
.btn-forgot {
    padding: 10px;
    border-bottom: 4px solid #2d4569;
    border-radius: 94px;
}
.btn-forgot:focus {
    border-bottom: 2px solid #2d4569;
}
.bmf-forgot-brand {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: var(--bmf-white);
}

    .bmf-forgot-brand:hover {
        color: var(--bmf-accent-color);
    }

.bmf-forgot-quote {
    position: relative;
    z-index: 1;
}

    .bmf-forgot-quote h2 {
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

/* --- Cột Form Phải --- */
.bmf-forgot-form-container {
    flex: 1;
    padding: 60px 50px;
    background: var(--bmf-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.bmf-input-group {
    position: relative;
    margin-bottom: 25px;
}

    .bmf-input-group input {
        width: 100%;
        padding: 15px 20px 15px 50px;
        border: 2px solid #E8E8E8;
        border-radius: 12px;
        background: #FAFAFA;
        font-size: 1rem;
        color: var(--bmf-text-color);
        transition: var(--bmf-transition);
        outline: none;
    }

    .bmf-input-group i.bmf-input-icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--bmf-text-light);
        font-size: 1.2rem;
        transition: var(--bmf-transition);
        pointer-events: none;
    }

    .bmf-input-group label {
        position: absolute;
        left: 50px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--bmf-text-light);
        transition: var(--bmf-transition);
        pointer-events: none;
        background: transparent;
        padding: 0 5px;
    }

    /* Khi Focus hoặc có chữ */
    .bmf-input-group input:focus,
    .bmf-input-group input:not(:placeholder-shown) {
        border-color: var(--bmf-primary-color);
        background: var(--bmf-white);
        box-shadow: 0 0 0 4px rgba(16, 53, 97, 0.1);
    }

        .bmf-input-group input:focus ~ i.bmf-input-icon,
        .bmf-input-group input:not(:placeholder-shown) ~ i.bmf-input-icon {
            color: var(--bmf-primary-color);
        }

        .bmf-input-group input:focus ~ label,
        .bmf-input-group input:not(:placeholder-shown) ~ label {
            top: 0;
            left: 45px;
            font-size: 0.85rem;
            color: var(--bmf-primary-color);
            font-weight: 600;
            background: var(--bmf-white); /* Che viền đè lên */
        }

/* Nút Submit */
.bmf-btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--bmf-transition);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .bmf-btn-submit::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300%;
        height: 300%;
        background: rgba(255,255,255,0.1);
        transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bmf-btn-submit:hover {
        box-shadow: 0 10px 20px rgba(16, 53, 97, 0.2);
        transform: translateY(-2px);
    }

        .bmf-btn-submit:hover::before {
            transform: translate(-50%, -50%) rotate(45deg) translateY(0);
        }
.bmf-forgot-banner {
    flex: 1;
    background: linear-gradient(135deg, var(--bmf-primary-color) 0%, var(--bmf-secondary-color) 100%);
    color: var(--bmf-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .bmf-forgot-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(rgba(255,255,255,0.1) 2px, transparent 2px);
        background-size: 30px 30px;
        opacity: 0.5;
    }

.bmf-pricing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    background: var(--bmf-white);
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 5px;
    margin-top: 30px;
    box-shadow: var(--bmf-shadow-sm);
}

.bmf-pricing-toggle-btn {
    padding: 10px 25px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--bmf-transition);
    color: var(--bmf-text-light);
    border: none;
    background: transparent;
}

    .bmf-pricing-toggle-btn.active {
        background: var(--bmf-primary-color);
        color: var(--bmf-white);
        box-shadow: 0 4px 10px rgba(16, 53, 97, 0.2);
    }

.bmf-pricing-badge {
    font-size: 0.7rem;
    background: #198754; /* Màu xanh lá thành công */
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Khối Danh sách Bảng giá --- */
.bmf-pricing-section {
    background-color: #F8F9FA;
}

.bmf-pricing-card {
    border-radius: 10px;
    padding: 10px;
    height: stretch;
    border: 1px solid rgb(197 197 197);
    transition: var(--bmf-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

    .bmf-pricing-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 40px rgba(16, 53, 97, 0.1);
        border-color: rgba(16, 53, 97, 0.1);
        z-index: 2;
    }

    /* Gói Nổi bật (VIP) */
    .bmf-pricing-card.featured {
        border: 2px solid var(--bmf-primary-color);
    }

        .bmf-pricing-card.featured:hover {
            transform: scale(1.05) translateY(-10px);
        }

.bmf-pricing-featured-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--bmf-primary-color), var(--bmf-secondary-color));
    color: var(--bmf-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(16, 53, 97, 0.3);
}

/* Gói Business (Nền đậm) */
.bmf-pricing-card.business {
    background: linear-gradient(145deg, #0b2545, var(--bmf-primary-color));
    color: var(--bmf-white);
}

    .bmf-pricing-card.business .bmf-text-primary {
        color: var(--bmf-accent-color) !important;
    }

    .bmf-pricing-card.business .text-muted {
        color: rgba(255,255,255,0.7) !important;
    }

/* Tiêu đề & Giá */
.bmf-pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bmf-pricing-desc {
    font-size: 0.9rem;
    min-height: 40px; /* Cân bằng chiều cao các mô tả */
    margin-bottom: 25px;
}

.bmf-pricing-amount {
    font-size: 25px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}
    /* Danh sách Option */
    .bmf-pricing-features {
        list-style: none;
        padding: 0;
        text-align: left;
        flex-grow: 1; /* Đẩy nút xuống dưới cùng */
    }

    .bmf-pricing-features li {
        position: relative;
        padding-left: 25px;
        font-size: 15px;
    }

        /* Icon check mặc định */
        .bmf-pricing-features li::before {
            content: '\F26A'; /* bootstrap icon check-circle-fill */
            font-family: 'bootstrap-icons';
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--bmf-primary-color);
            font-size: 1.1rem;
        }

.bmf-pricing-card.business .bmf-pricing-features li::before {
    color: var(--bmf-accent-color);
}

/* Định dạng tính năng kế thừa (làm mờ đi để nhấn mạnh tính năng mới) */
.bmf-pricing-features li.inherited {
    color: var(--bmf-text-light);
}

    .bmf-pricing-features li.inherited::before {
        color: #ccc;
    }

.bmf-pricing-features li.included-label {
    padding-left: 0;
    font-weight: 700;
    color: var(--bmf-primary-color);
    margin-top: 10px;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

    .bmf-pricing-features li.included-label::before {
        display: none;
    }

.bmf-pricing-card.business .bmf-pricing-features li.included-label {
    color: var(--bmf-white);
    border-top-color: rgba(255,255,255,0.2);
}

/* Nút đăng ký trong card */
.bmf-pricing-btn-wrapper {
    margin-top: auto;
}

.bmf-pricing-btn {
    width: 100%;
    padding: 12px;
    font-weight: 700;
    border-radius: 12px;
}

/* Bảng FAQ (Tùy chọn thêm để trang đầy đủ) */
.bmf-faq-section {
    padding: 80px 0;
    background: var(--bmf-white);
}

.bmf-faq-title {
    font-weight: 700;
    color: var(--bmf-primary-color);
    text-align: center;
    margin-bottom: 50px;
}
.bmf-doc-hero {
    padding: 40px;
    background: linear-gradient(135deg, #0b2545 0%, var(--bmf-primary-color) 100%);
    color: var(--bmf-white);
    position: relative;
    overflow: hidden;
}

    .bmf-doc-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 0.3;
    }

/* Abstract Document Shape Effect */
.bmf-doc-hero-shape {
    position: absolute;
    right: -5%;
    top: 10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: 30px;
    transform: rotate(15deg);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 1;
    animation: floatShape 10s infinite alternate ease-in-out;
}

@keyframes floatShape {
    0% {
        transform: rotate(15deg) translateY(0);
    }

    100% {
        transform: rotate(20deg) translateY(-30px);
    }
}

.bmf-doc-hero-content {
    position: relative;
    z-index: 2;
}

.bmf-doc-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
}

.bmf-doc-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Box Giải thích ngắn (What is it?) */
.bmf-doc-intro-box {
    background: var(--bmf-white);
    border-radius: 15px;
    padding: 20px 40px;
    box-shadow: 1px 4px 5px 0px #c2d0db;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    text-align: justify
}

/* Lợi ích (Benefits) */
.bmf-benefit-card {
    background: var(--bmf-white);
    border-radius: 16px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--bmf-transition);
}

    .bmf-benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--bmf-shadow-lg);
        border-color: rgba(16,53,97,0.1);
    }

.bmf-benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.bmf-feature-row {
    align-items: center;
}

    .bmf-feature-row:last-child {
        margin-bottom: 0;
    }

.bmf-feature-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--bmf-shadow-lg);
}

    .bmf-feature-img-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

.bmf-feature-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Các tính năng mở rộng (Other features Grid) */
.bmf-doc-extras {
    padding: 40px 0;
}

.bmf-extra-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

    .bmf-extra-item i {
        font-size: 1.5rem;
        color: var(--bmf-primary-color);
        margin-right: 15px;
        margin-top: 2px;
    }

/* FAQ Section */
.bmf-doc-faq {
    padding: 40px 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16,53,97,0.25);
}
.bmf-chat-features {
    padding: 100px 0;
}

.bmf-chat-feature-row {
    margin-bottom: 100px;
    align-items: center;
}

    .bmf-chat-feature-row:last-child {
        margin-bottom: 0;
    }

.bmf-chat-feature-img {
    border-radius: 20px;
    box-shadow: var(--bmf-shadow-lg);
    transition: var(--bmf-transition);
}

    .bmf-chat-feature-img:hover {
        transform: scale(1.02);
    }

.bmf-chat-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(16, 53, 97, 0.2);
}

/* User Effectiveness (Cards) */
.bmf-chat-effectiveness {
    padding: 80px 0;
    background: var(--bmf-bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bmf-chat-effect-card {
    background: var(--bmf-white);
    border: none;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: var(--bmf-transition);
    box-shadow: var(--bmf-shadow-sm);
    position: relative;
    overflow: hidden;
}

    .bmf-chat-effect-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--bmf-primary-color);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .bmf-chat-effect-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--bmf-shadow-lg);
    }

        .bmf-chat-effect-card:hover::before {
            transform: scaleX(1);
        }

.bmf-chat-effect-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bmf-primary-color);
}

/* Integration with Document Analysis */
.bmf-chat-integration {
    padding: 100px 0;
    background: var(--bmf-primary-color);
    position: relative;
    overflow: hidden;
    color: var(--bmf-white);
}

.bmf-chat-integration-box {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

/* FAQ Section */
.bmf-chat-faq {
    padding: 80px 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16,53,97,0.25);
}

.accordion-button::after {
    transition: transform 0.4s ease-in-out;
}
.bmf-law-features {
    padding: 100px 0;
}

.bmf-law-feature-row {
    margin-bottom: 100px;
    align-items: center;
}

    .bmf-law-feature-row:last-child {
        margin-bottom: 0;
    }

.bmf-law-feature-img {
    border-radius: 20px;
    box-shadow: var(--bmf-shadow-lg);
    transition: var(--bmf-transition);
    border: 1px solid rgba(0,0,0,0.05);
}

    .bmf-law-feature-img:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(16,53,97,0.12);
    }

.bmf-law-icon-wrapper {
    width: 65px;
    height: 65px;
    background: var(--bmf-white);
    border: 2px solid var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(16, 53, 97, 0.05);
}

/* User Effectiveness (Cards) */
.bmf-law-effectiveness {
    padding: 80px 0;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
    position: relative;
}

.bmf-law-effect-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: var(--bmf-transition);
    position: relative;
    overflow: hidden;
}

    .bmf-law-effect-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--bmf-accent-color);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s ease;
    }

    .bmf-law-effect-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.2);
    }

        .bmf-law-effect-card:hover::before {
            transform: scaleY(1);
        }

.bmf-law-effect-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bmf-white);
    opacity: 0.9;
}

/* Integration with Document Analysis */
.bmf-law-integration {
    padding: 100px 0;
    background: var(--bmf-bg-light);
    position: relative;
    overflow: hidden;
}

.bmf-law-integration-box {
    background: var(--bmf-white);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(16,53,97,0.08);
    box-shadow: 0 25px 50px rgba(16,53,97,0.05);
}

    .bmf-law-integration-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, var(--bmf-primary-color), var(--bmf-secondary-color));
    }

/* FAQ Section */
.bmf-law-faq {
    padding: 80px 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
    font-weight: 700;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16,53,97,0.1);
}

.accordion-button::after {
    transition: transform 0.4s ease-in-out;
}

.accordion-item {
    border: 1px solid rgba(16,53,97,0.1);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 15px;
}
.bmf-risk-features {
    padding: 100px 0;
}

.bmf-risk-feature-row {
    margin-bottom: 100px;
    align-items: center;
}

    .bmf-risk-feature-row:last-child {
        margin-bottom: 0;
    }

.bmf-risk-feature-img {
    border-radius: 20px;
    box-shadow: var(--bmf-shadow-lg);
    transition: var(--bmf-transition);
    border: 1px solid rgba(0,0,0,0.05);
}

    .bmf-risk-feature-img:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(16,53,97,0.15);
    }

.bmf-risk-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bmf-bg-light);
    border: 1px solid rgba(16,53,97,0.1);
    color: var(--bmf-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* User Effectiveness (Cards) */
.bmf-risk-effectiveness {
    padding: 80px 0;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
}

.bmf-risk-effect-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: var(--bmf-transition);
    backdrop-filter: blur(10px);
}

    .bmf-risk-effect-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.2);
    }

.bmf-risk-effect-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bmf-accent-color);
}

/* Integration with Document Analysis */
.bmf-risk-integration {
    padding: 100px 0;
    background: var(--bmf-white);
    position: relative;
    overflow: hidden;
}

.bmf-risk-integration-box {
    background: var(--bmf-accent-color);
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(16,53,97,0.1);
    box-shadow: 0 20px 40px rgba(16,53,97,0.08);
}

/* FAQ Section */
.bmf-risk-faq {
    padding: 80px 0;
    background: var(--bmf-bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.accordion-button:not(.collapsed) {
    background-color: var(--bmf-white);
    color: var(--bmf-primary-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
    font-weight: bold;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16,53,97,0.1);
}

.accordion-button::after {
    transition: transform 0.4s ease-in-out;
}

.accordion-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 15px;
}
.bmf-edu-features {
    padding: 50px 0;
}

.bmf-edu-feature-row {
    margin-bottom: 100px;
    align-items: center;
}

    .bmf-edu-feature-row:last-child {
        margin-bottom: 0;
    }

.bmf-edu-feature-img {
    border-radius: 20px;
    box-shadow: var(--bmf-shadow-lg);
    transition: var(--bmf-transition);
}

    .bmf-edu-feature-img:hover {
        transform: scale(1.02);
    }

.bmf-edu-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* User Effectiveness (Cards) */
.bmf-edu-effectiveness {
    padding: 40px 0;
    background: var(--bmf-primary-color);
    color: var(--bmf-white);
}

.bmf-edu-effect-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: var(--bmf-transition);
}

    .bmf-edu-effect-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.2);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

.bmf-edu-effect-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bmf-accent-color);
}

/* Integration with Document Analysis */
.bmf-edu-integration {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.bmf-edu-integration-box {
    background: var(--bmf-white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--bmf-shadow-lg);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(16,53,97,0.05);
}

.accordion-button:not(.collapsed) {
    background-color: var(--bmf-accent-color);
    color: var(--bmf-primary-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16,53,97,0.25);
}

.accordion-button::after {
    transition: transform 0.4s ease-in-out;
}