/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top of other content */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Prevent content overflow */
    background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
    scrollbar-width: thin; /* Slim scrollbar for modern browsers */
    padding: 10px;
}

/* Modal Content Styling */
.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Center the modal */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px; /* Limit width */
    height: 70%; /* Set height to enable scrolling if content is long */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow for a 3D effect */
    overflow-y: auto; /* Enable vertical scroll when content overflows */
}

/* Close Button Styling */
.close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000; /* Darken on hover */
    text-decoration: none;
    cursor: pointer;
}

/* Scrollable Text Styling */
.modal-content p {
    font-size: 16px;
    line-height: 1.6; /* Improve readability */
    color: #333;
    margin: 20px 0;
    text-align: justify; /* Make text justified */
}
h3 {
    font-size: 18px;
}

/* Button Styling */
button {
    background-color: #34b7f1; /* Green */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #222;
}

/* Optional: Styles for longer text inside the modal to make it scrollable */

