.exam_main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px 10%;
    background: linear-gradient(135deg, #1b3c73, #000c67);
    color: white;
}

.exam_main .content {
    max-width: 50%;
}

.exam_main h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.exam_main h1 span {
    color: #007bff;
}

.exam_main p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.exam_main .image img {
    width: 380px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.start-exam {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.start-exam:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.exam-list {
    text-align: center;
    padding: 40px;
}

.exam-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.exam-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.exam-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.start-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.start-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .exam_main {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .exam_main .content {
        max-width: 100%;
    }

    .exam_main .image img {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .exam_main h1 {
        font-size: 2rem;
    }

    .exam_main p {
        font-size: 1rem;
    }

    .exam-container {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .exam_main h1 {
        font-size: 1.8rem;
    }

    .exam_main p {
        font-size: 0.95rem;
    }

    .exam-card {
        width: 90%;
    }

    .start-exam,
    .start-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}
