/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3b82f6;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: #eff6ff;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.bg-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    line-height: 1;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .bg-number {
    color: rgba(59, 130, 246, 0.05);
    transform: scale(1.1);
}
.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #3b82f6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .icon-wrapper {
    background-color: #3b82f6;
    color: #ffffff;
    transform: rotate(5deg);
}
.icon-wrapper svg {
    width: 32px;
    height: 32px;
}
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.card-description {
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-section {
        padding: 60px 20px;
    }
    .section-header {
        margin-bottom: 50px;
    }
    .service-card {
        padding: 32px;
    }
}