.navbar-bg{
    background: linear-gradient(90deg, #6C5CE7, #0984E3);
    border-radius: 10px;
    padding: 10px 20px 10px 20px !important;
    font-size: 20px;
    font-weight: bold;
}

/* Center search bar */
.search-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* Search input */
#qcmSearch {
    width: 60%;
    max-width: 500px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 2px solid #ccc;
    font-size: 18px;
    outline: none;
    transition: 0.3s ease;
}

#qcmSearch:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
}

/* QCM results container */
.qcm-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Individual QCM item card */
.qcm-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    width: 250px;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.qcm-item a {
    text-decoration: none;
    color: #0984E3;
    display: block;
}

.qcm-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    background: #f0f4ff;
}

/* No results message */
.qcm-item:empty {
    color: #999;
}

.pagination .page-item .page-link {
    color: #0984E3;
    border-radius: 8px;
}

.pagination .page-item.active .page-link {
    background-color: #6C5CE7;
    border-color: #6C5CE7;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.show-reponse-correct{
    font-weight: bold;
    font-size: larger;
}
.bg-color-reponse{
    background-color: #BFF8DC;
}

.feature-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #d5d5d5;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    font-size: 32px;
    color: #fff;
}

.icon-purple { background: #6c5ce7; }
.icon-yellow  { background: #f1c40f; }
.icon-green   { background: #2ecc71; }
.icon-red     { background: #e74c3c; }


.section-2{
    background-color: #0062D1;
    padding: 50px 100px ;
    color: white !important;
    
}
.contact-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.contact-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.form-control:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 0.15rem rgba(108, 92, 231, 0.25);
}

.btn-send {
    background: linear-gradient(90deg, #6C5CE7, #0984E3);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 25px;
    border: none;
    transition: 0.3s;
}

.btn-send:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


.alert-custom {
    background: #2ecc71;
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 16px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.close-alert {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.close-alert:hover {
    opacity: 0.8;
}

.footer {
    background: #1e1e2f;
    padding: 50px 0;
    color: #ddd;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.social-icons a {
    font-size: 22px;
    margin-right: 12px;
    color: #bbb;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #6c5ce7;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}