body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-width: 200px;
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Added Card Styling */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px; /* Adjust as needed */
    text-align: center;
}

.welcome-text {
    margin-bottom: 30px;
}

.welcome-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.welcome-text p {
    font-size: 16px;
    color: #555;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Added Flex Wrap */
}

.button,
.portal-button {
    padding: 14px 30px;
    border: none; /* Removed border */
    border-radius: 8px; /* Slightly more rounded */
    font-size: 15px;
    font-weight: 500; /* Adjusted font weight */
    cursor: pointer;
    text-decoration: none;
    color: #fff; /* Changed text color */
    background: linear-gradient(135deg, #0585f5, #0069d9);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button:hover,
.portal-button:hover {
    opacity: 0.8; /* Subtle hover effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.portal-button {
    padding: 14px 50px;
    font-size: 16px;
    background: #555; /* Changed background color */
    display: block; /* Important: Full-width block */
    width: 100%; /* Full width */
    max-width: 400px; /* Limit width on larger screens */
    margin: 20px auto 0; /* Center and add spacing */
    box-sizing: border-box; /* Include padding in width */
}

.portal-button:hover {
    background: #333;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #e9ecef;
    border-top: 1px solid #ddd;
    color: #555;
}

footer a {
    color: #0585f5;
    text-decoration: none;
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        padding: 30px;
    }
}