/* Services Section Enhanced Styles */
.services-overview .service-overview-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.services-overview .service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.service-count {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Service Category Styles */
.service-category {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.category-title-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-title {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.category-subtitle {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.category-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
}

/* Subcategory Styles */
.subcategory-section {
    background: rgba(37, 99, 235, 0.02);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.subcategory-title {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.subcategory-desc {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Service Item Small */
.service-item-small {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.item-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.service-item-small h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Enhanced Service Card */
.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-header .service-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.service-header h5 {
    margin-bottom: 0;
    color: var(--dark-color);
}

/* Equipment Cards */
.equipment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.equipment-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

/* Machinery Section */
.machinery-section {
    background: rgba(37, 99, 235, 0.02);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

/* CTA Section */
.cta-section {
    background: rgba(245, 158, 11, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.cta-buttons .btn {
    padding: 0.75rem 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-title-group {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .subcategory-section {
        padding: 1rem;
    }
    
    .service-category {
        padding: 1rem;
    }
    
    .machinery-section {
        padding: 2rem 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}


/* Service Showcase Images */
.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.service-showcase-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.8), rgba(16, 185, 129, 0.8));
    border-radius: 15px;
    display: flex;
    align-items: end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-image-container:hover .image-overlay {
    opacity: 1;
}

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

.overlay-content {
    z-index: 2;
}

.overlay-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.overlay-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design for Images */
@media (max-width: 768px) {
    .service-showcase-img {
        height: 250px;
    }
    
    .image-overlay {
        padding: 1.5rem;
    }
    
    .overlay-content h5 {
        font-size: 1.1rem;
    }
    
    .overlay-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .service-showcase-img {
        height: 200px;
    }
    
    .image-overlay {
        padding: 1rem;
    }
}
