.xi-menu-links a {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

#requesthandout-alert {
    position: fixed;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(255 247 0);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#handoutModal {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* ===== Modal Content Box ===== */
#handoutModal > div {
    background-color: #f4f4f4;
    color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    animation: fadeInScale 0.3s ease;
}

#handoutModal button {
    margin: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

#handoutModal button:hover {
    transform: translateY(-2px);
}
#handoutModal button:first-of-type { background-color: #d93025; color: #fff; } /* Gmail */
#handoutModal button:nth-of-type(2) { background-color: #25d366; color: #fff; } /* WhatsApp */
#handoutModal button:last-of-type { background-color: #444; color: #fff; } /* Cancel */

/* ===== Fade-in Animation ===== */
@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}
.ad-box1 { display: none; }
@media (max-width: 768px) { .ad-box1 { display: block; } }

.pagination { flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.page-item { margin: 2px; }

.xi-heading-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-top: 30px;
    margin-bottom: 20px;
}

.xi-menu-button {
    background-color: #1877f2;
    color: white;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 15px;
    font-weight: 700;
    border:none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.xi-menu-button:hover {
    background-color: #480061; 
    color: #fff; 
    transform: translateX(0); 
}

.xi-menu-links {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 5px;
    z-index: 1000;
    width: max-content;
}

.xi-menu-links a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

.xi-menu-links a:hover {
    background-color: #444;
}

#atbu-buttons .btn {
    flex: 1 1 150px;
    background-color: #1877f2;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    min-width: 120px;
    transition: background-color 0.3s ease;
}

#atbu-buttons .btn:hover {
    background-color: #2070d9;
}

@media (max-width: 600px) {
    #atbu-buttons .button-container {
        flex-direction: column;
        align-items: stretch;
    }

    #atbu-buttons .btn {
        flex: none;
        width: 100%;
    }
}




.course-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid #e5e7eb; flex-wrap: wrap; gap: 10px; } .course-actions { display: flex; gap: 10px; flex-wrap: wrap; } .course-price { background: #facc15; color: #111; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 12px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.08); } .course-price:hover { background: #fbbf24; cursor: default; } @media (max-width: 480px) { .course-footer { flex-direction: column; align-items: stretch; } .course-actions { justify-content: center; } .course-price { text-align: center; margin-top: 8px; } } .course-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); overflow: hidden; max-width: 320px; margin: 16px auto; transition: transform 0.2s ease, box-shadow 0.2s ease; font-family: 'Inter', Arial, sans-serif; } .course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); } .course-header { background: #fff ! important; color: #fff ! important; padding: 16px; border-bottom:1px solid #eee; text-align: center; } .course-header h5 { margin: 0; font-size: 18px; font-weight: 700; } .course-body { padding: 16px; color: #1f2937; font-size: 14px; } .course-body p { margin: 6px 0; line-height: 1.4; } 
