.services-section {
    padding: 80px 0;
    background: #fff;
}

.service-card {
    border-radius: 20px;
    padding: 40px 30px 30px;
    position: relative;
    margin-top: 50px; /* Space for the icon */
    text-align: center;
    color: #fff;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.bg-black {
    background-color: #111111;
}

.service-card.bg-red {
    background-color: #ce1212;
}

.service-card .icon-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.service-card .icon-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card.bg-black .icon-inner {
    background-color: #ce1212;
}

.service-card.bg-red .icon-inner {
    background-color: #111111;
}

.service-card .icon-inner img {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1); /* Make icons white */
}

.service-card .card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.service-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-card .feature-list li {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.service-card .feature-list li i {
    font-size: 18px;
    margin-right: 12px;
}

@media (max-width: 991px) {
    .service-card {
        margin-bottom: 80px;
    }
}

/* Red underline effect for black cards as seen in image */
.service-card.bg-black::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 12px;
    background-color: #ce1212;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: -1;
}

/* Black underline effect for red card as seen in image */
.service-card.bg-red::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 12px;
    background-color: #111111;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: -1;
}
