body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Nice gradient background */
    color: white;
}

.container {
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 3em;
    margin-bottom: 50px;
}

.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white background */
    border-radius: 10px;
    padding: 30px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h2 {
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.card p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 0.5em; /* Reduced bottom margin for paragraphs inside cards */
}

/* Optional: To remove margin from the last paragraph within a card */
.card p:last-child {
    margin-bottom: 0;
}

.card a {
    color: #f0f0f0;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 3px; /* Add some padding for the pseudo-element */
}

.card a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #f0f0f0;
    transition: width 0.3s ease;
}

.card a:hover {
    color: #ffffff;
}

.card a:hover::after {
    width: 100%;
}