.why-choose-section .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.why-choose-section .section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.why-choose-section .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.service-card {
    position: relative;
    background-color: var(--bs-body-bg-tertiary);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    text-align: center;
}

.service-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary);
    transition: all 0.4s ease;
    z-index: -1;
    opacity: 0.1;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-card:hover i {
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.service-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-card .btn-link i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card .btn-link:hover i {
    transform: translateX(-5px);
}

.service-card .service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.1);
}

/* Animation for cards */
.service-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

.service-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.4s;
    animation-fill-mode: both;
}

.service-card:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
}