/* Service Cards Widget Styles */

/* Wrapper */
.service-cards-wrapper {
    position: relative;
    width: 100%;
}

/* Grid Container */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    width: 100%;
}

/* Service Card */
.service-card {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

/* Card Image */
.service-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card-image img {
    width: auto;
    height: 150px;
    object-fit: contain;
}

/* Card Title */
.service-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: #000000;
}

/* Card Description */
.service-card-description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #666666;
}

/* Expanded Panel */
.service-cards-expanded-panel {
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-cards-expanded-panel.active {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
}

.service-cards-expanded-panel p {
    margin: 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card-image img {
        height: 120px;
    }
    
    .service-card-title {
        font-size: 18px;
    }
    
    .service-card-description {
        font-size: 13px;
    }
    
    .service-cards-expanded-panel {
        padding: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 20px 15px;
    }
    
    .service-card-image img {
        height: 100px;
    }
    
    .service-card-title {
        font-size: 16px;
    }
}
