/* Redesigned Service Card Styles */
.service-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
    border: none;
}

.service-card-modern:hover {
    transform: translateY(-5px);
}

.service-card-header {
    background-color: #14357e;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 140px;
    position: relative;
}

.service-card-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    width: 65%;
    line-height: 1.3;
    z-index: 1;
}

/* Remove nested anchor styling since we are wrapping the whole card */
.service-card-header h3 {
    color: #fff;
}

.service-card-header .icon-wrapper {
    position: absolute;
    right: 20px;
    top: 0;
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    /* Add some padding to prevent edge touching if needed */
}

.service-card-header .icon-wrapper img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.service-card-body {
    padding: 25px;
    background: #fff;
}

.service-card-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* New class for the wrapper link */
.service-link-wrapper {
    display: block;
    text-decoration: none;
    height: 100%;
    color: inherit;
}

.service-link-wrapper:hover {
    color: inherit;
}