.service-cards {
    width: 100%;
    padding: 60px 0 80px;
    background-color: #f8f9fa;
}

.service-cards__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-cards__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    width: calc(33.333% - 27px);
    min-width: 300px;
    max-width: 400px;
}

.service-card__image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__image {
    transform: scale(1.05);
}

.service-card__panel {
    background-color: #ffffff;
    padding: 30px 24px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1B365D;
    margin: 0 0 16px 0;
    line-height: 1.3;
    text-align: center;
}

.service-card__description {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .service-cards {
        padding: 40px 0 60px;
    }

    .service-cards__grid {
        gap: 30px;
    }

    .service-card {
        width: 100%;
    }

    .service-card__image-wrapper {
        height: 240px;
    }

    .service-card__panel {
        padding: 24px 20px;
    }

    .service-card__title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .service-card__image-wrapper {
        height: 200px;
    }

    .service-card__panel {
        padding: 20px 16px;
        margin-top: -30px;
    }

    .service-card__title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .service-card__description {
        font-size: 13px;
    }
}
