body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    font-family: Arial, sans-serif;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-container {
    width: 80%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    margin: 10px 0;
    position: absolute;
    top: 10px;
}

#progress-bar {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    border-radius: 5px;
    transition: width 0.3s;
}

.page-wrapper {
    width: 100%;
    height: calc(100% - 20px); /* Adjust for progress bar height */
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl; /* Right-to-left direction for Arabic text */
}

img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
}

.fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}
