/**
 * Bright Infosystem Website
 *
 * @file ai_ml_services_section.css
 * @description Styles for the AI & ML services category section.
 * @version 1.0
 */

/* Using a generic class to share styles across service category sections */
.ai-ml-section {
    padding: 100px 20px;
    border-top: 1px solid var(--divider-color);
}

.ai-ml-section .service-category-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.ai-ml-section .service-category-header {
    margin-bottom: 60px;
}

.ai-ml-section .service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--dark-divider-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}
.ai-ml-section .service-badge i {
    color: var(--accent-color);
}

.ai-ml-section .services-main-heading {
    font-size: 36px;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-weight: 800;
}
.ai-ml-section .services-main-heading .gradient-text {
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-ml-section .service-category-header p {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Services Grid --- */
.ai-ml-section .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px; /* Space before "Other Services" */
}

.ai-ml-section .service-card-link {
    text-decoration: none;
    display: block;
}

.ai-ml-section .service-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--divider-color);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.ai-ml-section .service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 0 40px rgba(218, 33, 220, 0.2);
}
/* ... (reusing hover effects from mobile_app_services_section) ... */

/* --- Other Services Sub-section --- */
.other-services-wrapper {
    margin-top: 60px;
}
.other-services-heading {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}
.other-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.other-service-badge {
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid var(--divider-color);
    background: transparent;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.other-service-badge:hover {
    background-color: var(--accent-secondary-color);
    color: var(--primary-color);
    border-color: var(--accent-secondary-color);
}
.other-service-badge i {
    transition: transform 0.3s ease;
}
.other-service-badge:hover i {
    transform: rotate(15deg);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .ai-ml-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .ai-ml-section .services-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}
