/* Service Categories Styling */

/* Section title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

/* Category container */
.service-category {
    margin-bottom: 40px;
}

/* Category title */
.category-title {
    font-size: 1.5rem;
    color: #ff5c00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Service cards container */
.service-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Card container */
.service-card {
    width: 220px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image container */
.service-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    padding: 10px;
}

/* Image styling for full visibility */
.service-image img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Service info section */
.service-info {
    padding: 15px;
    text-align: center;
}

/* Service name */
.service-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    min-height: 2.4em; /* Ensure consistent height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button styling */
.service-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #ff5c00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.service-btn:hover {
    background-color: #e65c00;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-card {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 180px;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-image img {
        max-height: 140px;
    }
    
    .service-info h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-categories {
        gap: 15px;
    }
    
    .service-card {
        width: 160px;
    }
    
    .service-image {
        height: 140px;
    }
    
    .service-image img {
        max-height: 120px;
    }
    
    .service-info {
        padding: 10px;
    }
    
    .service-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}
