/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto; 
    padding: 3rem;
    border: 1px solid #888;
    width: 80%; 
    max-width: 800px;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

#modal-body h3 {
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#modal-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

#modal-body p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

#modal-body ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#modal-body li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}
