.service-card {
    width: calc((100% - 60px) / 3);
    height: 380px;
    padding: 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s ease;
    color: #fff;
    cursor: pointer;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover .card-icon img {
    box-shadow: rgba(var(--color), 0.129) 0 5px 15px;
    font-size: 30px;
}

.service-card:hover {
    scale: 1.015;
}

.services-section {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
}

.services-header {
    margin-bottom: 70px;
    padding: 0 20px;
}

.services-header h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.services-header p {
    font-size: 20px;
    color: #ffffffa8;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 70px auto;
    padding: 0 20px;
}

.card-icon {
    border-radius: 12px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card-icon img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    font-size: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #48b864;
    background: linear-gradient(135deg, rgba(var(--color), 0.1) 0%, rgba(var(--color), 0.05) 100%);
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 10px;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.card-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
}

.project-tag {
    color: #48b864;
    border: 1px solid #48b864;
}

.solution-tag {
    color: #ffffffa8;
    border: 1px solid #ffffffa8;
}

.services-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.services-cta p {
    font-size: 24px;
    font-weight: 500;
}

.cta-button-big {
    width: 280px;
}

@media (max-width: 1050px) {
    .service-card {
        width: calc((100% - 30px) / 2);
    }
    
    .services-grid {
        max-width: 750px;
        padding: 0 10px; 
    }
}

@media (max-width: 650px) {
    .services-header h1 {
        font-size: 42px;
    }

    .services-header p {
        font-size: 18px;
    }
    
    .services-grid {
        max-width: 100%;
        padding: 0 20px;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        height: auto;
        padding: 30px;
    }

    .service-card h3 {
        margin-bottom: 15px;
    }
}