.quiz-section{
    max-width:1200px;
    margin:40px auto;
    padding:20px;
    font-family:'Open Sans',sans-serif;
}

.quiz-header{
    background:linear-gradient(135deg,#005daa,#0077d4);
    color:#fff;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    margin-bottom:30px;
}

.quiz-header h1{
    margin:0;
    font-size:34px;
}

.quiz-header p{
    margin-top:10px;
    font-size:16px;
}

.quiz-table-container{
    overflow-x:auto;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.quiz-table{
    width:100%;
    border-collapse:collapse;
}

.quiz-table th{
    background:#005daa;
    color:#fff;
    padding:14px;
    text-align:left;
}

.quiz-table td{
    padding:12px;
    border-bottom:1px solid #e5e5e5;
}

.quiz-table tr:nth-child(even){
    background:#f5f9ff;
}

.quiz-table tr:hover{
    background:#e9f3ff;
}
.quiz-table a{
    display:inline-block;
    background:#005daa;
    color:#fff;
    padding:8px 12px;
    text-decoration:none;
    border-radius:5px;
    font-size:12px;
    font-weight:600;
    transition:.3s;
    white-space:nowrap;
    min-width:80px;
    text-align:center;
    box-sizing:border-box;
}

.quiz-table a:hover{
    background:#003f75;
}

.whatsapp-box{
    margin-top:40px;
    background:#f8fbff;
    border-left:6px solid #005daa;
    padding:25px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.whatsapp-box h2{
    color:#005daa;
    margin-top:0;
}

.whatsapp-box ul{
    padding-left:20px;
}

.whatsapp-box li{
    margin-bottom:10px;
}

.whatsapp-btn{
    display:inline-block;
    margin-top:15px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:30px;
    font-weight:bold;
}

.whatsapp-btn:hover{
    transform:translateY(-2px);
}

blockquote{
    margin-top:20px;
    padding:15px;
    background:#eef6ff;
    border-left:4px solid #005daa;
    font-style:italic;
    color:#333;
}

.creator-box{
    margin-top:35px;
    background:linear-gradient(135deg,#004a87,#0066c0);
    color:black;
    text-align:center;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 18px rgba(0,0,0,0.15);
}

.creator-box h3{
    margin-top:0;
    font-size:26px;
}

.credit-badge{
    margin-top:20px;
    background:#ffffff;
    color:#005daa;
    padding:12px 18px;
    border-radius:30px;
    display:inline-block;
    font-weight:700;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {

    .quiz-section{
        padding:10px;
    }

    .quiz-header h1{
        font-size:26px;
    }

    .quiz-table{
        min-width:500px; /* allows horizontal scroll */
    }

    .quiz-table th,
    .quiz-table td{
        padding:10px 6px;
        font-size:13px;
    }

    .quiz-table td:last-child,
    .quiz-table th:last-child{
        text-align:center;
        min-width:100px;
    }

    .quiz-table a{
        display:inline-block;
        padding:8px 10px;
        font-size:12px;
        white-space:nowrap; /* prevents text wrapping */
    }

    .whatsapp-btn{
        width:100%;
        text-align:center;
        box-sizing:border-box;
    }
}


.quiz-table th:nth-child(3),
.quiz-table td:nth-child(3){
    width:120px;
    text-align:center;
}

/* ===============================
   Latest Quiz Section
================================== */

.latest-quiz-box {
    max-width: 1200px;
    margin: 30px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 6px solid #f7a81b;
}

.latest-quiz-box h2 {
    text-align: center;
    color: #005daa;
    margin-bottom: 25px;
    font-size: 32px;
}

.quiz-highlight {
    text-align: center;
    background: linear-gradient(135deg, #f8fbff, #eef6ff);
    padding: 30px;
    border-radius: 15px;
}

.quiz-highlight h3 {
    color: #005daa;
    font-size: 30px;
    margin-bottom: 15px;
}

.quiz-highlight p {
    margin: 10px 0;
    line-height: 1.7;
}

.latest-quiz-btn {
    display: inline-block;
    margin: 25px 0;
    padding: 15px 35px;
    background: #005daa;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.latest-quiz-btn:hover {
    background: #f7a81b;
    transform: translateY(-3px);
}

.certificate-note {
    max-width: 800px;
    margin: 20px auto;
    padding: 18px;
    background: #fff8e7;
    border-left: 5px solid #f7a81b;
    border-radius: 10px;
    font-size: 16px;
}

.invite-msg {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.next-quiz {
    margin-top: 25px;
    padding: 25px;
    background: #eef6ff;
    border-radius: 15px;
    text-align: center;
}

.next-quiz h3 {
    color: #005daa;
    margin-bottom: 15px;
    font-size: 24px;
}

/* ===============================
   Creator Box Enhancement
================================== */

.creator-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.creator-box h3 {
    color: #005daa;
    margin-bottom: 20px;
}

/* ===============================
   Mobile Responsive
================================== */

@media (max-width: 768px) {

    .latest-quiz-box {
        padding: 20px;
        margin: 20px 10px;
    }

    .latest-quiz-box h2 {
        font-size: 24px;
    }

    .quiz-highlight {
        padding: 20px;
    }

    .quiz-highlight h3 {
        font-size: 22px;
    }

    .latest-quiz-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }

    .certificate-note {
        font-size: 14px;
    }

    .next-quiz {
        padding: 20px;
    }

    .next-quiz h3 {
        font-size: 20px;
    }
}