/* --- Global Reset & Typography --- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #F8F8F8;
    color: #111111;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

a { text-decoration: none; }

/* --- Header --- */
.utility-header {
    background-color: #333333;
    color: white;
    padding: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.utility-header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2em;
    margin: 0;
}

/* --- Grid Layout (TX Centered) --- */
.dashboard-grid-container {
    display: flex;
    justify-content: center;
    max-width: 900px; /* Narrower for 4 cards */
    margin: 30px auto 50px;
    padding: 0 20px;
    text-align: left;
}

.service-category {
    flex: 1;
    display: flex;
    flex-wrap: wrap; 
    gap: 15px;
}

.category-heading {
    font-family: 'Poppins', sans-serif;
    color: #1F4E79;
    font-weight: 700;
    font-size: 1.5em;
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    width: 100%;
    border-bottom: 2px solid #EEEEEE; 
}

/* --- Card Links & Hover --- */
.service-card {
    background-color: white; 
    color: #111111; 
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    flex: 1 1 calc(50% - 15px); 
    min-width: 280px;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15); 
    color: white; 
    background-color: #007ACC; 
}

/* --- Typography --- */
.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; 
    font-size: 20px;
    margin: 0;
}

.service-card p {
    font-size: 14px;
    color: #666666; 
    margin: 5px 0 0 0;
}

.service-card:hover p { color: white; }

/* --- Icon Contrast Fix --- */
.icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #007ACC; 
    stroke: currentColor; 
    fill: none;
}

.service-card:hover .icon { color: white; }

/* --- Footer --- */
.utility-footer {
    background-color: #F0F0F0;
    color: #444444;
    padding: 15px 0;
    font-size: 0.9em;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .service-card { flex: 1 1 100%; }
}