.service-section {
    position: relative;
    padding: 1rem 2rem 6rem;
    z-index: 1;
}

.service-header {
    text-align: center;
    justify-items: center;
    margin-bottom: 3rem;
}

.service-header h2 {
    font-weight: 700;
    font-size: 2.2rem;
}

.service-header p {
    /*
    max-width: 800px;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.4rem;
    text-align: left;
    */
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-grid .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    max-width: 300px;
    flex: 1 1 300px;
}

.service-card {
    background-color: #ffffff;
    color: #222;
    padding: 2rem;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    box-sizing: border-box;
    transition: background-color 0.4s ease, border 0.4s ease;
}

.service-card:hover {
    background-color: rgb(41, 29, 54);
    border: 1px solid white;
    color: white;
}

.service-card h3 {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.service-card p {
    font-size: 1.2rem;
    color: #555;
    flex-grow: 1;
}

.service-card-icon {
    width: 100%;
    text-align: center;
}

.service-card-icon img {
    width: 160px;
}