﻿
.btn-primary {
    background-color: #0044ff;
    color: #fff;
}

.btn-success {
    background-color: #00aa22;
    color: #fff;
}

/* Base button + outline variants (pages don't load full Bootstrap) */
.smarttest-landing .btn,
.page-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}

.smarttest-landing .btn-primary,
.page-content .btn-primary {
    background-color: #0044ff;
    border-color: #0044ff;
    color: #fff;
}
    .smarttest-landing .btn-primary:hover,
    .page-content .btn-primary:hover {
        background-color: #0035cc;
        border-color: #0035cc;
        color: #fff;
    }

.smarttest-landing .btn-success,
.page-content .btn-success {
    background-color: #00aa22;
    border-color: #00aa22;
    color: #fff;
}
    .smarttest-landing .btn-success:hover,
    .page-content .btn-success:hover {
        background-color: #008a1c;
        border-color: #008a1c;
        color: #fff;
    }

/* Secondary / outline — was invisible before (no fill, no border) */
.smarttest-landing .btn-outline-primary,
.page-content .btn-outline-primary {
    background-color: #fff;
    border: 2px solid #0044ff;
    color: #0044ff;
}
    .smarttest-landing .btn-outline-primary:hover,
    .page-content .btn-outline-primary:hover {
        background-color: #0044ff;
        border-color: #0044ff;
        color: #fff;
    }

.smarttest-landing .btn-outline-secondary,
.page-content .btn-outline-secondary {
    background-color: #fff;
    border: 2px solid #64748b;
    color: #475569;
}
    .smarttest-landing .btn-outline-secondary:hover,
    .page-content .btn-outline-secondary:hover {
        background-color: #475569;
        border-color: #475569;
        color: #fff;
    }
/* Lớp .custom-row: Hoạt động như Bootstrap .row */
.custom-row {
    display: flex; /* Cho phép các cột nằm trên một hàng */
    flex-wrap: wrap; /* Cho phép các cột xuống hàng khi không đủ chỗ */
    margin-left: -15px; /* Bù lại padding của cột con */
    margin-right: -15px; /* Bù lại padding của cột con */
}
/* Lớp .custom-col-md-6: Hoạt động như Bootstrap .col-md-6 */
.custom-col-md-6 {
    flex: 0 0 50%; /* Chiếm 50% chiều rộng của hàng */
    max-width: 50%; /* Giới hạn chiều rộng tối đa là 50% */
    padding-left: 15px; /* Tạo khoảng cách giữa các cột */
    padding-right: 15px; /* Tạo khoảng cách giữa các cột */
    box-sizing: border-box; /* Đảm bảo padding được tính vào chiều rộng */
}

/* Lớp .custom-col-md-4: MỚI - Hoạt động như Bootstrap .col-md-4 */
.custom-col-md-4 {
    flex: 0 0 33.333333%; /* Chiếm 1/3 (khoảng 33.33%) chiều rộng của hàng */
    max-width: 33.333333%; /* Giới hạn chiều rộng tối đa là 33.33% */
    padding-left: 15px; /* Tạo khoảng cách giữa các cột */
    padding-right: 15px; /* Tạo khoảng cách giữa các cột */
    box-sizing: border-box; /* Đảm bảo padding được tính vào chiều rộng */
}


/* Media Query cho responsive: Áp dụng từ màn hình kích thước trung bình trở lên (md) */
@media (max-width: 767.98px) {
    .custom-col-md-6, .custom-col-md-4 { /* Áp dụng cho cả col-md-6 và col-md-4 trên màn hình nhỏ */
        flex: 0 0 100%; /* Chiếm 100% chiều rộng trên màn hình nhỏ hơn md */
        max-width: 100%; /* Giới hạn chiều rộng tối đa là 100% */
    }
}

.smarttest-landing {
    background-color: #f8f9fa;
    padding: 20px 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

    .smarttest-landing h1,
    .smarttest-landing h2,
    .smarttest-landing h3,
    .smarttest-landing h4 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .smarttest-landing h1 {
        font-size: 2.5rem;
        color: #007bff;
    }

    .smarttest-landing h3 {
        font-size: 1.75rem;
        margin-top: 40px;
        color: #28a745;
    }

    .smarttest-landing p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .smarttest-landing ul {
        list-style-type: none;
        padding-left: 0;
    }

        .smarttest-landing ul li {
            padding-left: 30px;
            position: relative;
            margin-bottom: 12px;
        }

            .smarttest-landing ul li::before {
                content: "✔";
                position: absolute;
                left: 0;
                color: #28a745;
                font-weight: bold;
            }

    .smarttest-landing .btn {
        padding: 12px 24px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .smarttest-landing .text-muted {
        color: #6c757d !important;
    }

    .smarttest-landing img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .smarttest-landing .row > div {
        margin-bottom: 30px;
    }
