/**
 * Services Section - Compact & Professional Design
 * Matches image 100% with refined, smaller proportions
 */

.opsim-services-section {
    padding: 50px 0;
    background-color: var(--opsim-bg-primary);
    border-top: 1px solid rgba(var(--opsim-brand-rgb), 0.06);
}

/* Header Styling - Compact */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto; /* Reduced from 40px */
}

.services-subtitle {
    display: block;
    color: var(--opsim-brand);
    font-size: 12px; /* Reduced from 13px */
    font-weight: 600;
    margin-bottom: 5px; /* Reduced from 8px */
    letter-spacing: 0.02em;
}

.services-main-title {
    font-size: 24px; /* Reduced from 28px */
    font-weight: 700;
    margin: 0 0 5px 0; /* Reduced from 10px */
    color: var(--opsim-text-primary);
    line-height: 1.2;
}

.services-description {
    color: var(--opsim-text-secondary);
    font-size: 14px; /* Reduced from 15px */
    line-height: 1.4;
    margin: 0;
    opacity: 0.65;
}

/* Grid Layout - Professional */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Reduced from 30px */
    width: 100%;
}


.service-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    color: var(--opsim-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed hover transform as requested */
}

.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--opsim-text-primary);
}

.service-text {
    font-size: 13px;
    color: var(--opsim-text-secondary);
    line-height: 1.4;
    margin: 0;
    opacity: 0.7;
    max-width: 220px;
}

/* --- Responsive Breakpoints - Extra Compact --- */

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .opsim-services-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .opsim-services-section {
        padding: 35px 0;
    }
    
    .services-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .services-main-title {
        font-size: 22px;
    }
    
    .services-subtitle {
        font-size: 12px;
    }
    
    .services-description {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 10px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .service-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .service-text {
        font-size: 12px;
        line-height: 1.3;
        padding: 0 5px;
    }
}
