body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light background */
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    background-color: #007bff; /* Primary blue */
    color: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
    margin-bottom: 15px;
}

.logo-placeholder img {
    max-width: 100px;
    height: auto;
    border-radius: 50%; /* Circular logo */
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.site-title {
    font-size: 2.8em;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-tagline {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.9;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 30px auto;
    flex-grow: 1; /* Allows grid to take up available space */
}

.calculator-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: #0056b3; /* Darker blue for text */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    min-height: 120px; /* Ensure consistent button height */
}

.calculator-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: #e6f2ff; /* Lighter blue on hover */
    color: #004085;
}

.site-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: auto; /* Pushes footer to the bottom */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    .site-tagline {
        font-size: 1em;
    }
    .calculator-grid {
        grid-template-columns: 1fr; /* Stack buttons vertically on small screens */
        padding: 20px;
    }
    .calculator-button {
        font-size: 1.1em;
        padding: 25px 15px;
    }
}