/* ================= QURAN PAGE STYLING ================= */

main {
    text-align: center;
    padding: 40px 20px;
}

.page-title {
    font-family: Titles;
    font-size: 3rem;
    color: var(--text-color);
    margin: 60px 0px;
}

a {
    text-decoration: none;
}

/* Surah List Container */
.surah-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    direction: rtl;
}

/* Surah Box Styling */
.surah-box {
    font-family: Thuluth;
    font-size: 2rem;
    text-align: center;
    color: var(--text-color);
    background: linear-gradient(to right, #f1ebe1, var(--primary-color));
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    width: 300px;
}

/* Hover Effect */
.surah-box:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Surah Name */
.surah-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    direction: rtl;
    font-variant-numeric: traditional;
}



/* ================= SURAH NOT AVAILABLE POPUP ================= */
.surah-popup {
    display: none; /* Ensure it is hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2000;
    
    align-items: center;
    justify-content: center;
}

.surah-popup-content {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 25px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close Button */
.close-surah-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-surah-btn:hover {
    color: var(--accent-color);
}



/* Surah Translation */
.surah-translation {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-top: 5px;
    font-family: Uthman;
}

/* Responsive Design */
/* Responsive Design for Quran Page */
