/* Service Card Styles - Isolated */
.new-service-card {
    position: relative;
    height: 100%;
    background: #FFFFFF; /* Match reference white bg */
    border-radius: 8px;
    overflow: hidden;
    padding: 0; /* Removed padding to allow image to sit flush */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04); /* Reduced size and offset */
    border: 1px solid var(--color-border); /* Add subtle border back */
    max-width: 300px; /* Decrease card width */
    margin: 0 auto; /* Center card in grid cell */
}

.new-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(26, 28, 80, 0.12); /* Branded subtle hover shadow - tighter spread */
    border-color: var(--color-accent);
}

.nsc-image-banner {
    width: 100%;
    flex: 1 1 50%; /* Force image container to take up exactly 50% of the card height */
    min-height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0; /* Rounded top corners only */
}

.nsc-image-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.new-service-card:hover .nsc-image-banner img {
    transform: scale(1.05);
}

.nsc-content {
    position: relative;
    z-index: 1;
    padding: 0;
    flex: 1 1 50%; /* Force text container to take up exactement 50% of the card height */
    display: flex;
    flex-direction: column;
    text-align: center; /* Center align text container */
    align-items: center; /* Center align elements */
}

.nsc-title {
    color: var(--color-brand); /* Deep blue title */
    font-size: 1.35rem; /* slightly larger for readability on white */
    font-weight: 700;
    margin-top: 1.8rem; /* Space from image */
    margin-bottom: var(--spacing-sm);
    padding: 0 20px; /* Horizontal padding, narrowed for smaller card */
    font-family: var(--font-heading);
    line-height: 1.3;
}

.nsc-divider {
    display: none; /* Remove yellow divider */
}

.nsc-desc {
    color: var(--color-text-main); /* Dark grey text */
    font-size: 0.95rem;
    line-height: 1.8; /* Slightly taller line-height like reference */
    font-weight: 400;
    text-align: center; /* Center align text */
    padding: 0 20px 30px; /* Narrowed padding for smaller card */
    width: 100%;
}