@charset "utf-8";

/* CSS Document */

.services-grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1 1 320px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.body_dark .service-card {
    background: rgba(30, 30, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(20, 141, 238, 0.15);
}

.body_dark .service-card:hover {
    box-shadow: 0 12px 30px rgba(20, 141, 238, 0.2);
}

.service-card-image {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.service-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-family: 'OpenSans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #148dee;
    margin-bottom: 12px;
    margin-top: 0;
}

.service-card-desc {
    font-family: 'OpenSans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #7d7d7d;
    margin: 0;
}

.body_dark .service-card-desc {
    color: #bdbdbd;
}

/* Adjustments for mobile */
@media screen and (max-width: 480px) {
    .service-card-image {
        height: 140px;
    }
}