﻿/* --- MOCK TEST & FAQ SECTION --- */

.mocktest-section {
    background-color: #f8faff; /* Nền xanh rất nhạt */
    position: relative;
}

/* Common Title */
.title-separator {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color, #0046ba);
    border-radius: 2px;
    margin-top: 10px;
}

/* 1. LEFT COLUMN: MOCK TEST CARDS */
.mocktest-card {
    display: flex;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

    /* Hover Effect */
    .mocktest-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 70, 186, 0.1);
        border-color: rgba(0, 70, 186, 0.2);
    }

    .mocktest-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 4px;
        background: var(--primary-color, #0046ba);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .mocktest-card:hover::before {
        opacity: 1;
    }

/* Icon Image */
.icon-wrapper {
    width: 70px;
    height: 70px;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.mocktest-card:hover .icon-img {
    transform: scale(1.1);
}

/* Text Content */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.mocktest-card:hover .card-title {
    color: var(--primary-color, #0046ba);
}

.card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Action Arrow */
.action-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mocktest-card:hover .action-icon {
    background: var(--primary-color, #0046ba);
    color: #fff;
    transform: translateX(5px);
}



/* Responsive */
@media (max-width: 991px) {
    .mocktest-wrapper {
        margin-bottom: 30px;
    }
}
