body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #000000;
    color: #f0f0f0;
    text-align: center;
}

header {
    padding: 3rem 1rem;
}

header h1 {
    font-size: 2.8rem;
    margin: 0;
    color: #2B9FCF;
}

header p {
    font-size: 1.1rem;
    color: #cccccc;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
}

.card {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    color: #2B9FCF;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(43, 159, 207, 0.3);
}

.card h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Hidden content area */
.hidden-content {
    display: none;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1c1c1c;
    margin: auto;
    padding: 30px 40px;
    border: 1px solid #333;
    border-radius: 16px;
    width: 80%;
    max-width: 700px;
    position: relative;
    text-align: left;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

#modal-body h2 {
    color: #2B9FCF;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#modal-body p, #modal-body ul {
    line-height: 1.7;
    color: #cccccc;
}

#modal-body ul {
    padding-left: 20px;
}

footer {
    margin-top: 4rem;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}